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



129
130
131
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 129

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



127
128
129
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 127

def association
  @association
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



134
135
136
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 134

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