gogol-dataproc-0.5.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.Create

Contents

Description

Creates new workflow template.

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

Synopsis

REST Resource

type ProjectsLocationsWorkflowTemplatesCreateResource = "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.locations.workflowTemplates.create method which the ProjectsLocationsWorkflowTemplatesCreate request conforms to.

Creating a Request

data ProjectsLocationsWorkflowTemplatesCreate Source #

Creates new workflow template.

See: projectsLocationsWorkflowTemplatesCreate smart constructor.

Instances
Eq ProjectsLocationsWorkflowTemplatesCreate Source # 
Instance details

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

Data ProjectsLocationsWorkflowTemplatesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsWorkflowTemplatesCreate -> Constr #

dataTypeOf :: ProjectsLocationsWorkflowTemplatesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsWorkflowTemplatesCreate Source # 
Instance details

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

Generic ProjectsLocationsWorkflowTemplatesCreate Source # 
Instance details

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

GoogleRequest ProjectsLocationsWorkflowTemplatesCreate Source # 
Instance details

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

type Rep ProjectsLocationsWorkflowTemplatesCreate Source # 
Instance details

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

type Rep ProjectsLocationsWorkflowTemplatesCreate = D1 (MetaData "ProjectsLocationsWorkflowTemplatesCreate" "Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Create" "gogol-dataproc-0.5.0-CmwCQ3QYfGaKSLMn4uqAtt" False) (C1 (MetaCons "ProjectsLocationsWorkflowTemplatesCreate'" PrefixI True) ((S1 (MetaSel (Just "_plwtcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_plwtcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_plwtcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plwtcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwtcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_plwtcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 WorkflowTemplate) :*: S1 (MetaSel (Just "_plwtcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsWorkflowTemplatesCreate Source # 
Instance details

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

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

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

Request Lenses

plwtcParent :: Lens' ProjectsLocationsWorkflowTemplatesCreate 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}

plwtcUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text) Source #

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

plwtcUploadType :: Lens' ProjectsLocationsWorkflowTemplatesCreate (Maybe Text) Source #

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