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.
11544 11545 11546 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11544 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
11537 11538 11539 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11537 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
11542 11543 11544 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11542 def steps @steps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11549 11550 11551 11552 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11549 def update!(**args) @minimum_duration = args[:minimum_duration] if args.key?(:minimum_duration) @steps = args[:steps] if args.key?(:steps) end |