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

Contents

Description

Creates a Cloud Dataflow job from a template.

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

Synopsis

REST Resource

type ProjectsTemplatesCreateResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("templates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateJobFromTemplateRequest :> Post '[JSON] Job)))))))))) Source #

A resource alias for dataflow.projects.templates.create method which the ProjectsTemplatesCreate request conforms to.

Creating a Request

projectsTemplatesCreate Source #

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

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

data ProjectsTemplatesCreate Source #

Creates a Cloud Dataflow job from a template.

See: projectsTemplatesCreate smart constructor.

Instances
Eq ProjectsTemplatesCreate Source # 
Instance details

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

Data ProjectsTemplatesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsTemplatesCreate -> Constr #

dataTypeOf :: ProjectsTemplatesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTemplatesCreate Source # 
Instance details

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

Generic ProjectsTemplatesCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsTemplatesCreate :: Type -> Type #

GoogleRequest ProjectsTemplatesCreate Source # 
Instance details

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

type Rep ProjectsTemplatesCreate Source # 
Instance details

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

type Rep ProjectsTemplatesCreate = D1 (MetaData "ProjectsTemplatesCreate" "Network.Google.Resource.Dataflow.Projects.Templates.Create" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "ProjectsTemplatesCreate'" PrefixI True) ((S1 (MetaSel (Just "_ptcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ptcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ptcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreateJobFromTemplateRequest)) :*: (S1 (MetaSel (Just "_ptcProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsTemplatesCreate Source # 
Instance details

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

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

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

Request Lenses

ptcUploadProtocol :: Lens' ProjectsTemplatesCreate (Maybe Text) Source #

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

ptcUploadType :: Lens' ProjectsTemplatesCreate (Maybe Text) Source #

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

ptcProjectId :: Lens' ProjectsTemplatesCreate Text Source #

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