class ProjectsDatasetsAnnotatedDatasetsDataItems extends Resource (View source)

The "dataItems" collection of methods.

Typical usage is:

 $datalabelingService = new Google\Service\DataLabeling(...);
 $dataItems = $datalabelingService->projects_datasets_annotatedDatasets_dataItems;

Methods

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

Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset. (dataItems.get)

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

Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.

Details

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

Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset. (dataItems.get)

Parameters

string $name

Required. The name of the data item to get, format: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudDatalabelingV1beta1DataItem

Exceptions

Exception

GoogleCloudDatalabelingV1beta1ListDataItemsResponse listProjectsDatasetsAnnotatedDatasetsDataItems(string $parent, array $optParams = [])

Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.

(dataItems.listProjectsDatasetsAnnotatedDatasetsDataItems)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

GoogleCloudDatalabelingV1beta1ListDataItemsResponse

Exceptions

Exception