Struct google_bigtableadmin2::api::EncryptionConfig
source · pub struct EncryptionConfig {
pub kms_key_name: Option<String>,
}Expand description
Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.
This type is not used in any activity, and only used as part of another schema.
Fields§
§kms_key_name: Option<String>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. Values are of the form projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}
Trait Implementations§
source§impl Clone for EncryptionConfig
impl Clone for EncryptionConfig
source§fn clone(&self) -> EncryptionConfig
fn clone(&self) -> EncryptionConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EncryptionConfig
impl Debug for EncryptionConfig
source§impl Default for EncryptionConfig
impl Default for EncryptionConfig
source§fn default() -> EncryptionConfig
fn default() -> EncryptionConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EncryptionConfig
impl<'de> Deserialize<'de> for EncryptionConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more