Interface EffectiveTagDetailsOrBuilder (3.45.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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the attachedResource field is set.