google-apis-androidpublisher_v3 0.11.0 → 0.15.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.
@@ -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
@@ -648,6 +748,226 @@ module Google
648
748
  end
649
749
  end
650
750
 
751
+ # Response to list generated APKs.
752
+ class GeneratedApksListResponse
753
+ include Google::Apis::Core::Hashable
754
+
755
+ # All generated APKs, grouped by the APK signing key.
756
+ # Corresponds to the JSON property `generatedApks`
757
+ # @return [Array<Google::Apis::AndroidpublisherV3::GeneratedApksPerSigningKey>]
758
+ attr_accessor :generated_apks
759
+
760
+ def initialize(**args)
761
+ update!(**args)
762
+ end
763
+
764
+ # Update properties of this object
765
+ def update!(**args)
766
+ @generated_apks = args[:generated_apks] if args.key?(:generated_apks)
767
+ end
768
+ end
769
+
770
+ # Download metadata for split, standalone and universal APKs, as well as asset
771
+ # pack slices, signed with a given key.
772
+ class GeneratedApksPerSigningKey
773
+ include Google::Apis::Core::Hashable
774
+
775
+ # SHA256 hash of the APK signing public key certificate.
776
+ # Corresponds to the JSON property `certificateSha256Hash`
777
+ # @return [String]
778
+ attr_accessor :certificate_sha256_hash
779
+
780
+ # List of asset pack slices which will be served for this app bundle, signed
781
+ # with a key corresponding to certificate_sha256_hash.
782
+ # Corresponds to the JSON property `generatedAssetPackSlices`
783
+ # @return [Array<Google::Apis::AndroidpublisherV3::GeneratedAssetPackSlice>]
784
+ attr_accessor :generated_asset_pack_slices
785
+
786
+ # List of generated split APKs, signed with a key corresponding to
787
+ # certificate_sha256_hash.
788
+ # Corresponds to the JSON property `generatedSplitApks`
789
+ # @return [Array<Google::Apis::AndroidpublisherV3::GeneratedSplitApk>]
790
+ attr_accessor :generated_split_apks
791
+
792
+ # List of generated standalone APKs, signed with a key corresponding to
793
+ # certificate_sha256_hash.
794
+ # Corresponds to the JSON property `generatedStandaloneApks`
795
+ # @return [Array<Google::Apis::AndroidpublisherV3::GeneratedStandaloneApk>]
796
+ attr_accessor :generated_standalone_apks
797
+
798
+ # Download metadata for a universal APK.
799
+ # Corresponds to the JSON property `generatedUniversalApk`
800
+ # @return [Google::Apis::AndroidpublisherV3::GeneratedUniversalApk]
801
+ attr_accessor :generated_universal_apk
802
+
803
+ def initialize(**args)
804
+ update!(**args)
805
+ end
806
+
807
+ # Update properties of this object
808
+ def update!(**args)
809
+ @certificate_sha256_hash = args[:certificate_sha256_hash] if args.key?(:certificate_sha256_hash)
810
+ @generated_asset_pack_slices = args[:generated_asset_pack_slices] if args.key?(:generated_asset_pack_slices)
811
+ @generated_split_apks = args[:generated_split_apks] if args.key?(:generated_split_apks)
812
+ @generated_standalone_apks = args[:generated_standalone_apks] if args.key?(:generated_standalone_apks)
813
+ @generated_universal_apk = args[:generated_universal_apk] if args.key?(:generated_universal_apk)
814
+ end
815
+ end
816
+
817
+ # Download metadata for an asset pack slice.
818
+ class GeneratedAssetPackSlice
819
+ include Google::Apis::Core::Hashable
820
+
821
+ # Download ID, which uniquely identifies the APK to download. Should be supplied
822
+ # to `generatedapks.download` method.
823
+ # Corresponds to the JSON property `downloadId`
824
+ # @return [String]
825
+ attr_accessor :download_id
826
+
827
+ # Name of the module that this asset slice belongs to.
828
+ # Corresponds to the JSON property `moduleName`
829
+ # @return [String]
830
+ attr_accessor :module_name
831
+
832
+ # Asset slice ID.
833
+ # Corresponds to the JSON property `sliceId`
834
+ # @return [String]
835
+ attr_accessor :slice_id
836
+
837
+ # Asset module version.
838
+ # Corresponds to the JSON property `version`
839
+ # @return [Fixnum]
840
+ attr_accessor :version
841
+
842
+ def initialize(**args)
843
+ update!(**args)
844
+ end
845
+
846
+ # Update properties of this object
847
+ def update!(**args)
848
+ @download_id = args[:download_id] if args.key?(:download_id)
849
+ @module_name = args[:module_name] if args.key?(:module_name)
850
+ @slice_id = args[:slice_id] if args.key?(:slice_id)
851
+ @version = args[:version] if args.key?(:version)
852
+ end
853
+ end
854
+
855
+ # Download metadata for a split APK.
856
+ class GeneratedSplitApk
857
+ include Google::Apis::Core::Hashable
858
+
859
+ # Download ID, which uniquely identifies the APK to download. Should be supplied
860
+ # to `generatedapks.download` method.
861
+ # Corresponds to the JSON property `downloadId`
862
+ # @return [String]
863
+ attr_accessor :download_id
864
+
865
+ # Name of the module that this APK belongs to.
866
+ # Corresponds to the JSON property `moduleName`
867
+ # @return [String]
868
+ attr_accessor :module_name
869
+
870
+ # Split ID. Empty for the main split of the base module.
871
+ # Corresponds to the JSON property `splitId`
872
+ # @return [String]
873
+ attr_accessor :split_id
874
+
875
+ # ID of the generated variant.
876
+ # Corresponds to the JSON property `variantId`
877
+ # @return [Fixnum]
878
+ attr_accessor :variant_id
879
+
880
+ def initialize(**args)
881
+ update!(**args)
882
+ end
883
+
884
+ # Update properties of this object
885
+ def update!(**args)
886
+ @download_id = args[:download_id] if args.key?(:download_id)
887
+ @module_name = args[:module_name] if args.key?(:module_name)
888
+ @split_id = args[:split_id] if args.key?(:split_id)
889
+ @variant_id = args[:variant_id] if args.key?(:variant_id)
890
+ end
891
+ end
892
+
893
+ # Download metadata for a standalone APK.
894
+ class GeneratedStandaloneApk
895
+ include Google::Apis::Core::Hashable
896
+
897
+ # Download ID, which uniquely identifies the APK to download. Should be supplied
898
+ # to `generatedapks.download` method.
899
+ # Corresponds to the JSON property `downloadId`
900
+ # @return [String]
901
+ attr_accessor :download_id
902
+
903
+ # ID of the generated variant.
904
+ # Corresponds to the JSON property `variantId`
905
+ # @return [Fixnum]
906
+ attr_accessor :variant_id
907
+
908
+ def initialize(**args)
909
+ update!(**args)
910
+ end
911
+
912
+ # Update properties of this object
913
+ def update!(**args)
914
+ @download_id = args[:download_id] if args.key?(:download_id)
915
+ @variant_id = args[:variant_id] if args.key?(:variant_id)
916
+ end
917
+ end
918
+
919
+ # Download metadata for a universal APK.
920
+ class GeneratedUniversalApk
921
+ include Google::Apis::Core::Hashable
922
+
923
+ # Download ID, which uniquely identifies the APK to download. Should be supplied
924
+ # to `generatedapks.download` method.
925
+ # Corresponds to the JSON property `downloadId`
926
+ # @return [String]
927
+ attr_accessor :download_id
928
+
929
+ def initialize(**args)
930
+ update!(**args)
931
+ end
932
+
933
+ # Update properties of this object
934
+ def update!(**args)
935
+ @download_id = args[:download_id] if args.key?(:download_id)
936
+ end
937
+ end
938
+
939
+ # An access grant resource.
940
+ class Grant
941
+ include Google::Apis::Core::Hashable
942
+
943
+ # The permissions granted to the user for this app.
944
+ # Corresponds to the JSON property `appLevelPermissions`
945
+ # @return [Array<String>]
946
+ attr_accessor :app_level_permissions
947
+
948
+ # Required. Resource name for this grant, following the pattern "developers/`
949
+ # developer`/users/`email`/grants/`package_name`".
950
+ # Corresponds to the JSON property `name`
951
+ # @return [String]
952
+ attr_accessor :name
953
+
954
+ # Immutable. The package name of the app.
955
+ # Corresponds to the JSON property `packageName`
956
+ # @return [String]
957
+ attr_accessor :package_name
958
+
959
+ def initialize(**args)
960
+ update!(**args)
961
+ end
962
+
963
+ # Update properties of this object
964
+ def update!(**args)
965
+ @app_level_permissions = args[:app_level_permissions] if args.key?(:app_level_permissions)
966
+ @name = args[:name] if args.key?(:name)
967
+ @package_name = args[:package_name] if args.key?(:package_name)
968
+ end
969
+ end
970
+
651
971
  # An uploaded image. The resource for ImagesService.
