Service Client: Google::Cloud::Resourcemanager::V3::TagBindings::TagBindingsClient
Client stub representing the remote TagBindings gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to resourcemanager.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Resourcemanager::V3::TagBindings - Compiled Protocol Buffers messages for google/cloud/resourcemanager/v3/tag_bindings.proto
SYNOPSIS
use Google::Cloud::Resourcemanager::V3::TagBindings;
my $msg = Google::Cloud::Resourcemanager::V3::TagBindings::TagBinding->new({
name => $name,
parent => $parent,
tag_value => $tag_value,
tag_value_namespaced_name => $tag_value_namespaced_name,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Resourcemanager::V3::TagBindings::TagBinding->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/resourcemanager/v3/tag_bindings.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Resourcemanager::V3::TagBindings::TagBinding
A TagBinding represents a connection between a TagValue and a cloud resource Once a TagBinding is created, the TagValue is applied to all the descendants of the Google Cloud resource.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput 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`).
$msg->parent()/$msg->parent($value)Type:
StringThe full resource name of the resource the TagValue is bound to. E.g. `//cloudresourcemanager.googleapis.com/projects/123`
$msg->tag_value()/$msg->tag_value($value)Type:
StringThe TagValue of the TagBinding. Must be of the form `tagValues/456`.
$msg->tag_value_namespaced_name()/$msg->tag_value_namespaced_name($value)Type:
StringThe 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.
Google::Cloud::Resourcemanager::V3::TagBindings::CreateTagBindingMetadata
Runtime operation information for creating a TagValue.
Inherits from Protobuf::Message.
Google::Cloud::Resourcemanager::V3::TagBindings::CreateTagBindingRequest
The request message to create a TagBinding.
Inherits from Protobuf::Message.
Accessors
$msg->tag_binding()/$msg->tag_binding($value)Type:
Message(Google::Cloud::Resourcemanager::V3::TagBindings::TagBinding)Required. The TagBinding to be created.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.
Google::Cloud::Resourcemanager::V3::TagBindings::DeleteTagBindingMetadata
Runtime operation information for deleting a TagBinding.
Inherits from Protobuf::Message.
Google::Cloud::Resourcemanager::V3::TagBindings::DeleteTagBindingRequest
The request message to delete a TagBinding.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the TagBinding. This is a String of the form: `tagBindings/{id}` (e.g. `tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456`).
Google::Cloud::Resourcemanager::V3::TagBindings::ListTagBindingsRequest
The request message to list all TagBindings for a parent.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The full resource name of a resource for which you want to list existing TagBindings. E.g. "//cloudresourcemanager.googleapis.com/projects/123"
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of TagBindings to return in the response. The server allows a maximum of 300 TagBindings to return. If unspecified, the server will use 100 as the default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A pagination token returned from a previous call to `ListTagBindings` that indicates where this listing should continue from.
Google::Cloud::Resourcemanager::V3::TagBindings::ListTagBindingsResponse
The ListTagBindings response.
Inherits from Protobuf::Message.
Accessors
$msg->tag_bindings()/$msg->tag_bindings($value)Type:
Message(Google::Cloud::Resourcemanager::V3::TagBindings::TagBinding)A possibly paginated list of TagBindings for the specified resource.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringPagination token.
If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the `page_token` parameter gives the next page of the results.
When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set.
Pagination tokens have a limited lifetime.
Google::Cloud::Resourcemanager::V3::TagBindings::ListEffectiveTagsRequest
The request message to ListEffectiveTags
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The full resource name of a resource for which you want to list the effective tags. E.g. "//cloudresourcemanager.googleapis.com/projects/123"
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of effective tags to return in the response. The server allows a maximum of 300 effective tags to return in a single page. If unspecified, the server will use 100 as the default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A pagination token returned from a previous call to `ListEffectiveTags` that indicates from where this listing should continue.
Google::Cloud::Resourcemanager::V3::TagBindings::ListEffectiveTagsResponse
The response of ListEffectiveTags.
Inherits from Protobuf::Message.
Accessors
$msg->effective_tags()/$msg->effective_tags($value)Type:
Message(Google::Cloud::Resourcemanager::V3::TagBindings::EffectiveTag)A possibly paginated list of effective tags for the specified resource.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringPagination token.
If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the `page_token` parameter gives the next page of the results.
When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set.
Pagination tokens have a limited lifetime.
Google::Cloud::Resourcemanager::V3::TagBindings::EffectiveTag
An EffectiveTag represents a tag that applies to a resource during policy evaluation. Tags can be either directly bound to a resource or inherited from its ancestor. EffectiveTag contains the name and namespaced_name of the tag value and tag key, with additional fields of `inherited` to indicate the inheritance status of the effective tag.
Inherits from Protobuf::Message.
Accessors
$msg->tag_value()/$msg->tag_value($value)Type:
StringResource name for TagValue in the format `tagValues/456`.
$msg->namespaced_tag_value()/$msg->namespaced_tag_value($value)Type:
StringThe 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}`.
$msg->tag_key()/$msg->tag_key($value)Type:
StringThe name of the TagKey, in the format `tagKeys/{id}`, such as `tagKeys/123`.
$msg->namespaced_tag_key()/$msg->namespaced_tag_key($value)Type:
StringThe 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}`.
$msg->tag_key_parent_name()/$msg->tag_key_parent_name($value)Type:
StringThe parent name of the tag key. Must be in the format `organizations/{organization_id}` or `projects/{project_number}`
$msg->inherited()/$msg->inherited($value)Type:
BoolIndicates 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.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Resourcemanager::V3::TagBindings::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.