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

Output only. Resource name of this policy tag, whose format is: "projects/{project_number}/locations/{locationId}/taxonomies/{taxonomyId}/policyTags/{id}". It takes the form projects/{project_id}/locations/{location_id}/taxonomies/{taxonomies_id}/policyTags/{policytag_id}.

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.

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.

Try it!