Method: projects.jobTriggers.patch

Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

HTTP request

PATCH https://dlp.googleapis.com/v2/{name=projects/*/jobTriggers/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name of the project and the triggeredJob, 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.update
  • dlp.jobs.create

Request body

The request body contains data with the following structure:

JSON representation
{
  "jobTrigger": {
    object (JobTrigger)
  },
  "updateMask": string
}
Fields
jobTrigger

object (JobTrigger)

New JobTrigger value.

updateMask

string (FieldMask format)

Mask to control which fields get updated.

A comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

Try it!

¿Te sirvió esta página? Envíanos tu opinión:

Enviar comentarios sobre…

Cloud Data Loss Prevention