Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get .
HTTP request
POST https://dataproc.googleapis.com/v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel
The URL uses gRPC Transcoding syntax.
Path parameters
projectId
string
Required. The ID of the Google Cloud Platform project that the job belongs to.
region
string
Required. The Dataproc region in which to handle the request.
jobId
string
Required. The job ID.
Authorization requires the following IAM
permission on the specified resource jobId
:
-
dataproc.jobs.cancel
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Job
.
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .

