Class: Google::Apis::SecretmanagerV1::CustomerManagedEncryptionStatus
- Inherits:
-
Object
- Object
- Google::Apis::SecretmanagerV1::CustomerManagedEncryptionStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/secretmanager_v1/classes.rb,
lib/google/apis/secretmanager_v1/representations.rb,
lib/google/apis/secretmanager_v1/representations.rb
Overview
Describes the status of customer-managed encryption.
Instance Attribute Summary collapse
-
#kms_key_version_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomerManagedEncryptionStatus
constructor
A new instance of CustomerManagedEncryptionStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomerManagedEncryptionStatus
Returns a new instance of CustomerManagedEncryptionStatus.
321 322 323 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 321 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key_version_name ⇒ String
Required. The resource name of the Cloud KMS CryptoKeyVersion used to encrypt
the secret payload, in the following format: projects/*/locations/*/keyRings/*
/cryptoKeys/*/versions/*
.
Corresponds to the JSON property kmsKeyVersionName
319 320 321 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 319 def kms_key_version_name @kms_key_version_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
326 327 328 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 326 def update!(**args) @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name) end |