Class: Google::Apis::DisplayvideoV3::ExchangeTargetingOptionDetails

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



5979
5980
5981
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5979

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

Instance Attribute Details

#exchangeString

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

Returns:

  • (String)


5977
5978
5979
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5977

def exchange
  @exchange
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5984
5985
5986
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5984

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