google-apis-androidpublisher_v3 0.106.0 → 0.107.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/androidpublisher_v3/classes.rb +252 -0
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +2 -2
- data/lib/google/apis/androidpublisher_v3/representations.rb +148 -0
- data/lib/google/apis/androidpublisher_v3/service.rb +78 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1d6d6530fbab8be8db68c443011147d56e5dcc8e28f72efb11443747bcd46f24
|
|
4
|
+
data.tar.gz: b73dc5d8fc9ff14a883e0917c8a1f3212135312eec38cd077912842525f6481f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3915be49bc9e88938e2da5f10eb7630a156f730f48d267227995e0995b48d5dfc51c355fbdbfa18188cc07336856402f7f39e28baf3cf20726cfe1399c00e589
|
|
7
|
+
data.tar.gz: e2d7e316a34c4cfe47c1829f115422c02e523d394ba68d7a8b9039bd07fda891b2f2b4d9821f497863c1004f89737d7e42dd127745d56eea230fa9b72c8057b3
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
@@ -9402,6 +9581,79 @@ module Google
|
|
|
9402
9581
|
end
|
|
9403
9582
|
end
|
|
9404
9583
|
|
|
9584
|
+
# Request to rotate an app's signing key.
|
|
9585
|
+
class RotateAppSigningKeyRequest
|
|
9586
|
+
include Google::Apis::Core::Hashable
|
|
9587
|
+
|
|
9588
|
+
# Required. Reason for rotating the app key.
|
|
9589
|
+
# Corresponds to the JSON property `keyRotationReason`
|
|
9590
|
+
# @return [String]
|
|
9591
|
+
attr_accessor :key_rotation_reason
|
|
9592
|
+
|
|
9593
|
+
# Message representing rotated Cloud KMS key. Consists of the Cloud KMS key and
|
|
9594
|
+
# its associated proof of rotation.
|
|
9595
|
+
# Corresponds to the JSON property `rotatedCloudKmsKey`
|
|
9596
|
+
# @return [Google::Apis::AndroidpublisherV3::RotatedCloudKmsKey]
|
|
9597
|
+
attr_accessor :rotated_cloud_kms_key
|
|
9598
|
+
|
|
9599
|
+
def initialize(**args)
|
|
9600
|
+
update!(**args)
|
|
9601
|
+
end
|
|
9602
|
+
|
|
9603
|
+
# Update properties of this object
|
|
9604
|
+
def update!(**args)
|
|
9605
|
+
@key_rotation_reason = args[:key_rotation_reason] if args.key?(:key_rotation_reason)
|
|
9606
|
+
@rotated_cloud_kms_key = args[:rotated_cloud_kms_key] if args.key?(:rotated_cloud_kms_key)
|
|
9607
|
+
end
|
|
9608
|
+
end
|
|
9609
|
+
|
|
9610
|
+
# Response to rotate an app's signing key.
|
|
9611
|
+
class RotateAppSigningKeyResponse
|
|
9612
|
+
include Google::Apis::Core::Hashable
|
|
9613
|
+
|
|
9614
|
+
# Hash digests of a certificate.
|
|
9615
|
+
# Corresponds to the JSON property `rotatedKeyCertificate`
|
|
9616
|
+
# @return [Google::Apis::AndroidpublisherV3::CertificateHashes]
|
|
9617
|
+
attr_accessor :rotated_key_certificate
|
|
9618
|
+
|
|
9619
|
+
def initialize(**args)
|
|
9620
|
+
update!(**args)
|
|
9621
|
+
end
|
|
9622
|
+
|
|
9623
|
+
# Update properties of this object
|
|
9624
|
+
def update!(**args)
|
|
9625
|
+
@rotated_key_certificate = args[:rotated_key_certificate] if args.key?(:rotated_key_certificate)
|
|
9626
|
+
end
|
|
9627
|
+
end
|
|
9628
|
+
|
|
9629
|
+
# Message representing rotated Cloud KMS key. Consists of the Cloud KMS key and
|
|
9630
|
+
# its associated proof of rotation.
|
|
9631
|
+
class RotatedCloudKmsKey
|
|
9632
|
+
include Google::Apis::Core::Hashable
|
|
9633
|
+
|
|
9634
|
+
# Cloud KMS key and the certificate associated with the key.
|
|
9635
|
+
# Corresponds to the JSON property `cloudKmsKeyAndCert`
|
|
9636
|
+
# @return [Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert]
|
|
9637
|
+
attr_accessor :cloud_kms_key_and_cert
|
|
9638
|
+
|
|
9639
|
+
# Required. Proof-of-rotation. See [creating signing certificate lineages](https:
|
|
9640
|
+
# //developer.android.com/studio/command-line/apksigner#rotate_signing_keys_2).
|
|
9641
|
+
# Corresponds to the JSON property `signingCertificateLineage`
|
|
9642
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
9643
|
+
# @return [String]
|
|
9644
|
+
attr_accessor :signing_certificate_lineage
|
|
9645
|
+
|
|
9646
|
+
def initialize(**args)
|
|
9647
|
+
update!(**args)
|
|
9648
|
+
end
|
|
9649
|
+
|
|
9650
|
+
# Update properties of this object
|
|
9651
|
+
def update!(**args)
|
|
9652
|
+
@cloud_kms_key_and_cert = args[:cloud_kms_key_and_cert] if args.key?(:cloud_kms_key_and_cert)
|
|
9653
|
+
@signing_certificate_lineage = args[:signing_certificate_lineage] if args.key?(:signing_certificate_lineage)
|
|
9654
|
+
end
|
|
9655
|
+
end
|
|
9656
|
+
|
|
9405
9657
|
# Request to update Safety Labels of an app.
|
|
9406
9658
|
class SafetyLabelsUpdateRequest
|
|
9407
9659
|
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.107.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 = "
|
|
25
|
+
REVISION = "20260817"
|
|
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
|
|
|
@@ -1822,6 +1864,24 @@ module Google
|
|
|
1822
1864
|
include Google::Apis::Core::JsonObjectSupport
|
|
1823
1865
|
end
|
|
1824
1866
|
|
|
1867
|
+
class RotateAppSigningKeyRequest
|
|
1868
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1869
|
+
|
|
1870
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1871
|
+
end
|
|
1872
|
+
|
|
1873
|
+
class RotateAppSigningKeyResponse
|
|
1874
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1875
|
+
|
|
1876
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1877
|
+
end
|
|
1878
|
+
|
|
1879
|
+
class RotatedCloudKmsKey
|
|
1880
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1881
|
+
|
|
1882
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1883
|
+
end
|
|
1884
|
+
|
|
1825
1885
|
class SafetyLabelsUpdateRequest
|
|
1826
1886
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1827
1887
|
|
|
@@ -3089,6 +3149,31 @@ module Google
|
|
|
3089
3149
|
end
|
|
3090
3150
|
end
|
|
3091
3151
|
|
|
3152
|
+
class CertificateHashes
|
|
3153
|
+
# @private
|
|
3154
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3155
|
+
property :certificate_hash_md5, as: 'certificateHashMd5'
|
|
3156
|
+
property :certificate_hash_sha1, as: 'certificateHashSha1'
|
|
3157
|
+
property :certificate_hash_sha256, as: 'certificateHashSha256'
|
|
3158
|
+
end
|
|
3159
|
+
end
|
|
3160
|
+
|
|
3161
|
+
class CloudKmsKey
|
|
3162
|
+
# @private
|
|
3163
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3164
|
+
property :crypto_key_version_resource, as: 'cryptoKeyVersionResource'
|
|
3165
|
+
end
|
|
3166
|
+
end
|
|
3167
|
+
|
|
3168
|
+
class CloudKmsKeyAndCert
|
|
3169
|
+
# @private
|
|
3170
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3171
|
+
property :cloud_kms_key, as: 'cloudKmsKey', class: Google::Apis::AndroidpublisherV3::CloudKmsKey, decorator: Google::Apis::AndroidpublisherV3::CloudKmsKey::Representation
|
|
3172
|
+
|
|
3173
|
+
property :pem_certificate, :base64 => true, as: 'pemCertificate'
|
|
3174
|
+
end
|
|
3175
|
+
end
|
|
3176
|
+
|
|
3092
3177
|
class CoarseLocation
|
|
3093
3178
|
# @private
|
|
3094
3179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3519,6 +3604,43 @@ module Google
|
|
|
3519
3604
|
end
|
|
3520
3605
|
end
|
|
3521
3606
|
|
|
3607
|
+
class EnrollAppRequest
|
|
3608
|
+
# @private
|
|
3609
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3610
|
+
property :enroll_existing_app, as: 'enrollExistingApp', class: Google::Apis::AndroidpublisherV3::EnrollExistingApp, decorator: Google::Apis::AndroidpublisherV3::EnrollExistingApp::Representation
|
|
3611
|
+
|
|
3612
|
+
property :enroll_new_app, as: 'enrollNewApp', class: Google::Apis::AndroidpublisherV3::EnrollNewApp, decorator: Google::Apis::AndroidpublisherV3::EnrollNewApp::Representation
|
|
3613
|
+
|
|
3614
|
+
property :pem_upload_certificate, :base64 => true, as: 'pemUploadCertificate'
|
|
3615
|
+
end
|
|
3616
|
+
end
|
|
3617
|
+
|
|
3618
|
+
class EnrollAppResponse
|
|
3619
|
+
# @private
|
|
3620
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3621
|
+
property :signing_certificate, as: 'signingCertificate', class: Google::Apis::AndroidpublisherV3::CertificateHashes, decorator: Google::Apis::AndroidpublisherV3::CertificateHashes::Representation
|
|
3622
|
+
|
|
3623
|
+
property :upload_certificate, as: 'uploadCertificate', class: Google::Apis::AndroidpublisherV3::CertificateHashes, decorator: Google::Apis::AndroidpublisherV3::CertificateHashes::Representation
|
|
3624
|
+
|
|
3625
|
+
end
|
|
3626
|
+
end
|
|
3627
|
+
|
|
3628
|
+
class EnrollExistingApp
|
|
3629
|
+
# @private
|
|
3630
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3631
|
+
property :cloud_kms_key, as: 'cloudKmsKey', class: Google::Apis::AndroidpublisherV3::CloudKmsKey, decorator: Google::Apis::AndroidpublisherV3::CloudKmsKey::Representation
|
|
3632
|
+
|
|
3633
|
+
end
|
|
3634
|
+
end
|
|
3635
|
+
|
|
3636
|
+
class EnrollNewApp
|
|
3637
|
+
# @private
|
|
3638
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3639
|
+
property :cloud_kms_key_and_cert, as: 'cloudKmsKeyAndCert', class: Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert, decorator: Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert::Representation
|
|
3640
|
+
|
|
3641
|
+
end
|
|
3642
|
+
end
|
|
3643
|
+
|
|
3522
3644
|
class ExpansionFile
|
|
3523
3645
|
# @private
|
|
3524
3646
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -5215,6 +5337,32 @@ module Google
|
|
|
5215
5337
|
end
|
|
5216
5338
|
end
|
|
5217
5339
|
|
|
5340
|
+
class RotateAppSigningKeyRequest
|
|
5341
|
+
# @private
|
|
5342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5343
|
+
property :key_rotation_reason, as: 'keyRotationReason'
|
|
5344
|
+
property :rotated_cloud_kms_key, as: 'rotatedCloudKmsKey', class: Google::Apis::AndroidpublisherV3::RotatedCloudKmsKey, decorator: Google::Apis::AndroidpublisherV3::RotatedCloudKmsKey::Representation
|
|
5345
|
+
|
|
5346
|
+
end
|
|
5347
|
+
end
|
|
5348
|
+
|
|
5349
|
+
class RotateAppSigningKeyResponse
|
|
5350
|
+
# @private
|
|
5351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5352
|
+
property :rotated_key_certificate, as: 'rotatedKeyCertificate', class: Google::Apis::AndroidpublisherV3::CertificateHashes, decorator: Google::Apis::AndroidpublisherV3::CertificateHashes::Representation
|
|
5353
|
+
|
|
5354
|
+
end
|
|
5355
|
+
end
|
|
5356
|
+
|
|
5357
|
+
class RotatedCloudKmsKey
|
|
5358
|
+
# @private
|
|
5359
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5360
|
+
property :cloud_kms_key_and_cert, as: 'cloudKmsKeyAndCert', class: Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert, decorator: Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert::Representation
|
|
5361
|
+
|
|
5362
|
+
property :signing_certificate_lineage, :base64 => true, as: 'signingCertificateLineage'
|
|
5363
|
+
end
|
|
5364
|
+
end
|
|
5365
|
+
|
|
5218
5366
|
class SafetyLabelsUpdateRequest
|
|
5219
5367
|
# @private
|
|
5220
5368
|
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.
|
|
4
|
+
version: 0.107.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.107.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:
|