Cloud Asset V1 API - Class Google::Cloud::Asset::V1::EffectiveTagDetails (v0.31.0)

Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::EffectiveTagDetails.

The effective tags and the ancestor resources from which they were inherited.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attached_resource

def attached_resource() -> ::String
Returns

#attached_resource=

def attached_resource=(value) -> ::String
Parameter
Returns

#effective_tags

def effective_tags() -> ::Array<::Google::Cloud::Asset::V1::Tag>
Returns
  • (::Array<::Google::Cloud::Asset::V1::Tag>) — The effective tags inherited from the attached_resource. Note that tags with the same key but different values may attach to resources at a different hierarchy levels. The lower hierarchy tag value will overwrite the higher hierarchy tag value of the same tag key. In this case, the tag value at the higher hierarchy level will be removed. For more information, see tag inheritance.

#effective_tags=

def effective_tags=(value) -> ::Array<::Google::Cloud::Asset::V1::Tag>
Parameter
  • value (::Array<::Google::Cloud::Asset::V1::Tag>) — The effective tags inherited from the attached_resource. Note that tags with the same key but different values may attach to resources at a different hierarchy levels. The lower hierarchy tag value will overwrite the higher hierarchy tag value of the same tag key. In this case, the tag value at the higher hierarchy level will be removed. For more information, see tag inheritance.
Returns
  • (::Array<::Google::Cloud::Asset::V1::Tag>) — The effective tags inherited from the attached_resource. Note that tags with the same key but different values may attach to resources at a different hierarchy levels. The lower hierarchy tag value will overwrite the higher hierarchy tag value of the same tag key. In this case, the tag value at the higher hierarchy level will be removed. For more information, see tag inheritance.