google-apis-androidpublisher_v3 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7e7a219d0f7ba83dae78031c1e46f36c4b648a1d0392145afc84ebfea049801
4
- data.tar.gz: 26c3d51f2354e2459c7ef6974672c705bb0fb6da918b68bfa66b3f1858cf029c
3
+ metadata.gz: c83f87cfd561fef6516fb5ca3ffbb72a46683c266aed61a87ec54fe97300b3ec
4
+ data.tar.gz: e6428a2c181999afcff5461bf1f1724fbf1e0545072085f4ce514ea114a1b57c
5
5
  SHA512:
6
- metadata.gz: e5305ec881247145c7a2d55f9fe869fb37587d870c4cfcbcf63bdc5399a3c497889422f266b2dea006dbff70a6c0b605990989381ed1a39c507516ffd76d782b
7
- data.tar.gz: 9fa3d712eb7dd44f7f6a804fa7141716b53cb2cb2c214948e250e212a0e5751a7430c81f15f7ce42f2aec99b797169e2a5057b3239d045ee98315768fa92d732
6
+ metadata.gz: ad4952720ee3752adf5b816b73317ce490b6b8099c8284da40a9dda488c8c0876f846175ed433d038d50cd27261e7338770e5ee6d60402bf49d521c6d5f6e005
7
+ data.tar.gz: d470cdabb740b839f72e895b9dd0e6e40c679ac8672ef6c3cdb129d04d2f6cc385d54be2a326e0c2b56765bbc5bf458a06906fea4fe41a2d168b57409b96674f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.14.0 (2021-11-30)
4
+
5
+ * Regenerated from discovery document revision 20211125
6
+
3
7
  ### v0.13.0 (2021-10-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20211021
@@ -748,6 +748,194 @@ 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
+
751
939
  # An access grant resource.
752
940
  class Grant
753
941
  include Google::Apis::Core::Hashable
@@ -2226,6 +2414,45 @@ module Google
2226
2414
  end
2227
2415
  end
2228
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
+
2229
2456
  # A release within a track.
2230
2457
  class TrackRelease
2231
2458
  include Google::Apis::Core::Hashable
@@ -2289,6 +2516,25 @@ module Google
2289
2516
  end
2290
2517
  end
2291
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
+
2292
2538
  # Response listing all tracks.
2293
2539
  class TracksListResponse
2294
2540
  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.13.0"
19
+ GEM_VERSION = "0.14.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 = "20211021"
25
+ REVISION = "20211125"
26
26
  end
27
27
  end
28
28
  end
@@ -160,6 +160,42 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
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
+
163
199
  class Grant
164
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
201
 
@@ -394,12 +430,24 @@ module Google
394
430
  include Google::Apis::Core::JsonObjectSupport
395
431
  end
396
432
 
433
+ class TrackCountryAvailability
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
397
439
  class TrackRelease
398
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
441
 
400
442
  include Google::Apis::Core::JsonObjectSupport
401
443
  end
402
444
 
445
+ class TrackTargetedCountry
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
403
451
  class TracksListResponse
404
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
453
 
@@ -665,6 +713,64 @@ module Google
665
713
  end
666
714
  end
667
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
+
668
774
  class Grant
669
775
  # @private
670
776
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1060,6 +1166,16 @@ module Google
1060
1166
  end
1061
1167
  end
1062
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
+
1063
1179
  class TrackRelease
1064
1180
  # @private
1065
1181
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1075,6 +1191,13 @@ module Google
1075
1191
  end
1076
1192
  end
1077
1193
 
1194
+ class TrackTargetedCountry
1195
+ # @private
1196
+ class Representation < Google::Apis::Core::JsonRepresentation
1197
+ property :country_code, as: 'countryCode'
1198
+ end
1199
+ end
1200
+
1078
1201
  class TracksListResponse
1079
1202
  # @private
1080
1203
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -417,6 +417,42 @@ module Google
417
417
  execute_or_queue_command(command, &block)
418
418
  end
419
419
 
