Class: Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb

Overview

A request for associating a deal and a creative.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AddDealAssociationRequest

Returns a new instance of AddDealAssociationRequest.


167
168
169
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 167

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

Instance Attribute Details

#associationGoogle::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation

The association between a creative and a deal. Corresponds to the JSON property association


165
166
167
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 165

def association
  @association
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


172
173
174
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 172

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