google-apis-androidpublisher_v3 0.83.0 → 0.84.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.
@@ -46,6 +46,18 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class ActivateOneTimeProductOfferRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ActivatePurchaseOptionRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
49
61
  class ActivateSubscriptionOfferRequest
50
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
63
 
@@ -190,6 +202,42 @@ module Google
190
202
  include Google::Apis::Core::JsonObjectSupport
191
203
  end
192
204
 
205
+ class BatchDeleteOneTimeProductOffersRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class BatchDeleteOneTimeProductsRequest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class BatchDeletePurchaseOptionsRequest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class BatchGetOneTimeProductOffersRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class BatchGetOneTimeProductOffersResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class BatchGetOneTimeProductsResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
193
241
  class BatchGetOrdersResponse
194
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
243
 
@@ -238,6 +286,54 @@ module Google
238
286
  include Google::Apis::Core::JsonObjectSupport
239
287
  end
240
288
 
289
+ class BatchUpdateOneTimeProductOfferStatesRequest
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class BatchUpdateOneTimeProductOfferStatesResponse
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class BatchUpdateOneTimeProductOffersRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class BatchUpdateOneTimeProductOffersResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class BatchUpdateOneTimeProductsRequest
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class BatchUpdateOneTimeProductsResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class BatchUpdatePurchaseOptionStatesRequest
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class BatchUpdatePurchaseOptionStatesResponse
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
241
337
  class BatchUpdateSubscriptionOfferStatesRequest
242
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
339
 
@@ -304,6 +400,12 @@ module Google
304
400
  include Google::Apis::Core::JsonObjectSupport
305
401
  end
306
402
 
403
+ class CancelOneTimeProductOfferRequest
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
307
409
  class CancelSurveyResult
308
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
411
 
@@ -370,6 +472,18 @@ module Google
370
472
  include Google::Apis::Core::JsonObjectSupport
371
473
  end
372
474
 
475
+ class DeactivateOneTimeProductOfferRequest
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class DeactivatePurchaseOptionRequest
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
373
487
  class DeactivateSubscriptionOfferRequest
374
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
489
 
@@ -382,6 +496,24 @@ module Google
382
496
  include Google::Apis::Core::JsonObjectSupport
383
497
  end
384
498
 
499
+ class DeleteOneTimeProductOfferRequest
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class DeleteOneTimeProductRequest
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class DeletePurchaseOptionRequest
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
385
517
  class DeobfuscationFile
386
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
519
 
@@ -580,6 +712,12 @@ module Google
580
712
  include Google::Apis::Core::JsonObjectSupport
581
713
  end
582
714
 
715
+ class GetOneTimeProductOfferRequest
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
583
721
  class GetSubscriptionOfferRequest
584
722
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
723
 
@@ -718,6 +856,18 @@ module Google
718
856
  include Google::Apis::Core::JsonObjectSupport
719
857
  end
720
858
 
859
+ class ListOneTimeProductOffersResponse
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
865
+ class ListOneTimeProductsResponse
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
721
871
  class ListSubscriptionOffersResponse
722
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
873
 
@@ -826,6 +976,84 @@ module Google
826
976
  include Google::Apis::Core::JsonObjectSupport
827
977
  end
828
978
 
979
+ class OneTimeProduct
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
985
+ class OneTimeProductBuyPurchaseOption
986
+ class Representation < Google::Apis::Core::JsonRepresentation; end
987
+
988
+ include Google::Apis::Core::JsonObjectSupport
989
+ end
990
+
991
+ class OneTimeProductDiscountedOffer
992
+ class Representation < Google::Apis::Core::JsonRepresentation; end
993
+
994
+ include Google::Apis::Core::JsonObjectSupport
995
+ end
996
+
997
+ class OneTimeProductListing
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
1003
+ class OneTimeProductOffer
1004
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1005
+
1006
+ include Google::Apis::Core::JsonObjectSupport
1007
+ end
1008
+
1009
+ class OneTimeProductOfferNoPriceOverrideOptions
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
1015
+ class OneTimeProductOfferRegionalPricingAndAvailabilityConfig
1016
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1017
+
1018
+ include Google::Apis::Core::JsonObjectSupport
1019
+ end
1020
+
1021
+ class OneTimeProductPreOrderOffer
1022
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1023
+
1024
+ include Google::Apis::Core::JsonObjectSupport
1025
+ end
1026
+
1027
+ class OneTimeProductPurchaseOption
1028
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1029
+
1030
+ include Google::Apis::Core::JsonObjectSupport
1031
+ end
1032
+
1033
+ class OneTimeProductPurchaseOptionNewRegionsConfig
1034
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1035
+
1036
+ include Google::Apis::Core::JsonObjectSupport
1037
+ end
1038
+
1039
+ class OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig
1040
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1041
+
1042
+ include Google::Apis::Core::JsonObjectSupport
1043
+ end
1044
+
1045
+ class OneTimeProductRentPurchaseOption
1046
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1047
+
1048
+ include Google::Apis::Core::JsonObjectSupport
1049
+ end
1050
+
1051
+ class OneTimeProductTaxAndComplianceSettings
1052
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1053
+
1054
+ include Google::Apis::Core::JsonObjectSupport
1055
+ end
1056
+
829
1057
  class OneTimePurchaseDetails
