Method: projects.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/*/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 Google 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.

Try it!

このページは役立ちましたか?評価をお願いいたします。

フィードバックを送信...

Data Loss Prevention Documentation