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

Contents

Description

Deletes a workflow template. It does not cancel in-progress workflows.

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

Synopsis

REST Resource

type ProjectsRegionsWorkflowTemplatesDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "version" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))) Source #

A resource alias for dataproc.projects.regions.workflowTemplates.delete method which the ProjectsRegionsWorkflowTemplatesDelete request conforms to.

Creating a Request

projectsRegionsWorkflowTemplatesDelete Source #

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

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

data ProjectsRegionsWorkflowTemplatesDelete Source #

Deletes a workflow template. It does not cancel in-progress workflows.

See: projectsRegionsWorkflowTemplatesDelete smart constructor.

Instances
Eq ProjectsRegionsWorkflowTemplatesDelete Source # 
Instance details

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

Data ProjectsRegionsWorkflowTemplatesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRegionsWorkflowTemplatesDelete -> Constr #

dataTypeOf :: ProjectsRegionsWorkflowTemplatesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsWorkflowTemplatesDelete Source # 
Instance details

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

Generic ProjectsRegionsWorkflowTemplatesDelete Source # 
Instance details

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

GoogleRequest ProjectsRegionsWorkflowTemplatesDelete Source # 
Instance details

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

type Rep ProjectsRegionsWorkflowTemplatesDelete Source # 
Instance details

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

type Rep ProjectsRegionsWorkflowTemplatesDelete = D1 (MetaData "ProjectsRegionsWorkflowTemplatesDelete" "Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.Delete" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsWorkflowTemplatesDelete'" PrefixI True) ((S1 (MetaSel (Just "_prwtdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prwtdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prwtdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prwtdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prwtdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_prwtdVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_prwtdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsWorkflowTemplatesDelete Source # 
Instance details

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

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

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

Request Lenses

prwtdUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text) Source #

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

prwtdUploadType :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text) Source #

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

prwtdName :: Lens' ProjectsRegionsWorkflowTemplatesDelete Text Source #

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

prwtdVersion :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Int32) Source #

Optional. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.