Class: Google::Apis::DisplayvideoV2::VideoAdSequenceSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_durationString

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

Returns:

  • (String)


11706
11707
11708
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11706

def minimum_duration
  @minimum_duration
end

#stepsArray<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