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.



3053
3054
3055
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3053

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



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

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3058
3059
3060
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3058

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