Method: projects.locations.jobTriggers.activate

Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.

HTTP request

POST https://dlp.googleapis.com/v2/{name=projects/*/locations/*/jobTriggers/*}:activate

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name of the trigger to activate, for example projects/dlp-test-project/jobTriggers/53234423.

Authorization requires one or more of the following IAM permissions on the specified resource name:

  • dlp.jobTriggers.get
  • dlp.jobs.create

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of DlpJob.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.