Method: projects.dlpJobs.cancel

Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.

HTTP request

POST https://dlp.googleapis.com/v2/{name=projects/*/dlpJobs/*}:cancel

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the DlpJob resource to be cancelled.

Authorization requires the following Google IAM permission on the specified resource name:

  • dlp.jobs.cancel

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...

Data Loss Prevention API