gcloud resource-manager tags values create

NAME
gcloud resource-manager tags values create - creates a TagValue resource
SYNOPSIS
gcloud resource-manager tags values create(SHORT_NAME--parent=PARENT)[--async][--description=DESCRIPTION][GCLOUD_WIDE_FLAG]
DESCRIPTION
Creates a TagValue resource given the short_name and description (optional) aswell as the parent, the of the TagValue. The parent of the TagValue can be aTagKey or TagValue. The parent can be specified by its numeric ID or itsnamespaced name.
EXAMPLES
To create a TagValue with the short nametest and the descriptiondescriptio under a TagKey with a short nameenv underorganizations/123, run:
gcloudresource-managertagsvaluescreatetest--parent=123/env--description=description

To create a TagValue with the short nametest under TagKey with id456, run:

gcloudresource-managertagsvaluescreatetest--parent=tagKeys/456--description=description
POSITIONAL ARGUMENTS
TagValue.

This must be specified.

SHORT_NAME
User specified, friendly name of the TagKey or TagValue. The field must be 1-63characters, beginning and ending with an alphanumeric character ([a-z0-9A-Z])with dashes (-), underscores ( _ ), dots (.), and alphanumerics between.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--parent=PARENT
Parent of the TagValue in either in the form of tagKeys/{id} or{org_id}/{tagkey_short_name}

This flag argument must be specified if any of the other arguments in this groupare specified.

FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--description=DESCRIPTION
User-assigned description of the TagKey or TagValue. Must not exceed 256characters.
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 help for details.

NOTES
These variants are also available:
gcloudalpharesource-managertagsvaluescreate
gcloudbetaresource-managertagsvaluescreate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-14 UTC.