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.



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

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



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

def association
  @association
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



178
179
180
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 178

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