Class: Google::Apis::DisplayvideoV2::ExchangeTargetingOptionDetails

Inherits:
Object
  • Object
show all
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

Represents a targetable exchange. This will be populated in the exchange_details field of a TargetingOption when targeting_type is TARGETING_TYPE_EXCHANGE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExchangeTargetingOptionDetails

Returns a new instance of ExchangeTargetingOptionDetails.



5401
5402
5403
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5401

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

Instance Attribute Details

#exchangeString

Output only. The type of exchange. Corresponds to the JSON property exchange

Returns:

  • (String)


5399
5400
5401
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5399

def exchange
  @exchange
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5406
5407
5408
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5406

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