Class: Google::Apis::GkebackupV1::EncryptionKey
- Inherits:
-
Object
- Object
- Google::Apis::GkebackupV1::EncryptionKey
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkebackup_v1/classes.rb,
lib/google/apis/gkebackup_v1/representations.rb,
lib/google/apis/gkebackup_v1/representations.rb
Overview
Defined a customer managed encryption key that will be used to encrypt Backup artifacts.
Instance Attribute Summary collapse
-
#gcp_kms_encryption_key ⇒ String
Google Cloud KMS encryption key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EncryptionKey
constructor
A new instance of EncryptionKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EncryptionKey
Returns a new instance of EncryptionKey.
645 646 647 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 645 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcp_kms_encryption_key ⇒ String
Google Cloud KMS encryption key. Format: projects/*/locations/*/keyRings/*/
cryptoKeys/*
Corresponds to the JSON property gcpKmsEncryptionKey
643 644 645 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 643 def gcp_kms_encryption_key @gcp_kms_encryption_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
650 651 652 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 650 def update!(**args) @gcp_kms_encryption_key = args[:gcp_kms_encryption_key] if args.key?(:gcp_kms_encryption_key) end |