google-apis-androidpublisher_v3 0.1.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.1.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201125"
25
+ REVISION = "20211125"
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
 
@@ -136,6 +160,48 @@ module Google
136
160
  include Google::Apis::Core::JsonObjectSupport
137
161
  end
138
162
 
163
+ class GeneratedApksListResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GeneratedApksPerSigningKey
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GeneratedAssetPackSlice
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GeneratedSplitApk
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GeneratedStandaloneApk
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GeneratedUniversalApk
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Grant
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
139
205
  class Image
140
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
207
 
@@ -190,6 +256,12 @@ module Google
190
256
  include Google::Apis::Core::JsonObjectSupport
191
257
  end
192
258
 
259
+ class ListUsersResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
193
265
  class Listing
194
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
267
 
@@ -208,6 +280,18 @@ module Google
208
280
  include Google::Apis::Core::JsonObjectSupport
209
281
  end
210
282
 
283
+ class ManagedProductTaxAndComplianceSettings
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class Money
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
211
295
  class PageInfo
212
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
297
 
@@ -232,6 +316,12 @@ module Google
232
316
  include Google::Apis::Core::JsonObjectSupport
233
317
  end
234
318
 
319
+ class RegionalTaxRateInfo
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
235
325
  class Review
236
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
327
 
@@ -304,6 +394,12 @@ module Google
304
394
  include Google::Apis::Core::JsonObjectSupport
305
395
  end
306
396
 
397
+ class SubscriptionTaxAndComplianceSettings
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
307
403
  class SystemApksListResponse
308
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
405
 
@@ -334,18 +430,36 @@ module Google
334
430
  include Google::Apis::Core::JsonObjectSupport
335
431
  end
336
432
 
433
+ class TrackCountryAvailability
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
337
439
  class TrackRelease
338
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
441
 
340
442
  include Google::Apis::Core::JsonObjectSupport
341
443
  end
342
444
 
445
+ class TrackTargetedCountry
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
343
451
  class TracksListResponse
344
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
453
 
346
454
  include Google::Apis::Core::JsonObjectSupport
347
455
  end
348
456
 
457
+ class User
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
349
463
  class UserComment
350
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
465
 
@@ -464,6 +578,45 @@ module Google
464
578
  end
465
579
  end
466
580
 
581
+ class ConvertRegionPricesRequest
582
+ # @private
583
+ class Representation < Google::Apis::Core::JsonRepresentation
584
+ property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
585
+
586
+ end
587
+ end
588
+
589
+ class ConvertRegionPricesResponse
590
+ # @private
591
+ class Representation < Google::Apis::Core::JsonRepresentation
592
+ property :converted_other_regions_price, as: 'convertedOtherRegionsPrice', class: Google::Apis::AndroidpublisherV3::ConvertedOtherRegionsPrice, decorator: Google::Apis::AndroidpublisherV3::ConvertedOtherRegionsPrice::Representation
593
+
594
+ hash :converted_region_prices, as: 'convertedRegionPrices', class: Google::Apis::AndroidpublisherV3::ConvertedRegionPrice, decorator: Google::Apis::AndroidpublisherV3::ConvertedRegionPrice::Representation
595
+
596
+ end
597
+ end
598
+
599
+ class ConvertedOtherRegionsPrice
600
+ # @private
601
+ class Representation < Google::Apis::Core::JsonRepresentation
602
+ property :eur_price, as: 'eurPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
603
+
604
+ property :usd_price, as: 'usdPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
605
+
606
+ end
607
+ end
608
+
609
+ class ConvertedRegionPrice
610
+ # @private
611
+ class Representation < Google::Apis::Core::JsonRepresentation
612
+ property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
613
+
614
+ property :region_code, as: 'regionCode'
615
+ property :tax_amount, as: 'taxAmount', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
616
+
617
+ end
618
+ end
619
+
467
620
  class CountryTargeting
468
621
  # @private
469
622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -560,6 +713,73 @@ module Google
560
713
  end
561
714
  end
562
715
 
