Google Cloud Asset Inventory v1 API - Class EffectiveTagDetails (3.12.0)

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.

Inheritance

object > EffectiveTagDetails

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

EffectiveTagDetails()

public EffectiveTagDetails()

EffectiveTagDetails(EffectiveTagDetails)

public EffectiveTagDetails(EffectiveTagDetails other)
Parameter
Name Description
other EffectiveTagDetails

Properties

AttachedResource

public string AttachedResource { get; set; }

The full resource name of the ancestor from which an [effective_tag][] is inherited, according to tag inheritance.

Property Value
Type Description
string

EffectiveTags

public RepeatedField<Tag> EffectiveTags { get; }

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.

Property Value
Type Description
RepeatedFieldTag

HasAttachedResource

public bool HasAttachedResource { get; }

Gets whether the "attached_resource" field is set

Property Value
Type Description
bool