ProjectsDatasets
class ProjectsDatasets extends Resource (View source)
The "datasets" collection of methods.
Typical usage is:
$datalabelingService = new Google\Service\DataLabeling(...);
$datasets = $datalabelingService->projects_datasets;
Methods
Creates dataset. If success return a Dataset resource. (datasets.create)
Deletes a dataset by resource name. (datasets.delete)
Exports data and annotations from dataset. (datasets.exportData)
Gets dataset by resource name. (datasets.get)
Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa. (datasets.importData)
Lists datasets under a project. Pagination is supported.
Details
GoogleCloudDatalabelingV1beta1Dataset
create(string $parent, GoogleCloudDatalabelingV1beta1CreateDatasetRequest $postBody, array $optParams = [])
Creates dataset. If success return a Dataset resource. (datasets.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes a dataset by resource name. (datasets.delete)
GoogleLongrunningOperation
exportData(string $name, GoogleCloudDatalabelingV1beta1ExportDataRequest $postBody, array $optParams = [])
Exports data and annotations from dataset. (datasets.exportData)
GoogleCloudDatalabelingV1beta1Dataset
get(string $name, array $optParams = [])
Gets dataset by resource name. (datasets.get)
GoogleLongrunningOperation
importData(string $name, GoogleCloudDatalabelingV1beta1ImportDataRequest $postBody, array $optParams = [])
Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa. (datasets.importData)
GoogleCloudDatalabelingV1beta1ListDatasetsResponse
listProjectsDatasets(string $parent, array $optParams = [])
Lists datasets under a project. Pagination is supported.
(datasets.listProjectsDatasets)