Class: Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::CloudKmsKeyAndCert
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
Cloud KMS key and the certificate associated with the key.
Instance Attribute Summary collapse
-
#cloud_kms_key ⇒ Google::Apis::AndroidpublisherV3::CloudKmsKey
Reference to a private key hosted in developer-managed Google Cloud KMS.
-
#pem_certificate ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudKmsKeyAndCert
constructor
A new instance of CloudKmsKeyAndCert.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudKmsKeyAndCert
Returns a new instance of CloudKmsKeyAndCert.
2421 2422 2423 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2421 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_kms_key ⇒ Google::Apis::AndroidpublisherV3::CloudKmsKey
Reference to a private key hosted in developer-managed Google Cloud KMS.
Corresponds to the JSON property cloudKmsKey
2412 2413 2414 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2412 def cloud_kms_key @cloud_kms_key end |
#pem_certificate ⇒ String
Required. Certificate associated with the key. The bytes must contain the
certificate in PEM format.
Corresponds to the JSON property pemCertificate
NOTE: Values are automatically base64 encoded/decoded in the client library.
2419 2420 2421 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2419 def pem_certificate @pem_certificate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2426 2427 2428 2429 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2426 def update!(**args) @cloud_kms_key = args[:cloud_kms_key] if args.key?(:cloud_kms_key) @pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate) end |