Class: Google::Apis::DisplayvideoV1::ExchangeConfig
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::ExchangeConfig
- 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
Settings that control which exchanges are enabled for a partner.
Instance Attribute Summary collapse
-
#enabled_exchanges ⇒ Array<Google::Apis::DisplayvideoV1::ExchangeConfigEnabledExchange>
All enabled exchanges in the partner.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExchangeConfig
constructor
A new instance of ExchangeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExchangeConfig
Returns a new instance of ExchangeConfig.
4832 4833 4834 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4832 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled_exchanges ⇒ Array<Google::Apis::DisplayvideoV1::ExchangeConfigEnabledExchange>
All enabled exchanges in the partner. Duplicate enabled exchanges will be
ignored.
Corresponds to the JSON property enabledExchanges
4830 4831 4832 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4830 def enabled_exchanges @enabled_exchanges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4837 4838 4839 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4837 def update!(**args) @enabled_exchanges = args[:enabled_exchanges] if args.key?(:enabled_exchanges) end |