652
972
  class Image
653
973
  include Google::Apis::Core::Hashable
@@ -770,6 +1090,11 @@ module Google
770
1090
  # @return [Hash<String,Google::Apis::AndroidpublisherV3::InAppProductListing>]
771
1091
  attr_accessor :listings
772
1092
 
1093
+ # Details about taxation and legal compliance for managed products.
1094
+ # Corresponds to the JSON property `managedProductTaxesAndComplianceSettings`
1095
+ # @return [Google::Apis::AndroidpublisherV3::ManagedProductTaxAndComplianceSettings]
1096
+ attr_accessor :managed_product_taxes_and_compliance_settings
1097
+
773
1098
  # Package name of the parent app.
774
1099
  # Corresponds to the JSON property `packageName`
775
1100
  # @return [String]
@@ -803,6 +1128,12 @@ module Google
803
1128
  # @return [String]
804
1129
  attr_accessor :subscription_period
805
1130
 
1131
+ # Details about taxation, Google Play policy and legal compliance for
1132
+ # subscription products.
1133
+ # Corresponds to the JSON property `subscriptionTaxesAndComplianceSettings`
1134
+ # @return [Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings]
1135
+ attr_accessor :subscription_taxes_and_compliance_settings
1136
+
806
1137
  # Trial period, specified in ISO 8601 format. Acceptable values are anything