830
1058
  class Representation < Google::Apis::Core::JsonRepresentation; end
831
1059
 
@@ -982,6 +1210,12 @@ module Google
982
1210
  include Google::Apis::Core::JsonObjectSupport
983
1211
  end
984
1212
 
1213
+ class PurchaseOptionTaxAndComplianceSettings
1214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1215
+
1216
+ include Google::Apis::Core::JsonObjectSupport
1217
+ end
1218
+
985
1219
  class PurchaseStateContext
986
1220
  class Representation < Google::Apis::Core::JsonRepresentation; end
987
1221
 
@@ -1042,6 +1276,12 @@ module Google
1042
1276
  include Google::Apis::Core::JsonObjectSupport
1043
1277
  end
1044
1278
 
1279
+ class RegionalTaxConfig
1280
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1281
+
1282
+ include Google::Apis::Core::JsonObjectSupport
1283
+ end
1284
+
1045
1285
  class RegionalTaxRateInfo
1046
1286
  class Representation < Google::Apis::Core::JsonRepresentation; end
1047
1287
 
@@ -1486,6 +1726,30 @@ module Google
1486
1726
  include Google::Apis::Core::JsonObjectSupport
1487
1727
  end
1488
1728
 
1729
+ class UpdateOneTimeProductOfferRequest
1730
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1731
+
1732
+ include Google::Apis::Core::JsonObjectSupport
1733
+ end
1734
+
1735
+ class UpdateOneTimeProductOfferStateRequest
1736
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1737
+
1738
+ include Google::Apis::Core::JsonObjectSupport
1739
+ end
1740
+
1741
+ class UpdateOneTimeProductRequest
1742
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1743
+
1744
+ include Google::Apis::Core::JsonObjectSupport
1745
+ end
1746
+
1747
+ class UpdatePurchaseOptionStateRequest
1748
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1749
+
1750
+ include Google::Apis::Core::JsonObjectSupport
1751
+ end
1752
+
1489
1753
  class UpdateSubscriptionOfferRequest
1490
1754
  class Representation < Google::Apis::Core::JsonRepresentation; end
1491
1755
 
@@ -1611,6 +1875,27 @@ module Google
1611
1875
  end
1612
1876
  end
1613
1877
 
1878
+ class ActivateOneTimeProductOfferRequest
1879
+ # @private
1880
+ class Representation < Google::Apis::Core::JsonRepresentation
1881
+ property :latency_tolerance, as: 'latencyTolerance'
1882
+ property :offer_id, as: 'offerId'
1883
+ property :package_name, as: 'packageName'
1884
+ property :product_id, as: 'productId'
1885
+ property :purchase_option_id, as: 'purchaseOptionId'
1886
+ end
1887
+ end
1888
+
1889
+ class ActivatePurchaseOptionRequest
1890
+ # @private
1891
+ class Representation < Google::Apis::Core::JsonRepresentation
1892
+ property :latency_tolerance, as: 'latencyTolerance'
1893
+ property :package_name, as: 'packageName'
1894
+ property :product_id, as: 'productId'
1895
+ property :purchase_option_id, as: 'purchaseOptionId'
1896
+ end
1897
+ end
1898
+
1614
1899
  class ActivateSubscriptionOfferRequest
1615
1900
  # @private
1616
1901
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1856,6 +2141,54 @@ module Google
1856
2141
  end
1857
2142
  end
1858
2143
 
