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.



6081
6082
6083
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6081

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

Instance Attribute Details

#exchangeString

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

Returns:

  • (String)


6079
6080
6081
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6079

def exchange
  @exchange
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6086
6087
6088
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6086

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