data_items
Creates, updates, deletes, gets or lists a data_items
resource.
Overview
Name | data_items |
Type | Resource |
Id | google.datalabeling.data_items |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id} |
imagePayload | object | Container of information about an image. |
textPayload | object | Container of information about a piece of text. |
videoPayload | object | Container of information of a video. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_datasets_annotated_datasets_data_items_get | SELECT | annotatedDatasetsId, dataItemsId, datasetsId, projectsId | Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset. |
projects_datasets_annotated_datasets_data_items_list | SELECT | annotatedDatasetsId, datasetsId, projectsId | Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported. |
projects_datasets_data_items_get | SELECT | dataItemsId, datasetsId, projectsId | Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset. |
projects_datasets_data_items_list | SELECT | datasetsId, projectsId | Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported. |
SELECT
examples
Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.
SELECT
name,
imagePayload,
textPayload,
videoPayload
FROM google.datalabeling.data_items
WHERE datasetsId = '{{ datasetsId }}'
AND projectsId = '{{ projectsId }}';