class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem
DataItem is a piece of data, without annotation. For example, an image.
Attributes
Container of information about an image. Corresponds to the JSON property `imagePayload` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePayload]
Output only. Name of the data item, in format of: projects/`project_id`/ datasets/`dataset_id`/dataItems/`data_item_id` Corresponds to the JSON property `name` @return [String]
Container of information about a piece of text. Corresponds to the JSON property `textPayload` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextPayload]
Container of information of a video. Corresponds to the JSON property `videoPayload` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoPayload]
Public Class Methods
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 1606 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 1611 def update!(**args) @image_payload = args[:image_payload] if args.key?(:image_payload) @name = args[:name] if args.key?(:name) @text_payload = args[:text_payload] if args.key?(:text_payload) @video_payload = args[:video_payload] if args.key?(:video_payload) end