class ProjectsDatasetsAnnotatedDatasets extends Resource (View source)

The "annotatedDatasets" collection of methods.

Typical usage is:

 $datalabelingService = new Google\Service\DataLabeling(...);
 $annotatedDatasets = $datalabelingService->projects_datasets_annotatedDatasets;

Methods

delete(string $name, array $optParams = [])

Deletes an annotated dataset by resource name. (annotatedDatasets.delete)

get(string $name, array $optParams = [])

Gets an annotated dataset by resource name. (annotatedDatasets.get)

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

Lists annotated datasets for a dataset. Pagination is supported.

Details

GoogleProtobufEmpty delete(string $name, array $optParams = [])

Deletes an annotated dataset by resource name. (annotatedDatasets.delete)

Parameters

string $name

Required. Name of the annotated dataset to delete, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

GoogleCloudDatalabelingV1beta1AnnotatedDataset get(string $name, array $optParams = [])

Gets an annotated dataset by resource name. (annotatedDatasets.get)

Parameters

string $name

Required. Name of the annotated dataset to get, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudDatalabelingV1beta1AnnotatedDataset

Exceptions

Exception

GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse listProjectsDatasetsAnnotatedDatasets(string $parent, array $optParams = [])

Lists annotated datasets for a dataset. Pagination is supported.

(annotatedDatasets.listProjectsDatasetsAnnotatedDatasets)

Parameters

string $parent

Required. Name of the dataset to list annotated datasets, format: projects/{project_id}/datasets/{dataset_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse

Exceptions

Exception