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

Contents

Description

Deletes a cluster in a project.

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

Synopsis

REST Resource

type ProjectsRegionsClustersDeleteResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("clusters" :> (Capture "clusterName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "requestId" Text :> (QueryParam "clusterUuid" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))))))))) Source #

A resource alias for dataproc.projects.regions.clusters.delete method which the ProjectsRegionsClustersDelete request conforms to.

Creating a Request

data ProjectsRegionsClustersDelete Source #

Deletes a cluster in a project.

See: projectsRegionsClustersDelete smart constructor.

Instances
Eq ProjectsRegionsClustersDelete Source # 
Instance details

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

Data ProjectsRegionsClustersDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRegionsClustersDelete -> Constr #

dataTypeOf :: ProjectsRegionsClustersDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsClustersDelete Source # 
Instance details

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

Generic ProjectsRegionsClustersDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsRegionsClustersDelete :: Type -> Type #

GoogleRequest ProjectsRegionsClustersDelete Source # 
Instance details

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

type Rep ProjectsRegionsClustersDelete Source # 
Instance details

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

type Rep ProjectsRegionsClustersDelete = D1 (MetaData "ProjectsRegionsClustersDelete" "Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Delete" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsClustersDelete'" PrefixI True) (((S1 (MetaSel (Just "_prcdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_prcdRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_prcdClusterUuid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_prcdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prcdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_prcdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prcdClusterName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_prcdRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_prcdProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prcdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsRegionsClustersDelete Source # 
Instance details

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

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

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

Request Lenses

prcdRequestId :: Lens' ProjectsRegionsClustersDelete (Maybe Text) Source #

Optional. A unique id used to identify the request. If the server receives two DeleteClusterRequest requests with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

prcdClusterUuid :: Lens' ProjectsRegionsClustersDelete (Maybe Text) Source #

Optional. Specifying the cluster_uuid means the RPC should fail (with error NOT_FOUND) if cluster with specified UUID does not exist.

prcdUploadProtocol :: Lens' ProjectsRegionsClustersDelete (Maybe Text) Source #

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

prcdUploadType :: Lens' ProjectsRegionsClustersDelete (Maybe Text) Source #

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

prcdRegion :: Lens' ProjectsRegionsClustersDelete Text Source #

Required. The Cloud Dataproc region in which to handle the request.

prcdProjectId :: Lens' ProjectsRegionsClustersDelete Text Source #

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