Class: Google::Apis::DisplayvideoV1::ExchangeTargetingOptionDetails

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

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.



4285
4286
4287
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4285

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

Instance Attribute Details

#exchangeString

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

Returns:

  • (String)


4283
4284
4285
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4283

def exchange
  @exchange
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4290
4291
4292
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4290

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