Class: Google::Cloud::DataLabeling::V1beta1::DataItem

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#image_payload::Google::Cloud::DataLabeling::V1beta1::ImagePayload

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

Returns:



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}.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:



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