Class: Google::Apis::DisplayvideoV1::InventorySourceVideoCreativeConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/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.



6577
6578
6579
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6577

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)


6575
6576
6577
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6575

def duration
  @duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6582
6583
6584
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6582

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