class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoThumbnail

Container of information of a video thumbnail.

Attributes

thumbnail[RW]

A byte string of the video frame. Corresponds to the JSON property `thumbnail` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

time_offset[RW]

Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from. Corresponds to the JSON property `timeOffset` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4622
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4627
def update!(**args)
  @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
  @time_offset = args[:time_offset] if args.key?(:time_offset)
end