Class: Google::Apis::AuthorizedbuyersmarketplaceV1::BatchUpdateDealsRequest

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

Overview

Request message for batch updating deals.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchUpdateDealsRequest

Returns a new instance of BatchUpdateDealsRequest.



242
243
244
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 242

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

Instance Attribute Details

#requestsArray<Google::Apis::AuthorizedbuyersmarketplaceV1::UpdateDealRequest>

Required. List of request messages to update deals. Corresponds to the JSON property requests



240
241
242
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 240

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



247
248
249
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 247

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