Class: Google::Apis::DisplayvideoV2::VideoAdSequenceSettings
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::VideoAdSequenceSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
Settings related to VideoAdSequence.
Instance Attribute Summary collapse
-
#minimum_duration ⇒ String
The minimum time interval before the same user sees this sequence again.
-
#steps ⇒ Array<Google::Apis::DisplayvideoV2::VideoAdSequenceStep>
The steps of which the sequence consists.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoAdSequenceSettings
constructor
A new instance of VideoAdSequenceSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VideoAdSequenceSettings
Returns a new instance of VideoAdSequenceSettings.
11713 11714 11715 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11713 def initialize(**args) update!(**args) end |
Instance Attribute Details
#minimum_duration ⇒ String
The minimum time interval before the same user sees this sequence again.
Corresponds to the JSON property minimumDuration
11706 11707 11708 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11706 def minimum_duration @minimum_duration end |
#steps ⇒ Array<Google::Apis::DisplayvideoV2::VideoAdSequenceStep>
The steps of which the sequence consists.
Corresponds to the JSON property steps
11711 11712 11713 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11711 def steps @steps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11718 11719 11720 11721 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11718 def update!(**args) @minimum_duration = args[:minimum_duration] if args.key?(:minimum_duration) @steps = args[:steps] if args.key?(:steps) end |