807
1138
  # between P7D (seven days) and P999D (999 days).
808
1139
  # Corresponds to the JSON property `trialPeriod`
@@ -819,12 +1150,14 @@ module Google
819
1150
  @default_price = args[:default_price] if args.key?(:default_price)
820
1151
  @grace_period = args[:grace_period] if args.key?(:grace_period)
821
1152
  @listings = args[:listings] if args.key?(:listings)
1153
+ @managed_product_taxes_and_compliance_settings = args[:managed_product_taxes_and_compliance_settings] if args.key?(:managed_product_taxes_and_compliance_settings)
822
1154
  @package_name = args[:package_name] if args.key?(:package_name)
823
1155
  @prices = args[:prices] if args.key?(:prices)
824
1156
  @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
825
1157
  @sku = args[:sku] if args.key?(:sku)
826
1158
  @status = args[:status] if args.key?(:status)
827
1159
  @subscription_period = args[:subscription_period] if args.key?(:subscription_period)
1160
+ @subscription_taxes_and_compliance_settings = args[:subscription_taxes_and_compliance_settings] if args.key?(:subscription_taxes_and_compliance_settings)
828
1161
  @trial_period = args[:trial_period] if args.key?(:trial_period)
829
1162
  end
830
1163
  end
@@ -984,6 +1317,32 @@ module Google
984
1317
  end
985
1318
  end
986
1319
 
1320
+ # A response containing one or more users with access to an account.
1321
+ class ListUsersResponse
1322
+ include Google::Apis::Core::Hashable
1323
+
1324
+ # A token to pass to subsequent calls in order to retrieve subsequent results.
1325
+ # This will not be set if there are no more results to return.
1326
+ # Corresponds to the JSON property `nextPageToken`
1327
+ # @return [String]
1328
+ attr_accessor :next_page_token
1329
+
1330
+ # The resulting users.
1331
+ # Corresponds to the JSON property `users`
1332
+ # @return [Array<Google::Apis::AndroidpublisherV3::User>]
1333
+ attr_accessor :users
1334
+
1335
+ def initialize(**args)
1336
+ update!(**args)
1337
+ end
1338
+
1339
+ # Update properties of this object
1340
+ def update!(**args)
1341
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1342
+ @users = args[:users] if args.key?(:users)
1343
+ end
1344
+ end
1345
+
987
1346
  # A localized store listing. The resource for ListingsService.