2144
+ class BatchDeleteOneTimeProductOffersRequest
2145
+ # @private
2146
+ class Representation < Google::Apis::Core::JsonRepresentation
2147
+ collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::DeleteOneTimeProductOfferRequest, decorator: Google::Apis::AndroidpublisherV3::DeleteOneTimeProductOfferRequest::Representation
2148
+
2149
+ end
2150
+ end
2151
+
2152
+ class BatchDeleteOneTimeProductsRequest
2153
+ # @private
2154
+ class Representation < Google::Apis::Core::JsonRepresentation
2155
+ collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::DeleteOneTimeProductRequest, decorator: Google::Apis::AndroidpublisherV3::DeleteOneTimeProductRequest::Representation
2156
+
2157
+ end
2158
+ end
2159
+
2160
+ class BatchDeletePurchaseOptionsRequest
2161
+ # @private
2162
+ class Representation < Google::Apis::Core::JsonRepresentation
2163
+ collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::DeletePurchaseOptionRequest, decorator: Google::Apis::AndroidpublisherV3::DeletePurchaseOptionRequest::Representation
2164
+
2165
+ end
2166
+ end
2167
+
2168
+ class BatchGetOneTimeProductOffersRequest
2169
+ # @private
2170
+ class Representation < Google::Apis::Core::JsonRepresentation
2171
+ collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::GetOneTimeProductOfferRequest, decorator: Google::Apis::AndroidpublisherV3::GetOneTimeProductOfferRequest::Representation
2172
+
2173
+ end
2174
+ end
2175
+
2176
+ class BatchGetOneTimeProductOffersResponse
2177
+ # @private
2178
+ class Representation < Google::Apis::Core::JsonRepresentation
2179
+ collection :one_time_product_offers, as: 'oneTimeProductOffers', class: Google::Apis::AndroidpublisherV3::OneTimeProductOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation
2180
+
2181
+ end
2182
+ end
2183
+
2184
+ class BatchGetOneTimeProductsResponse
2185
+ # @private
2186
+ class Representation < Google::Apis::Core::JsonRepresentation
2187
+ collection :one_time_products, as: 'oneTimeProducts', class: Google::Apis::AndroidpublisherV3::OneTimeProduct, decorator: Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation
2188
+
2189
+ end
2190
+ end
2191
+
1859
2192
  class BatchGetOrdersResponse
1860
2193
  # @private
1861
2194
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1883,39 +2216,103 @@ module Google
1883
2216
  class BatchGetSubscriptionsResponse
1884
2217
  # @private
1885
2218
  class Representation < Google::Apis::Core::JsonRepresentation
1886
- collection :subscriptions, as: 'subscriptions', class: Google::Apis::AndroidpublisherV3::Subscription, decorator: Google::Apis::AndroidpublisherV3::Subscription::Representation
2219
+ collection :subscriptions, as: 'subscriptions', class: Google::Apis::AndroidpublisherV3::Subscription, decorator: Google::Apis::AndroidpublisherV3::Subscription::Representation
2220
+
2221
+ end
2222
+ end
2223
+
2224
+ class BatchMigrateBasePlanPricesRequest
2225
+ # @private
2226
+ class Representation < Google::Apis::Core::JsonRepresentation
2227
+ collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesRequest, decorator: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesRequest::Representation
2228
+
2229
+ end
2230
+ end
2231
+
2232
+ class BatchMigrateBasePlanPricesResponse
2233
+ # @private
2234
+ class Representation < Google::Apis::Core::JsonRepresentation
2235
+ collection :responses, as: 'responses', class: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesResponse, decorator: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesResponse::Representation
2236
+
2237
+ end
2238
+ end
2239
+
2240
+ class BatchUpdateBasePlanStatesRequest
2241
+ # @private
2242
+ class Representation < Google::Apis::Core::JsonRepresentation
2243
+ collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdateBasePlanStateRequest, decorator: Google::Apis::AndroidpublisherV3::UpdateBasePlanStateRequest::Representation
2244
+
2245
+ end
2246
+ end
2247
+
2248
+ class BatchUpdateBasePlanStatesResponse
2249
+ # @private
2250
+ class Representation < Google::Apis::Core::JsonRepresentation
2251
+ collection :subscriptions, as: 'subscriptions', class: Google::Apis::AndroidpublisherV3::Subscription, decorator: Google::Apis::AndroidpublisherV3::Subscription::Representation
2252
+
2253
+ end
2254
+ end
2255
+
2256
+ class BatchUpdateOneTimeProductOfferStatesRequest
2257
+ # @private
2258
+ class Representation < Google::Apis::Core::JsonRepresentation
2259
+ collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdateOneTimeProductOfferStateRequest, decorator: Google::Apis::AndroidpublisherV3::UpdateOneTimeProductOfferStateRequest::Representation
2260
+
2261
+ end
2262
+ end
2263
+
2264
+ class BatchUpdateOneTimeProductOfferStatesResponse
2265
+ # @private
2266
+ class Representation < Google::Apis::Core::JsonRepresentation
2267
+ collection :one_time_product_offers, as: 'oneTimeProductOffers', class: Google::Apis::AndroidpublisherV3::OneTimeProductOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation
2268
+
2269
+ end
2270
+ end
2271
+
2272
+ class BatchUpdateOneTimeProductOffersRequest
2273
+ # @private
2274
+ class Representation < Google::Apis::Core::JsonRepresentation
2275
+ collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdateOneTimeProductOfferRequest, decorator: Google::Apis::AndroidpublisherV3::UpdateOneTimeProductOfferRequest::Representation
2276
+
2277
+ end
2278
+ end
2279
+
2280
+ class BatchUpdateOneTimeProductOffersResponse
2281
+ # @private
2282
+ class Representation < Google::Apis::Core::JsonRepresentation
2283
+ collection :one_time_product_offers, as: 'oneTimeProductOffers', class: Google::Apis::AndroidpublisherV3::OneTimeProductOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation
1887
2284
 
