google-apis-androidpublisher_v3 0.106.0 → 0.108.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c21e6f5af5bdb2b63606451127382592b99f8d7f84fd9cfbd9ea81e807b02653
4
- data.tar.gz: 9afbccb4c35929d4a3e66143723b70b1bd12256cf2dae1e0b1aadb4b79460c07
3
+ metadata.gz: af4244f138d06daa9bb0c22d82d743857e7b491082e134dfafa03396467eeef1
4
+ data.tar.gz: 48f0de565a569d1a024f39004d025e82c8403da8e00cad74383d4963fb260187
5
5
  SHA512:
6
- metadata.gz: dd1f82638f6c525dcab49921f7ddc3b8adfacd557a53733700a90606c0f312044401f2e9cc0d79b14675c8d9c53a3bc724020adb4d01f2549e0ecf3c92c1c2f3
7
- data.tar.gz: af6020729928710caaf165bcfaf1eca6c219063675fd58e9218d075d98b2cf622923cd36f105ea2b4a6315681f103b106ab3b7297c6644899ed46a58629d6a60
6
+ metadata.gz: ab4be38c23c4ea5666c9d8ff162cde31ec2ab955e39d47a3bbcf39362ddf14ddbdb5a886ba67e0adc08d7410c5bbb4dd9af85c1a6e5efb4d886a8ec3d33b6143
7
+ data.tar.gz: 7279e4b1825c6388162a7eac183720db59c436a47c37cac1b8408b5fb0465d3a701e6faea4609135f3cdba1f8984c1bf06dc01c858d1df03122df99774286be7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.108.0 (2026-09-06)
4
+
5
+ * Regenerated from discovery document revision 20260901
6
+
7
+ ### v0.107.0 (2026-08-23)
8
+
9
+ * Regenerated from discovery document revision 20260817
10
+
3
11
  ### v0.106.0 (2026-07-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20260723
@@ -2346,6 +2346,89 @@ module Google
2346
2346
  end
2347
2347
  end
2348
2348
 
2349
+ # Hash digests of a certificate.
2350
+ class CertificateHashes
2351
+ include Google::Apis::Core::Hashable
2352
+
2353
+ # Hex-encoded MD5 hash of the certificate. example: `43:51:43:A1:B5:FC:8B:B7:0A:
2354
+ # 3A:A9:B1:0F:66:73:A8`
2355
+ # Corresponds to the JSON property `certificateHashMd5`
2356
+ # @return [String]
2357
+ attr_accessor :certificate_hash_md5
2358
+
2359
+ # Hex-encoded SHA1 hash of the certificate. example: `86:61:97:1A:D5:EF:E5:74:1E:
2360
+ # A7:5B:84:7C:68:37:65:CD:94:16:DE`
2361
+ # Corresponds to the JSON property `certificateHashSha1`
2362
+ # @return [String]
2363
+ attr_accessor :certificate_hash_sha1
2364
+
2365
+ # Hex-encoded SHA256 hash of the certificate. example: `94:49:C7:F3:A9:3C:F0:C5:
2366
+ # 5A:67:5D:DF:1C:83:73:2D:87:D5:62:55:E7:0B:15:0D:9E:6F:3C:F8:63:BB:7F:C1`
2367
+ # Corresponds to the JSON property `certificateHashSha256`
2368
+ # @return [String]
2369
+ attr_accessor :certificate_hash_sha256
2370
+
2371
+ def initialize(**args)
2372
+ update!(**args)
2373
+ end
2374
+
2375
+ # Update properties of this object
2376
+ def update!(**args)
2377
+ @certificate_hash_md5 = args[:certificate_hash_md5] if args.key?(:certificate_hash_md5)
2378
+ @certificate_hash_sha1 = args[:certificate_hash_sha1] if args.key?(:certificate_hash_sha1)
2379
+ @certificate_hash_sha256 = args[:certificate_hash_sha256] if args.key?(:certificate_hash_sha256)
2380
+ end
2381
+ end
2382
+
2383
+ # Reference to a private key hosted in developer-managed Google Cloud KMS.
2384
+ class CloudKmsKey
2385
+ include Google::Apis::Core::Hashable
2386
+
2387
+ # Required. Resource identifier of the private key hosted in Google Cloud KMS.
2388
+ # The Google Play service account must be granted Decrypt and Sign permissions
2389
+ # on this resource. Format: projects//locations//keyRings//cryptoKeys//
2390
+ # cryptoKeyVersions/
2391
+ # Corresponds to the JSON property `cryptoKeyVersionResource`
2392
+ # @return [String]
2393
+ attr_accessor :crypto_key_version_resource
2394
+
2395
+ def initialize(**args)
2396
+ update!(**args)
2397
+ end
2398
+
2399
+ # Update properties of this object
2400
+ def update!(**args)
2401
+ @crypto_key_version_resource = args[:crypto_key_version_resource] if args.key?(:crypto_key_version_resource)
2402
+ end
2403
+ end
2404
+
2405
+ # Cloud KMS key and the certificate associated with the key.
2406
+ class CloudKmsKeyAndCert
2407
+ include Google::Apis::Core::Hashable
2408
+
2409
+ # Reference to a private key hosted in developer-managed Google Cloud KMS.
2410
+ # Corresponds to the JSON property `cloudKmsKey`
2411
+ # @return [Google::Apis::AndroidpublisherV3::CloudKmsKey]
2412
+ attr_accessor :cloud_kms_key
2413
+
2414
+ # Required. Certificate associated with the key. The bytes must contain the
2415
+ # certificate in PEM format.
2416
+ # Corresponds to the JSON property `pemCertificate`
2417
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2418
+ # @return [String]
2419
+ attr_accessor :pem_certificate
2420
+
2421
+ def initialize(**args)
2422
+ update!(**args)
2423
+ end
2424
+
2425
+ # Update properties of this object
2426
+ def update!(**args)
2427
+ @cloud_kms_key = args[:cloud_kms_key] if args.key?(:cloud_kms_key)
2428
+ @pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate)
2429
+ end
2430
+ end
2431
+
2349
2432
  # Coarse Geographic location details for where the consumption happened.
