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

Contents

Description

Creates new workflow template.

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

Synopsis

REST Resource

type ProjectsRegionsWorkflowTemplatesCreateResource = "v1" :> (Capture "parent" Text :> ("workflowTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WorkflowTemplate :> Post '[JSON] WorkflowTemplate))))))))) Source #

A resource alias for dataproc.projects.regions.workflowTemplates.create method which the ProjectsRegionsWorkflowTemplatesCreate request conforms to.

Creating a Request

data ProjectsRegionsWorkflowTemplatesCreate Source #

Creates new workflow template.

See: projectsRegionsWorkflowTemplatesCreate smart constructor.

Instances
Eq ProjectsRegionsWorkflowTemplatesCreate Source # 
Instance details

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

Data ProjectsRegionsWorkflowTemplatesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRegionsWorkflowTemplatesCreate -> Constr #

dataTypeOf :: ProjectsRegionsWorkflowTemplatesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsWorkflowTemplatesCreate Source # 
Instance details

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

Generic ProjectsRegionsWorkflowTemplatesCreate Source # 
Instance details

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

GoogleRequest ProjectsRegionsWorkflowTemplatesCreate Source # 
Instance details

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

type Rep ProjectsRegionsWorkflowTemplatesCreate Source # 
Instance details

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

type Rep ProjectsRegionsWorkflowTemplatesCreate = D1 (MetaData "ProjectsRegionsWorkflowTemplatesCreate" "Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Create" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsWorkflowTemplatesCreate'" PrefixI True) ((S1 (MetaSel (Just "_prwtcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_prwtcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_prwtcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prwtcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prwtcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_prwtcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 WorkflowTemplate) :*: S1 (MetaSel (Just "_prwtcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsWorkflowTemplatesCreate Source # 
Instance details

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

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

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

Request Lenses

prwtcParent :: Lens' ProjectsRegionsWorkflowTemplatesCreate Text Source #

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

prwtcUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text) Source #

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

prwtcUploadType :: Lens' ProjectsRegionsWorkflowTemplatesCreate (Maybe Text) Source #

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