Class: Google::Cloud::DataLabeling::V1beta1::DataItem
- Inherits:
-
Object
- Object
- Google::Cloud::DataLabeling::V1beta1::DataItem
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb
Overview
DataItem is a piece of data, without annotation. For example, an image.
Instance Attribute Summary collapse
-
#image_payload ⇒ ::Google::Cloud::DataLabeling::V1beta1::ImagePayload
The image payload, a container of the image bytes/uri.
-
#name ⇒ ::String
Output only.
-
#text_payload ⇒ ::Google::Cloud::DataLabeling::V1beta1::TextPayload
The text payload, a container of text content.
-
#video_payload ⇒ ::Google::Cloud::DataLabeling::V1beta1::VideoPayload
The video payload, a container of the video uri.
Instance Attribute Details
#image_payload ⇒ ::Google::Cloud::DataLabeling::V1beta1::ImagePayload
Returns The image payload, a container of the image bytes/uri.
195 196 197 198 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb', line 195 class DataItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}.
195 196 197 198 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb', line 195 class DataItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text_payload ⇒ ::Google::Cloud::DataLabeling::V1beta1::TextPayload
Returns The text payload, a container of text content.
195 196 197 198 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb', line 195 class DataItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#video_payload ⇒ ::Google::Cloud::DataLabeling::V1beta1::VideoPayload
Returns The video payload, a container of the video uri.
195 196 197 198 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/dataset.rb', line 195 class DataItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |