Class: Google::Cloud::ResourceManager::V3::TagKey

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/resourcemanager/v3/tag_keys.rb

Overview

A TagKey, used to group a set of TagValues.

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Creation time.

Returns:



60
61
62
63
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_keys.rb', line 60

class TagKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#description::String

Returns Optional. User-assigned description of the TagKey. Must not exceed 256 characters.

Read-write.

Returns:

  • (::String)

    Optional. User-assigned description of the TagKey. Must not exceed 256 characters.

    Read-write.



60
61
62
63
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_keys.rb', line 60

class TagKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#etag::String

Returns Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagKeyRequest for details.

Returns:

  • (::String)

    Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagKeyRequest for details.



60
61
62
63
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_keys.rb', line 60

class TagKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns 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.

Returns:

  • (::String)

    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.



60
61
62
63
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_keys.rb', line 60

class TagKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#namespaced_name::String (readonly)

Returns Output only. Immutable. Namespaced name of the TagKey.

Returns:

  • (::String)

    Output only. Immutable. Namespaced name of the TagKey.



60
61
62
63
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_keys.rb', line 60

class TagKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Immutable. The resource name of the new TagKey's parent. Must be of the form organizations/{org_id}.

Returns:

  • (::String)

    Immutable. The resource name of the new TagKey's parent. Must be of the form organizations/{org_id}.



60
61
62
63
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_keys.rb', line 60

class TagKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#short_name::String

Returns 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.

Returns:

  • (::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.



60
61
62
63
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_keys.rb', line 60

class TagKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Update time.

Returns:



60
61
62
63
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_keys.rb', line 60

class TagKey
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end