gogol-ml-0.4.0: Google Cloud Machine Learning Engine 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: Cloud Machine Learning Engine Reference for ml.projects.jobs.cancel.

Synopsis

REST Resource

type ProjectsJobsCancelResource = "v1" :> (CaptureMode "name" "cancel" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudMlV1__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 # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.Cancel

Data ProjectsJobsCancel Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.Cancel

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

Defined in Network.Google.Resource.Ml.Projects.Jobs.Cancel

Generic ProjectsJobsCancel Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.Cancel

Associated Types

type Rep ProjectsJobsCancel :: Type -> Type #

GoogleRequest ProjectsJobsCancel Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.Cancel

Associated Types

type Rs ProjectsJobsCancel :: Type #

type Scopes ProjectsJobsCancel :: [Symbol] #

type Rep ProjectsJobsCancel Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.Cancel

type Scopes ProjectsJobsCancel Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.Cancel

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

Defined in Network.Google.Resource.Ml.Projects.Jobs.Cancel

Request Lenses

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

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

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.