Skip to main content

tag_values_namespaced

Creates, updates, deletes, gets or lists a tag_values_namespaced resource.

Overview

Nametag_values_namespaced
TypeResource
Idgoogle.cloudresourcemanager.tag_values_namespaced

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
get_namespacedSELECTRetrieves a TagValue by its namespaced name. This method will return PERMISSION_DENIED if the value does not exist or the user does not have permission to view it.

SELECT examples

Retrieves a TagValue by its namespaced name. This method will return PERMISSION_DENIED if the value does not exist or the user does not have permission to view it.

SELECT
name,
description,
createTime,
etag,
namespacedName,
parent,
shortName,
updateTime
FROM google.cloudresourcemanager.tag_values_namespaced
;