Method: projects.locations.adaptiveMtDatasets.adaptiveMtFiles.adaptiveMtSentences.list

Lists all AdaptiveMtSentences under a given file/dataset.

HTTP request

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

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. The following format lists all sentences under a file. projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file} The following format lists all sentences within a dataset. projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}

Query parameters

Parameters
pageSize

integer

pageToken

string

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

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListAdaptiveMtSentencesResponse.

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.