Class: Google::Apis::DisplayvideoV2::ExchangeAssignedTargetingOptionDetails

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

Details for assigned exchange targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_EXCHANGE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExchangeAssignedTargetingOptionDetails

Returns a new instance of ExchangeAssignedTargetingOptionDetails.



5236
5237
5238
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5236

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

Instance Attribute Details

#exchangeString

Required. The enum value for the exchange. Corresponds to the JSON property exchange

Returns:

  • (String)


5234
5235
5236
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5234

def exchange
  @exchange
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5241
5242
5243
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5241

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