Package com.google.cloud.asset.v1
Interface EffectiveTagDetailsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EffectiveTagDetails,EffectiveTagDetails.Builder
@Generated
public interface EffectiveTagDetailsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).com.google.protobuf.ByteStringThe [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).getEffectiveTags(int index) The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].intThe effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].getEffectiveTagsOrBuilder(int index) The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].List<? extends TagOrBuilder>The effective tags inherited from the [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].booleanThe [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAttachedResource
boolean hasAttachedResource()The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
optional string attached_resource = 1;- Returns:
- Whether the attachedResource field is set.
-
getAttachedResource
String getAttachedResource()The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
optional string attached_resource = 1;- Returns:
- The attachedResource.
-
getAttachedResourceBytes
com.google.protobuf.ByteString getAttachedResourceBytes()The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the ancestor from which [effective_tags][google.cloud.asset.v1.EffectiveTagDetails.effective_tags] are inherited, according to [tag inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
optional string attached_resource = 1;- Returns:
- The bytes for attachedResource.
-
getEffectiveTagsList
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](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
repeated .google.cloud.asset.v1.Tag effective_tags = 2; -
getEffectiveTags
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](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
repeated .google.cloud.asset.v1.Tag effective_tags = 2; -
getEffectiveTagsCount
int getEffectiveTagsCount()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](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
repeated .google.cloud.asset.v1.Tag effective_tags = 2; -
getEffectiveTagsOrBuilderList
List<? extends TagOrBuilder> getEffectiveTagsOrBuilderList()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](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
repeated .google.cloud.asset.v1.Tag effective_tags = 2; -
getEffectiveTagsOrBuilder
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](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
repeated .google.cloud.asset.v1.Tag effective_tags = 2;
-