716
+ class GeneratedApksListResponse
717
+ # @private
718
+ class Representation < Google::Apis::Core::JsonRepresentation
719
+ collection :generated_apks, as: 'generatedApks', class: Google::Apis::AndroidpublisherV3::GeneratedApksPerSigningKey, decorator: Google::Apis::AndroidpublisherV3::GeneratedApksPerSigningKey::Representation
720
+
721
+ end
722
+ end
723
+
724
+ class GeneratedApksPerSigningKey
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :certificate_sha256_hash, as: 'certificateSha256Hash'
728
+ collection :generated_asset_pack_slices, as: 'generatedAssetPackSlices', class: Google::Apis::AndroidpublisherV3::GeneratedAssetPackSlice, decorator: Google::Apis::AndroidpublisherV3::GeneratedAssetPackSlice::Representation
729
+
730
+ collection :generated_split_apks, as: 'generatedSplitApks', class: Google::Apis::AndroidpublisherV3::GeneratedSplitApk, decorator: Google::Apis::AndroidpublisherV3::GeneratedSplitApk::Representation
731
+
732
+ collection :generated_standalone_apks, as: 'generatedStandaloneApks', class: Google::Apis::AndroidpublisherV3::GeneratedStandaloneApk, decorator: Google::Apis::AndroidpublisherV3::GeneratedStandaloneApk::Representation
733
+
734
+ property :generated_universal_apk, as: 'generatedUniversalApk', class: Google::Apis::AndroidpublisherV3::GeneratedUniversalApk, decorator: Google::Apis::AndroidpublisherV3::GeneratedUniversalApk::Representation
735
+
736
+ end
737
+ end
738
+
739
+ class GeneratedAssetPackSlice
740
+ # @private
741
+ class Representation < Google::Apis::Core::JsonRepresentation
742
+ property :download_id, as: 'downloadId'
743
+ property :module_name, as: 'moduleName'
744
+ property :slice_id, as: 'sliceId'
745
+ property :version, :numeric_string => true, as: 'version'
746
+ end
747
+ end
748
+
749
+ class GeneratedSplitApk
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :download_id, as: 'downloadId'
753
+ property :module_name, as: 'moduleName'
754
+ property :split_id, as: 'splitId'
755
+ property :variant_id, as: 'variantId'
756
+ end
757
+ end
758
+
759
+ class GeneratedStandaloneApk
760
+ # @private
761
+ class Representation < Google::Apis::Core::JsonRepresentation
762
+ property :download_id, as: 'downloadId'
763
+ property :variant_id, as: 'variantId'
764
+ end
765
+ end
766
+
767
+ class GeneratedUniversalApk
768
+ # @private
769
+ class Representation < Google::Apis::Core::JsonRepresentation
770
+ property :download_id, as: 'downloadId'
771
+ end
772
+ end
773
+
774
+ class Grant
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ collection :app_level_permissions, as: 'appLevelPermissions'
778
+ property :name, as: 'name'
779
+ property :package_name, as: 'packageName'
780
+ end
781
+ end
782
+
563
783
  class Image
564
784
  # @private
565
785
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -603,6 +823,8 @@ module Google
603
823
  property :grace_period, as: 'gracePeriod'
604
824
  hash :listings, as: 'listings', class: Google::Apis::AndroidpublisherV3::InAppProductListing, decorator: Google::Apis::AndroidpublisherV3::InAppProductListing::Representation
605
825
 
826
+ property :managed_product_taxes_and_compliance_settings, as: 'managedProductTaxesAndComplianceSettings', class: Google::Apis::AndroidpublisherV3::ManagedProductTaxAndComplianceSettings, decorator: Google::Apis::AndroidpublisherV3::ManagedProductTaxAndComplianceSettings::Representation
827
+
606
828
  property :package_name, as: 'packageName'
607
829
  hash :prices, as: 'prices', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation
608
830
 
@@ -610,6 +832,8 @@ module Google
610
832
  property :sku, as: 'sku'
611
833
  property :status, as: 'status'
612
834
  property :subscription_period, as: 'subscriptionPeriod'
835
+ property :subscription_taxes_and_compliance_settings, as: 'subscriptionTaxesAndComplianceSettings', class: Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings, decorator: Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings::Representation
836
+
613
837
  property :trial_period, as: 'trialPeriod'
614
838
  end
615
839
  end
@@ -655,6 +879,15 @@ module Google
655
879
  end
656
880
  end
657
881
 
882
+ class ListUsersResponse
883
+ # @private
884
+ class Representation < Google::Apis::Core::JsonRepresentation
885
+ property :next_page_token, as: 'nextPageToken'
886
+ collection :users, as: 'users', class: Google::Apis::AndroidpublisherV3::User, decorator: Google::Apis::AndroidpublisherV3::User::Representation
887
+
888
+ end
889
+ end
890
+
658
891
  class Listing
