- NAME
-
- gcloud data-catalog tags update - update a Data Catalog entry tag
- SYNOPSIS
-
-
gcloud data-catalog tags update(TAG:--entry=ENTRY--entry-group=ENTRY_GROUP--location=LOCATION)--tag-file=TAG_FILE(--tag-template=TAG_TEMPLATE:--tag-template-location=TAG_TEMPLATE_LOCATION--tag-template-project=TAG_TEMPLATE_PROJECT) [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(DEPRECATED)This command is deprecated. Please usegcloud dataplex entriesinstead. Note that aspects - successors of tags - are part of the entry resource and are managed bygcloud dataplex entriescommand.Update a Data Catalog entry tag. This will overwrite the current values of the tag.
- EXAMPLES
-
Update a Data Catalog entry tag:
gcloud data-catalog tags update TAG --tag-template=TAG_TEMPLATE --tag-file=TAG_FILE - POSITIONAL ARGUMENTS
-
-
Tag resource - Entry tag to update. The arguments in this group can be used to
specify the attributes of this resource. 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
projectattribute:-
provide the argument
tagon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
This must be specified.
TAG-
ID of the tag or fully qualified identifier for the tag.
To set the
tagattribute:-
provide the argument
tagon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--entry=ENTRY-
Entry of the tag.
To set the
entryattribute:-
provide the argument
tagon the command line with a fully specified name; -
provide the argument
--entryon the command line.
-
provide the argument
--entry-group=ENTRY_GROUP-
Entry group of the tag.
To set the
entry-groupattribute:-
provide the argument
tagon the command line with a fully specified name; -
provide the argument
--entry-groupon the command line.
-
provide the argument
--location=LOCATION-
Location of the tag.
To set the
locationattribute:-
provide the argument
tagon the command line with a fully specified name; -
provide the argument
--locationon the command line.
-
provide the argument
-
provide the argument
-
Tag resource - Entry tag to update. The arguments in this group can be used to
specify the attributes of this resource. 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.
- REQUIRED FLAGS
-
--tag-file=TAG_FILE-
Path to a JSON or YAML file containing the tag.
The file should contain a JSON/YAML object with a key and value for each field that should be set. See $ gcloud topic datetimes for information on how to specify timestamp fields
For example:
{ "dbl_field": 123, "str_field": "String", "bool_field": true, "ts_field": "1970-01-01T00:00:00.000Z", "enum_field": "ENUM_A", }
-
Tag template resource - Tag template.
--tag-template-locationdefaults to the tag's location.--tag-template-projectdefaults to the tag's project. The arguments in this group can be used to specify the attributes of this resource.This must be specified.
--tag-template=TAG_TEMPLATE-
ID of the tag template or fully qualified identifier for the tag template.
To set the
tag_templateattribute:-
provide the argument
--tag-templateon the command line.
This flag argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--tag-template-location=TAG_TEMPLATE_LOCATION-
Location of the tag template.
To set the
locationattribute:-
provide the argument
--tag-templateon the command line with a fully specified name; -
provide the argument
--tag-template-locationon the command line; -
provide the argument
--locationon the command line.
-
provide the argument
--tag-template-project=TAG_TEMPLATE_PROJECT-
Project of the tag template.
To set the
projectattribute:-
provide the argument
--tag-templateon the command line with a fully specified name; -
provide the argument
--tag-template-projecton the command line; -
provide the argument
--projecton the command line; -
set the property
core/project.
-
provide the argument
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - API REFERENCE
-
This command uses the
datacatalog/v1API. The full documentation for this API can be found at: https://cloud.google.com/data-catalog/docs/ - NOTES
-
These variants are also available:
gcloud alpha data-catalog tags updategcloud beta data-catalog tags update
gcloud data-catalog tags update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-22 UTC.