Interface EffectiveTagDetailsOrBuilder (3.53.0)

public interface EffectiveTagDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttachedResource()

public abstract String getAttachedResource()

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

optional string attached_resource = 1;

Returns
Type Description
String

The attachedResource.

getAttachedResourceBytes()

public abstract ByteString getAttachedResourceBytes()

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

optional string attached_resource = 1;

Returns
Type Description
ByteString

The bytes for attachedResource.

getEffectiveTags(int index)

public abstract Tag getEffectiveTags(int index)

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.

repeated .google.cloud.asset.v1.Tag effective_tags = 2;

Parameter
Name Description
index int
Returns
Type Description
Tag

getEffectiveTagsCount()

public abstract int getEffectiveTagsCount()

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.

repeated .google.cloud.asset.v1.Tag effective_tags = 2;

Returns
Type Description
int

getEffectiveTagsList()

public abstract List<Tag> getEffectiveTagsList()

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.

repeated .google.cloud.asset.v1.Tag effective_tags = 2;

Returns
Type Description
List<Tag>

getEffectiveTagsOrBuilder(int index)

public abstract TagOrBuilder getEffectiveTagsOrBuilder(int index)

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.

repeated .google.cloud.asset.v1.Tag effective_tags = 2;

Parameter
Name Description
index int
Returns
Type Description
TagOrBuilder

getEffectiveTagsOrBuilderList()

public abstract List<? extends TagOrBuilder> getEffectiveTagsOrBuilderList()

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.

repeated .google.cloud.asset.v1.Tag effective_tags = 2;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.TagOrBuilder>

hasAttachedResource()

public abstract boolean hasAttachedResource()

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

optional string attached_resource = 1;

Returns
Type Description
boolean

Whether the attachedResource field is set.