class Google::Apis::SpannerV1::EncryptionConfig
Encryption configuration for a Cloud Spanner database.
Attributes
kms_key_name[RW]
The Cloud KMS key to be used for encrypting and decrypting the database. Values are of the form `projects//locations//keyRings//cryptoKeys/`. Corresponds to the JSON property `kmsKeyName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 1193 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/spanner_v1/classes.rb, line 1198 def update!(**args) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) end