Interface EffectiveTagOrBuilder (1.29.0)

public interface EffectiveTagOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInherited()

public abstract boolean getInherited()

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;

Returns
TypeDescription
boolean

The inherited.

getNamespacedTagKey()

public abstract String getNamespacedTagKey()

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;

Returns
TypeDescription
String

The namespacedTagKey.

getNamespacedTagKeyBytes()

public abstract ByteString getNamespacedTagKeyBytes()

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;

Returns
TypeDescription
ByteString

The bytes for namespacedTagKey.

getNamespacedTagValue()

public abstract String getNamespacedTagValue()

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;

Returns
TypeDescription
String

The namespacedTagValue.

getNamespacedTagValueBytes()

public abstract ByteString getNamespacedTagValueBytes()

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;

Returns
TypeDescription
ByteString

The bytes for namespacedTagValue.

getTagKey()

public abstract String getTagKey()

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

string tag_key = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The tagKey.

getTagKeyBytes()

public abstract ByteString getTagKeyBytes()

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

string tag_key = 3 [(.google.api.resource_reference) = { ... }

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()

Resource name for TagValue in the format tagValues/456.

string tag_value = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The tagValue.

getTagValueBytes()

public abstract ByteString getTagValueBytes()

Resource name for TagValue in the format tagValues/456.

string tag_value = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for tagValue.