- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists datasets.
HTTP request
GET https://translate.googleapis.com/v3/{parent=projects/*/locations/*}/datasets
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Name of the parent project. In form of |
Query parameters
| Parameters | |
|---|---|
pageSize |
Optional. Requested page size. The server can return fewer results than requested. |
pageToken |
Optional. A token identifying a page of results for the server to return. Typically obtained from nextPageToken field in the response of a datasets.list call. |
Request body
The request body must be empty.
Response body
Response message for datasets.list.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"datasets": [
{
object ( |
| Fields | |
|---|---|
datasets[] |
The datasets read. |
nextPageToken |
A token to retrieve next page of results. Pass this token to the pageToken field in the ListDatasetsRequest to obtain the corresponding page. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/cloud-translation
For more information, see the Authentication Overview.