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: Google Cloud Machine Learning Reference for ml.projects.jobs.cancel
.
- 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))))))))))
- projectsJobsCancel :: GoogleCloudMlV1beta1__CancelJobRequest -> Text -> ProjectsJobsCancel
- data ProjectsJobsCancel
- pjcXgafv :: Lens' ProjectsJobsCancel (Maybe Xgafv)
- pjcUploadProtocol :: Lens' ProjectsJobsCancel (Maybe Text)
- pjcPp :: Lens' ProjectsJobsCancel Bool
- pjcAccessToken :: Lens' ProjectsJobsCancel (Maybe Text)
- pjcUploadType :: Lens' ProjectsJobsCancel (Maybe Text)
- pjcPayload :: Lens' ProjectsJobsCancel GoogleCloudMlV1beta1__CancelJobRequest
- pjcBearerToken :: Lens' ProjectsJobsCancel (Maybe Text)
- pjcName :: Lens' ProjectsJobsCancel Text
- pjcCallback :: Lens' ProjectsJobsCancel (Maybe Text)
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
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.
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 GoogleCloudMlV1beta1__CancelJobRequest Source #
Multipart request metadata.
pjcBearerToken :: Lens' ProjectsJobsCancel (Maybe Text) Source #
OAuth bearer token.
pjcName :: Lens' ProjectsJobsCancel Text Source #
Required. The name of the job to cancel. Authorization: requires `Editor` role on the parent project.
pjcCallback :: Lens' ProjectsJobsCancel (Maybe Text) Source #
JSONP