gogol-dataproc-0.5.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.Regions.WorkflowTemplates.Get

Contents

Description

Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.

See: Cloud Dataproc API Reference for dataproc.projects.regions.workflowTemplates.get.

Synopsis

REST Resource

type ProjectsRegionsWorkflowTemplatesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "version" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] WorkflowTemplate)))))))) Source #

A resource alias for dataproc.projects.regions.workflowTemplates.get method which the ProjectsRegionsWorkflowTemplatesGet request conforms to.

Creating a Request

projectsRegionsWorkflowTemplatesGet Source #

Creates a value of ProjectsRegionsWorkflowTemplatesGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsRegionsWorkflowTemplatesGet Source #

Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.

See: projectsRegionsWorkflowTemplatesGet smart constructor.

Instances
Eq ProjectsRegionsWorkflowTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get

Data ProjectsRegionsWorkflowTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get

Methods

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

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

toConstr :: ProjectsRegionsWorkflowTemplatesGet -> Constr #

dataTypeOf :: ProjectsRegionsWorkflowTemplatesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsWorkflowTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get

Generic ProjectsRegionsWorkflowTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get

GoogleRequest ProjectsRegionsWorkflowTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get

type Rep ProjectsRegionsWorkflowTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get

type Rep ProjectsRegionsWorkflowTemplatesGet = D1 (MetaData "ProjectsRegionsWorkflowTemplatesGet" "Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get" "gogol-dataproc-0.5.0-CmwCQ3QYfGaKSLMn4uqAtt" False) (C1 (MetaCons "ProjectsRegionsWorkflowTemplatesGet'" PrefixI True) ((S1 (MetaSel (Just "_prwtgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prwtgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prwtgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prwtgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prwtgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_prwtgVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_prwtgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsWorkflowTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get

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

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Get

Request Lenses

prwtgUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text) Source #

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

prwtgUploadType :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Text) Source #

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

prwtgName :: Lens' ProjectsRegionsWorkflowTemplatesGet Text Source #

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

prwtgVersion :: Lens' ProjectsRegionsWorkflowTemplatesGet (Maybe Int32) Source #

Optional. The version of workflow template to retrieve. Only previously instatiated versions can be retrieved.If unspecified, retrieves the current version.