Interface TagBindingOrBuilder (1.55.0)

public interface TagBindingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Output only. The name of the TagBinding. This is a String of the form: tagBindings/{full-resource-name}/{tag-value-name} (e.g. tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456).

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The name of the TagBinding. This is a String of the form: tagBindings/{full-resource-name}/{tag-value-name} (e.g. tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456).

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

Returns
Type Description
ByteString

The bytes for name.

getParent()

public abstract String getParent()

The full resource name of the resource the TagValue is bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123

string parent = 2;

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The full resource name of the resource the TagValue is bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123

string parent = 2;

Returns
Type Description
ByteString

The bytes for parent.

getTagValue()

public abstract String getTagValue()

The TagValue of the TagBinding. Must be of the form tagValues/456.

string tag_value = 3;

Returns
Type Description
String

The tagValue.

getTagValueBytes()

public abstract ByteString getTagValueBytes()

The TagValue of the TagBinding. Must be of the form tagValues/456.

string tag_value = 3;

Returns
Type Description
ByteString

The bytes for tagValue.

getTagValueNamespacedName()

public abstract String getTagValueNamespacedName()

The namespaced name for the TagValue of the TagBinding. Must be in the format {parent_id}/{tag_key_short_name}/{short_name}.

For methods that support TagValue namespaced name, only one of tag_value_namespaced_name or tag_value may be filled. Requests with both fields will be rejected.

string tag_value_namespaced_name = 4;

Returns
Type Description
String

The tagValueNamespacedName.

getTagValueNamespacedNameBytes()

public abstract ByteString getTagValueNamespacedNameBytes()

The namespaced name for the TagValue of the TagBinding. Must be in the format {parent_id}/{tag_key_short_name}/{short_name}.

For methods that support TagValue namespaced name, only one of tag_value_namespaced_name or tag_value may be filled. Requests with both fields will be rejected.

string tag_value_namespaced_name = 4;

Returns
Type Description
ByteString

The bytes for tagValueNamespacedName.