Reference documentation and code samples for the Resource Manager V3 API class Google::Cloud::ResourceManager::V3::EffectiveTag.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#inherited
def inherited() -> ::Boolean
- (::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.
#inherited=
def inherited=(value) -> ::Boolean
- value (::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.
- (::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.
#namespaced_tag_key
def namespaced_tag_key() -> ::String
-
(::String) — The namespaced_name of the TagKey. Now only supported in the format of
{organization_id}/{tag_key_short_name}
. Other formats will be supported when we add non-org parented tags.
#namespaced_tag_key=
def namespaced_tag_key=(value) -> ::String
-
value (::String) — The namespaced_name of the TagKey. Now only supported in the format of
{organization_id}/{tag_key_short_name}
. Other formats will be supported when we add non-org parented tags.
-
(::String) — The namespaced_name of the TagKey. Now only supported in the format of
{organization_id}/{tag_key_short_name}
. Other formats will be supported when we add non-org parented tags.
#namespaced_tag_value
def namespaced_tag_value() -> ::String
-
(::String) — Namespaced name of the TagValue. Now only supported in the format
{organization_id}/{tag_key_short_name}/{tag_value_short_name}
. Other formats will be supported when we add non-org parented tags.
#namespaced_tag_value=
def namespaced_tag_value=(value) -> ::String
-
value (::String) — Namespaced name of the TagValue. Now only supported in the format
{organization_id}/{tag_key_short_name}/{tag_value_short_name}
. Other formats will be supported when we add non-org parented tags.
-
(::String) — Namespaced name of the TagValue. Now only supported in the format
{organization_id}/{tag_key_short_name}/{tag_value_short_name}
. Other formats will be supported when we add non-org parented tags.
#tag_key
def tag_key() -> ::String
-
(::String) — The name of the TagKey, in the format
tagKeys/{id}
, such astagKeys/123
.
#tag_key=
def tag_key=(value) -> ::String
-
value (::String) — The name of the TagKey, in the format
tagKeys/{id}
, such astagKeys/123
.
-
(::String) — The name of the TagKey, in the format
tagKeys/{id}
, such astagKeys/123
.
#tag_key_parent_name
def tag_key_parent_name() -> ::String
-
(::String) — The parent name of the tag key.
Must be in the format
organizations/{organization_id}
.
#tag_key_parent_name=
def tag_key_parent_name=(value) -> ::String
-
value (::String) — The parent name of the tag key.
Must be in the format
organizations/{organization_id}
.
-
(::String) — The parent name of the tag key.
Must be in the format
organizations/{organization_id}
.
#tag_value
def tag_value() -> ::String
-
(::String) — Resource name for TagValue in the format
tagValues/456
.
#tag_value=
def tag_value=(value) -> ::String
-
value (::String) — Resource name for TagValue in the format
tagValues/456
.
-
(::String) — Resource name for TagValue in the format
tagValues/456
.