2350
2433
  class CoarseLocation
2351
2434
  include Google::Apis::Core::Hashable
@@ -3796,6 +3879,102 @@ module Google
3796
3879
  end
3797
3880
  end
3798
3881
 
3882
+ # Request to enroll an app into Play App Signing using a self-hosted Cloud KMS
3883
+ # key.
3884
+ class EnrollAppRequest
3885
+ include Google::Apis::Core::Hashable
3886
+
3887
+ # Enroll an existing app into Play signing.
3888
+ # Corresponds to the JSON property `enrollExistingApp`
3889
+ # @return [Google::Apis::AndroidpublisherV3::EnrollExistingApp]
3890
+ attr_accessor :enroll_existing_app
3891
+
3892
+ # Enroll a new app into Play signing.
3893
+ # Corresponds to the JSON property `enrollNewApp`
3894
+ # @return [Google::Apis::AndroidpublisherV3::EnrollNewApp]
3895
+ attr_accessor :enroll_new_app
3896
+
3897
+ # The certificate associated with the upload key, in PEM format.
3898
+ # Corresponds to the JSON property `pemUploadCertificate`
3899
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3900
+ # @return [String]
3901
+ attr_accessor :pem_upload_certificate
3902
+
3903
+ def initialize(**args)
3904
+ update!(**args)
3905
+ end
3906
+
3907
+ # Update properties of this object
3908
+ def update!(**args)
3909
+ @enroll_existing_app = args[:enroll_existing_app] if args.key?(:enroll_existing_app)
3910
+ @enroll_new_app = args[:enroll_new_app] if args.key?(:enroll_new_app)
3911
+ @pem_upload_certificate = args[:pem_upload_certificate] if args.key?(:pem_upload_certificate)
3912
+ end
3913
+ end
3914
+
3915
+ # Response to enroll an app into Play signing.
3916
+ class EnrollAppResponse
3917
+ include Google::Apis::Core::Hashable
3918
+
3919
+ # Hash digests of a certificate.
3920
+ # Corresponds to the JSON property `signingCertificate`
3921
+ # @return [Google::Apis::AndroidpublisherV3::CertificateHashes]
3922
+ attr_accessor :signing_certificate
3923
+
3924
+ # Hash digests of a certificate.
3925
+ # Corresponds to the JSON property `uploadCertificate`
3926
+ # @return [Google::Apis::AndroidpublisherV3::CertificateHashes]
3927
+ attr_accessor :upload_certificate
3928
+
3929
+ def initialize(**args)
3930
+ update!(**args)
3931
+ end
3932
+
3933
+ # Update properties of this object
3934
+ def update!(**args)
3935
+ @signing_certificate = args[:signing_certificate] if args.key?(:signing_certificate)
3936
+ @upload_certificate = args[:upload_certificate] if args.key?(:upload_certificate)
3937
+ end
3938
+ end
3939
+
3940
+ # Enroll an existing app into Play signing.
3941
+ class EnrollExistingApp
3942
+ include Google::Apis::Core::Hashable
3943
+
3944
+ # Reference to a private key hosted in developer-managed Google Cloud KMS.
3945
+ # Corresponds to the JSON property `cloudKmsKey`
3946
+ # @return [Google::Apis::AndroidpublisherV3::CloudKmsKey]
3947
+ attr_accessor :cloud_kms_key
3948
+
3949
+ def initialize(**args)
3950
+ update!(**args)
3951
+ end
3952
+
3953
+ # Update properties of this object
3954
+ def update!(**args)
3955
+ @cloud_kms_key = args[:cloud_kms_key] if args.key?(:cloud_kms_key)
3956
+ end
3957
+ end
3958
+
3959
+ # Enroll a new app into Play signing.
3960
+ class EnrollNewApp
3961
+ include Google::Apis::Core::Hashable
3962
+
3963
+ # Cloud KMS key and the certificate associated with the key.
3964
+ # Corresponds to the JSON property `cloudKmsKeyAndCert`
3965
+ # @return [Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert]
3966
+ attr_accessor :cloud_kms_key_and_cert
3967
+
3968
+ def initialize(**args)
3969
+ update!(**args)
3970
+ end
3971
+
3972
+ # Update properties of this object
3973
+ def update!(**args)
3974
+ @cloud_kms_key_and_cert = args[:cloud_kms_key_and_cert] if args.key?(:cloud_kms_key_and_cert)
3975
+ end
3976
+ end
3977
+
3799
3978
  # An expansion file. The resource for ExpansionFilesService.
