Method: projects.locations.taxonomies.policyTags.patch

Updates a policy tag, including its display name, description, and parent policy tag.

HTTP request

PATCH https://datacatalog.googleapis.com/v1/{policyTag.name}

Path parameters

Parameters
policyTag.name

string

Identifier. Resource name of this policy tag in the URL format.

The policy tag manager generates unique taxonomy IDs and policy tag IDs. It takes the form projects/{project}/locations/{location}/taxonomies/{taxonomies}/policyTags/{policytag}.

Query parameters

Parameters
updateMask

string (FieldMask format)

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

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

Request body

The request body contains an instance of PolicyTag.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.