Class: Google::Cloud::ResourceManager::V3::EffectiveTag

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

Overview

An EffectiveTag represents a tag that applies to a resource during policy evaluation. Tags can be either directly bound to a resource or inherited from its ancestor. EffectiveTag contains the name and namespaced_name of the tag value and tag key, with additional fields of inherited to indicate the inheritance status of the effective tag.

Instance Attribute Summary collapse

Instance Attribute Details

#inherited::Boolean

Returns Indicates the inheritance status of a tag value attached to the given resource. If the tag value is inherited from one of the resource's ancestors, inherited will be true. If false, then the tag value is directly attached to the resource, inherited will be false.

Returns:

  • (::Boolean)

    Indicates the inheritance status of a tag value attached to the given resource. If the tag value is inherited from one of the resource's ancestors, inherited will be true. If false, then the tag value is directly attached to the resource, inherited will be false.



209
210
211
212
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_bindings.rb', line 209

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

#namespaced_tag_key::String

Returns The namespaced name of the TagKey. Can be in the form {organization_id}/{tag_key_short_name} or {project_id}/{tag_key_short_name} or {project_number}/{tag_key_short_name}.

Returns:

  • (::String)

    The namespaced name of the TagKey. Can be in the form {organization_id}/{tag_key_short_name} or {project_id}/{tag_key_short_name} or {project_number}/{tag_key_short_name}.



209
210
211
212
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_bindings.rb', line 209

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

#namespaced_tag_value::String

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

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



209
210
211
212
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_bindings.rb', line 209

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

#tag_key::String

Returns The name of the TagKey, in the format tagKeys/{id}, such as tagKeys/123.

Returns:

  • (::String)

    The name of the TagKey, in the format tagKeys/{id}, such as tagKeys/123.



209
210
211
212
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_bindings.rb', line 209

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

#tag_key_parent_name::String

Returns The parent name of the tag key. Must be in the format organizations/{organization_id} or projects/{project_number}.

Returns:

  • (::String)

    The parent name of the tag key. Must be in the format organizations/{organization_id} or projects/{project_number}



209
210
211
212
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_bindings.rb', line 209

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

#tag_value::String

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

Returns:

  • (::String)

    Resource name for TagValue in the format tagValues/456.



209
210
211
212
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_bindings.rb', line 209

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