Renames an enum value in a tag template. The enum values have to be unique within one enum field. Thus, an enum value cannot be renamed with a name used in any other enum value within the same enum field.
HTTP request
POST http://datacatalog.googleapis.com/v1beta1/{name}:rename
Path parameters
Parameters
name
string
Required. The name of the enum field value. Example:
projects/{projectId}/locations/{location}/tagTemplates/{tagTemplateId}/fields/{tagTemplateFieldId}/enumValues/{enum_value_display_name} It takes the form projects/{project}/locations/{location}/tagTemplates/{tagtemplate}/fields/{field}/enumValues/{enumvalue}.
Request body
The request body contains data with the following structure:
JSON representation
{"newEnumValueDisplayName": string}
Fields
newEnumValueDisplayName
string
Required. The new display name of the enum value. For example, my_new_enum_value.
Response body
If successful, the response body contains an instance of TagTemplateField.