Class: Google::Apis::AdexchangebuyerV1_4::GetOffersResponse

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

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) ⇒ GetOffersResponse

Returns a new instance of GetOffersResponse



1773
1774
1775
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1773

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

Instance Attribute Details

#productsArray<Google::Apis::AdexchangebuyerV1_4::Product>

The returned list of products. Corresponds to the JSON property products



1771
1772
1773
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1771

def products
  @products
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1778
1779
1780
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1778

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