Class: Google::Apis::DisplayvideoV1::ExchangeConfig

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



3768
3769
3770
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3768

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

Instance Attribute Details

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

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



3766
3767
3768
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3766

def enabled_exchanges
  @enabled_exchanges
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3773
3774
3775
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3773

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