3800
3979
  class ExpansionFile
3801
3980
  include Google::Apis::Core::Hashable
@@ -3927,6 +4106,40 @@ module Google
3927
4106
  end
3928
4107
  end
3929
4108
 
4109
+ # Reporting details unique to the external content link program.
4110
+ class ExternalContentLinkDetails
4111
+ include Google::Apis::Core::Hashable
4112
+
4113
+ # Optional. The category of the downlaoded app. This must match the category
4114
+ # provided in Play Console during the external app verification process. Only
4115
+ # required for app installs.
4116
+ # Corresponds to the JSON property `externalAppCategory`
4117
+ # @return [String]
4118
+ attr_accessor :external_app_category
4119
+
4120
+ # Optional. The package name of the app downloaded through this transaction.
4121
+ # Only required for app installs.
4122
+ # Corresponds to the JSON property `installedAppPackage`
4123
+ # @return [String]
4124
+ attr_accessor :installed_app_package
4125
+
4126
+ # Required. The type content being reported by this transaction.
4127
+ # Corresponds to the JSON property `linkType`
4128
+ # @return [String]
4129
+ attr_accessor :link_type
4130
+
4131
+ def initialize(**args)
4132
+ update!(**args)
4133
+ end
4134
+
4135
+ # Update properties of this object
4136
+ def update!(**args)
4137
+ @external_app_category = args[:external_app_category] if args.key?(:external_app_category)
4138
+ @installed_app_package = args[:installed_app_package] if args.key?(:installed_app_package)
4139
+ @link_type = args[:link_type] if args.key?(:link_type)
4140
+ end
4141
+ end
4142
+
3930
4143
  # Reporting details unique to the external offers program.
3931
4144
  class ExternalOfferDetails
3932
4145
  include Google::Apis::Core::Hashable
@@ -4010,6 +4223,11 @@ module Google
4010
4223
  # @return [Google::Apis::AndroidpublisherV3::Price]
4011
4224
  attr_accessor :current_tax_amount
4012
4225
 
4226
+ # Reporting details unique to the external content link program.
4227
+ # Corresponds to the JSON property `externalContentLinkDetails`
4228
+ # @return [Google::Apis::AndroidpublisherV3::ExternalContentLinkDetails]
4229
+ attr_accessor :external_content_link_details
4230
+
4013
4231
  # Reporting details unique to the external offers program.
4014
4232
  # Corresponds to the JSON property `externalOfferDetails`
4015
4233
  # @return [Google::Apis::AndroidpublisherV3::ExternalOfferDetails]
@@ -4090,6 +4308,7 @@ module Google
4090
4308
  @create_time = args[:create_time] if args.key?(:create_time)
4091
4309
  @current_pre_tax_amount = args[:current_pre_tax_amount] if args.key?(:current_pre_tax_amount)
4092
4310
  @current_tax_amount = args[:current_tax_amount] if args.key?(:current_tax_amount)
