class Google::Apis::DisplayvideoV1::AudioVideoOffset
The length an audio or a video has been played.
Attributes
percentage[RW]
The offset in percentage of the audio or video duration. Corresponds to the JSON property `percentage` @return [Fixnum]
seconds[RW]
The offset in seconds from the start of the audio or video. Corresponds to the JSON property `seconds` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 1171 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/displayvideo_v1/classes.rb, line 1176 def update!(**args) @percentage = args[:percentage] if args.key?(:percentage) @seconds = args[:seconds] if args.key?(:seconds) end