Method: projects.locations.entryGroups.entries.tags.patch

Updates an existing tag.

HTTP request

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

Path parameters

Parameters
tag.name

string

Identifier. The resource name of the tag in URL format. Example:

  • projects/{projectId}/locations/{location}/entrygroups/{entryGroupId}/entries/{entryId}/tags/{tag_id}

where tag_id is a system-generated identifier. Note that this Tag may not actually be stored in the location in this name. It takes the form projects/{project}/locations/{location}/entryGroups/{entrygroup}/entries/{entries}/tags/{tag}.

Query parameters

Parameters
updateMask

string (FieldMask format)

Note: Currently, this parameter can only take "fields" as value.

Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name fields.

In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.

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 Tag.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.