- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Updates a field in a tag template. This method cannot be used to update the field type. Users should enable the Data Catalog API in the project identified by the name
parameter (see Data Catalog Resource Project for more information).
HTTP request
PATCH https://datacatalog.googleapis.com/v1beta1/{name}
Path parameters
Parameters | |
---|---|
name |
Required. The name of the tag template field. Example:
|
Query parameters
Parameters | |
---|---|
updateMask |
Optional. Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable:
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 with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed. Additionally, updating a template field from optional to required is not allowed. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of TagTemplateField
.
Response body
If successful, the response body contains an instance of TagTemplateField
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.