Class: Google::Cloud::ResourceManager::V3::TagValue

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

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Output only. Creation time.

Returns:



64
65
66
67
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_values.rb', line 64

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

#description::String

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

Read-write.

Returns:

  • (::String)

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

    Read-write.



64
65
66
67
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_values.rb', line 64

class TagValue
  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 UpdateTagValueRequest for details.

Returns:

  • (::String)

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



64
65
66
67
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_values.rb', line 64

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

#name::String

Returns Immutable. Resource name for TagValue in the format tagValues/456.

Returns:

  • (::String)

    Immutable. Resource name for TagValue in the format tagValues/456.



64
65
66
67
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_values.rb', line 64

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

#namespaced_name::String (readonly)

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

Returns:

  • (::String)

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



64
65
66
67
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_values.rb', line 64

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

#parent::String

Returns Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form tagKeys/{tag_key_id}.

Returns:

  • (::String)

    Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form tagKeys/{tag_key_id}.



64
65
66
67
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_values.rb', line 64

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

#short_name::String

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

Returns:

  • (::String)

    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.



64
65
66
67
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_values.rb', line 64

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

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

Returns Output only. Update time.

Returns:



64
65
66
67
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_values.rb', line 64

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