Class DataItem

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes
NameDescription
google.cloud.datalabeling_v1beta1.types.ImagePayloadimage_payload
The image payload, a container of the image bytes/uri. This field is a member of `oneof`_ ``payload``.
google.cloud.datalabeling_v1beta1.types.TextPayloadtext_payload
The text payload, a container of text content. This field is a member of `oneof`_ ``payload``.
google.cloud.datalabeling_v1beta1.types.VideoPayloadvideo_payload
The video payload, a container of the video uri. This field is a member of `oneof`_ ``payload``.
strname
Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}

Inheritance

builtins.object > proto.message.Message > DataItem