Class: Google::Apis::DisplayvideoV2::ExchangeConfig
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::ExchangeConfig
- 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 that control which exchanges are enabled for a partner.
Instance Attribute Summary collapse
-
#enabled_exchanges ⇒ Array<Google::Apis::DisplayvideoV2::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.
5316 5317 5318 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5316 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled_exchanges ⇒ Array<Google::Apis::DisplayvideoV2::ExchangeConfigEnabledExchange>
All enabled exchanges in the partner. Duplicate enabled exchanges will be
ignored.
Corresponds to the JSON property enabledExchanges
5314 5315 5316 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5314 def enabled_exchanges @enabled_exchanges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5321 5322 5323 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5321 def update!(**args) @enabled_exchanges = args[:enabled_exchanges] if args.key?(:enabled_exchanges) end |