988
1347
  class Listing
989
1348
  include Google::Apis::Core::Hashable
@@ -1079,6 +1438,72 @@ module Google
1079
1438
  end
1080
1439
  end
1081
1440
 
1441
+ # Details about taxation and legal compliance for managed products.
1442
+ class ManagedProductTaxAndComplianceSettings
1443
+ include Google::Apis::Core::Hashable
1444
+
1445
+ # Digital content or service classification for products distributed to users in
1446
+ # the European Economic Area (EEA). The withdrawal regime under EEA consumer
1447
+ # laws depends on this classification. Refer to the [Help Center article](https:/
1448
+ # /support.google.com/googleplay/android-developer/answer/10463498) for more
1449
+ # information.
1450
+ # Corresponds to the JSON property `eeaWithdrawalRightType`
1451
+ # @return [String]
1452
+ attr_accessor :eea_withdrawal_right_type
1453
+
1454
+ # A mapping from region code to tax rate details. The keys are region codes as
1455
+ # defined by Unicode's "CLDR".
1456
+ # Corresponds to the JSON property `taxRateInfoByRegionCode`
1457
+ # @return [Hash<String,Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo>]
1458
+ attr_accessor :tax_rate_info_by_region_code
1459
+
1460
+ def initialize(**args)
1461
+ update!(**args)
1462
+ end
1463
+
1464
+ # Update properties of this object
1465
+ def update!(**args)
1466
+ @eea_withdrawal_right_type = args[:eea_withdrawal_right_type] if args.key?(:eea_withdrawal_right_type)
1467
+ @tax_rate_info_by_region_code = args[:tax_rate_info_by_region_code] if args.key?(:tax_rate_info_by_region_code)
1468
+ end
1469
+ end
1470
+
1471
+ # Represents an amount of money with its currency type.
1472
+ class Money
1473
+ include Google::Apis::Core::Hashable
1474
+
1475
+ # The three-letter currency code defined in ISO 4217.
1476
+ # Corresponds to the JSON property `currencyCode`
1477
+ # @return [String]
1478
+ attr_accessor :currency_code
1479
+
1480
+ # Number of nano (10^-9) units of the amount. The value must be between -999,999,
1481
+ # 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
1482
+ # positive or zero. If `units` is zero, `nanos` can be positive, zero, or
1483
+ # negative. If `units` is negative, `nanos` must be negative or zero. For
1484
+ # example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1485
+ # Corresponds to the JSON property `nanos`
1486
+ # @return [Fixnum]
1487
+ attr_accessor :nanos
1488
+
1489
+ # The whole units of the amount. For example if `currencyCode` is `"USD"`, then
1490
+ # 1 unit is one US dollar.
1491
+ # Corresponds to the JSON property `units`
1492
+ # @return [Fixnum]
1493
+ attr_accessor :units
1494
+
1495
+ def initialize(**args)
1496
+ update!(**args)
1497
+ end
1498
+
1499
+ # Update properties of this object
1500
+ def update!(**args)
1501
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
1502
+ @nanos = args[:nanos] if args.key?(:nanos)
1503
+ @units = args[:units] if args.key?(:units)
1504
+ end
1505
+ end
1506
+
1082
1507
  # Information about the current page. List operations that supports paging
1083
1508
  # return only one "page" of results. This protocol buffer message describes the
1084
1509
  # page that has been returned.
@@ -1273,6 +1698,36 @@ module Google
1273
1698
  end
1274
1699
  end
1275
1700
 
