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 tagTemplate.name parameter (see Data Catalog Resource Project for more information).

HTTP request

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

Path parameters

Parameters
tagTemplate.name

string

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

  • projects/{project_id}/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

Parameters
updateMask

string (FieldMask format)

The field mask specifies the parts of the template to overwrite.

Allowed fields:

  • displayName

If absent or empty, all of the allowed fields above will be updated.

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:

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

For more information, see the Authentication Overview.