class Google::Apis::CloudresourcemanagerV3::TagKey
A TagKey
, used to group a set of TagValues.
Attributes
Output only. Creation time. Corresponds to the JSON property `createTime` @return [String]
Optional. User-assigned description of the TagKey
. Must not exceed 256 characters. Read-write. Corresponds to the JSON property `description` @return [String]
Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagKeyRequest for details. Corresponds to the JSON property `etag` @return [String]
Output only. Immutable. Namespaced name of the TagKey
. Corresponds to the JSON property `namespacedName` @return [String]
Immutable. The resource name of the new TagKey's parent. Must be of the form ` organizations/`org_id“. Corresponds to the JSON property `parent` @return [String]
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. Corresponds to the JSON property `shortName` @return [String]
Output only. Update time. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/cloudresourcemanager_v3/classes.rb, line 1601 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudresourcemanager_v3/classes.rb, line 1606 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) @name = args[:name] if args.key?(:name) @namespaced_name = args[:namespaced_name] if args.key?(:namespaced_name) @parent = args[:parent] if args.key?(:parent) @short_name = args[:short_name] if args.key?(:short_name) @update_time = args[:update_time] if args.key?(:update_time) end