Method: projects.locations.taxonomies.policyTags.list

Lists all policy tags in a taxonomy.

HTTP request

GET https://datacatalog.googleapis.com/v1beta1/{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_id}/locations/{location_id}/taxonomies/{taxonomies_id}.

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. If not set, defaults to 50.

pageToken

string

The nextPageToken value returned from a previous List request, if any. If not set, defaults to an empty string.

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 are in the requested taxonomy.

nextPageToken

string

Token used to retrieve the next page of results, or 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.

Try it!