Class: Google::Apis::SecretmanagerV1::CustomerManagedEncryptionStatus
- Inherits:
-
Object
- Object
- Google::Apis::SecretmanagerV1::CustomerManagedEncryptionStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/secretmanager_v1/classes.rb,
generated/google/apis/secretmanager_v1/representations.rb,
generated/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.
291 292 293 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 291 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
289 290 291 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 289 def kms_key_version_name @kms_key_version_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
296 297 298 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 296 def update!(**args) @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name) end |