gogol-dataproc-0.4.0: Google Cloud Dataproc SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update

Contents

Description

Updates (replaces) workflow template. The updated template must contain version that matches the current server version.

See: Cloud Dataproc API Reference for dataproc.projects.locations.workflowTemplates.update.

Synopsis

REST Resource

type ProjectsLocationsWorkflowTemplatesUpdateResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WorkflowTemplate :> Put '[JSON] WorkflowTemplate)))))))) Source #

A resource alias for dataproc.projects.locations.workflowTemplates.update method which the ProjectsLocationsWorkflowTemplatesUpdate request conforms to.

Creating a Request

data ProjectsLocationsWorkflowTemplatesUpdate Source #

Updates (replaces) workflow template. The updated template must contain version that matches the current server version.

See: projectsLocationsWorkflowTemplatesUpdate smart constructor.

Instances
Eq ProjectsLocationsWorkflowTemplatesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update

Data ProjectsLocationsWorkflowTemplatesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsLocationsWorkflowTemplatesUpdate -> c ProjectsLocationsWorkflowTemplatesUpdate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsLocationsWorkflowTemplatesUpdate #

toConstr :: ProjectsLocationsWorkflowTemplatesUpdate -> Constr #

dataTypeOf :: ProjectsLocationsWorkflowTemplatesUpdate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsLocationsWorkflowTemplatesUpdate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsLocationsWorkflowTemplatesUpdate) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsLocationsWorkflowTemplatesUpdate -> ProjectsLocationsWorkflowTemplatesUpdate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsLocationsWorkflowTemplatesUpdate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsLocationsWorkflowTemplatesUpdate -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsLocationsWorkflowTemplatesUpdate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsLocationsWorkflowTemplatesUpdate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsLocationsWorkflowTemplatesUpdate -> m ProjectsLocationsWorkflowTemplatesUpdate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsLocationsWorkflowTemplatesUpdate -> m ProjectsLocationsWorkflowTemplatesUpdate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsLocationsWorkflowTemplatesUpdate -> m ProjectsLocationsWorkflowTemplatesUpdate #

Show ProjectsLocationsWorkflowTemplatesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update

Generic ProjectsLocationsWorkflowTemplatesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update

GoogleRequest ProjectsLocationsWorkflowTemplatesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update

type Rep ProjectsLocationsWorkflowTemplatesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update

type Rep ProjectsLocationsWorkflowTemplatesUpdate = D1 (MetaData "ProjectsLocationsWorkflowTemplatesUpdate" "Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsLocationsWorkflowTemplatesUpdate'" PrefixI True) ((S1 (MetaSel (Just "_plwtuXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plwtuUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwtuAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plwtuUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwtuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 WorkflowTemplate)) :*: (S1 (MetaSel (Just "_plwtuName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plwtuCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsWorkflowTemplatesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update

type Scopes ProjectsLocationsWorkflowTemplatesUpdate = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsLocationsWorkflowTemplatesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Update

Request Lenses

plwtuUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

plwtuUploadType :: Lens' ProjectsLocationsWorkflowTemplatesUpdate (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

plwtuName :: Lens' ProjectsLocationsWorkflowTemplatesUpdate Text Source #

Output only. The "resource name" of the template, as described in https://cloud.google.com/apis/design/resource_names of the form projects/{project_id}/regions/{region}/workflowTemplates/{template_id}