- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Lists CustomClasses.
HTTP request
GET https://speech.googleapis.com/v2/{parent=projects/*/locations/*}/customClasses
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The project and location of CustomClass resources to list. The expected format is |
Query parameters
| Parameters | |
|---|---|
pageSize |
Number of results per requests. A valid pageSize ranges from 0 to 100 inclusive. If the pageSize is zero or unspecified, a page size of 5 will be chosen. If the page size exceeds 100, it will be coerced down to 100. Note that a call might return fewer results than the requested page size. |
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 customClasses.list method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"customClasses": [
{
object ( |
| Fields | |
|---|---|
customClasses[] |
The list of requested CustomClasses. |
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.customClasses.list
For more information, see the IAM documentation.