Method: projects.locations.tagTemplates.patch

Updates a tag template. This method cannot be used to update the fields of a template. The tag template fields are represented as separate resources and should be updated using their own create/update/delete methods. Users should enable the Data Catalog API in the project identified by the parameter (see Data Catalog Resource Project for more information).

HTTP request


Path parameters



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

  • projects/{projectId}/locations/{location}/tagTemplates/{tagTemplateId}

Note that this TagTemplate and its child resources may not actually be stored in the location in this name. It takes the form projects/{project}/locations/{location}/tagTemplates/{tagtemplate}.

Query parameters


string (FieldMask format)

Names of fields whose values to overwrite on a tag template. Currently, only displayName can be overwritten.

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

Response body

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

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.