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

Contents

Description

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

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

Synopsis

REST Resource

type ProjectsLocationsWorkflowTemplatesDeleteResource = "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.locations.workflowTemplates.delete method which the ProjectsLocationsWorkflowTemplatesDelete request conforms to.

Creating a Request

projectsLocationsWorkflowTemplatesDelete Source #

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

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

data ProjectsLocationsWorkflowTemplatesDelete Source #

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

See: projectsLocationsWorkflowTemplatesDelete smart constructor.

Instances
Eq ProjectsLocationsWorkflowTemplatesDelete Source # 
Instance details

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

Data ProjectsLocationsWorkflowTemplatesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsWorkflowTemplatesDelete -> Constr #

dataTypeOf :: ProjectsLocationsWorkflowTemplatesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsWorkflowTemplatesDelete Source # 
Instance details

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

Generic ProjectsLocationsWorkflowTemplatesDelete Source # 
Instance details

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

GoogleRequest ProjectsLocationsWorkflowTemplatesDelete Source # 
Instance details

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

type Rep ProjectsLocationsWorkflowTemplatesDelete Source # 
Instance details

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

type Rep ProjectsLocationsWorkflowTemplatesDelete = D1 (MetaData "ProjectsLocationsWorkflowTemplatesDelete" "Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.Delete" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsLocationsWorkflowTemplatesDelete'" PrefixI True) ((S1 (MetaSel (Just "_plwtdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plwtdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwtdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plwtdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwtdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_plwtdVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_plwtdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsWorkflowTemplatesDelete Source # 
Instance details

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

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

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

Request Lenses

plwtdUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text) Source #

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

plwtdUploadType :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text) Source #

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

plwtdName :: Lens' ProjectsLocationsWorkflowTemplatesDelete 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}

plwtdVersion :: Lens' ProjectsLocationsWorkflowTemplatesDelete (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.