gogol-dataflow-0.4.0: Google Dataflow 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.Dataflow.Projects.Templates.Get

Contents

Description

Get the template associated with a template.

See: Dataflow API Reference for dataflow.projects.templates.get.

Synopsis

REST Resource

type ProjectsTemplatesGetResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("templates:get" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "gcsPath" Text :> (QueryParam "view" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetTemplateResponse)))))))))))) Source #

A resource alias for dataflow.projects.templates.get method which the ProjectsTemplatesGet request conforms to.

Creating a Request

projectsTemplatesGet Source #

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

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

data ProjectsTemplatesGet Source #

Get the template associated with a template.

See: projectsTemplatesGet smart constructor.

Instances
Eq ProjectsTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Templates.Get

Data ProjectsTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Templates.Get

Methods

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

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

toConstr :: ProjectsTemplatesGet -> Constr #

dataTypeOf :: ProjectsTemplatesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Templates.Get

Generic ProjectsTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Templates.Get

Associated Types

type Rep ProjectsTemplatesGet :: Type -> Type #

GoogleRequest ProjectsTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Templates.Get

Associated Types

type Rs ProjectsTemplatesGet :: Type #

type Scopes ProjectsTemplatesGet :: [Symbol] #

type Rep ProjectsTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Templates.Get

type Rep ProjectsTemplatesGet = D1 (MetaData "ProjectsTemplatesGet" "Network.Google.Resource.Dataflow.Projects.Templates.Get" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "ProjectsTemplatesGet'" PrefixI True) (((S1 (MetaSel (Just "_ptgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ptgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ptgLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ptgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptgGcsPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ptgView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ptgProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Templates.Get

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

Defined in Network.Google.Resource.Dataflow.Projects.Templates.Get

Request Lenses

ptgUploadProtocol :: Lens' ProjectsTemplatesGet (Maybe Text) Source #

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

ptgLocation :: Lens' ProjectsTemplatesGet (Maybe Text) Source #

The location to which to direct the request.

ptgUploadType :: Lens' ProjectsTemplatesGet (Maybe Text) Source #

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

ptgGcsPath :: Lens' ProjectsTemplatesGet (Maybe Text) Source #

Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.

ptgView :: Lens' ProjectsTemplatesGet (Maybe Text) Source #

The view to retrieve. Defaults to METADATA_ONLY.

ptgProjectId :: Lens' ProjectsTemplatesGet Text Source #

Required. The ID of the Cloud Platform project that the job belongs to.