4311
+ @external_content_link_details = args[:external_content_link_details] if args.key?(:external_content_link_details)
4093
4312
  @external_offer_details = args[:external_offer_details] if args.key?(:external_offer_details)
4094
4313
  @external_transaction_id = args[:external_transaction_id] if args.key?(:external_transaction_id)
4095
4314
  @one_time_transaction = args[:one_time_transaction] if args.key?(:one_time_transaction)
@@ -6577,6 +6796,27 @@ module Google
6577
6796
  end
6578
6797
  end
6579
6798
 
6799
+ # Configuration specific to game reward offers.
6800
+ class OneTimeProductGameRewardOffer
6801
+ include Google::Apis::Core::Hashable
6802
+
6803
+ # Optional. The number of times this offer can be redeemed. If unset or set to 0,
6804
+ # allows for unlimited offer redemptions. Otherwise must be a number between 1
6805
+ # and 50 inclusive.
6806
+ # Corresponds to the JSON property `redemptionLimit`
6807
+ # @return [Fixnum]
6808
+ attr_accessor :redemption_limit
6809
+
6810
+ def initialize(**args)
6811
+ update!(**args)
6812
+ end
6813
+
6814
+ # Update properties of this object
6815
+ def update!(**args)
6816
+ @redemption_limit = args[:redemption_limit] if args.key?(:redemption_limit)
6817
+ end
6818
+ end
6819
+
6580
6820
  # Regional store listing for a one-time product.
6581
6821
  class OneTimeProductListing
6582
6822
  include Google::Apis::Core::Hashable
@@ -6619,6 +6859,11 @@ module Google
6619
6859
  # @return [Google::Apis::AndroidpublisherV3::OneTimeProductDiscountedOffer]
6620
6860
  attr_accessor :discounted_offer
6621
6861
 
6862
+ # Configuration specific to game reward offers.
6863
+ # Corresponds to the JSON property `gameRewardOffer`
6864
+ # @return [Google::Apis::AndroidpublisherV3::OneTimeProductGameRewardOffer]
6865
+ attr_accessor :game_reward_offer
6866
+
6622
6867
  # Required. Immutable. The ID of this product offer. Must be unique within the
6623
6868
  # purchase option. It must start with a number or lower-case letter, and can
6624
6869
  # only contain lower-case letters (a-z), numbers (0-9), and hyphens (-). The
@@ -6678,6 +6923,7 @@ module Google
6678
6923
  # Update properties of this object
6679
6924
  def update!(**args)
6680
6925
  @discounted_offer = args[:discounted_offer] if args.key?(:discounted_offer)
6926
+ @game_reward_offer = args[:game_reward_offer] if args.key?(:game_reward_offer)
6681
6927
  @offer_id = args[:offer_id] if args.key?(:offer_id)
6682
6928
  @offer_tags = args[:offer_tags] if args.key?(:offer_tags)
6683
6929
  @package_name = args[:package_name] if args.key?(:package_name)
@@ -7755,7 +8001,7 @@ module Google
7755
8001
  end
7756
8002
  end
7757
8003
 
7758
- # An individual response to a policy question about an app.
8004
+ # An individual response (answer) to a policy question about an app.
7759
8005
  class PolicyResponse
7760
8006
  include Google::Apis::Core::Hashable
7761
8007
 
@@ -9402,6 +9648,79 @@ module Google
9402
9648
  end
9403
9649
  end
9404
9650
 
