(::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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Asset V1 API - Class Google::Cloud::Asset::V1::EffectiveTagDetails (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [1.4.0](/ruby/docs/reference/google-cloud-asset-v1/1.4.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [1.3.1](/ruby/docs/reference/google-cloud-asset-v1/1.3.1/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [1.2.0](/ruby/docs/reference/google-cloud-asset-v1/1.2.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [1.1.0](/ruby/docs/reference/google-cloud-asset-v1/1.1.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [1.0.2](/ruby/docs/reference/google-cloud-asset-v1/1.0.2/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.32.0](/ruby/docs/reference/google-cloud-asset-v1/0.32.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.31.0](/ruby/docs/reference/google-cloud-asset-v1/0.31.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.30.0](/ruby/docs/reference/google-cloud-asset-v1/0.30.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.29.3](/ruby/docs/reference/google-cloud-asset-v1/0.29.3/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.28.1](/ruby/docs/reference/google-cloud-asset-v1/0.28.1/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.27.0](/ruby/docs/reference/google-cloud-asset-v1/0.27.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.26.1](/ruby/docs/reference/google-cloud-asset-v1/0.26.1/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.25.0](/ruby/docs/reference/google-cloud-asset-v1/0.25.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.24.0](/ruby/docs/reference/google-cloud-asset-v1/0.24.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.23.0](/ruby/docs/reference/google-cloud-asset-v1/0.23.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.22.0](/ruby/docs/reference/google-cloud-asset-v1/0.22.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.21.1](/ruby/docs/reference/google-cloud-asset-v1/0.21.1/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.20.1](/ruby/docs/reference/google-cloud-asset-v1/0.20.1/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.19.0](/ruby/docs/reference/google-cloud-asset-v1/0.19.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.18.0](/ruby/docs/reference/google-cloud-asset-v1/0.18.0/Google-Cloud-Asset-V1-EffectiveTagDetails)\n- [0.17.3](/ruby/docs/reference/google-cloud-asset-v1/0.17.3/Google-Cloud-Asset-V1-EffectiveTagDetails) \nReference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::EffectiveTagDetails.\n\nThe effective tags and the ancestor resources from which they were inherited. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #attached_resource\n\n def attached_resource() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The [full resource\n name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-EffectiveTagDetails#Google__Cloud__Asset__V1__EffectiveTagDetails_effective_tags_instance_ \"Google::Cloud::Asset::V1::EffectiveTagDetails#effective_tags (method)\") are inherited, according to [tag\n inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).\n\n### #attached_resource=\n\n def attached_resource=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The [full resource\n name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-EffectiveTagDetails#Google__Cloud__Asset__V1__EffectiveTagDetails_effective_tags_instance_ \"Google::Cloud::Asset::V1::EffectiveTagDetails#effective_tags (method)\") are inherited, according to [tag\ninheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance). \n**Returns**\n\n- (::String) --- The [full resource\n name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-EffectiveTagDetails#Google__Cloud__Asset__V1__EffectiveTagDetails_effective_tags_instance_ \"Google::Cloud::Asset::V1::EffectiveTagDetails#effective_tags (method)\") are inherited, according to [tag\n inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).\n\n### #effective_tags\n\n def effective_tags() -\u003e ::Array\u003c::Google::Cloud::Asset::V1::Tag\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Asset::V1::Tag](./Google-Cloud-Asset-V1-Tag)\\\u003e) --- The effective tags inherited from the [attached_resource](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-EffectiveTagDetails#Google__Cloud__Asset__V1__EffectiveTagDetails_attached_resource_instance_ \"Google::Cloud::Asset::V1::EffectiveTagDetails#attached_resource (method)\"). 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\n inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).\n\n### #effective_tags=\n\n def effective_tags=(value) -\u003e ::Array\u003c::Google::Cloud::Asset::V1::Tag\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Asset::V1::Tag](./Google-Cloud-Asset-V1-Tag)\\\u003e) --- The effective tags inherited from the [attached_resource](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-EffectiveTagDetails#Google__Cloud__Asset__V1__EffectiveTagDetails_attached_resource_instance_ \"Google::Cloud::Asset::V1::EffectiveTagDetails#attached_resource (method)\"). 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\ninheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance). \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Asset::V1::Tag](./Google-Cloud-Asset-V1-Tag)\\\u003e) --- The effective tags inherited from the [attached_resource](/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-EffectiveTagDetails#Google__Cloud__Asset__V1__EffectiveTagDetails_attached_resource_instance_ \"Google::Cloud::Asset::V1::EffectiveTagDetails#attached_resource (method)\"). 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\n inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance)."]]