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

Contents

Description

Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get.

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

Synopsis

REST Resource

type ProjectsRegionsJobsCancelResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("jobs" :> (CaptureMode "jobId" "cancel" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CancelJobRequest :> Post '[JSON] Job))))))))))))) Source #

A resource alias for dataproc.projects.regions.jobs.cancel method which the ProjectsRegionsJobsCancel request conforms to.

Creating a Request

data ProjectsRegionsJobsCancel Source #

Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get.

See: projectsRegionsJobsCancel smart constructor.

Instances
Eq ProjectsRegionsJobsCancel Source # 
Instance details

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

Data ProjectsRegionsJobsCancel Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRegionsJobsCancel -> Constr #

dataTypeOf :: ProjectsRegionsJobsCancel -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsJobsCancel Source # 
Instance details

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

Generic ProjectsRegionsJobsCancel Source # 
Instance details

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

Associated Types

type Rep ProjectsRegionsJobsCancel :: Type -> Type #

GoogleRequest ProjectsRegionsJobsCancel Source # 
Instance details

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

type Rep ProjectsRegionsJobsCancel Source # 
Instance details

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

type Rep ProjectsRegionsJobsCancel = D1 (MetaData "ProjectsRegionsJobsCancel" "Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Cancel" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsJobsCancel'" PrefixI True) (((S1 (MetaSel (Just "_prjcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_prjcJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_prjcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prjcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prjcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prjcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CancelJobRequest)) :*: (S1 (MetaSel (Just "_prjcRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_prjcProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prjcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsRegionsJobsCancel Source # 
Instance details

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

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

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

Request Lenses

prjcUploadProtocol :: Lens' ProjectsRegionsJobsCancel (Maybe Text) Source #

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

prjcUploadType :: Lens' ProjectsRegionsJobsCancel (Maybe Text) Source #

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

prjcRegion :: Lens' ProjectsRegionsJobsCancel Text Source #

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

prjcProjectId :: Lens' ProjectsRegionsJobsCancel Text Source #

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