class Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment

Video segment.

Attributes

end_time_offset[RW]

Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive). Corresponds to the JSON property `endTimeOffset` @return [String]

start_time_offset[RW]

Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive). Corresponds to the JSON property `startTimeOffset` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/videointelligence_v1p1beta1/classes.rb, line 6359
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