Method: organizations.inspectTemplates.patch

Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

HTTP request

PATCH https://dlp.googleapis.com/v2/{name=organizations/*/inspectTemplates/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Resource name of organization and inspectTemplate to be updated, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

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

  • dlp.inspectTemplates.update

Request body

The request body contains data with the following structure:

JSON representation
{
  "inspectTemplate": {
    object (InspectTemplate)
  },
  "updateMask": string
}
Fields
inspectTemplate

object (InspectTemplate)

New InspectTemplate 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 InspectTemplate.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

Try it!

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

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

Cloud Data Loss Prevention