gogol-ml-0.2.0: Google Cloud Machine Learning 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.Ml.Projects.Jobs.Cancel

Contents

Description

Cancels a running job.

See: Google Cloud Machine Learning Reference for ml.projects.jobs.cancel.

Synopsis

REST Resource

type ProjectsJobsCancelResource = "v1beta1" :> (CaptureMode "name" "cancel" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudMlV1beta1__CancelJobRequest :> Post '[JSON] GoogleProtobuf__Empty)))))))))) Source #

A resource alias for ml.projects.jobs.cancel method which the ProjectsJobsCancel request conforms to.

Creating a Request

projectsJobsCancel Source #

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

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

data ProjectsJobsCancel Source #

Cancels a running job.

See: projectsJobsCancel smart constructor.

Instances

Eq ProjectsJobsCancel Source # 
Data ProjectsJobsCancel Source # 

Methods

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

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

toConstr :: ProjectsJobsCancel -> Constr #

dataTypeOf :: ProjectsJobsCancel -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

pjcUploadProtocol :: Lens' ProjectsJobsCancel (Maybe Text) Source #

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

pjcPp :: Lens' ProjectsJobsCancel Bool Source #

Pretty-print response.

pjcUploadType :: Lens' ProjectsJobsCancel (Maybe Text) Source #

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

pjcName :: Lens' ProjectsJobsCancel Text Source #

Required. The name of the job to cancel. Authorization: requires `Editor` role on the parent project.