Method: projects.locations.taxonomies.policyTags.list

Lists all policy tags in a taxonomy.

HTTP request

GET https://datacatalog.googleapis.com/v1/{parent}/policyTags

Path parameters

Parameters
parent

string

Required. Resource name of the taxonomy to list the policy tags of. It takes the form projects/{project}/locations/{location}/taxonomies/{taxonomies}.

Authorization requires the following IAM permission on the specified resource parent:

  • datacatalog.taxonomies.get

Query parameters

Parameters
pageSize

integer

The maximum number of items to return. Must be a value between 1 and 1000 inclusively. If not set, defaults to 50.

pageToken

string

The pagination token of the next results page. If not set, returns the first page.

The token is returned in the response to a previous list request.

Request body

The request body must be empty.

Response body

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

Response message for policyTags.list.

JSON representation
{
  "policyTags": [
    {
      object (PolicyTag)
    }
  ],
  "nextPageToken": string
}
Fields
policyTags[]

object (PolicyTag)

The policy tags that belong to the taxonomy.

nextPageToken

string

Pagination token of the next results page. Empty if there are no more results in the list.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.