Class TagValue (1.11.0)

TagValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A TagValue is a child of a particular TagKey. This is used to group cloud resources for the purpose of controlling them using policies.


name str
Immutable. Resource name for TagValue in the format tagValues/456.
parent str
Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form tagKeys/{tag_key_id}.
short_name str
Required. 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.
namespaced_name str
Output 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}.
description str
Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Creation time.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Update time.
etag str
Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.