Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class GetNamespacedTagValueRequest.
The request message for getting a TagValue by its namespaced name.
Generated from protobuf message google.cloud.resourcemanager.v3.GetNamespacedTagValueRequest
Namespace
Google \ Cloud \ ResourceManager \ V3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. 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"
getName
Required. 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"
Returns
Type
Description
string
setName
Required. 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"
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. 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"
Please see TagValuesClient::tagValueName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Resource Manager V3 Client - Class GetNamespacedTagValueRequest (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-resource-manager/latest/V3.GetNamespacedTagValueRequest)\n- [1.0.3](/php/docs/reference/cloud-resource-manager/1.0.3/V3.GetNamespacedTagValueRequest)\n- [0.8.5](/php/docs/reference/cloud-resource-manager/0.8.5/V3.GetNamespacedTagValueRequest)\n- [0.7.2](/php/docs/reference/cloud-resource-manager/0.7.2/V3.GetNamespacedTagValueRequest)\n- [0.6.1](/php/docs/reference/cloud-resource-manager/0.6.1/V3.GetNamespacedTagValueRequest)\n- [0.5.0](/php/docs/reference/cloud-resource-manager/0.5.0/V3.GetNamespacedTagValueRequest)\n- [0.4.1](/php/docs/reference/cloud-resource-manager/0.4.1/V3.GetNamespacedTagValueRequest)\n- [0.3.9](/php/docs/reference/cloud-resource-manager/0.3.9/V3.GetNamespacedTagValueRequest) \nReference documentation and code samples for the Google Cloud Resource Manager V3 Client class GetNamespacedTagValueRequest.\n\nThe request message for getting a TagValue by its namespaced name.\n\nGenerated from protobuf message `google.cloud.resourcemanager.v3.GetNamespacedTagValueRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ResourceManager \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. A namespaced tag value name in the following format:\n`{parentId}/{tagKeyShort}/{tagValueShort}`\nExamples:\n\n- `42/foo/abc` for a value with short name \"abc\" under the key with short name \"foo\" under the organization with ID 42\n- `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\"\n\n### setName\n\nRequired. A namespaced tag value name in the following format:\n`{parentId}/{tagKeyShort}/{tagValueShort}`\nExamples:\n\n- `42/foo/abc` for a value with short name \"abc\" under the key with short name \"foo\" under the organization with ID 42\n- `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\"\n\n### static::build"]]