9651
+ # Request to rotate an app's signing key.
9652
+ class RotateAppSigningKeyRequest
9653
+ include Google::Apis::Core::Hashable
9654
+
9655
+ # Required. Reason for rotating the app key.
9656
+ # Corresponds to the JSON property `keyRotationReason`
9657
+ # @return [String]
9658
+ attr_accessor :key_rotation_reason
9659
+
9660
+ # Message representing rotated Cloud KMS key. Consists of the Cloud KMS key and
9661
+ # its associated proof of rotation.
9662
+ # Corresponds to the JSON property `rotatedCloudKmsKey`
9663
+ # @return [Google::Apis::AndroidpublisherV3::RotatedCloudKmsKey]
9664
+ attr_accessor :rotated_cloud_kms_key
9665
+
9666
+ def initialize(**args)
9667
+ update!(**args)
9668
+ end
9669
+
9670
+ # Update properties of this object
9671
+ def update!(**args)
9672
+ @key_rotation_reason = args[:key_rotation_reason] if args.key?(:key_rotation_reason)
9673
+ @rotated_cloud_kms_key = args[:rotated_cloud_kms_key] if args.key?(:rotated_cloud_kms_key)
9674
+ end
9675
+ end
9676
+
9677
+ # Response to rotate an app's signing key.
9678
+ class RotateAppSigningKeyResponse
9679
+ include Google::Apis::Core::Hashable
9680
+
9681
+ # Hash digests of a certificate.
9682
+ # Corresponds to the JSON property `rotatedKeyCertificate`
9683
+ # @return [Google::Apis::AndroidpublisherV3::CertificateHashes]
9684
+ attr_accessor :rotated_key_certificate
9685
+
9686
+ def initialize(**args)
9687
+ update!(**args)
9688
+ end
9689
+
9690
+ # Update properties of this object
9691
+ def update!(**args)
9692
+ @rotated_key_certificate = args[:rotated_key_certificate] if args.key?(:rotated_key_certificate)
9693
+ end
9694
+ end
9695
+
9696
+ # Message representing rotated Cloud KMS key. Consists of the Cloud KMS key and
9697
+ # its associated proof of rotation.
9698
+ class RotatedCloudKmsKey
9699
+ include Google::Apis::Core::Hashable
9700
+
9701
+ # Cloud KMS key and the certificate associated with the key.
9702
+ # Corresponds to the JSON property `cloudKmsKeyAndCert`
9703
+ # @return [Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert]
9704
+ attr_accessor :cloud_kms_key_and_cert
9705
+
9706
+ # Required. Proof-of-rotation. See [creating signing certificate lineages](https:
9707
+ # //developer.android.com/studio/command-line/apksigner#rotate_signing_keys_2).
9708
+ # Corresponds to the JSON property `signingCertificateLineage`
9709
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
9710
+ # @return [String]
9711
+ attr_accessor :signing_certificate_lineage
9712
+
9713
+ def initialize(**args)
9714
+ update!(**args)
9715
+ end
9716
+
9717
+ # Update properties of this object
9718
+ def update!(**args)
9719
+ @cloud_kms_key_and_cert = args[:cloud_kms_key_and_cert] if args.key?(:cloud_kms_key_and_cert)
9720
+ @signing_certificate_lineage = args[:signing_certificate_lineage] if args.key?(:signing_certificate_lineage)
9721
+ end
9722
+ end
9723
+
9405
9724
  # Request to update Safety Labels of an app.
9406
9725
  class SafetyLabelsUpdateRequest
9407
9726
  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.106.0"
19
+ GEM_VERSION = "0.108.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260723"
25
+ REVISION = "20260901"
26
26
  end
27
27
  end
28
28
  end
@@ -520,6 +520,24 @@ module Google
520
520
  include Google::Apis::Core::JsonObjectSupport
521
521
  end
522
522
 
523
+ class CertificateHashes
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class CloudKmsKey
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class CloudKmsKeyAndCert
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
523
541
  class CoarseLocation
524
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
543
 
@@ -790,6 +808,30 @@ module Google
790
808
  include Google::Apis::Core::JsonObjectSupport
791
809
  end
792
810
 
811
+ class EnrollAppRequest
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
817
+ class EnrollAppResponse
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
823
+ class EnrollExistingApp
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
829
+ class EnrollNewApp
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
793
835
  class ExpansionFile
794
836
  class Representation < Google::Apis::Core::JsonRepresentation; end
795
837
 
@@ -814,6 +856,12 @@ module Google
814
856
  include Google::Apis::Core::JsonObjectSupport
815
857
  end
816
858
 
859
+ class ExternalContentLinkDetails
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
817
865
  class ExternalOfferDetails
818
866
  class Representation < Google::Apis::Core::JsonRepresentation; end
819
867
 
@@ -1282,6 +1330,12 @@ module Google
1282
1330
  include Google::Apis::Core::JsonObjectSupport
1283
1331
  end
1284
1332
 
1333
+ class OneTimeProductGameRewardOffer
1334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1335
+
1336
+ include Google::Apis::Core::JsonObjectSupport
1337
+ end
1338
+
1285
1339
  class OneTimeProductListing
1286
1340
  class Representation < Google::Apis::Core::JsonRepresentation; end
1287
1341
 
@@ -1822,6 +1876,24 @@ module Google
1822
1876
  include Google::Apis::Core::JsonObjectSupport
1823
1877
  end
1824
1878
 
