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

Updates an existing tag.

HTTP request

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

Path parameters

Parameters
tag.name

string

The resource name of the tag in URL format where tag ID is a system-generated identifier.

Note: The tag itself might not be stored in the location specified in its name. It takes the form projects/{project}/locations/{location}/entryGroups/{entrygroup}/entries/{entries}/tags/{tag}.

Query parameters

Parameters
updateMask

string (FieldMask format)

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.