Class: Google::Apis::TranscoderV1::AdBreak
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1::AdBreak
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/transcoder_v1/classes.rb,
lib/google/apis/transcoder_v1/representations.rb,
lib/google/apis/transcoder_v1/representations.rb
Overview
Ad break.
Instance Attribute Summary collapse
-
#start_time_offset ⇒ String
Start time in seconds for the ad break, relative to the output file timeline.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdBreak
constructor
A new instance of AdBreak.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdBreak
Returns a new instance of AdBreak.
35 36 37 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 35 def initialize(**args) update!(**args) end |
Instance Attribute Details
#start_time_offset ⇒ String
Start time in seconds for the ad break, relative to the output file timeline.
The default is 0s
.
Corresponds to the JSON property startTimeOffset
33 34 35 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 33 def start_time_offset @start_time_offset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40 41 42 |
# File 'lib/google/apis/transcoder_v1/classes.rb', line 40 def update!(**args) @start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset) end |