gcloud alpha data-catalog tag-templates fields update

NAME
gcloud alpha data-catalog tag-templates fields update - update a Cloud Data Catalog tag template field
SYNOPSIS
gcloud alpha data-catalog tag-templates fields update (FIELD : --location=LOCATION --tag-template=TAG_TEMPLATE) [--display-name=DISPLAY_NAME] [--enum-values=[ENUM_VALUES,…]] [--required] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Update a Cloud Data Catalog tag template field.
POSITIONAL ARGUMENTS
Tag template field resource - Tag template field to update. The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the [project] attribute: provide the argument [field] on the command line with a fully specified name; set the property [core/project]; provide the argument [--project] on the command line. This must be specified.
FIELD
ID of the tag template field or fully qualified identifier for the tag template field. This positional must be specified if any of the other arguments in this group are specified.
--location=LOCATION
Location of the tag template field.
--tag-template=TAG_TEMPLATE
Tag template of the tag template field.
FLAGS
--display-name=DISPLAY_NAME
Display name of the tag template field.
--enum-values=[ENUM_VALUES,…]
Comma-separated list of enum values. The list of enum values passed with this flag replaces the existing one in tag template enum field. That means:
  • the enum values passed to the flag and not present in tag template enum field get created
  • the enum values present in tag template enum field and missing in the list get removed
  • the order of the items on the list is preserved
Enum values can only be removed from optional enum fields for now.
--required
Indicates if the tag template field is required. Updating from FALSE (optional) to TRUE (required) is NOT allowed.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

API REFERENCE
This command uses the datacatalog/v1beta1 API. The full documentation for this API can be found at: https://cloud.google.com/data-catalog/docs/
EXAMPLES
Update the display name of a tag template field:
gcloud alpha data-catalog tag-templates fields update FIELD --display-name=NAME

Set tag template enum field values to be 'A' and 'B':

gcloud alpha data-catalog tag-templates fields update FIELD --enum-values=A,B

Set a tag template field to be optional:

gcloud alpha data-catalog tag-templates fields update FIELD --no-required
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you may be trying to access an API with an invitation-only early access allowlist. These variants are also available:
gcloud data-catalog tag-templates fields update
gcloud beta data-catalog tag-templates fields update