Skip to content

Commit 2368fd0

Browse files
1 parent c8a4476 commit 2368fd0

5 files changed

Lines changed: 22 additions & 16 deletions

src/Translate/AdaptiveMtTranslateRequest.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ class AdaptiveMtTranslateRequest extends \Google\Collection
2727
*/
2828
public $content;
2929
/**
30-
* Required. The resource name for the dataset to use for adaptive MT.
31-
* `projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`
30+
* Required. The resource name for the dataset to use for adaptive MT
31+
* translation. `projects/{project}/locations/{location-
32+
* id}/adaptiveMtDatasets/{dataset}`
3233
*
3334
* @var string
3435
*/
@@ -55,8 +56,9 @@ public function getContent()
5556
return $this->content;
5657
}
5758
/**
58-
* Required. The resource name for the dataset to use for adaptive MT.
59-
* `projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`
59+
* Required. The resource name for the dataset to use for adaptive MT
60+
* translation. `projects/{project}/locations/{location-
61+
* id}/adaptiveMtDatasets/{dataset}`
6062
*
6163
* @param string $dataset
6264
*/

src/Translate/Resource/ProjectsLocations.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,11 @@ public function getSupportedLanguages($parent, $optParams = [])
179179
return $this->call('getSupportedLanguages', [$params], SupportedLanguages::class);
180180
}
181181
/**
182-
* Lists information about the supported locations for this service.
182+
* Lists information about the supported locations for this service. This method
183+
* can be called in two ways: * **List all public locations:** Use the path `GET
184+
* /v1/locations`. * **List project-visible locations:** Use the path `GET
185+
* /v1/projects/{project_id}/locations`. This may include public locations as
186+
* well as private or other locations specifically visible to the project.
183187
* (locations.listProjectsLocations)
184188
*
185189
* @param string $name The resource that owns the locations collection, if

src/Translate/Resource/ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFiles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function get($name, $optParams = [])
6767
* Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.
6868
* (adaptiveMtFiles.listProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFiles)
6969
*
70-
* @param string $parent Required. The resource name of the project from which
70+
* @param string $parent Required. The resource name of the dataset from which
7171
* to list the Adaptive MT files.
7272
* `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`
7373
* @param array $optParams Optional parameters.

src/Translate/Resource/ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentences.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ class ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentences exte
3333
* Lists all AdaptiveMtSentences under a given file/dataset. (adaptiveMtSentence
3434
* s.listProjectsLocationsAdaptiveMtDatasetsAdaptiveMtFilesAdaptiveMtSentences)
3535
*
36-
* @param string $parent Required. The resource name of the project from which
37-
* to list the Adaptive MT files. The following format lists all sentences under
38-
* a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}
39-
* /adaptiveMtFiles/{file}` The following format lists all sentences within a
40-
* dataset.
36+
* @param string $parent Required. The resource name of the Adaptive MT file
37+
* from which to list the sentences. The following format lists all sentences
38+
* under a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{da
39+
* taset}/adaptiveMtFiles/{file}` The following format lists all sentences
40+
* within a dataset.
4141
* `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`
4242
* @param array $optParams Optional parameters.
4343
*

src/Translate/Resource/ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtSentences.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ class ProjectsLocationsAdaptiveMtDatasetsAdaptiveMtSentences extends \Google\Ser
3333
* Lists all AdaptiveMtSentences under a given file/dataset. (adaptiveMtSentence
3434
* s.listProjectsLocationsAdaptiveMtDatasetsAdaptiveMtSentences)
3535
*
36-
* @param string $parent Required. The resource name of the project from which
37-
* to list the Adaptive MT files. The following format lists all sentences under
38-
* a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}
39-
* /adaptiveMtFiles/{file}` The following format lists all sentences within a
40-
* dataset.
36+
* @param string $parent Required. The resource name of the Adaptive MT file
37+
* from which to list the sentences. The following format lists all sentences
38+
* under a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{da
39+
* taset}/adaptiveMtFiles/{file}` The following format lists all sentences
40+
* within a dataset.
4141
* `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`
4242
* @param array $optParams Optional parameters.
4343
*

0 commit comments

Comments
 (0)