Service Client: Google::Cloud::Resourcemanager::V3::TagValues::TagValuesClient
Client stub representing the remote TagValues 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::TagValues - Compiled Protocol Buffers messages for google/cloud/resourcemanager/v3/tag_values.proto
SYNOPSIS
use Google::Cloud::Resourcemanager::V3::TagValues;
my $msg = Google::Cloud::Resourcemanager::V3::TagValues::TagValue->new({
name => $name,
parent => $parent,
short_name => $short_name,
namespaced_name => $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::TagValues::TagValue->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/resourcemanager/v3/tag_values.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::TagValues::TagValue
A TagValue is a child of a particular TagKey. This is used to group cloud resources for the purpose of controlling them using policies.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. Resource name for TagValue in the format `tagValues/456`.
$msg->parent()/$msg->parent($value)Type:
StringImmutable. The resource name of the new TagValue's parent TagKey. Must be of the form `tagKeys/{tag_key_id}`.
$msg->short_name()/$msg->short_name($value)Type:
StringRequired. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey.
The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
$msg->namespaced_name()/$msg->namespaced_name($value)Type:
StringOutput 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}`.
$msg->description()/$msg->description($value)Type:
StringOptional. User-assigned description of the TagValue. Must not exceed 256 characters.
Read-write.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Creation time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Update time.
$msg->etag()/$msg->etag($value)Type:
StringOptional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.
Google::Cloud::Resourcemanager::V3::TagValues::ListTagValuesRequest
The request message for listing TagValues for the specified TagKey. Resource name for TagKey, parent of the TagValues to be listed, in the format `tagKeys/123`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of TagValues to return in the response. The server allows a maximum of 300 TagValues 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 `ListTagValues` that indicates where this listing should continue from.
Google::Cloud::Resourcemanager::V3::TagValues::ListTagValuesResponse
The ListTagValues response.
Inherits from Protobuf::Message.
Accessors
$msg->tag_values()/$msg->tag_values($value)Type:
Message(Google::Cloud::Resourcemanager::V3::TagValues::TagValue)A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA pagination token returned from a previous call to `ListTagValues` that indicates from where listing should continue. This is currently not used, but the server may at any point start supplying a valid token.
Google::Cloud::Resourcemanager::V3::TagValues::GetTagValueRequest
The request message for getting a TagValue.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Resource name for TagValue to be fetched in the format `tagValues/456`.
Google::Cloud::Resourcemanager::V3::TagValues::GetNamespacedTagValueRequest
The request message for getting a TagValue by its namespaced name.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. A namespaced tag value name in the following format:
`{parentId}/{tagKeyShort}/{tagValueShort}`Examples: - `42/foo/abc` for a value with short name "abc" under the key with short name "foo" under the organization with ID 42 - `r2-d2/bar/xyz` for a value with short name "xyz" under the key with short name "bar" under the project with ID "r2-d2"
Google::Cloud::Resourcemanager::V3::TagValues::CreateTagValueRequest
The request message for creating a TagValue.
Inherits from Protobuf::Message.
Accessors
$msg->tag_value()/$msg->tag_value($value)Type:
Message(Google::Cloud::Resourcemanager::V3::TagValues::TagValue)Required. The TagValue to be created. Only fields `short_name`, `description`, and `parent` are considered during the creation request.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. Set as true to perform the validations necessary for creating the resource, but not actually perform the action.
Google::Cloud::Resourcemanager::V3::TagValues::CreateTagValueMetadata
Runtime operation information for creating a TagValue.
Inherits from Protobuf::Message.
Google::Cloud::Resourcemanager::V3::TagValues::UpdateTagValueRequest
The request message for updating a TagValue.
Inherits from Protobuf::Message.
Accessors
$msg->tag_value()/$msg->tag_value($value)Type:
Message(Google::Cloud::Resourcemanager::V3::TagValues::TagValue)Required. The new definition of the TagValue. Only fields `description` and `etag` fields can be updated by this request. If the `etag` field is nonempty, it must match the `etag` field of the existing ControlGroup. Otherwise, `ABORTED` will be returned.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Fields to be updated.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. True to perform validations necessary for updating the resource, but not actually perform the action.
Google::Cloud::Resourcemanager::V3::TagValues::UpdateTagValueMetadata
Runtime operation information for updating a TagValue.
Inherits from Protobuf::Message.
Google::Cloud::Resourcemanager::V3::TagValues::DeleteTagValueRequest
The request message for deleting a TagValue.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Resource name for TagValue to be deleted in the format tagValues/456.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. Set as true to perform the validations necessary for deletion, but not actually perform the action.
$msg->etag()/$msg->etag($value)Type:
StringOptional. The etag known to the client for the expected state of the TagValue. This is to be used for optimistic concurrency.
Google::Cloud::Resourcemanager::V3::TagValues::DeleteTagValueMetadata
Runtime operation information for deleting a TagValue.
Inherits from Protobuf::Message.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Resourcemanager::V3::TagValues::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.