Method: projects.deidentifyTemplates.patch

Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name of organization and deidentify template to be updated, for example organizations/433245324/deidentifyTemplates/432452342 or projects/project-id/deidentifyTemplates/432452342.

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

  • dlp.deidentifyTemplates.update

Request body

The request body contains data with the following structure:

JSON representation
{
  "deidentifyTemplate": {
    object (DeidentifyTemplate)
  },
  "updateMask": string
}
Fields
deidentifyTemplate

object (DeidentifyTemplate)

New DeidentifyTemplate value.

updateMask

string (FieldMask format)

Mask to control which fields get updated.

This is 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 DeidentifyTemplate.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.