Method: tagBindings.list

Lists the TagBindings for the given Google Cloud resource, as specified with parent.

NOTE: The parent field is expected to be a full resource name: https://cloud.google.com/apis/design/resource_names#full_resource_name

HTTP request

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

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
parent

string

Required. The full resource name of a resource for which you want to list existing TagBindings. E.g. "//cloudresourcemanager.googleapis.com/projects/123"

pageSize

integer

Optional. The maximum number of TagBindings to return in the response. The server allows a maximum of 300 TagBindings to return. If unspecified, the server will use 100 as the default.

pageToken

string

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

Request body

The request body must be empty.

Response body

The tagBindings.list response.

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

JSON representation
{
  "tagBindings": [
    {
      object (TagBinding)
    }
  ],
  "nextPageToken": string
}
Fields
tagBindings[]

object (TagBinding)

A possibly paginated list of TagBindings for the specified resource.

nextPageToken

string

Pagination token.

If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the pageToken parameter gives the next page of the results.

When nextPageToken is not filled in, there is no next page and the list returned is the last page in the result set.

Pagination tokens have a limited lifetime.

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.