1888
2285
  end
1889
2286
  end
1890
2287
 
1891
- class BatchMigrateBasePlanPricesRequest
2288
+ class BatchUpdateOneTimeProductsRequest
1892
2289
  # @private
1893
2290
  class Representation < Google::Apis::Core::JsonRepresentation
1894
- collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesRequest, decorator: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesRequest::Representation
2291
+ collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdateOneTimeProductRequest, decorator: Google::Apis::AndroidpublisherV3::UpdateOneTimeProductRequest::Representation
1895
2292
 
1896
2293
  end
1897
2294
  end
1898
2295
 
1899
- class BatchMigrateBasePlanPricesResponse
2296
+ class BatchUpdateOneTimeProductsResponse
1900
2297
  # @private
1901
2298
  class Representation < Google::Apis::Core::JsonRepresentation
1902
- collection :responses, as: 'responses', class: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesResponse, decorator: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesResponse::Representation
2299
+ collection :one_time_products, as: 'oneTimeProducts', class: Google::Apis::AndroidpublisherV3::OneTimeProduct, decorator: Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation
1903
2300
 
1904
2301
  end
1905
2302
  end
1906
2303
 
1907
- class BatchUpdateBasePlanStatesRequest
2304
+ class BatchUpdatePurchaseOptionStatesRequest
1908
2305
  # @private
1909
2306
  class Representation < Google::Apis::Core::JsonRepresentation
1910
- collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdateBasePlanStateRequest, decorator: Google::Apis::AndroidpublisherV3::UpdateBasePlanStateRequest::Representation
2307
+ collection :requests, as: 'requests', class: Google::Apis::AndroidpublisherV3::UpdatePurchaseOptionStateRequest, decorator: Google::Apis::AndroidpublisherV3::UpdatePurchaseOptionStateRequest::Representation
1911
2308
 
1912
2309
  end
1913
2310
  end
1914
2311
 
1915
- class BatchUpdateBasePlanStatesResponse
2312
+ class BatchUpdatePurchaseOptionStatesResponse
1916
2313
  # @private
1917
2314
  class Representation < Google::Apis::Core::JsonRepresentation
1918
- collection :subscriptions, as: 'subscriptions', class: Google::Apis::AndroidpublisherV3::Subscription, decorator: Google::Apis::AndroidpublisherV3::Subscription::Representation
2315
+ collection :one_time_products, as: 'oneTimeProducts', class: Google::Apis::AndroidpublisherV3::OneTimeProduct, decorator: Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation
1919
2316
 
1920
2317
  end
1921
2318
  end
@@ -2007,6 +2404,17 @@ module Google
2007
2404
  end
2008
2405
  end
2009
2406
 
2407
+ class CancelOneTimeProductOfferRequest
2408
+ # @private
2409
+ class Representation < Google::Apis::Core::JsonRepresentation
2410
+ property :latency_tolerance, as: 'latencyTolerance'
2411
+ property :offer_id, as: 'offerId'
2412
+ property :package_name, as: 'packageName'
2413
+ property :product_id, as: 'productId'
2414
+ property :purchase_option_id, as: 'purchaseOptionId'
2415
+ end
2416
+ end
2417
+
2010
2418
  class CancelSurveyResult
