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.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.locations.workflowTemplates.get.

Synopsis

REST Resource

type ProjectsLocationsWorkflowTemplatesGetResource = "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.locations.workflowTemplates.get method which the ProjectsLocationsWorkflowTemplatesGet request conforms to.

Creating a Request

projectsLocationsWorkflowTemplatesGet Source #

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

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

data ProjectsLocationsWorkflowTemplatesGet Source #

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

See: projectsLocationsWorkflowTemplatesGet smart constructor.

Instances
Eq ProjectsLocationsWorkflowTemplatesGet Source # 
Instance details

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

Data ProjectsLocationsWorkflowTemplatesGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsWorkflowTemplatesGet -> Constr #

dataTypeOf :: ProjectsLocationsWorkflowTemplatesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsWorkflowTemplatesGet Source # 
Instance details

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

Generic ProjectsLocationsWorkflowTemplatesGet Source # 
Instance details

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

GoogleRequest ProjectsLocationsWorkflowTemplatesGet Source # 
Instance details

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

type Rep ProjectsLocationsWorkflowTemplatesGet Source # 
Instance details

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

type Rep ProjectsLocationsWorkflowTemplatesGet = D1 (MetaData "ProjectsLocationsWorkflowTemplatesGet" "Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Get" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsLocationsWorkflowTemplatesGet'" PrefixI True) ((S1 (MetaSel (Just "_plwtgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plwtgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwtgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plwtgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwtgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_plwtgVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_plwtgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsWorkflowTemplatesGet Source # 
Instance details

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

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

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

Request Lenses

plwtgUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text) Source #

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

plwtgUploadType :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Text) Source #

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

plwtgName :: Lens' ProjectsLocationsWorkflowTemplatesGet 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}

plwtgVersion :: Lens' ProjectsLocationsWorkflowTemplatesGet (Maybe Int32) Source #

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