Method: projects.locations.taxonomies.policyTags.patch

Updates a policy tag.

HTTP request

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

Path parameters

Parameters
policyTag.name

string

Identifier. Resource name of this policy tag, whose format is: "projects/{projectNumber}/locations/{locationId}/taxonomies/{taxonomyId}/policyTags/{id}". It takes the form projects/{project}/locations/{location}/taxonomies/{taxonomies}/policyTags/{policytag}.

Query parameters

Parameters
updateMask

string (FieldMask format)

The update mask applies to the resource. Only displayName, description and parentPolicyTag can be updated and thus can be listed in the mask. If updateMask is not provided, all allowed fields (i.e. displayName, description and parent) will be updated. For more information including the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

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.