Class TagKey (1.2.0)

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

A TagKey, used to group a set of TagValues.

Attributes

NameDescription
name str
Immutable. The resource name for a TagKey. Must be in the format tagKeys/{tag_key_id}, where tag_key_id is the generated numeric id for the TagKey.
parent str
Immutable. The resource name of the new TagKey's parent. Must be of the form organizations/{org_id}.
short_name str
Required. Immutable. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace. The 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.
namespaced_name str
Output only. Immutable. Namespaced name of the TagKey.
description str
Optional. User-assigned description of the TagKey. 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 UpdateTagKeyRequest for details.