Skip to main content

tag_values

Overview

Nametag_values
TypeResource
Idgoogle.cloudresourcemanager.tag_values

Fields

NameDatatypeDescription
namestringImmutable. Resource name for TagValue in the format tagValues/456.
descriptionstringOptional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.
createTimestringOutput only. Creation time.
etagstringOptional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.
namespacedNamestringOutput only. The namespaced name of the TagValue. Can be in the form {organization_id}/{tag_key_short_name}/{tag_value_short_name} or {project_id}/{tag_key_short_name}/{tag_value_short_name} or {project_number}/{tag_key_short_name}/{tag_value_short_name}.
parentstringImmutable. The resource name of the new TagValue's parent TagKey. Must be of the form tagKeys/{tag_key_id}.
shortNamestringRequired. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
updateTimestringOutput only. Update time.

Methods

NameAccessible byRequired ParamsDescription
getSELECTtagValuesIdRetrieves a TagValue. This method will return PERMISSION_DENIED if the value does not exist or the user does not have permission to view it.
listSELECTLists all TagValues for a specific TagKey.
createINSERTCreates a TagValue as a child of the specified TagKey. If a another request with the same parameters is sent while the original request is in process the second request will receive an error. A maximum of 1000 TagValues can exist under a TagKey at any given time.
deleteDELETEtagValuesIdDeletes a TagValue. The TagValue cannot have any bindings when it is deleted.
_listEXECLists all TagValues for a specific TagKey.
patchEXECtagValuesIdUpdates the attributes of the TagValue resource.