659
892
  # @private
660
893
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -683,6 +916,24 @@ module Google
683
916
  end
684
917
  end
685
918
 
919
+ class ManagedProductTaxAndComplianceSettings
920
+ # @private
921
+ class Representation < Google::Apis::Core::JsonRepresentation
922
+ property :eea_withdrawal_right_type, as: 'eeaWithdrawalRightType'
923
+ hash :tax_rate_info_by_region_code, as: 'taxRateInfoByRegionCode', class: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo, decorator: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo::Representation
924
+
925
+ end
926
+ end
927
+
928
+ class Money
929
+ # @private
930
+ class Representation < Google::Apis::Core::JsonRepresentation
931
+ property :currency_code, as: 'currencyCode'
932
+ property :nanos, as: 'nanos'
933
+ property :units, :numeric_string => true, as: 'units'
934
+ end
935
+ end
936
+
686
937
  class PageInfo
687
938
  # @private
688
939
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -727,6 +978,14 @@ module Google
727
978
  end
728
979
  end
729
980
 
981
+ class RegionalTaxRateInfo
982
+ # @private
983
+ class Representation < Google::Apis::Core::JsonRepresentation
984
+ property :eligible_for_streaming_service_tax_rate, as: 'eligibleForStreamingServiceTaxRate'
985
+ property :tax_tier, as: 'taxTier'
986
+ end
987
+ end
988
+
730
989
  class Review
731
990
  # @private
732
991
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -858,6 +1117,15 @@ module Google
858
1117
  end
859
1118
  end
860
1119
 
1120
+ class SubscriptionTaxAndComplianceSettings
1121
+ # @private
1122
+ class Representation < Google::Apis::Core::JsonRepresentation
1123
+ property :eea_withdrawal_right_type, as: 'eeaWithdrawalRightType'
1124
+ hash :tax_rate_info_by_region_code, as: 'taxRateInfoByRegionCode', class: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo, decorator: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo::Representation
1125
+
1126
+ end
1127
+ end
1128
+
861
1129
  class SystemApksListResponse
862
1130
  # @private
863
1131
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -898,6 +1166,16 @@ module Google
898
1166
  end
899
1167
  end
900
1168
 
1169
+ class TrackCountryAvailability
1170
+ # @private
1171
+ class Representation < Google::Apis::Core::JsonRepresentation
1172
+ collection :countries, as: 'countries', class: Google::Apis::AndroidpublisherV3::TrackTargetedCountry, decorator: Google::Apis::AndroidpublisherV3::TrackTargetedCountry::Representation
1173
+
1174
+ property :rest_of_world, as: 'restOfWorld'
1175
+ property :sync_with_production, as: 'syncWithProduction'
1176
+ end
1177
+ end
1178
+
901
1179
  class TrackRelease
902
1180
  # @private
903
1181
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -913,6 +1191,13 @@ module Google
913
1191
  end
914
1192
  end
915
1193
 
1194
+ class TrackTargetedCountry
1195
+ # @private
1196
+ class Representation < Google::Apis::Core::JsonRepresentation
1197
+ property :country_code, as: 'countryCode'
1198
+ end
1199
+ end
1200
+
916
1201
  class TracksListResponse
917
1202
  # @private
918
1203
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -922,6 +1207,20 @@ module Google
922
1207
  end
923
1208
  end
924
1209
 
1210
+ class User
1211
+ # @private
1212
+ class Representation < Google::Apis::Core::JsonRepresentation
1213
+ property :access_state, as: 'accessState'
1214
+ collection :developer_account_permissions, as: 'developerAccountPermissions'
1215
+ property :email, as: 'email'
1216
+ property :expiration_time, as: 'expirationTime'
1217
+ collection :grants, as: 'grants', class: Google::Apis::AndroidpublisherV3::Grant, decorator: Google::Apis::AndroidpublisherV3::Grant::Representation
1218
+
1219
+ property :name, as: 'name'
1220
+ property :partial, as: 'partial'
1221
+ end
1222
+ end
1223
+
925
1224
  class UserComment
926
1225
  # @private
927
1226
  class Representation < Google::Apis::Core::JsonRepresentation