ProjectsLocationsDatasets
class ProjectsLocationsDatasets extends Resource (View source)
The "datasets" collection of methods.
Typical usage is:
$translateService = new Google\Service\Translate(...);
$datasets = $translateService->projects_locations_datasets;
Methods
delete(string $name, array $optParams = [])
Deletes a dataset and all of its contents. (datasets.delete)
exportData(string $dataset, ExportDataRequest $postBody, array $optParams = [])
Exports dataset's data to the provided output location. (datasets.exportData)
importData(string $dataset, ImportDataRequest $postBody, array $optParams = [])
Import sentence pairs into translation Dataset. (datasets.importData)
listProjectsLocationsDatasets(string $parent, array $optParams = [])
Lists datasets. (datasets.listProjectsLocationsDatasets)
Details
Operation
create(string $parent, Dataset $postBody, array $optParams = [])
Creates a Dataset. (datasets.create)
Operation
delete(string $name, array $optParams = [])
Deletes a dataset and all of its contents. (datasets.delete)
Operation
exportData(string $dataset, ExportDataRequest $postBody, array $optParams = [])
Exports dataset's data to the provided output location. (datasets.exportData)
Dataset
get(string $name, array $optParams = [])
Gets a Dataset. (datasets.get)
Operation
importData(string $dataset, ImportDataRequest $postBody, array $optParams = [])
Import sentence pairs into translation Dataset. (datasets.importData)
ListDatasetsResponse
listProjectsLocationsDatasets(string $parent, array $optParams = [])
Lists datasets. (datasets.listProjectsLocationsDatasets)