pub struct RestoreDatabaseEncryptionConfig {
pub encryption_type: Option<String>,
pub kms_key_name: Option<String>,
pub kms_key_names: Option<Vec<String>>,
}
Expand description
Encryption configuration for the restored database.
This type is not used in any activity, and only used as part of another schema.
Fields§
§encryption_type: Option<String>
Required. The encryption type of the restored database.
kms_key_name: Option<String>
Optional. The Cloud KMS key that will be used to encrypt/decrypt the restored database. This field should be set only when encryption_type is CUSTOMER_MANAGED_ENCRYPTION
. Values are of the form projects//locations//keyRings//cryptoKeys/
.
kms_key_names: Option<Vec<String>>
Optional. Specifies the KMS configuration for the one or more keys used to encrypt the database. Values are of the form projects//locations//keyRings//cryptoKeys/
. The keys referenced by kms_key_names must fully cover all regions of the database instance configuration. Some examples: * For single region database instance configs, specify a single regional location KMS key. * For multi-regional database instance configs of type GOOGLE_MANAGED, either specify a multi-regional location KMS key or multiple regional location KMS keys that cover all regions in the instance config. * For a database instance config of type USER_MANAGED, please specify only regional location KMS keys to cover each region in the instance config. Multi-regional location KMS keys are not supported for USER_MANAGED instance configs.
Trait Implementations§
Source§impl Clone for RestoreDatabaseEncryptionConfig
impl Clone for RestoreDatabaseEncryptionConfig
Source§fn clone(&self) -> RestoreDatabaseEncryptionConfig
fn clone(&self) -> RestoreDatabaseEncryptionConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for RestoreDatabaseEncryptionConfig
impl Default for RestoreDatabaseEncryptionConfig
Source§fn default() -> RestoreDatabaseEncryptionConfig
fn default() -> RestoreDatabaseEncryptionConfig
Source§impl<'de> Deserialize<'de> for RestoreDatabaseEncryptionConfig
impl<'de> Deserialize<'de> for RestoreDatabaseEncryptionConfig
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>,
impl Part for RestoreDatabaseEncryptionConfig
Auto Trait Implementations§
impl Freeze for RestoreDatabaseEncryptionConfig
impl RefUnwindSafe for RestoreDatabaseEncryptionConfig
impl Send for RestoreDatabaseEncryptionConfig
impl Sync for RestoreDatabaseEncryptionConfig
impl Unpin for RestoreDatabaseEncryptionConfig
impl UnwindSafe for RestoreDatabaseEncryptionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more