2011
2419
  # @private
2012
2420
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2115,6 +2523,27 @@ module Google
2115
2523
  end
2116
2524
  end
2117
2525
 
2526
+ class DeactivateOneTimeProductOfferRequest
2527
+ # @private
2528
+ class Representation < Google::Apis::Core::JsonRepresentation
2529
+ property :latency_tolerance, as: 'latencyTolerance'
2530
+ property :offer_id, as: 'offerId'
2531
+ property :package_name, as: 'packageName'
2532
+ property :product_id, as: 'productId'
2533
+ property :purchase_option_id, as: 'purchaseOptionId'
2534
+ end
2535
+ end
2536
+
2537
+ class DeactivatePurchaseOptionRequest
2538
+ # @private
2539
+ class Representation < Google::Apis::Core::JsonRepresentation
2540
+ property :latency_tolerance, as: 'latencyTolerance'
2541
+ property :package_name, as: 'packageName'
2542
+ property :product_id, as: 'productId'
2543
+ property :purchase_option_id, as: 'purchaseOptionId'
2544
+ end
2545
+ end
2546
+
2118
2547
  class DeactivateSubscriptionOfferRequest
2119
2548
  # @private
2120
2549
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2133,6 +2562,37 @@ module Google
2133
2562
  end
2134
2563
  end
2135
2564
 
2565
+ class DeleteOneTimeProductOfferRequest
2566
+ # @private
2567
+ class Representation < Google::Apis::Core::JsonRepresentation
2568
+ property :latency_tolerance, as: 'latencyTolerance'
2569
+ property :offer_id, as: 'offerId'
2570
+ property :package_name, as: 'packageName'
2571
+ property :product_id, as: 'productId'
2572
+ property :purchase_option_id, as: 'purchaseOptionId'
2573
+ end
2574
+ end
2575
+
2576
+ class DeleteOneTimeProductRequest
2577
+ # @private
2578
+ class Representation < Google::Apis::Core::JsonRepresentation
2579
+ property :latency_tolerance, as: 'latencyTolerance'
2580
+ property :package_name, as: 'packageName'
2581
+ property :product_id, as: 'productId'
2582
+ end
2583
+ end
2584
+
2585
+ class DeletePurchaseOptionRequest
2586
+ # @private
2587
+ class Representation < Google::Apis::Core::JsonRepresentation
2588
+ property :force, as: 'force'
2589
+ property :latency_tolerance, as: 'latencyTolerance'
2590
+ property :package_name, as: 'packageName'
2591
+ property :product_id, as: 'productId'
2592
+ property :purchase_option_id, as: 'purchaseOptionId'
2593
+ end
2594
+ end
2595
+
2136
2596
  class DeobfuscationFile
2137
2597
  # @private
2138
2598
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2463,6 +2923,16 @@ module Google
2463
2923
  end
2464
2924
  end
2465
2925
 
2926
+ class GetOneTimeProductOfferRequest
2927
+ # @private
2928
+ class Representation < Google::Apis::Core::JsonRepresentation
2929
+ property :offer_id, as: 'offerId'
2930
+ property :package_name, as: 'packageName'
2931
+ property :product_id, as: 'productId'
2932
+ property :purchase_option_id, as: 'purchaseOptionId'
2933
+ end
2934
+ end
2935
+
2466
2936
  class GetSubscriptionOfferRequest
2467
2937
  # @private
2468
2938
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2704,6 +3174,24 @@ module Google
2704
3174
  end
2705
3175
  end
2706
3176
 
3177
+ class ListOneTimeProductOffersResponse
3178
+ # @private
3179
+ class Representation < Google::Apis::Core::JsonRepresentation
3180
+ property :next_page_token, as: 'nextPageToken'
3181
+ collection :one_time_product_offers, as: 'oneTimeProductOffers', class: Google::Apis::AndroidpublisherV3::OneTimeProductOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation
3182
+
3183
+ end
3184
+ end
3185
+
3186
+ class ListOneTimeProductsResponse
3187
+ # @private
3188
+ class Representation < Google::Apis::Core::JsonRepresentation
3189
+ property :next_page_token, as: 'nextPageToken'
3190
+ collection :one_time_products, as: 'oneTimeProducts', class: Google::Apis::AndroidpublisherV3::OneTimeProduct, decorator: Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation
3191
+
3192
+ end
3193
+ end
3194
+
2707
3195
  class ListSubscriptionOffersResponse
