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



1002
1003
1004
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1002

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



1000
1001
1002
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1000

def association
  @association
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1007
1008
1009
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1007

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