gogol-dataproc-0.2.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.Jobs.Delete

Contents

Description

Deletes the job from the project. If the job is active, the delete fails, and the response returns `FAILED_PRECONDITION`.

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

Synopsis

REST Resource

type ProjectsRegionsJobsDeleteResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))))))))) Source #

A resource alias for dataproc.projects.regions.jobs.delete method which the ProjectsRegionsJobsDelete request conforms to.

Creating a Request

data ProjectsRegionsJobsDelete Source #

Deletes the job from the project. If the job is active, the delete fails, and the response returns `FAILED_PRECONDITION`.

See: projectsRegionsJobsDelete smart constructor.

Instances

Eq ProjectsRegionsJobsDelete Source # 
Data ProjectsRegionsJobsDelete Source # 

Methods

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

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

toConstr :: ProjectsRegionsJobsDelete -> Constr #

dataTypeOf :: ProjectsRegionsJobsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsJobsDelete Source # 
Generic ProjectsRegionsJobsDelete Source # 
GoogleRequest ProjectsRegionsJobsDelete Source # 
type Rep ProjectsRegionsJobsDelete Source # 
type Scopes ProjectsRegionsJobsDelete Source # 
type Scopes ProjectsRegionsJobsDelete = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs ProjectsRegionsJobsDelete Source # 

Request Lenses

prjdUploadProtocol :: Lens' ProjectsRegionsJobsDelete (Maybe Text) Source #

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

prjdUploadType :: Lens' ProjectsRegionsJobsDelete (Maybe Text) Source #

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

prjdRegion :: Lens' ProjectsRegionsJobsDelete Text Source #

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

prjdProjectId :: Lens' ProjectsRegionsJobsDelete Text Source #

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