Class: Google::Apis::DisplayvideoV4::ExchangeConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb

Overview

Settings that control which exchanges are enabled for a partner.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExchangeConfig

Returns a new instance of ExchangeConfig.



7623
7624
7625
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 7623

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

Instance Attribute Details

#enabled_exchangesArray<Google::Apis::DisplayvideoV4::ExchangeConfigEnabledExchange>

All enabled exchanges in the partner. Duplicate enabled exchanges will be ignored. Corresponds to the JSON property enabledExchanges



7621
7622
7623
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 7621

def enabled_exchanges
  @enabled_exchanges
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7628
7629
7630
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 7628

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