Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::BatchUpdateDealsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1alpha/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.



304
305
306
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 304

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

Instance Attribute Details

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

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



302
303
304
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 302

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



309
310
311
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 309

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