Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Cancels a running job.
See: Cloud Machine Learning Engine Reference for ml.projects.jobs.cancel
.
Synopsis
- 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))))))))
- projectsJobsCancel :: GoogleCloudMlV1__CancelJobRequest -> Text -> ProjectsJobsCancel
- data ProjectsJobsCancel
- pjcXgafv :: Lens' ProjectsJobsCancel (Maybe Xgafv)
- pjcUploadProtocol :: Lens' ProjectsJobsCancel (Maybe Text)
- pjcAccessToken :: Lens' ProjectsJobsCancel (Maybe Text)
- pjcUploadType :: Lens' ProjectsJobsCancel (Maybe Text)
- pjcPayload :: Lens' ProjectsJobsCancel GoogleCloudMlV1__CancelJobRequest
- pjcName :: Lens' ProjectsJobsCancel Text
- pjcCallback :: Lens' ProjectsJobsCancel (Maybe Text)
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
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
Request Lenses
pjcUploadProtocol :: Lens' ProjectsJobsCancel (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjcAccessToken :: Lens' ProjectsJobsCancel (Maybe Text) Source #
OAuth access token.
pjcUploadType :: Lens' ProjectsJobsCancel (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjcPayload :: Lens' ProjectsJobsCancel GoogleCloudMlV1__CancelJobRequest Source #
Multipart request metadata.
pjcCallback :: Lens' ProjectsJobsCancel (Maybe Text) Source #
JSONP