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.
11685 11686 11687 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11685 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
11678 11679 11680 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11678 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
11683 11684 11685 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11683 def steps @steps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11690 11691 11692 11693 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11690 def update!(**args) @minimum_duration = args[:minimum_duration] if args.key?(:minimum_duration) @steps = args[:steps] if args.key?(:steps) end |