class ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentences extends Resource (View source)

The "adaptiveMtSentences" collection of methods.

Typical usage is:

 $translateService = new Google\Service\Translate(...);
 $adaptiveMtSentences = $translateService->projects_locations_adaptiveMtDatasets_adaptiveMtFiles_adaptiveMtSentences;

Methods

listProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentences(string $parent, array $optParams = [])

Lists all AdaptiveMtSentences under a given file/dataset. (adaptiveMtSentence s.listProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentences)

Details

ListAdaptiveMtSentencesResponse listProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentences(string $parent, array $optParams = [])

Lists all AdaptiveMtSentences under a given file/dataset. (adaptiveMtSentence s.listProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentences)

Parameters

string $parent

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}

array $optParams

Optional parameters.

Return Value

ListAdaptiveMtSentencesResponse

Exceptions

Exception