Method: projects.locations.phraseSets.list

Lists PhraseSets.

HTTP request

GET https://{endpoint}/v2/{parent=projects/*/locations/*}/phraseSets

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The project and location of PhraseSet resources to list. The expected format is projects/{project}/locations/{location}.

Query parameters

Parameters
pageSize

integer

The maximum number of PhraseSets to return. The service may return fewer than this value. If unspecified, at most 5 PhraseSets will be returned. The maximum value is 100; values above 100 will be coerced to 100.

pageToken

string

A page token, received from a previous phraseSets.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to phraseSets.list must match the call that provided the page token.

showDeleted

boolean

Whether, or not, to show resources that have been deleted.

Request body

The request body must be empty.

Response body

Response message for the phraseSets.list method.

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

JSON representation
{
  "phraseSets": [
    {
      object (PhraseSet)
    }
  ],
  "nextPageToken": string
}
Fields
phraseSets[]

object (PhraseSet)

The list of requested PhraseSets.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages. This token expires after 72 hours.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • speech.phraseSets.list

For more information, see the IAM documentation.