2708
3196
  # @private
2709
3197
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2869,6 +3357,160 @@ module Google
2869
3357
  end
2870
3358
  end
2871
3359
 
3360
+ class OneTimeProduct
3361
+ # @private
3362
+ class Representation < Google::Apis::Core::JsonRepresentation
3363
+ collection :listings, as: 'listings', class: Google::Apis::AndroidpublisherV3::OneTimeProductListing, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductListing::Representation
3364
+
3365
+ collection :offer_tags, as: 'offerTags', class: Google::Apis::AndroidpublisherV3::OfferTag, decorator: Google::Apis::AndroidpublisherV3::OfferTag::Representation
3366
+
3367
+ property :package_name, as: 'packageName'
3368
+ property :product_id, as: 'productId'
3369
+ collection :purchase_options, as: 'purchaseOptions', class: Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOption, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOption::Representation
3370
+
3371
+ property :regions_version, as: 'regionsVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation
3372
+
3373
+ property :restricted_payment_countries, as: 'restrictedPaymentCountries', class: Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries, decorator: Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries::Representation
3374
+
3375
+ property :tax_and_compliance_settings, as: 'taxAndComplianceSettings', class: Google::Apis::AndroidpublisherV3::OneTimeProductTaxAndComplianceSettings, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductTaxAndComplianceSettings::Representation
3376
+
3377
+ end
3378
+ end
3379
+
3380
+ class OneTimeProductBuyPurchaseOption
3381
+ # @private
3382
+ class Representation < Google::Apis::Core::JsonRepresentation
3383
+ property :legacy_compatible, as: 'legacyCompatible'
3384
+ property :multi_quantity_enabled, as: 'multiQuantityEnabled'
3385
+ end
3386
+ end
3387
+
3388
+ class OneTimeProductDiscountedOffer
3389
+ # @private
3390
+ class Representation < Google::Apis::Core::JsonRepresentation
3391
+ property :end_time, as: 'endTime'
3392
+ property :redemption_limit, :numeric_string => true, as: 'redemptionLimit'
3393
+ property :start_time, as: 'startTime'
3394
+ end
3395
+ end
3396
+
3397
+ class OneTimeProductListing
3398
+ # @private
3399
+ class Representation < Google::Apis::Core::JsonRepresentation
3400
+ property :description, as: 'description'
3401
+ property :language_code, as: 'languageCode'
3402
+ property :title, as: 'title'
3403
+ end
3404
+ end
3405
+
3406
+ class OneTimeProductOffer
3407
+ # @private
3408
+ class Representation < Google::Apis::Core::JsonRepresentation
3409
+ property :discounted_offer, as: 'discountedOffer', class: Google::Apis::AndroidpublisherV3::OneTimeProductDiscountedOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductDiscountedOffer::Representation
3410
+
3411
+ property :offer_id, as: 'offerId'
3412
+ collection :offer_tags, as: 'offerTags', class: Google::Apis::AndroidpublisherV3::OfferTag, decorator: Google::Apis::AndroidpublisherV3::OfferTag::Representation
3413
+
3414
+ property :package_name, as: 'packageName'
3415
+ property :pre_order_offer, as: 'preOrderOffer', class: Google::Apis::AndroidpublisherV3::OneTimeProductPreOrderOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductPreOrderOffer::Representation
3416
+
3417
+ property :product_id, as: 'productId'
3418
+ property :purchase_option_id, as: 'purchaseOptionId'
3419
+ collection :regional_pricing_and_availability_configs, as: 'regionalPricingAndAvailabilityConfigs', class: Google::Apis::AndroidpublisherV3::OneTimeProductOfferRegionalPricingAndAvailabilityConfig, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOfferRegionalPricingAndAvailabilityConfig::Representation
3420
+
3421
+ property :regions_version, as: 'regionsVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation
3422
+
3423
+ property :state, as: 'state'
3424
+ end
3425
+ end
3426
+
3427
+ class OneTimeProductOfferNoPriceOverrideOptions
3428
+ # @private
3429
+ class Representation < Google::Apis::Core::JsonRepresentation
3430
+ end
3431
+ end
3432
+
3433
+ class OneTimeProductOfferRegionalPricingAndAvailabilityConfig
3434
+ # @private
3435
+ class Representation < Google::Apis::Core::JsonRepresentation
3436
+ property :absolute_discount, as: 'absoluteDiscount', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
3437
+
3438
+ property :availability, as: 'availability'
3439
+ property :no_override, as: 'noOverride', class: Google::Apis::AndroidpublisherV3::OneTimeProductOfferNoPriceOverrideOptions, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOfferNoPriceOverrideOptions::Representation
3440
+
3441
+ property :region_code, as: 'regionCode'
3442
+ property :relative_discount, as: 'relativeDiscount'
3443
+ end
3444
+ end
3445
+
3446
+ class OneTimeProductPreOrderOffer
3447
+ # @private
3448
+ class Representation < Google::Apis::Core::JsonRepresentation
3449
+ property :end_time, as: 'endTime'
3450
+ property :price_change_behavior, as: 'priceChangeBehavior'
3451
+ property :release_time, as: 'releaseTime'
3452
+ property :start_time, as: 'startTime'
3453
+ end
3454
+ end
3455
+
3456
+ class OneTimeProductPurchaseOption
3457
+ # @private
3458
+ class Representation < Google::Apis::Core::JsonRepresentation
3459
+ property :buy_option, as: 'buyOption', class: Google::Apis::AndroidpublisherV3::OneTimeProductBuyPurchaseOption, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductBuyPurchaseOption::Representation
3460
+
3461
+ property :new_regions_config, as: 'newRegionsConfig', class: Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOptionNewRegionsConfig, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOptionNewRegionsConfig::Representation
3462
+
3463
+ collection :offer_tags, as: 'offerTags', class: Google::Apis::AndroidpublisherV3::OfferTag, decorator: Google::Apis::AndroidpublisherV3::OfferTag::Representation
3464
+
3465
+ property :purchase_option_id, as: 'purchaseOptionId'
3466
+ collection :regional_pricing_and_availability_configs, as: 'regionalPricingAndAvailabilityConfigs', class: Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig::Representation
3467
+
3468
+ property :rent_option, as: 'rentOption', class: Google::Apis::AndroidpublisherV3::OneTimeProductRentPurchaseOption, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductRentPurchaseOption::Representation
3469
+
3470
+ property :state, as: 'state'
3471
+ property :tax_and_compliance_settings, as: 'taxAndComplianceSettings', class: Google::Apis::AndroidpublisherV3::PurchaseOptionTaxAndComplianceSettings, decorator: Google::Apis::AndroidpublisherV3::PurchaseOptionTaxAndComplianceSettings::Representation
3472
+
3473
+ end
3474
+ end
3475
+
3476
+ class OneTimeProductPurchaseOptionNewRegionsConfig
3477
+ # @private
3478
+ class Representation < Google::Apis::Core::JsonRepresentation
3479
+ property :availability, as: 'availability'
3480
+ property :eur_price, as: 'eurPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
3481
+
3482
+ property :usd_price, as: 'usdPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
3483
+
3484
+ end
3485
+ end
3486
+
3487
+ class OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig
3488
+ # @private
3489
+ class Representation < Google::Apis::Core::JsonRepresentation
3490
+ property :availability, as: 'availability'
3491
+ property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
3492
+
3493
+ property :region_code, as: 'regionCode'
3494
+ end
3495
+ end
3496
+
3497
+ class OneTimeProductRentPurchaseOption
3498
+ # @private
3499
+ class Representation < Google::Apis::Core::JsonRepresentation
3500
+ property :expiration_period, as: 'expirationPeriod'
3501
+ property :rental_period, as: 'rentalPeriod'
3502
+ end
3503
+ end
3504
+
3505
+ class OneTimeProductTaxAndComplianceSettings
3506
+ # @private
3507
+ class Representation < Google::Apis::Core::JsonRepresentation
3508
+ property :is_tokenized_digital_asset, as: 'isTokenizedDigitalAsset'
3509
+ collection :regional_tax_configs, as: 'regionalTaxConfigs', class: Google::Apis::AndroidpublisherV3::RegionalTaxConfig, decorator: Google::Apis::AndroidpublisherV3::RegionalTaxConfig::Representation
3510
+
3511
+ end
3512
+ end
3513
+
2872
3514
  class OneTimePurchaseDetails