1879
+ class RotateAppSigningKeyRequest
1880
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1881
+
1882
+ include Google::Apis::Core::JsonObjectSupport
1883
+ end
1884
+
1885
+ class RotateAppSigningKeyResponse
1886
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1887
+
1888
+ include Google::Apis::Core::JsonObjectSupport
1889
+ end
1890
+
1891
+ class RotatedCloudKmsKey
1892
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1893
+
1894
+ include Google::Apis::Core::JsonObjectSupport
1895
+ end
1896
+
1825
1897
  class SafetyLabelsUpdateRequest
1826
1898
  class Representation < Google::Apis::Core::JsonRepresentation; end
1827
1899
 
@@ -3089,6 +3161,31 @@ module Google
3089
3161
  end
3090
3162
  end
3091
3163
 
3164
+ class CertificateHashes
3165
+ # @private
3166
+ class Representation < Google::Apis::Core::JsonRepresentation
3167
+ property :certificate_hash_md5, as: 'certificateHashMd5'
3168
+ property :certificate_hash_sha1, as: 'certificateHashSha1'
3169
+ property :certificate_hash_sha256, as: 'certificateHashSha256'
3170
+ end
3171
+ end
3172
+
3173
+ class CloudKmsKey
3174
+ # @private
3175
+ class Representation < Google::Apis::Core::JsonRepresentation
3176
+ property :crypto_key_version_resource, as: 'cryptoKeyVersionResource'
3177
+ end
3178
+ end
3179
+
3180
+ class CloudKmsKeyAndCert
3181
+ # @private
3182
+ class Representation < Google::Apis::Core::JsonRepresentation
3183
+ property :cloud_kms_key, as: 'cloudKmsKey', class: Google::Apis::AndroidpublisherV3::CloudKmsKey, decorator: Google::Apis::AndroidpublisherV3::CloudKmsKey::Representation
3184
+
3185
+ property :pem_certificate, :base64 => true, as: 'pemCertificate'
3186
+ end
3187
+ end
3188
+
3092
3189
  class CoarseLocation
3093
3190
  # @private
3094
3191
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3519,6 +3616,43 @@ module Google
3519
3616
  end
3520
3617
  end
3521
3618
 
3619
+ class EnrollAppRequest
3620
+ # @private
3621
+ class Representation < Google::Apis::Core::JsonRepresentation
3622
+ property :enroll_existing_app, as: 'enrollExistingApp', class: Google::Apis::AndroidpublisherV3::EnrollExistingApp, decorator: Google::Apis::AndroidpublisherV3::EnrollExistingApp::Representation
3623
+
3624
+ property :enroll_new_app, as: 'enrollNewApp', class: Google::Apis::AndroidpublisherV3::EnrollNewApp, decorator: Google::Apis::AndroidpublisherV3::EnrollNewApp::Representation
3625
+
3626
+ property :pem_upload_certificate, :base64 => true, as: 'pemUploadCertificate'
3627
+ end
3628
+ end
3629
+
3630
+ class EnrollAppResponse
3631
+ # @private
3632
+ class Representation < Google::Apis::Core::JsonRepresentation
3633
+ property :signing_certificate, as: 'signingCertificate', class: Google::Apis::AndroidpublisherV3::CertificateHashes, decorator: Google::Apis::AndroidpublisherV3::CertificateHashes::Representation
3634
+
3635
+ property :upload_certificate, as: 'uploadCertificate', class: Google::Apis::AndroidpublisherV3::CertificateHashes, decorator: Google::Apis::AndroidpublisherV3::CertificateHashes::Representation
3636
+
3637
+ end
3638
+ end
3639
+
3640
+ class EnrollExistingApp
3641
+ # @private
3642
+ class Representation < Google::Apis::Core::JsonRepresentation
3643
+ property :cloud_kms_key, as: 'cloudKmsKey', class: Google::Apis::AndroidpublisherV3::CloudKmsKey, decorator: Google::Apis::AndroidpublisherV3::CloudKmsKey::Representation
3644
+
3645
+ end
3646
+ end
3647
+
3648
+ class EnrollNewApp
3649
+ # @private
3650
+ class Representation < Google::Apis::Core::JsonRepresentation
3651
+ property :cloud_kms_key_and_cert, as: 'cloudKmsKeyAndCert', class: Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert, decorator: Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert::Representation
3652
+
3653
+ end
3654
+ end
3655
+
3522
3656
  class ExpansionFile
3523
3657
  # @private
3524
3658
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3552,6 +3686,15 @@ module Google
3552
3686
  end
3553
3687
  end
3554
3688
 
