Interface ConditionContext.EffectiveTagOrBuilder (1.31.0)

public static interface ConditionContext.EffectiveTagOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInherited()

public abstract boolean getInherited()

Output only. Indicates the inheritance status of a tag value attached to the given resource. If the tag value is inherited from one of the resource's ancestors, inherited will be true. If false, then the tag value is directly attached to the resource, inherited will be false.

bool inherited = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The inherited.

getNamespacedTagKey()

public abstract String getNamespacedTagKey()

Output only. The namespaced name of the TagKey. Can be in the form {organization_id}/{tag_key_short_name} or {project_id}/{tag_key_short_name} or {project_number}/{tag_key_short_name}.

string namespaced_tag_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The namespacedTagKey.

getNamespacedTagKeyBytes()

public abstract ByteString getNamespacedTagKeyBytes()

Output only. The namespaced name of the TagKey. Can be in the form {organization_id}/{tag_key_short_name} or {project_id}/{tag_key_short_name} or {project_number}/{tag_key_short_name}.

string namespaced_tag_key = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for namespacedTagKey.

getNamespacedTagValue()

public abstract String getNamespacedTagValue()

Output only. The namespaced name of the TagValue. Can be in the form {organization_id}/{tag_key_short_name}/{tag_value_short_name} or {project_id}/{tag_key_short_name}/{tag_value_short_name} or {project_number}/{tag_key_short_name}/{tag_value_short_name}.

string namespaced_tag_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The namespacedTagValue.

getNamespacedTagValueBytes()

public abstract ByteString getNamespacedTagValueBytes()

Output only. The namespaced name of the TagValue. Can be in the form {organization_id}/{tag_key_short_name}/{tag_value_short_name} or {project_id}/{tag_key_short_name}/{tag_value_short_name} or {project_number}/{tag_key_short_name}/{tag_value_short_name}.

string namespaced_tag_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for namespacedTagValue.

getTagKey()

public abstract String getTagKey()

Output only. The name of the TagKey, in the format tagKeys/{id}, such as tagKeys/123.

string tag_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The tagKey.

getTagKeyBytes()

public abstract ByteString getTagKeyBytes()

Output only. The name of the TagKey, in the format tagKeys/{id}, such as tagKeys/123.

string tag_key = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for tagKey.

getTagKeyParentName()

public abstract String getTagKeyParentName()

The parent name of the tag key. Must be in the format organizations/{organization_id} or projects/{project_number}

string tag_key_parent_name = 6;

Returns
TypeDescription
String

The tagKeyParentName.

getTagKeyParentNameBytes()

public abstract ByteString getTagKeyParentNameBytes()

The parent name of the tag key. Must be in the format organizations/{organization_id} or projects/{project_number}

string tag_key_parent_name = 6;

Returns
TypeDescription
ByteString

The bytes for tagKeyParentName.

getTagValue()

public abstract String getTagValue()

Output only. Resource name for TagValue in the format tagValues/456.

string tag_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The tagValue.

getTagValueBytes()

public abstract ByteString getTagValueBytes()

Output only. Resource name for TagValue in the format tagValues/456.

string tag_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for tagValue.