Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/Translate/AdaptiveMtTranslateRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ class AdaptiveMtTranslateRequest extends \Google\Collection
*/
public $content;
/**
* Required. The resource name for the dataset to use for adaptive MT.
* `projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`
* Required. The resource name for the dataset to use for adaptive MT
* translation. `projects/{project}/locations/{location-
* id}/adaptiveMtDatasets/{dataset}`
*
* @var string
*/
Expand All @@ -55,8 +56,9 @@ public function getContent()
return $this->content;
}
/**
* Required. The resource name for the dataset to use for adaptive MT.
* `projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`
* Required. The resource name for the dataset to use for adaptive MT
* translation. `projects/{project}/locations/{location-
* id}/adaptiveMtDatasets/{dataset}`
*
* @param string $dataset
*/
Expand Down
6 changes: 5 additions & 1 deletion src/Translate/Resource/ProjectsLocations.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,11 @@ public function getSupportedLanguages($parent, $optParams = [])
return $this->call('getSupportedLanguages', [$params], SupportedLanguages::class);
}
/**
* Lists information about the supported locations for this service.
* Lists information about the supported locations for this service. This method
* can be called in two ways: * **List all public locations:** Use the path `GET
* /v1/locations`. * **List project-visible locations:** Use the path `GET
* /v1/projects/{project_id}/locations`. This may include public locations as
* well as private or other locations specifically visible to the project.
* (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function get($name, $optParams = [])
* Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.
* (adaptiveMtFiles.listProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFiles)
*
* @param string $parent Required. The resource name of the project from which
* @param string $parent Required. The resource name of the dataset from which
* to list the Adaptive MT files.
* `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`
* @param array $optParams Optional parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ class ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentences exte
* Lists all AdaptiveMtSentences under a given file/dataset. (adaptiveMtSentence
* s.listProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentences)
*
* @param 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.
* @param string $parent Required. The resource name of the Adaptive MT file
* from which to list the sentences. The following format lists all sentences
* under a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{da
* taset}/adaptiveMtFiles/{file}` The following format lists all sentences
* within a dataset.
* `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`
* @param array $optParams Optional parameters.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ class ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtSentences extends \Google\Ser
* Lists all AdaptiveMtSentences under a given file/dataset. (adaptiveMtSentence
* s.listProjectsLocationsAdaptiveMtDatasetsAdaptiveMtSentences)
*
* @param 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.
* @param string $parent Required. The resource name of the Adaptive MT file
* from which to list the sentences. The following format lists all sentences
* under a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{da
* taset}/adaptiveMtFiles/{file}` The following format lists all sentences
* within a dataset.
* `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`
* @param array $optParams Optional parameters.
*
Expand Down