pub struct GoogleFirestoreAdminV1CustomerManagedEncryptionOptions {
pub kms_key_name: Option<String>,
}Expand description
The configuration options for using CMEK (Customer Managed Encryption Key) encryption.
This type is not used in any activity, and only used as part of another schema.
Fields§
§kms_key_name: Option<String>Required. Only keys in the same location as the database are allowed to be used for encryption. For Firestore’s nam5 multi-region, this corresponds to Cloud KMS multi-region us. For Firestore’s eur3 multi-region, this corresponds to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations. The expected format is projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
Trait Implementations§
Source§impl Clone for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
impl Clone for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
Source§fn clone(&self) -> GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
fn clone(&self) -> GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
Returns a duplicate 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 Default for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
impl Default for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
Source§fn default() -> GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
fn default() -> GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
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
impl Part for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
Auto Trait Implementations§
impl Freeze for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
impl RefUnwindSafe for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
impl Send for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
impl Sync for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
impl Unpin for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
impl UnwindSafe for GoogleFirestoreAdminV1CustomerManagedEncryptionOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more