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.Launch

Contents

Description

Launch a template.

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

Synopsis

REST Resource

type ProjectsTemplatesLaunchResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("templates:launch" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "validateOnly" Bool :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "dynamicTemplate.stagingLocation" Text :> (QueryParam "gcsPath" Text :> (QueryParam "callback" Text :> (QueryParam "dynamicTemplate.gcsPath" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LaunchTemplateParameters :> Post '[JSON] LaunchTemplateResponse))))))))))))))) Source #

A resource alias for dataflow.projects.templates.launch method which the ProjectsTemplatesLaunch request conforms to.

Creating a Request

data ProjectsTemplatesLaunch Source #

Launch a template.

See: projectsTemplatesLaunch smart constructor.

Instances
Eq ProjectsTemplatesLaunch Source # 
Instance details

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

Data ProjectsTemplatesLaunch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsTemplatesLaunch -> Constr #

dataTypeOf :: ProjectsTemplatesLaunch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTemplatesLaunch Source # 
Instance details

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

Generic ProjectsTemplatesLaunch Source # 
Instance details

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

Associated Types

type Rep ProjectsTemplatesLaunch :: Type -> Type #

GoogleRequest ProjectsTemplatesLaunch Source # 
Instance details

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

type Rep ProjectsTemplatesLaunch Source # 
Instance details

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

type Rep ProjectsTemplatesLaunch = D1 (MetaData "ProjectsTemplatesLaunch" "Network.Google.Resource.Dataflow.Projects.Templates.Launch" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "ProjectsTemplatesLaunch'" PrefixI True) (((S1 (MetaSel (Just "_ptlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ptlValidateOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ptlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ptlLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ptlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_ptlPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LaunchTemplateParameters) :*: (S1 (MetaSel (Just "_ptlDynamicTemplateStagingLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptlGcsPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ptlProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ptlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptlDynamicTemplateGcsPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsTemplatesLaunch Source # 
Instance details

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

type Scopes ProjectsTemplatesLaunch = "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 ProjectsTemplatesLaunch Source # 
Instance details

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

Request Lenses

ptlValidateOnly :: Lens' ProjectsTemplatesLaunch (Maybe Bool) Source #

If true, the request is validated but not actually executed. Defaults to false.

ptlUploadProtocol :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #

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

ptlLocation :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #

The location to which to direct the request.

ptlUploadType :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #

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

ptlDynamicTemplateStagingLocation :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #

Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with `gs://`.

ptlGcsPath :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #

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

ptlProjectId :: Lens' ProjectsTemplatesLaunch Text Source #

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

ptlDynamicTemplateGcsPath :: Lens' ProjectsTemplatesLaunch (Maybe Text) Source #

Path to dynamic template spec file on GCS. The file must be a Json serialized DynamicTemplateFieSpec object.