Method: projects.locations.adaptiveMtDatasets.list

Lists all Adaptive MT datasets for which the caller has read permission.

HTTP request

GET https://translate.googleapis.com/v3/{parent=projects/*/locations/*}/adaptiveMtDatasets

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the project from which to list the Adaptive MT datasets. projects/{project-number-or-id}/locations/{location-id}

Query parameters

Parameters
pageSize

integer

Optional. Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.

pageToken

string

Optional. A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtDatasetsResponse.next_page_token returned from the previous call to adaptiveMtDatasets.list method. The first page is returned if pageTokenis empty or missing.

filter

string

Optional. An expression for filtering the results of the request. Filter is not supported yet.

Request body

The request body must be empty.

Response body

A list of AdaptiveMtDatasets.

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

JSON representation
{
  "adaptiveMtDatasets": [
    {
      object (AdaptiveMtDataset)
    }
  ],
  "nextPageToken": string
}
Fields
adaptiveMtDatasets[]

object (AdaptiveMtDataset)

Output only. A list of Adaptive MT datasets.

nextPageToken

string

Optional. A token to retrieve a page of results. Pass this value in the [ListAdaptiveMtDatasetsRequest.page_token] field in the subsequent call to adaptiveMtDatasets.list method to retrieve the next page of results.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.