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.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: 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" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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

projectsRegionsJobsDelete Source #

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

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

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 # 
Instance details

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

Data ProjectsRegionsJobsDelete Source # 
Instance details

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

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 # 
Instance details

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

Generic ProjectsRegionsJobsDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsRegionsJobsDelete :: Type -> Type #

GoogleRequest ProjectsRegionsJobsDelete Source # 
Instance details

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

type Rep ProjectsRegionsJobsDelete Source # 
Instance details

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

type Rep ProjectsRegionsJobsDelete = D1 (MetaData "ProjectsRegionsJobsDelete" "Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Delete" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsJobsDelete'" PrefixI True) (((S1 (MetaSel (Just "_prjdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_prjdJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_prjdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prjdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prjdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prjdRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_prjdProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prjdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsJobsDelete Source # 
Instance details

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

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

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

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.