- NAME
-
- gcloud alpha resource-manager tags bindings delete - deletes a TagBinding
- SYNOPSIS
-
-
gcloud alpha resource-manager tags bindings delete
--parent
=PARENT
--tag-value
=TAG_VALUE
[--async
] [--location
=LOCATION
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Deletes a TagBinding given the TagValue and the parent resource that the TagValue is attached to. The parent must be given as the full resource name. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. The TagValue can be represented with its numeric id or its namespaced name of {parent_namespace}/{tag_key_short_name}/{tag_value_short_name}. - EXAMPLES
-
To delete a TagBinding between tagValue/111 and Project with name
run://cloudresourcemanager.googleapis.com/projects/1234
gcloud alpha resource-manager tags bindings delete --tag-value=tagValue/123 --parent=//cloudresourcemanager.googleapis.com/projects/1234
To delete a binding between TagValue test under TagKey
that lives underenv
and Project with nameorganizations/789
run://cloudresourcemanager.googleapis.com/projects/1234
gcloud alpha resource-manager tags bindings delete --tag-value=789/env/test --parent=//cloudresourcemanager.googleapis.com/projects/1234
- REQUIRED FLAGS
-
--parent
=PARENT
- Full resource name of the resource attached to the tagValue.
--tag-value
=TAG_VALUE
-
Tag value name or namespaced name. The name should be in the form
tagValues/{numeric_id}. The namespaced name should be in the form
{org_id}/{tag_key_short_name}/{short_name} where short_name must be 1-63
characters, beginning and ending with an alphanumeric character ([a-z0-9A-Z])
with dashes (-), underscores (
), dots (.), and alphanumerics between.
- OPTIONAL FLAGS
-
--async
- Return immediately, without waiting for the operation in progress to complete.
--location
=LOCATION
- Region or zone of the resource to unbind from the TagValue. This field is not required if the resource is a global resource like projects, folders and organizations.
- 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
-
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation-only early access
allowlist. These variants are also available:
gcloud resource-manager tags bindings delete
gcloud beta resource-manager tags bindings delete
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 2024-02-06 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-02-06 UTC.",
"confidential": False
}