REST Resource: projects.datasets.annotatedDatasets.dataItems

Resource: DataItem

DataItem is a piece of data, without annotation. For example, an image.

JSON representation
{
  "name": string,

  // Union field payload can be only one of the following:
  "imagePayload": {
    object (ImagePayload)
  },
  "textPayload": {
    object (TextPayload)
  },
  "videoPayload": {
    object (VideoPayload)
  }
  // End of list of possible types for union field payload.
}
Fields
name

string

Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}

Union field payload. Output only. payload can be only one of the following:
imagePayload

object (ImagePayload)

The image payload, a container of the image bytes/uri.

textPayload

object (TextPayload)

The text payload, a container of text content.

videoPayload

object (VideoPayload)

The video payload, a container of the video uri.

Methods

get

Gets a data item in a dataset by resource name.

list

Lists data items in a dataset.