3689
+ class ExternalContentLinkDetails
3690
+ # @private
3691
+ class Representation < Google::Apis::Core::JsonRepresentation
3692
+ property :external_app_category, as: 'externalAppCategory'
3693
+ property :installed_app_package, as: 'installedAppPackage'
3694
+ property :link_type, as: 'linkType'
3695
+ end
3696
+ end
3697
+
3555
3698
  class ExternalOfferDetails
3556
3699
  # @private
3557
3700
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3577,6 +3720,8 @@ module Google
3577
3720
 
3578
3721
  property :current_tax_amount, as: 'currentTaxAmount', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation
3579
3722
 
3723
+ property :external_content_link_details, as: 'externalContentLinkDetails', class: Google::Apis::AndroidpublisherV3::ExternalContentLinkDetails, decorator: Google::Apis::AndroidpublisherV3::ExternalContentLinkDetails::Representation
3724
+
3580
3725
  property :external_offer_details, as: 'externalOfferDetails', class: Google::Apis::AndroidpublisherV3::ExternalOfferDetails, decorator: Google::Apis::AndroidpublisherV3::ExternalOfferDetails::Representation
3581
3726
 
3582
3727
  property :external_transaction_id, as: 'externalTransactionId'
@@ -4357,6 +4502,13 @@ module Google
4357
4502
  end
4358
4503
  end
4359
4504
 
4505
+ class OneTimeProductGameRewardOffer
4506
+ # @private
4507
+ class Representation < Google::Apis::Core::JsonRepresentation
4508
+ property :redemption_limit, :numeric_string => true, as: 'redemptionLimit'
4509
+ end
4510
+ end
4511
+
4360
4512
  class OneTimeProductListing
4361
4513
  # @private
4362
4514
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4371,6 +4523,8 @@ module Google
4371
4523
  class Representation < Google::Apis::Core::JsonRepresentation
4372
4524
  property :discounted_offer, as: 'discountedOffer', class: Google::Apis::AndroidpublisherV3::OneTimeProductDiscountedOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductDiscountedOffer::Representation
4373
4525
 
4526
+ property :game_reward_offer, as: 'gameRewardOffer', class: Google::Apis::AndroidpublisherV3::OneTimeProductGameRewardOffer, decorator: Google::Apis::AndroidpublisherV3::OneTimeProductGameRewardOffer::Representation
4527
+
4374
4528
  property :offer_id, as: 'offerId'
4375
4529
  collection :offer_tags, as: 'offerTags', class: Google::Apis::AndroidpublisherV3::OfferTag, decorator: Google::Apis::AndroidpublisherV3::OfferTag::Representation
4376
4530
 
@@ -5215,6 +5369,32 @@ module Google
5215
5369
  end
5216
5370
  end
5217
5371
 
5372
+ class RotateAppSigningKeyRequest
5373
+ # @private
5374
+ class Representation < Google::Apis::Core::JsonRepresentation
5375
+ property :key_rotation_reason, as: 'keyRotationReason'
5376
+ property :rotated_cloud_kms_key, as: 'rotatedCloudKmsKey', class: Google::Apis::AndroidpublisherV3::RotatedCloudKmsKey, decorator: Google::Apis::AndroidpublisherV3::RotatedCloudKmsKey::Representation
5377
+
5378
+ end
5379
+ end
5380
+
5381
+ class RotateAppSigningKeyResponse
5382
+ # @private
5383
+ class Representation < Google::Apis::Core::JsonRepresentation
5384
+ property :rotated_key_certificate, as: 'rotatedKeyCertificate', class: Google::Apis::AndroidpublisherV3::CertificateHashes, decorator: Google::Apis::AndroidpublisherV3::CertificateHashes::Representation
5385
+
5386
+ end
5387
+ end
5388
+
5389
+ class RotatedCloudKmsKey
5390
+ # @private
5391
+ class Representation < Google::Apis::Core::JsonRepresentation
5392
+ property :cloud_kms_key_and_cert, as: 'cloudKmsKeyAndCert', class: Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert, decorator: Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert::Representation
5393
+
5394
+ property :signing_certificate_lineage, :base64 => true, as: 'signingCertificateLineage'
5395
+ end
5396
+ end
5397
+
5218
5398
  class SafetyLabelsUpdateRequest
5219
5399
  # @private
5220
5400
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -411,6 +411,84 @@ module Google
411
411
  execute_or_queue_command(command, &block)
412
412
  end
413
413
 
