Method: projects.locations.adaptiveMtDatasets.adaptiveMtFiles.list

Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.

HTTP request

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

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 files. projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}

Query parameters

Parameters
pageSize

integer

Optional.

pageToken

string

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

Request body

The request body must be empty.

Response body

The response for listing all AdaptiveMt files under a given dataset.

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

JSON representation
{
  "adaptiveMtFiles": [
    {
      object (AdaptiveMtFile)
    }
  ],
  "nextPageToken": string
}
Fields
adaptiveMtFiles[]

object (AdaptiveMtFile)

Output only. The Adaptive MT files.

nextPageToken

string

Optional. A token to retrieve a page of results. Pass this value in the ListAdaptiveMtFilesRequest.page_token field in the subsequent call to adaptiveMtFiles.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.