Method: tagValues.list

Lists all TagValues for a specific TagKey.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
parent

string

Required. Resource name for the parent of the TagValues to be listed, in the format tagKeys/123 or tagValues/123.

pageSize

integer

Optional. 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.

pageToken

string

Optional. A pagination token returned from a previous call to tagValues.list that indicates where this listing should continue from.

Request body

The request body must be empty.

Response body

The tagValues.list response.

If successful, the response body contains data with the following structure:

JSON representation
{
  "tagValues": [
    {
      object (TagValue)
    }
  ],
  "nextPageToken": string
}
Fields
tagValues[]

object (TagValue)

A possibly paginated list of TagValues that are direct descendants of the specified parent TagKey.

nextPageToken

string

A pagination token returned from a previous call to tagValues.list that indicates from where listing should continue. This is currently not used, but the server may at any point start supplying a valid token.

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.