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

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

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.



3853
3854
3855
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3853

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

Instance Attribute Details

#exchangeString

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

Returns:

  • (String)


3851
3852
3853
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3851

def exchange
  @exchange
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3858
3859
3860
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3858

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