2873
3515
  # @private
2874
3516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3141,6 +3783,13 @@ module Google
3141
3783
  end
3142
3784
  end
3143
3785
 
3786
+ class PurchaseOptionTaxAndComplianceSettings
3787
+ # @private
3788
+ class Representation < Google::Apis::Core::JsonRepresentation
3789
+ property :withdrawal_right_type, as: 'withdrawalRightType'
3790
+ end
3791
+ end
3792
+
3144
3793
  class PurchaseStateContext
3145
3794
  # @private
3146
3795
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3239,6 +3888,16 @@ module Google
3239
3888
  end
3240
3889
  end
3241
3890
 
3891
+ class RegionalTaxConfig
3892
+ # @private
3893
+ class Representation < Google::Apis::Core::JsonRepresentation
3894
+ property :eligible_for_streaming_service_tax_rate, as: 'eligibleForStreamingServiceTaxRate'
3895
+ property :region_code, as: 'regionCode'
3896
+ property :streaming_tax_type, as: 'streamingTaxType'
3897
+ property :tax_tier, as: 'taxTier'
3898
+ end
3899
+ end
3900
+
3242
3901
  class RegionalTaxRateInfo
3243
3902
  # @private
3244
3903
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3950,6 +4609,54 @@ module Google
3950
4609
  end
