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



348
349
350
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 348

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



346
347
348
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 346

def association
  @association
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



353
354
355
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 353

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