class Google::Apis::YoutubePartnerV1::AdBreak
Attributes
midroll_seconds[RW]
The time of the ad break specified as the number of seconds after the start of the video when the break occurs. Corresponds to the JSON property `midrollSeconds` @return [Fixnum]
position[RW]
The point at which the break occurs during the video playback. Corresponds to the JSON property `position` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_partner_v1/classes.rb, line 40 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 45 def update!(**args) @midroll_seconds = args[:midroll_seconds] if args.key?(:midroll_seconds) @position = args[:position] if args.key?(:position) end