Class: Google::Apis::AndroidpublisherV3::InappproductsBatchUpdateRequest

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

Overview

Request to update or insert one or more in-app products.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InappproductsBatchUpdateRequest

Returns a new instance of InappproductsBatchUpdateRequest.



3045
3046
3047
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3045

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

Instance Attribute Details

#requestsArray<Google::Apis::AndroidpublisherV3::InappproductsUpdateRequest>

Required. Individual update requests. At least one request is required. Can contain up to 100 requests. All requests must correspond to different in-app products. Corresponds to the JSON property requests



3043
3044
3045
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3043

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3050
3051
3052
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3050

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