Class: Google::Apis::AuthorizedbuyersmarketplaceV1::BatchUpdateDealsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::BatchUpdateDealsRequest
- 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
-
#initialize(**args) ⇒ BatchUpdateDealsRequest
constructor
A new instance of BatchUpdateDealsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchUpdateDealsRequest
Returns a new instance of BatchUpdateDealsRequest.
250 251 252 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 250 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::AuthorizedbuyersmarketplaceV1::UpdateDealRequest>
Required. List of request messages to update deals.
Corresponds to the JSON property requests
248 249 250 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 248 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
255 256 257 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 255 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |