v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1362267343.4 KB
projects

Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list (https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or regions/{region}/jobs.get (https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).

post/v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel

Path parameters

projectIdstring required

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

regionstring required

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

jobIdstring required

Required. The job ID.

Request body

CancelJobRequest required

A request to cancel a job.

Response

Successful response