- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
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 |
Required. The project and location of PhraseSet resources to list. The expected format is |
Query parameters
Parameters | |
---|---|
pageSize |
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 |
A page token, received from a previous When paginating, all other parameters provided to |
showDeleted |
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 ( |
Fields | |
---|---|
phraseSets[] |
The list of requested PhraseSets. |
nextPageToken |
A token, which can be sent as |
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.