class Google::Apis::YoutubePartnerV1::LongestMatch
Attributes
duration_secs[RW]
The duration of the longest match between the reference and the user video. Corresponds to the JSON property `durationSecs` @return [Fixnum]
reference_offset[RW]
The offset in seconds into the reference at which the longest match began. Corresponds to the JSON property `referenceOffset` @return [Fixnum]
user_video_offset[RW]
The offset in seconds into the user video at which the longest match began. Corresponds to the JSON property `userVideoOffset` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_partner_v1/classes.rb, line 1920 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/youtube_partner_v1/classes.rb, line 1925 def update!(**args) @duration_secs = args[:duration_secs] if args.key?(:duration_secs) @reference_offset = args[:reference_offset] if args.key?(:reference_offset) @user_video_offset = args[:user_video_offset] if args.key?(:user_video_offset) end