Method: tagValues.getNamespaced

Retrieves a TagValue by its namespaced name. This method will return PERMISSION_DENIED if the value does not exist or the user does not have permission to view it.

HTTP request

GET https://cloudresourcemanager.googleapis.com/v3/tagValues/namespaced

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
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"

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of TagValue.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-platform.read-only

For more information, see the Authentication Overview.