Class: Google::Apis::DisplayvideoV3::InventorySourceVideoCreativeConfig

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

The configuration for video creatives.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InventorySourceVideoCreativeConfig

Returns a new instance of InventorySourceVideoCreativeConfig.



7725
7726
7727
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7725

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

Instance Attribute Details

#durationString

The duration requirements for the video creatives that can be assigned to the inventory source. Corresponds to the JSON property duration

Returns:

  • (String)


7723
7724
7725
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7723

def duration
  @duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7730
7731
7732
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7730

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