google-apis-androidpublisher_v3 0.1.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +46 -0
- data/lib/google/apis/androidpublisher_v3/classes.rb +146 -7
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +3 -3
- data/lib/google/apis/androidpublisher_v3/representations.rb +78 -0
- data/lib/google/apis/androidpublisher_v3/service.rb +57 -9
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28d855024c7645050c23c435951a1387dd0e297da3367efccc88e78676293862
|
4
|
+
data.tar.gz: f667aedadcda98532ab684a063fe625079e816d1dbd894d689aba1618e9f6d48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 318180323b20b24cc7541e6eb4f90834e243d1d348031c06e4bb6c13d9154fe33c3d8c62df4000e52e7e14a850a3c83fcd36c95f17705edd3c6f6e8b651edeb3
|
7
|
+
data.tar.gz: 0ac5c23065d6c4241e0fa5bdf8ac1d1f3209f6f3aca16f768954016821bb56710f988778735889464d53775c3e9d43b874c58ba19d303029e16b78f4558db186
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,51 @@
|
|
1
1
|
# Release history for google-apis-androidpublisher_v3
|
2
2
|
|
3
|
+
### v0.12.0 (2021-10-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211006
|
6
|
+
|
7
|
+
### v0.11.0 (2021-09-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210901
|
10
|
+
|
11
|
+
### v0.10.0 (2021-07-30)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210728
|
14
|
+
|
15
|
+
### v0.9.0 (2021-07-21)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210720
|
18
|
+
|
19
|
+
### v0.8.0 (2021-06-29)
|
20
|
+
|
21
|
+
* Regenerated using generator version 0.4.0
|
22
|
+
|
23
|
+
### v0.7.0 (2021-06-24)
|
24
|
+
|
25
|
+
* Unspecified changes
|
26
|
+
|
27
|
+
### v0.6.0 (2021-06-08)
|
28
|
+
|
29
|
+
* Regenerated from discovery document revision 20210605
|
30
|
+
* Regenerated using generator version 0.3.0
|
31
|
+
|
32
|
+
### v0.5.0 (2021-05-28)
|
33
|
+
|
34
|
+
* Regenerated from discovery document revision 20210527
|
35
|
+
|
36
|
+
### v0.4.0 (2021-05-19)
|
37
|
+
|
38
|
+
* Unspecified changes
|
39
|
+
|
40
|
+
### v0.3.0 (2021-04-30)
|
41
|
+
|
42
|
+
* Regenerated from discovery document revision 20210429
|
43
|
+
* Regenerated using generator version 0.2.0
|
44
|
+
|
45
|
+
### v0.2.0 (2021-03-04)
|
46
|
+
|
47
|
+
* Regenerated using generator version 0.1.2
|
48
|
+
|
3
49
|
### v0.1.0 (2021-01-07)
|
4
50
|
|
5
51
|
* Regenerated using generator version 0.1.1
|
@@ -206,7 +206,7 @@ module Google
|
|
206
206
|
end
|
207
207
|
end
|
208
208
|
|
209
|
-
# Information about
|
209
|
+
# Information about an app bundle. The resource for BundlesService.
|
210
210
|
class Bundle
|
211
211
|
include Google::Apis::Core::Hashable
|
212
212
|
|
@@ -240,11 +240,11 @@ module Google
|
|
240
240
|
end
|
241
241
|
end
|
242
242
|
|
243
|
-
# Response listing all bundles.
|
243
|
+
# Response listing all app bundles.
|
244
244
|
class BundlesListResponse
|
245
245
|
include Google::Apis::Core::Hashable
|
246
246
|
|
247
|
-
# All bundles.
|
247
|
+
# All app bundles.
|
248
248
|
# Corresponds to the JSON property `bundles`
|
249
249
|
# @return [Array<Google::Apis::AndroidpublisherV3::Bundle>]
|
250
250
|
attr_accessor :bundles
|
@@ -290,6 +290,106 @@ module Google
|
|
290
290
|
end
|
291
291
|
end
|
292
292
|
|
293
|
+
# Request message for ConvertRegionPrices.
|
294
|
+
class ConvertRegionPricesRequest
|
295
|
+
include Google::Apis::Core::Hashable
|
296
|
+
|
297
|
+
# Represents an amount of money with its currency type.
|
298
|
+
# Corresponds to the JSON property `price`
|
299
|
+
# @return [Google::Apis::AndroidpublisherV3::Money]
|
300
|
+
attr_accessor :price
|
301
|
+
|
302
|
+
def initialize(**args)
|
303
|
+
update!(**args)
|
304
|
+
end
|
305
|
+
|
306
|
+
# Update properties of this object
|
307
|
+
def update!(**args)
|
308
|
+
@price = args[:price] if args.key?(:price)
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
# Response message for ConvertRegionPrices.
|
313
|
+
class ConvertRegionPricesResponse
|
314
|
+
include Google::Apis::Core::Hashable
|
315
|
+
|
316
|
+
# Converted other regions prices.
|
317
|
+
# Corresponds to the JSON property `convertedOtherRegionsPrice`
|
318
|
+
# @return [Google::Apis::AndroidpublisherV3::ConvertedOtherRegionsPrice]
|
319
|
+
attr_accessor :converted_other_regions_price
|
320
|
+
|
321
|
+
# Map from region code to converted region price.
|
322
|
+
# Corresponds to the JSON property `convertedRegionPrices`
|
323
|
+
# @return [Hash<String,Google::Apis::AndroidpublisherV3::ConvertedRegionPrice>]
|
324
|
+
attr_accessor :converted_region_prices
|
325
|
+
|
326
|
+
def initialize(**args)
|
327
|
+
update!(**args)
|
328
|
+
end
|
329
|
+
|
330
|
+
# Update properties of this object
|
331
|
+
def update!(**args)
|
332
|
+
@converted_other_regions_price = args[:converted_other_regions_price] if args.key?(:converted_other_regions_price)
|
333
|
+
@converted_region_prices = args[:converted_region_prices] if args.key?(:converted_region_prices)
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
# Converted other regions prices.
|
338
|
+
class ConvertedOtherRegionsPrice
|
339
|
+
include Google::Apis::Core::Hashable
|
340
|
+
|
341
|
+
# Represents an amount of money with its currency type.
|
342
|
+
# Corresponds to the JSON property `eurPrice`
|
343
|
+
# @return [Google::Apis::AndroidpublisherV3::Money]
|
344
|
+
attr_accessor :eur_price
|
345
|
+
|
346
|
+
# Represents an amount of money with its currency type.
|
347
|
+
# Corresponds to the JSON property `usdPrice`
|
348
|
+
# @return [Google::Apis::AndroidpublisherV3::Money]
|
349
|
+
attr_accessor :usd_price
|
350
|
+
|
351
|
+
def initialize(**args)
|
352
|
+
update!(**args)
|
353
|
+
end
|
354
|
+
|
355
|
+
# Update properties of this object
|
356
|
+
def update!(**args)
|
357
|
+
@eur_price = args[:eur_price] if args.key?(:eur_price)
|
358
|
+
@usd_price = args[:usd_price] if args.key?(:usd_price)
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
362
|
+
# A converted region price.
|
363
|
+
class ConvertedRegionPrice
|
364
|
+
include Google::Apis::Core::Hashable
|
365
|
+
|
366
|
+
# Represents an amount of money with its currency type.
|
367
|
+
# Corresponds to the JSON property `price`
|
368
|
+
# @return [Google::Apis::AndroidpublisherV3::Money]
|
369
|
+
attr_accessor :price
|
370
|
+
|
371
|
+
# The region code of the region.
|
372
|
+
# Corresponds to the JSON property `regionCode`
|
373
|
+
# @return [String]
|
374
|
+
attr_accessor :region_code
|
375
|
+
|
376
|
+
# Represents an amount of money with its currency type.
|
377
|
+
# Corresponds to the JSON property `taxAmount`
|
378
|
+
# @return [Google::Apis::AndroidpublisherV3::Money]
|
379
|
+
attr_accessor :tax_amount
|
380
|
+
|
381
|
+
def initialize(**args)
|
382
|
+
update!(**args)
|
383
|
+
end
|
384
|
+
|
385
|
+
# Update properties of this object
|
386
|
+
def update!(**args)
|
387
|
+
@price = args[:price] if args.key?(:price)
|
388
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
389
|
+
@tax_amount = args[:tax_amount] if args.key?(:tax_amount)
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
293
393
|
# Country targeting specification.
|
294
394
|
class CountryTargeting
|
295
395
|
include Google::Apis::Core::Hashable
|
@@ -1079,6 +1179,42 @@ module Google
|
|
1079
1179
|
end
|
1080
1180
|
end
|
1081
1181
|
|
1182
|
+
# Represents an amount of money with its currency type.
|
1183
|
+
class Money
|
1184
|
+
include Google::Apis::Core::Hashable
|
1185
|
+
|
1186
|
+
# The three-letter currency code defined in ISO 4217.
|
1187
|
+
# Corresponds to the JSON property `currencyCode`
|
1188
|
+
# @return [String]
|
1189
|
+
attr_accessor :currency_code
|
1190
|
+
|
1191
|
+
# Number of nano (10^-9) units of the amount. The value must be between -999,999,
|
1192
|
+
# 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
|
1193
|
+
# positive or zero. If `units` is zero, `nanos` can be positive, zero, or
|
1194
|
+
# negative. If `units` is negative, `nanos` must be negative or zero. For
|
1195
|
+
# example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
|
1196
|
+
# Corresponds to the JSON property `nanos`
|
1197
|
+
# @return [Fixnum]
|
1198
|
+
attr_accessor :nanos
|
1199
|
+
|
1200
|
+
# The whole units of the amount. For example if `currencyCode` is `"USD"`, then
|
1201
|
+
# 1 unit is one US dollar.
|
1202
|
+
# Corresponds to the JSON property `units`
|
1203
|
+
# @return [Fixnum]
|
1204
|
+
attr_accessor :units
|
1205
|
+
|
1206
|
+
def initialize(**args)
|
1207
|
+
update!(**args)
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
# Update properties of this object
|
1211
|
+
def update!(**args)
|
1212
|
+
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
1213
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
1214
|
+
@units = args[:units] if args.key?(:units)
|
1215
|
+
end
|
1216
|
+
end
|
1217
|
+
|
1082
1218
|
# Information about the current page. List operations that supports paging
|
1083
1219
|
# return only one "page" of results. This protocol buffer message describes the
|
1084
1220
|
# page that has been returned.
|
@@ -1626,7 +1762,8 @@ module Google
|
|
1626
1762
|
attr_accessor :obfuscated_external_profile_id
|
1627
1763
|
|
1628
1764
|
# The order id of the latest recurring order associated with the purchase of the
|
1629
|
-
# subscription.
|
1765
|
+
# subscription. If the subscription was canceled because payment was declined,
|
1766
|
+
# this will be the order id from the payment declined order.
|
1630
1767
|
# Corresponds to the JSON property `orderId`
|
1631
1768
|
# @return [String]
|
1632
1769
|
attr_accessor :order_id
|
@@ -1638,9 +1775,11 @@ module Google
|
|
1638
1775
|
# @return [Fixnum]
|
1639
1776
|
attr_accessor :payment_state
|
1640
1777
|
|
1641
|
-
# Price of the subscription,
|
1642
|
-
#
|
1643
|
-
#
|
1778
|
+
# Price of the subscription, For tax exclusive countries, the price doesn't
|
1779
|
+
# include tax. For tax inclusive countries, the price includes tax. Price is
|
1780
|
+
# expressed in micro-units, where 1,000,000 micro-units represents one unit of
|
1781
|
+
# the currency. For example, if the subscription price is €1.99,
|
1782
|
+
# price_amount_micros is 1990000.
|
1644
1783
|
# Corresponds to the JSON property `priceAmountMicros`
|
1645
1784
|
# @return [Fixnum]
|
1646
1785
|
attr_accessor :price_amount_micros
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AndroidpublisherV3
|
18
18
|
# Version of the google-apis-androidpublisher_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211006"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,30 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class ConvertRegionPricesRequest
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class ConvertRegionPricesResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class ConvertedOtherRegionsPrice
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ConvertedRegionPrice
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
85
109
|
class CountryTargeting
|
86
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
111
|
|
@@ -208,6 +232,12 @@ module Google
|
|
208
232
|
include Google::Apis::Core::JsonObjectSupport
|
209
233
|
end
|
210
234
|
|
235
|
+
class Money
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
211
241
|
class PageInfo
|
212
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
243
|
|
@@ -464,6 +494,45 @@ module Google
|
|
464
494
|
end
|
465
495
|
end
|
466
496
|
|
497
|
+
class ConvertRegionPricesRequest
|
498
|
+
# @private
|
499
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
500
|
+
property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
|
501
|
+
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
505
|
+
class ConvertRegionPricesResponse
|
506
|
+
# @private
|
507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
508
|
+
property :converted_other_regions_price, as: 'convertedOtherRegionsPrice', class: Google::Apis::AndroidpublisherV3::ConvertedOtherRegionsPrice, decorator: Google::Apis::AndroidpublisherV3::ConvertedOtherRegionsPrice::Representation
|
509
|
+
|
510
|
+
hash :converted_region_prices, as: 'convertedRegionPrices', class: Google::Apis::AndroidpublisherV3::ConvertedRegionPrice, decorator: Google::Apis::AndroidpublisherV3::ConvertedRegionPrice::Representation
|
511
|
+
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
515
|
+
class ConvertedOtherRegionsPrice
|
516
|
+
# @private
|
517
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
518
|
+
property :eur_price, as: 'eurPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
|
519
|
+
|
520
|
+
property :usd_price, as: 'usdPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
|
521
|
+
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
class ConvertedRegionPrice
|
526
|
+
# @private
|
527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
+
property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
|
529
|
+
|
530
|
+
property :region_code, as: 'regionCode'
|
531
|
+
property :tax_amount, as: 'taxAmount', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
|
532
|
+
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
467
536
|
class CountryTargeting
|
468
537
|
# @private
|
469
538
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -683,6 +752,15 @@ module Google
|
|
683
752
|
end
|
684
753
|
end
|
685
754
|
|
755
|
+
class Money
|
756
|
+
# @private
|
757
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
758
|
+
property :currency_code, as: 'currencyCode'
|
759
|
+
property :nanos, as: 'nanos'
|
760
|
+
property :units, :numeric_string => true, as: 'units'
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
686
764
|
class PageInfo
|
687
765
|
# @private
|
688
766
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -54,6 +54,10 @@ module Google
|
|
54
54
|
# Package name of the app.
|
55
55
|
# @param [String] edit_id
|
56
56
|
# Identifier of the edit.
|
57
|
+
# @param [Boolean] changes_not_sent_for_review
|
58
|
+
# Indicates that the changes in this edit will not be reviewed until they are
|
59
|
+
# explicitly sent for review from the Google Play Console UI. These changes will
|
60
|
+
# be added to any other changes that are not yet sent for review.
|
57
61
|
# @param [String] fields
|
58
62
|
# Selector specifying which fields to include in a partial response.
|
59
63
|
# @param [String] quota_user
|
@@ -71,12 +75,13 @@ module Google
|
|
71
75
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
72
76
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
73
77
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
74
|
-
def commit_edit(package_name, edit_id, fields: nil, quota_user: nil, options: nil, &block)
|
78
|
+
def commit_edit(package_name, edit_id, changes_not_sent_for_review: nil, fields: nil, quota_user: nil, options: nil, &block)
|
75
79
|
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}:commit', options)
|
76
80
|
command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
|
77
81
|
command.response_class = Google::Apis::AndroidpublisherV3::AppEdit
|
78
82
|
command.params['packageName'] = package_name unless package_name.nil?
|
79
83
|
command.params['editId'] = edit_id unless edit_id.nil?
|
84
|
+
command.query['changesNotSentForReview'] = changes_not_sent_for_review unless changes_not_sent_for_review.nil?
|
80
85
|
command.query['fields'] = fields unless fields.nil?
|
81
86
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
82
87
|
execute_or_queue_command(command, &block)
|
@@ -370,9 +375,9 @@ module Google
|
|
370
375
|
# @param [String] edit_id
|
371
376
|
# Identifier of the edit.
|
372
377
|
# @param [Boolean] ack_bundle_installation_warning
|
373
|
-
# Must be set to true if the bundle installation may trigger a warning on
|
374
|
-
# devices (for example, if installation size may be over a threshold,
|
375
|
-
# 100 MB).
|
378
|
+
# Must be set to true if the app bundle installation may trigger a warning on
|
379
|
+
# user devices (for example, if installation size may be over a threshold,
|
380
|
+
# typically 100 MB).
|
376
381
|
# @param [String] fields
|
377
382
|
# Selector specifying which fields to include in a partial response.
|
378
383
|
# @param [String] quota_user
|
@@ -1499,13 +1504,17 @@ module Google
|
|
1499
1504
|
execute_or_queue_command(command, &block)
|
1500
1505
|
end
|
1501
1506
|
|
1502
|
-
# Lists all in-app products - both managed products and subscriptions.
|
1507
|
+
# Lists all in-app products - both managed products and subscriptions. If an app
|
1508
|
+
# has a large number of in-app products, the response may be paginated. In this
|
1509
|
+
# case the response field `tokenPagination.nextPageToken` will be set and the
|
1510
|
+
# caller should provide its value as a `token` request parameter to retrieve the
|
1511
|
+
# next page.
|
1503
1512
|
# @param [String] package_name
|
1504
1513
|
# Package name of the app.
|
1505
1514
|
# @param [Fixnum] max_results
|
1506
|
-
#
|
1515
|
+
# Deprecated and ignored. The page size is determined by the server.
|
1507
1516
|
# @param [Fixnum] start_index
|
1508
|
-
#
|
1517
|
+
# Deprecated and ignored. Set the `token` parameter to rertieve the next page.
|
1509
1518
|
# @param [String] token
|
1510
1519
|
# Pagination token. If empty, list starts at the first product.
|
1511
1520
|
# @param [String] fields
|
@@ -1585,6 +1594,9 @@ module Google
|
|
1585
1594
|
# @param [String] sku
|
1586
1595
|
# Unique identifier for the in-app product.
|
1587
1596
|
# @param [Google::Apis::AndroidpublisherV3::InAppProduct] in_app_product_object
|
1597
|
+
# @param [Boolean] allow_missing
|
1598
|
+
# If set to true, and the in-app product with the given package_name and sku
|
1599
|
+
# doesn't exist, the in-app product will be created.
|
1588
1600
|
# @param [Boolean] auto_convert_missing_prices
|
1589
1601
|
# If true the prices for all regions targeted by the parent app that don't have
|
1590
1602
|
# a price specified for this in-app product will be auto converted to the target
|
@@ -1606,7 +1618,7 @@ module Google
|
|
1606
1618
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1607
1619
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1608
1620
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1609
|
-
def update_inappproduct(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1621
|
+
def update_inappproduct(package_name, sku, in_app_product_object = nil, allow_missing: nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1610
1622
|
command = make_simple_command(:put, 'androidpublisher/v3/applications/{packageName}/inappproducts/{sku}', options)
|
1611
1623
|
command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
|
1612
1624
|
command.request_object = in_app_product_object
|
@@ -1614,6 +1626,7 @@ module Google
|
|
1614
1626
|
command.response_class = Google::Apis::AndroidpublisherV3::InAppProduct
|
1615
1627
|
command.params['packageName'] = package_name unless package_name.nil?
|
1616
1628
|
command.params['sku'] = sku unless sku.nil?
|
1629
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
1617
1630
|
command.query['autoConvertMissingPrices'] = auto_convert_missing_prices unless auto_convert_missing_prices.nil?
|
1618
1631
|
command.query['fields'] = fields unless fields.nil?
|
1619
1632
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1708,7 +1721,42 @@ module Google
|
|
1708
1721
|
execute_or_queue_command(command, &block)
|
1709
1722
|
end
|
1710
1723
|
|
1711
|
-
#
|
1724
|
+
# Calculates the region prices, using today's exchange rate and country-specific
|
1725
|
+
# pricing patterns, based on the price in the request for a set of regions.
|
1726
|
+
# @param [String] package_name
|
1727
|
+
# Required. The app package name.
|
1728
|
+
# @param [Google::Apis::AndroidpublisherV3::ConvertRegionPricesRequest] convert_region_prices_request_object
|
1729
|
+
# @param [String] fields
|
1730
|
+
# Selector specifying which fields to include in a partial response.
|
1731
|
+
# @param [String] quota_user
|
1732
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1733
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1734
|
+
# @param [Google::Apis::RequestOptions] options
|
1735
|
+
# Request-specific options
|
1736
|
+
#
|
1737
|
+
# @yield [result, err] Result & error if block supplied
|
1738
|
+
# @yieldparam result [Google::Apis::AndroidpublisherV3::ConvertRegionPricesResponse] parsed result object
|
1739
|
+
# @yieldparam err [StandardError] error object if request failed
|
1740
|
+
#
|
1741
|
+
# @return [Google::Apis::AndroidpublisherV3::ConvertRegionPricesResponse]
|
1742
|
+
#
|
1743
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1744
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1745
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1746
|
+
def convert_monetization_region_prices(package_name, convert_region_prices_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1747
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices', options)
|
1748
|
+
command.request_representation = Google::Apis::AndroidpublisherV3::ConvertRegionPricesRequest::Representation
|
1749
|
+
command.request_object = convert_region_prices_request_object
|
1750
|
+
command.response_representation = Google::Apis::AndroidpublisherV3::ConvertRegionPricesResponse::Representation
|
1751
|
+
command.response_class = Google::Apis::AndroidpublisherV3::ConvertRegionPricesResponse
|
1752
|
+
command.params['packageName'] = package_name unless package_name.nil?
|
1753
|
+
command.query['fields'] = fields unless fields.nil?
|
1754
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1755
|
+
execute_or_queue_command(command, &block)
|
1756
|
+
end
|
1757
|
+
|
1758
|
+
# Refunds a user's subscription or in-app purchase order. Orders older than 1
|
1759
|
+
# year cannot be refunded.
|
1712
1760
|
# @param [String] package_name
|
1713
1761
|
# The package name of the application for which this subscription or in-app item
|
1714
1762
|
# was purchased (for example, 'com.some.thing').
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-androidpublisher_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Google Play Android Developer API
|
28
34
|
V3. Simple REST clients are Ruby client libraries that provide access to Google
|
29
35
|
services via their HTTP REST API endpoints. These libraries are generated and updated
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-androidpublisher_v3/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.12.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-androidpublisher_v3
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
68
|
requirements:
|
63
69
|
- - ">="
|
64
70
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
71
|
+
version: '2.5'
|
66
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
73
|
requirements:
|
68
74
|
- - ">="
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Google Play Android Developer API V3
|