class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TimeSegment

A time period inside of an example that has a time dimension (e.g. video).

Attributes

end_time_offset[RW]

End of the time segment (exclusive), represented as the duration since the example start. Corresponds to the JSON property `endTimeOffset` @return [String]

start_time_offset[RW]

Start of the time segment (inclusive), represented as the duration since the example start. Corresponds to the JSON property `startTimeOffset` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4403
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 4408
def update!(**args)
  @end_time_offset = args[:end_time_offset] if args.key?(:end_time_offset)
  @start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset)
end