420
+ # Gets country availability.
421
+ # @param [String] package_name
422
+ # Package name of the app.
423
+ # @param [String] edit_id
424
+ # Identifier of the edit.
425
+ # @param [String] track
426
+ # The track to read from.
427
+ # @param [String] fields
428
+ # Selector specifying which fields to include in a partial response.
429
+ # @param [String] quota_user
430
+ # Available to use for quota purposes for server-side applications. Can be any
431
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
432
+ # @param [Google::Apis::RequestOptions] options
433
+ # Request-specific options
434
+ #
435
+ # @yield [result, err] Result & error if block supplied
436
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::TrackCountryAvailability] parsed result object
437
+ # @yieldparam err [StandardError] error object if request failed
438
+ #
439
+ # @return [Google::Apis::AndroidpublisherV3::TrackCountryAvailability]
440
+ #
441
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
442
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
443
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
444
+ def get_edit_countryavailability(package_name, edit_id, track, fields: nil, quota_user: nil, options: nil, &block)
445
+ command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/countryAvailability/{track}', options)
446
+ command.response_representation = Google::Apis::AndroidpublisherV3::TrackCountryAvailability::Representation
447
+ command.response_class = Google::Apis::AndroidpublisherV3::TrackCountryAvailability
448
+ command.params['packageName'] = package_name unless package_name.nil?
449
+ command.params['editId'] = edit_id unless edit_id.nil?
450
+ command.params['track'] = track unless track.nil?
451
+ command.query['fields'] = fields unless fields.nil?
452
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
453
+ execute_or_queue_command(command, &block)
454
+ end
455
+
420
456
  # Uploads a new deobfuscation file and attaches to the specified APK.
421
457
  # @param [String] package_name
422
458
  # Unique identifier for the Android app.
@@ -1402,6 +1438,82 @@ module Google
1402
1438
  execute_or_queue_command(command, &block)
1403
1439
  end
1404
1440
 
1441
+ # Downloads a single signed APK generated from an app bundle.
1442
+ # @param [String] package_name
1443
+ # Package name of the app.
1444
+ # @param [Fixnum] version_code
1445
+ # Version code of the app bundle.
1446
+ # @param [String] download_id
1447
+ # Download ID, which uniquely identifies the APK to download. Can be obtained
1448
+ # from the response of `generatedapks.list` method.
1449
+ # @param [String] fields
1450
+ # Selector specifying which fields to include in a partial response.
1451
+ # @param [String] quota_user
1452
+ # Available to use for quota purposes for server-side applications. Can be any
1453
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1454
+ # @param [IO, String] download_dest
1455
+ # IO stream or filename to receive content download
1456
+ # @param [Google::Apis::RequestOptions] options
1457
+ # Request-specific options
1458
+ #
1459
+ # @yield [result, err] Result & error if block supplied
1460
+ # @yieldparam result [NilClass] No result returned for this method
1461
+ # @yieldparam err [StandardError] error object if request failed
1462
+ #
1463
+ # @return [void]
1464
+ #
1465
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1466
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1467
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1468
+ def download_generatedapk(package_name, version_code, download_id, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
1469
+ if download_dest.nil?
1470
+ command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download', options)
1471
+ else
1472
+ command = make_download_command(:get, 'androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download', options)
1473
+ command.download_dest = download_dest
1474
+ end
1475
+ command.params['packageName'] = package_name unless package_name.nil?
1476
+ command.params['versionCode'] = version_code unless version_code.nil?
1477
+ command.params['downloadId'] = download_id unless download_id.nil?
1478
+ command.query['fields'] = fields unless fields.nil?
1479
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1480
+ execute_or_queue_command(command, &block)
1481
+ end
1482
+
1483
+ # Returns download metadata for all APKs that were generated from a given app
1484
+ # bundle.
1485
+ # @param [String] package_name
1486
+ # Package name of the app.
1487
+ # @param [Fixnum] version_code
1488
+ # Version code of the app bundle.
1489
+ # @param [String] fields
1490
+ # Selector specifying which fields to include in a partial response.
1491
+ # @param [String] quota_user
1492
+ # Available to use for quota purposes for server-side applications. Can be any
1493
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1494
+ # @param [Google::Apis::RequestOptions] options
1495
+ # Request-specific options
1496
+ #
1497
+ # @yield [result, err] Result & error if block supplied
1498
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::GeneratedApksListResponse] parsed result object
1499
+ # @yieldparam err [StandardError] error object if request failed
1500
+ #
1501
+ # @return [Google::Apis::AndroidpublisherV3::GeneratedApksListResponse]
1502
+ #
1503
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1504
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1505
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1506
+ def list_generatedapks(package_name, version_code, fields: nil, quota_user: nil, options: nil, &block)
1507
+ command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}', options)
1508
+ command.response_representation = Google::Apis::AndroidpublisherV3::GeneratedApksListResponse::Representation
1509
+ command.response_class = Google::Apis::AndroidpublisherV3::GeneratedApksListResponse
1510
+ command.params['packageName'] = package_name unless package_name.nil?
1511
+ command.params['versionCode'] = version_code unless version_code.nil?
1512
+ command.query['fields'] = fields unless fields.nil?
1513
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1514
+ execute_or_queue_command(command, &block)
1515
+ end
1516
+
1405
1517
  # Grant access for a user to the given package.
1406
1518
  # @param [String] parent
1407
1519
  # Required. The user which needs permission. Format: developers/`developer`/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidpublisher_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2021-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
63
63
  post_install_message:
64
64
  rdoc_options: []