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.



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

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)


5238
5239
5240
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5238

def exchange
  @exchange
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5245
5246
5247
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5245

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