Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class GetNamespacedTagKeyRequest.
The request message for getting a TagKey by its namespaced name.
Generated from protobuf message google.cloud.resourcemanager.v3.GetNamespacedTagKeyRequest
Methods
build
Parameter
Name
Description
name
string
Required. A namespaced tag key name in the format
{parentId}/{tagKeyShort}, such as 42/foo for a key with short name
"foo" under the organization with ID 42 or r2-d2/bar for a key with short
name "bar" under the project r2-d2. Please see
{@see \Google\Cloud\ResourceManager\V3\TagKeysClient::tagKeyName()} for help formatting this field.
Required. A namespaced tag key name in the format {parentId}/{tagKeyShort}, such as 42/foo for a key with short name "foo" under the organization with ID 42 or r2-d2/bar for a key with short name "bar" under the project r2-d2.
getName
Required. A namespaced tag key name in the format
{parentId}/{tagKeyShort}, such as 42/foo for a key with short name
"foo" under the organization with ID 42 or r2-d2/bar for a key with short
name "bar" under the project r2-d2.
Returns
Type
Description
string
setName
Required. A namespaced tag key name in the format
{parentId}/{tagKeyShort}, such as 42/foo for a key with short name
"foo" under the organization with ID 42 or r2-d2/bar for a key with short
name "bar" under the project r2-d2.