Class DataItem (1.1.0)

DataItem(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
image_payload google.cloud.datalabeling_v1beta1.types.ImagePayload
The image payload, a container of the image bytes/uri.
text_payload google.cloud.datalabeling_v1beta1.types.TextPayload
The text payload, a container of text content.
video_payload google.cloud.datalabeling_v1beta1.types.VideoPayload
The video payload, a container of the video uri.
name str
Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}