3951
4610
  end
3952
4611
 
4612
+ class UpdateOneTimeProductOfferRequest
4613
+ # @private
4614
+ class Representation < Google::Apis::Core::JsonRepresentation
4615
+ property :allow_missing, as: 'allowMissing'
4616
+ property :latency_tolerance, as: 'latencyTolerance'
4617
+ property :one_time_product_offer, as: 'oneTimeProductOffer', class: Google::Apis::AndroidpublisherV3::OneTimeProductOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductOffer::Representation
4618
+
4619
+ property :regions_version, as: 'regionsVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation
4620
+
4621
+ property :update_mask, as: 'updateMask'
4622
+ end
4623
+ end
4624
+
4625
+ class UpdateOneTimeProductOfferStateRequest
4626
+ # @private
4627
+ class Representation < Google::Apis::Core::JsonRepresentation
4628
+ property :activate_one_time_product_offer_request, as: 'activateOneTimeProductOfferRequest', class: Google::Apis::AndroidpublisherV3::ActivateOneTimeProductOfferRequest, decorator: Google::Apis::AndroidpublisherV3::ActivateOneTimeProductOfferRequest::Representation
4629
+
4630
+ property :cancel_one_time_product_offer_request, as: 'cancelOneTimeProductOfferRequest', class: Google::Apis::AndroidpublisherV3::CancelOneTimeProductOfferRequest, decorator: Google::Apis::AndroidpublisherV3::CancelOneTimeProductOfferRequest::Representation
4631
+
4632
+ property :deactivate_one_time_product_offer_request, as: 'deactivateOneTimeProductOfferRequest', class: Google::Apis::AndroidpublisherV3::DeactivateOneTimeProductOfferRequest, decorator: Google::Apis::AndroidpublisherV3::DeactivateOneTimeProductOfferRequest::Representation
4633
+
4634
+ end
4635
+ end
4636
+
4637
+ class UpdateOneTimeProductRequest
4638
+ # @private
4639
+ class Representation < Google::Apis::Core::JsonRepresentation
4640
+ property :allow_missing, as: 'allowMissing'
4641
+ property :latency_tolerance, as: 'latencyTolerance'
4642
+ property :one_time_product, as: 'oneTimeProduct', class: Google::Apis::AndroidpublisherV3::OneTimeProduct, decorator: Google::Apis::AndroidpublisherV3::OneTimeProduct::Representation
4643
+
4644
+ property :regions_version, as: 'regionsVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation
4645
+
4646
+ property :update_mask, as: 'updateMask'
4647
+ end
4648
+ end
4649
+
4650
+ class UpdatePurchaseOptionStateRequest
4651
+ # @private
4652
+ class Representation < Google::Apis::Core::JsonRepresentation
4653
+ property :activate_purchase_option_request, as: 'activatePurchaseOptionRequest', class: Google::Apis::AndroidpublisherV3::ActivatePurchaseOptionRequest, decorator: Google::Apis::AndroidpublisherV3::ActivatePurchaseOptionRequest::Representation
4654
+
4655
+ property :deactivate_purchase_option_request, as: 'deactivatePurchaseOptionRequest', class: Google::Apis::AndroidpublisherV3::DeactivatePurchaseOptionRequest, decorator: Google::Apis::AndroidpublisherV3::DeactivatePurchaseOptionRequest::Representation
4656
+
4657
+ end
4658
+ end
4659
+
3953
4660
  class UpdateSubscriptionOfferRequest
3954
4661
  # @private
3955
4662
  class Representation < Google::Apis::Core::JsonRepresentation