Class: Google::Apis::DisplayvideoV3::VideoAdSequenceSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb

Overview

Settings related to VideoAdSequence.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VideoAdSequenceSettings

Returns a new instance of VideoAdSequenceSettings.



12482
12483
12484
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12482

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#minimum_durationString

The minimum time interval before the same user sees this sequence again. Corresponds to the JSON property minimumDuration

Returns:

  • (String)


12475
12476
12477
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12475

def minimum_duration
  @minimum_duration
end

#stepsArray<Google::Apis::DisplayvideoV3::VideoAdSequenceStep>

The steps of which the sequence consists. Corresponds to the JSON property steps



12480
12481
12482
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12480

def steps
  @steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12487
12488
12489
12490
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12487

def update!(**args)
  @minimum_duration = args[:minimum_duration] if args.key?(:minimum_duration)
  @steps = args[:steps] if args.key?(:steps)
end