1701
+ # Specified details about taxation in a given geographical region.
1702
+ class RegionalTaxRateInfo
1703
+ include Google::Apis::Core::Hashable
1704
+
1705
+ # You must tell us if your app contains streaming products to correctly charge
1706
+ # US state and local sales tax. Field only supported in United States.
1707
+ # Corresponds to the JSON property `eligibleForStreamingServiceTaxRate`
1708
+ # @return [Boolean]
1709
+ attr_accessor :eligible_for_streaming_service_tax_rate
1710
+ alias_method :eligible_for_streaming_service_tax_rate?, :eligible_for_streaming_service_tax_rate
1711
+
1712
+ # Tax tier to specify reduced tax rate. Developers who sell digital news,
1713
+ # magazines, newspapers, books, or audiobooks in various regions may be eligible
1714
+ # for reduced tax rates. [Learn more](https://support.google.com/googleplay/
1715
+ # android-developer/answer/10463498).
1716
+ # Corresponds to the JSON property `taxTier`
1717
+ # @return [String]
1718
+ attr_accessor :tax_tier
1719
+
1720
+ def initialize(**args)
1721
+ update!(**args)
1722
+ end
1723
+
1724
+ # Update properties of this object
1725
+ def update!(**args)
1726
+ @eligible_for_streaming_service_tax_rate = args[:eligible_for_streaming_service_tax_rate] if args.key?(:eligible_for_streaming_service_tax_rate)
1727
+ @tax_tier = args[:tax_tier] if args.key?(:tax_tier)
1728
+ end
1729
+ end
1730
+
1276
1731
  # An Android app review.
1277
1732
  class Review
1278
1733
  include Google::Apis::Core::Hashable
@@ -1802,6 +2257,37 @@ module Google
1802
2257
  end
1803
2258
  end
1804
2259
 
2260
+ # Details about taxation, Google Play policy and legal compliance for
2261
+ # subscription products.
2262
+ class SubscriptionTaxAndComplianceSettings
2263
+ include Google::Apis::Core::Hashable
2264
+
2265
+ # Digital content or service classification for products distributed to users in
2266
+ # the European Economic Area (EEA). The withdrawal regime under EEA consumer
2267
+ # laws depends on this classification. Refer to the [Help Center article](https:/
2268
+ # /support.google.com/googleplay/android-developer/answer/10463498) for more
2269
+ # information.
2270
+ # Corresponds to the JSON property `eeaWithdrawalRightType`
2271
+ # @return [String]
2272
+ attr_accessor :eea_withdrawal_right_type
2273
+
2274
+ # A mapping from region code to tax rate details. The keys are region codes as
2275
+ # defined by Unicode's "CLDR".
2276
+ # Corresponds to the JSON property `taxRateInfoByRegionCode`
2277
+ # @return [Hash<String,Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo>]
2278
+ attr_accessor :tax_rate_info_by_region_code
2279
+
2280
+ def initialize(**args)
2281
+ update!(**args)
2282
+ end
2283
+
2284
+ # Update properties of this object
2285
+ def update!(**args)
2286
+ @eea_withdrawal_right_type = args[:eea_withdrawal_right_type] if args.key?(:eea_withdrawal_right_type)
2287
+ @tax_rate_info_by_region_code = args[:tax_rate_info_by_region_code] if args.key?(:tax_rate_info_by_region_code)
2288
+ end
2289
+ end
2290
+
1805
2291
  # Response to list previously created system APK variants.
1806
2292
  class SystemApksListResponse
1807
2293
  include Google::Apis::Core::Hashable
@@ -1928,6 +2414,45 @@ module Google
1928
2414
  end
1929
2415
  end
1930
2416
 
2417
+ # Resource for per-track country availability information.
2418
+ class TrackCountryAvailability
2419
+ include Google::Apis::Core::Hashable
2420
+
2421
+ # A list of one or more countries where artifacts in this track are available.
2422
+ # This list includes all countries that are targeted by the track, even if only
2423
+ # specific carriers are targeted in that country.
2424
+ # Corresponds to the JSON property `countries`
2425
+ # @return [Array<Google::Apis::AndroidpublisherV3::TrackTargetedCountry>]
2426
+ attr_accessor :countries
2427
+
2428
+ # Whether artifacts in this track are available to "rest of the world" countries.
2429
+ # Corresponds to the JSON property `restOfWorld`
2430
+ # @return [Boolean]
2431
+ attr_accessor :rest_of_world
2432
+ alias_method :rest_of_world?, :rest_of_world
2433
+
2434
+ # Whether this track's availability is synced with the default production track.
2435
+ # See https://support.google.com/googleplay/android-developer/answer/7550024 for
2436
+ # more information on syncing country availability with production. Note that if
2437
+ # this is true, the returned "countries" and "rest_of_world" fields will reflect
2438
+ # the values for the default production track.
2439
+ # Corresponds to the JSON property `syncWithProduction`
2440
+ # @return [Boolean]
2441
+ attr_accessor :sync_with_production
2442
+ alias_method :sync_with_production?, :sync_with_production
2443
+
2444
+ def initialize(**args)
2445
+ update!(**args)
2446
+ end
2447
+
2448
+ # Update properties of this object
2449
+ def update!(**args)
2450
+ @countries = args[:countries] if args.key?(:countries)
2451
+ @rest_of_world = args[:rest_of_world] if args.key?(:rest_of_world)
2452
+ @sync_with_production = args[:sync_with_production] if args.key?(:sync_with_production)
2453
+ end
2454
+ end
2455
+
1931
2456
  # A release within a track.
1932
2457
  class TrackRelease
1933
2458
  include Google::Apis::Core::Hashable
@@ -1991,6 +2516,25 @@ module Google
1991
2516
  end
1992
2517
  end
1993
2518
 
2519
+ # Representation of a single country where the contents of a track are available.
2520
+ class TrackTargetedCountry
2521
+ include Google::Apis::Core::Hashable
2522
+
2523
+ # The country to target, as a two-letter CLDR code.
2524
+ # Corresponds to the JSON property `countryCode`
2525
+ # @return [String]
2526
+ attr_accessor :country_code
2527
+
2528
+ def initialize(**args)
2529
+ update!(**args)
2530
+ end
2531
+
2532
+ # Update properties of this object
2533
+ def update!(**args)
2534
+ @country_code = args[:country_code] if args.key?(:country_code)
2535
+ end
2536
+ end
2537
+
1994
2538
  # Response listing all tracks.
1995
2539
  class TracksListResponse
1996
2540
  include Google::Apis::Core::Hashable
@@ -2016,6 +2560,64 @@ module Google
2016
2560
  end
2017
2561
  end
2018
2562
 
2563
+ # A user resource.
2564
+ class User
2565
+ include Google::Apis::Core::Hashable
2566
+
2567
+ # Output only. The state of the user's access to the Play Console.
2568
+ # Corresponds to the JSON property `accessState`
2569
+ # @return [String]
2570
+ attr_accessor :access_state
2571
+
2572
+ # Permissions for the user which apply across the developer account.
2573
+ # Corresponds to the JSON property `developerAccountPermissions`
2574
+ # @return [Array<String>]
2575
+ attr_accessor :developer_account_permissions
2576
+
2577
+ # Immutable. The user's email address.
2578
+ # Corresponds to the JSON property `email`
2579
+ # @return [String]
2580
+ attr_accessor :email
2581
+
2582
+ # The time at which the user's access expires, if set.
2583
+ # Corresponds to the JSON property `expirationTime`
2584
+ # @return [String]
2585
+ attr_accessor :expiration_time
2586
+
2587
+ # Output only. Per-app permissions for the user.
2588
+ # Corresponds to the JSON property `grants`
2589
+ # @return [Array<Google::Apis::AndroidpublisherV3::Grant>]
2590
+ attr_accessor :grants
2591
+
2592
+ # Required. Resource name for this user, following the pattern "developers/`
2593
+ # developer`/users/`email`".
2594
+ # Corresponds to the JSON property `name`
2595
+ # @return [String]
2596
+ attr_accessor :name
2597
+
2598
+ # Output only. Whether there are more permissions for the user that are not
2599
+ # represented here.
2600
+ # Corresponds to the JSON property `partial`
2601
+ # @return [Boolean]
2602
+ attr_accessor :partial
2603
+ alias_method :partial?, :partial
2604
+
2605
+ def initialize(**args)
2606
+ update!(**args)
2607
+ end
2608
+
2609
+ # Update properties of this object
2610
+ def update!(**args)
2611
+ @access_state = args[:access_state] if args.key?(:access_state)
2612
+ @developer_account_permissions = args[:developer_account_permissions] if args.key?(:developer_account_permissions)
2613
+ @email = args[:email] if args.key?(:email)
2614
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
2615
+ @grants = args[:grants] if args.key?(:grants)
2616
+ @name = args[:name] if args.key?(:name)
2617
+ @partial = args[:partial] if args.key?(:partial)
2618
+ end
2619
+ end
2620
+
2019
2621
  # User entry from conversation between user and developer.
2020
2622
  class UserComment
2021
2623
  include Google::Apis::Core::Hashable
@@ -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.11.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210901"
25
+ REVISION = "20211125"
26
26
  end
27
27
  end
28
28
  end