public sealed class EffectiveTagDetails : IMessage<EffectiveTagDetails>, IEquatable<EffectiveTagDetails>, IDeepCloneable<EffectiveTagDetails>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class EffectiveTagDetails.
The effective tags and the ancestor resources from which they were inherited.
The full resource
name
of the ancestor from which
[effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags]
are inherited, according to tag
inheritance.
The effective tags inherited from the
[attached_resource][google.cloud.asset.v1.EffectiveTagDetails.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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eEffectiveTagDetails\u003c/code\u003e class within the Google Cloud Asset Inventory v1 API for .NET, with the most recent version being 3.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEffectiveTagDetails\u003c/code\u003e class is used to represent effective tags and the resources from which they were inherited, implementing interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eAttachedResource\u003c/code\u003e, which specifies the full resource name of the ancestor from which an effective tag is inherited, and \u003ccode\u003eEffectiveTags\u003c/code\u003e, which lists the inherited tags.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage also lists the different versions available for the class, from version 3.12.0 down to version 2.7.0, each with its respective documentation link.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors and it inherited members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e and \u003ccode\u003eToString()\u003c/code\u003e from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Asset Inventory v1 API - Class EffectiveTagDetails (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.12.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.11.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.10.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.9.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.8.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.7.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.6.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.5.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.4.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.3.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.2.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.1.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.0.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.11.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.10.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.9.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.8.0/Google.Cloud.Asset.V1.EffectiveTagDetails)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.7.0/Google.Cloud.Asset.V1.EffectiveTagDetails) \n\n public sealed class EffectiveTagDetails : IMessage\u003cEffectiveTagDetails\u003e, IEquatable\u003cEffectiveTagDetails\u003e, IDeepCloneable\u003cEffectiveTagDetails\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Asset Inventory v1 API class EffectiveTagDetails.\n\nThe effective tags and the ancestor resources from which they were inherited. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e EffectiveTagDetails \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[EffectiveTagDetails](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.EffectiveTagDetails), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EffectiveTagDetails](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.EffectiveTagDetails), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EffectiveTagDetails](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.EffectiveTagDetails), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Asset.V1](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Asset.V1.dll\n\nConstructors\n------------\n\n### EffectiveTagDetails()\n\n public EffectiveTagDetails()\n\n### EffectiveTagDetails(EffectiveTagDetails)\n\n public EffectiveTagDetails(EffectiveTagDetails other)\n\nProperties\n----------\n\n### AttachedResource\n\n public string AttachedResource { get; set; }\n\nThe [full resource\nname](https://cloud.google.com/asset-inventory/docs/resource-name-format)\nof the ancestor from which\n\\[effective_tags\\]\\[google.cloud.asset.v1.EffectiveTagDetails.effective_tags\\]\nare inherited, according to [tag\ninheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).\n\n### EffectiveTags\n\n public RepeatedField\u003cTag\u003e EffectiveTags { get; }\n\nThe effective tags inherited from the\n\\[attached_resource\\]\\[google.cloud.asset.v1.EffectiveTagDetails.attached_resource\\].\nNote that tags with the same key but different values may attach to\nresources at a different hierarchy levels. The lower hierarchy tag value\nwill overwrite the higher hierarchy tag value of the same tag key. In this\ncase, the tag value at the higher hierarchy level will be removed. For more\ninformation, see [tag\ninheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).\n\n### HasAttachedResource\n\n public bool HasAttachedResource { get; }\n\nGets whether the \"attached_resource\" field is set"]]