class Google::Apis::BigtableadminV1::EncryptionConfig

Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.

Attributes

kms_key_name[RW]

Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster. 3) All clusters within an instance must use the same CMEK key. Values are of the form `projects/`project`/locations/` location`/keyRings/`keyring`/cryptoKeys/`key“ Corresponds to the JSON property `kmsKeyName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigtableadmin_v1/classes.rb, line 400
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigtableadmin_v1/classes.rb, line 405
def update!(**args)
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
end