414
+ # Enrolls an app in Play App Signing using a self-hosted Google Cloud KMS key.
415
+ # Warning: Do not use this method for standard Play App Signing enrollment. *
416
+ # Standard enrollment with Google-generated or Google-managed keys cannot be
417
+ # done via API. * This advanced API is strictly for enterprise organizations
418
+ # with mandatory compliance, regulatory, or policy requirements to retain key
419
+ # custody in an external Google Cloud KMS instance. * Prerequisites: Requires an
420
+ # active, properly configured Google Cloud KMS key with appropriate IAM
421
+ # permissions granted to Google Play before calling this method. See Help Center:
422
+ # https://support.google.com/googleplay/android-developer/answer/9842756
423
+ # @param [String] name
424
+ # Required. Either package name or app ID of the app enrolling in Play Signing.
425
+ # @param [Google::Apis::AndroidpublisherV3::EnrollAppRequest] enroll_app_request_object
426
+ # @param [String] fields
427
+ # Selector specifying which fields to include in a partial response.
428
+ # @param [String] quota_user
429
+ # Available to use for quota purposes for server-side applications. Can be any
430
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
431
+ # @param [Google::Apis::RequestOptions] options
432
+ # Request-specific options
433
+ #
434
+ # @yield [result, err] Result & error if block supplied
435
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::EnrollAppResponse] parsed result object
436
+ # @yieldparam err [StandardError] error object if request failed
437
+ #
438
+ # @return [Google::Apis::AndroidpublisherV3::EnrollAppResponse]
439
+ #
440
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
441
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
442
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
443
+ def enroll_appsigning_app(name, enroll_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
444
+ command = make_simple_command(:post, 'androidpublisher/v3/applications/{name}/appSigning:enrollApp', options)
445
+ command.request_representation = Google::Apis::AndroidpublisherV3::EnrollAppRequest::Representation
446
+ command.request_object = enroll_app_request_object
447
+ command.response_representation = Google::Apis::AndroidpublisherV3::EnrollAppResponse::Representation
448
+ command.response_class = Google::Apis::AndroidpublisherV3::EnrollAppResponse
449
+ command.params['name'] = name unless name.nil?
450
+ command.query['fields'] = fields unless fields.nil?
451
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
452
+ execute_or_queue_command(command, &block)
453
+ end
454
+
455
+ # Rotates an app's signing key to a new self-hosted Google Cloud KMS key.
456
+ # Warning: This method only applies to apps enrolled with self-hosted Cloud KMS
457
+ # keys. For apps using standard Google-managed Play App Signing, key rotation
458
+ # requests must be initiated through the Google Play Console UI. See Help Center:
459
+ # https://support.google.com/googleplay/android-developer/answer/9842756
460
+ # @param [String] name
461
+ # Required. Either package name or app ID of the app rotating the signing key.
462
+ # @param [Google::Apis::AndroidpublisherV3::RotateAppSigningKeyRequest] rotate_app_signing_key_request_object
463
+ # @param [String] fields
464
+ # Selector specifying which fields to include in a partial response.
465
+ # @param [String] quota_user
466
+ # Available to use for quota purposes for server-side applications. Can be any
467
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
468
+ # @param [Google::Apis::RequestOptions] options
469
+ # Request-specific options
470
+ #
471
+ # @yield [result, err] Result & error if block supplied
472
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::RotateAppSigningKeyResponse] parsed result object
473
+ # @yieldparam err [StandardError] error object if request failed
474
+ #
475
+ # @return [Google::Apis::AndroidpublisherV3::RotateAppSigningKeyResponse]
476
+ #
477
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
478
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
479
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
480
+ def rotate_appsigning_app_signing_key(name, rotate_app_signing_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
481
+ command = make_simple_command(:post, 'androidpublisher/v3/applications/{name}/appSigning:rotateAppSigningKey', options)
482
+ command.request_representation = Google::Apis::AndroidpublisherV3::RotateAppSigningKeyRequest::Representation
483
+ command.request_object = rotate_app_signing_key_request_object
484
+ command.response_representation = Google::Apis::AndroidpublisherV3::RotateAppSigningKeyResponse::Representation
485
+ command.response_class = Google::Apis::AndroidpublisherV3::RotateAppSigningKeyResponse
486
+ command.params['name'] = name unless name.nil?
487
+ command.query['fields'] = fields unless fields.nil?
488
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
489
+ execute_or_queue_command(command, &block)
490
+ end
491
+
414
492
  # Creates an app store hosted app. This must be called before any other RPCs for
415
493
  # this hosted app.
416
494
  # @param [String] app_store_package_name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidpublisher_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.106.0
4
+ version: 0.108.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.106.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.108.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
62
62
  rdoc_options: []
63
63
  require_paths: