google-apis-androidpublisher_v3 0.12.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/androidpublisher_v3/classes.rb +467 -1
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +3 -3
- data/lib/google/apis/androidpublisher_v3/representations.rb +221 -0
- data/lib/google/apis/androidpublisher_v3/service.rb +351 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82e3680160b2edaee46c243695b5de85a7f0901fbb38904d544c1bf193290151
|
4
|
+
data.tar.gz: 8364318d9f3cfc0ac968898da6d3c50638a3ef093b32faa661e946bef1753717
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6ca1e885a2f64e5989f34c0479fe790f05b0445cefbf972a7ac37e0095f0e180379b56686935de0090ad207edfcb6b52b1edb594b0d11557e1cf50bf000bc1d
|
7
|
+
data.tar.gz: 884412bd53e847a6a53f5bd2c5c66c2e68115cbc5fab547396b7f2ca69ef2513065c5324b806f1b4176a72ef2691e76d1e799360f54bfb83d52befe5940d4390
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-androidpublisher_v3
|
2
2
|
|
3
|
+
### v0.16.0 (2022-01-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220123
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.15.0 (2021-12-14)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.14.0 (2021-11-30)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211125
|
15
|
+
|
16
|
+
### v0.13.0 (2021-10-22)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211021
|
19
|
+
|
3
20
|
### v0.12.0 (2021-10-07)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211006
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/androidpublisher_v3"
|
|
51
51
|
client = Google::Apis::AndroidpublisherV3::AndroidPublisherService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Androidpublisher service in particular.)
|
67
67
|
|
@@ -748,6 +748,226 @@ module Google
|
|
748
748
|
end
|
749
749
|
end
|
750
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
|
+
|
751
971
|
# An uploaded image. The resource for ImagesService.
|
752
972
|
class Image
|
753
973
|
include Google::Apis::Core::Hashable
|
@@ -870,6 +1090,11 @@ module Google
|
|
870
1090
|
# @return [Hash<String,Google::Apis::AndroidpublisherV3::InAppProductListing>]
|
871
1091
|
attr_accessor :listings
|
872
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
|
+
|
873
1098
|
# Package name of the parent app.
|
874
1099
|
# Corresponds to the JSON property `packageName`
|
875
1100
|
# @return [String]
|
@@ -903,6 +1128,12 @@ module Google
|
|
903
1128
|
# @return [String]
|
904
1129
|
attr_accessor :subscription_period
|
905
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
|
+
|
906
1137
|
# Trial period, specified in ISO 8601 format. Acceptable values are anything
|
907
1138
|
# between P7D (seven days) and P999D (999 days).
|
908
1139
|
# Corresponds to the JSON property `trialPeriod`
|
@@ -919,12 +1150,14 @@ module Google
|
|
919
1150
|
@default_price = args[:default_price] if args.key?(:default_price)
|
920
1151
|
@grace_period = args[:grace_period] if args.key?(:grace_period)
|
921
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)
|
922
1154
|
@package_name = args[:package_name] if args.key?(:package_name)
|
923
1155
|
@prices = args[:prices] if args.key?(:prices)
|
924
1156
|
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
|
925
1157
|
@sku = args[:sku] if args.key?(:sku)
|
926
1158
|
@status = args[:status] if args.key?(:status)
|
927
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)
|
928
1161
|
@trial_period = args[:trial_period] if args.key?(:trial_period)
|
929
1162
|
end
|
930
1163
|
end
|
@@ -1084,6 +1317,32 @@ module Google
|
|
1084
1317
|
end
|
1085
1318
|
end
|
1086
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
|
+
|
1087
1346
|
# A localized store listing. The resource for ListingsService.
|
1088
1347
|
class Listing
|
1089
1348
|
include Google::Apis::Core::Hashable
|
@@ -1153,7 +1412,7 @@ module Google
|
|
1153
1412
|
end
|
1154
1413
|
end
|
1155
1414
|
|
1156
|
-
#
|
1415
|
+
# Localized text in given language.
|
1157
1416
|
class LocalizedText
|
1158
1417
|
include Google::Apis::Core::Hashable
|
1159
1418
|
|
@@ -1179,6 +1438,36 @@ module Google
|
|
1179
1438
|
end
|
1180
1439
|
end
|
1181
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
|
+
|
1182
1471
|
# Represents an amount of money with its currency type.
|
1183
1472
|
class Money
|
1184
1473
|
include Google::Apis::Core::Hashable
|
@@ -1409,6 +1698,36 @@ module Google
|
|
1409
1698
|
end
|
1410
1699
|
end
|
1411
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
|
+
|
1412
1731
|
# An Android app review.
|
1413
1732
|
class Review
|
1414
1733
|
include Google::Apis::Core::Hashable
|
@@ -1938,6 +2257,37 @@ module Google
|
|
1938
2257
|
end
|
1939
2258
|
end
|
1940
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
|
+
|
1941
2291
|
# Response to list previously created system APK variants.
|
1942
2292
|
class SystemApksListResponse
|
1943
2293
|
include Google::Apis::Core::Hashable
|
@@ -2064,6 +2414,45 @@ module Google
|
|
2064
2414
|
end
|
2065
2415
|
end
|
2066
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
|
+
|
2067
2456
|
# A release within a track.
|
2068
2457
|
class TrackRelease
|
2069
2458
|
include Google::Apis::Core::Hashable
|
@@ -2127,6 +2516,25 @@ module Google
|
|
2127
2516
|
end
|
2128
2517
|
end
|
2129
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
|
+
|
2130
2538
|
# Response listing all tracks.
|
2131
2539
|
class TracksListResponse
|
2132
2540
|
include Google::Apis::Core::Hashable
|
@@ -2152,6 +2560,64 @@ module Google
|
|
2152
2560
|
end
|
2153
2561
|
end
|
2154
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
|
+
|
2155
2621
|
# User entry from conversation between user and developer.
|
2156
2622
|
class UserComment
|
2157
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.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220123"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|