pub struct GooglePrivacyDlpV2CryptoKey {
pub kms_wrapped: Option<GooglePrivacyDlpV2KmsWrappedCryptoKey>,
pub transient: Option<GooglePrivacyDlpV2TransientCryptoKey>,
pub unwrapped: Option<GooglePrivacyDlpV2UnwrappedCryptoKey>,
}Expand description
This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by Cloud Key Management Service (Cloud KMS). When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate IAM policy on the KEK to ensure an attacker cannot unwrap the DEK.
This type is not used in any activity, and only used as part of another schema.
Fields§
§kms_wrapped: Option<GooglePrivacyDlpV2KmsWrappedCryptoKey>Key wrapped using Cloud KMS
transient: Option<GooglePrivacyDlpV2TransientCryptoKey>Transient crypto key
unwrapped: Option<GooglePrivacyDlpV2UnwrappedCryptoKey>Unwrapped crypto key
Trait Implementations§
Source§impl Clone for GooglePrivacyDlpV2CryptoKey
impl Clone for GooglePrivacyDlpV2CryptoKey
Source§fn clone(&self) -> GooglePrivacyDlpV2CryptoKey
fn clone(&self) -> GooglePrivacyDlpV2CryptoKey
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 Debug for GooglePrivacyDlpV2CryptoKey
impl Debug for GooglePrivacyDlpV2CryptoKey
Source§impl Default for GooglePrivacyDlpV2CryptoKey
impl Default for GooglePrivacyDlpV2CryptoKey
Source§fn default() -> GooglePrivacyDlpV2CryptoKey
fn default() -> GooglePrivacyDlpV2CryptoKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2CryptoKey
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2CryptoKey
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 GooglePrivacyDlpV2CryptoKey
Auto Trait Implementations§
impl Freeze for GooglePrivacyDlpV2CryptoKey
impl RefUnwindSafe for GooglePrivacyDlpV2CryptoKey
impl Send for GooglePrivacyDlpV2CryptoKey
impl Sync for GooglePrivacyDlpV2CryptoKey
impl Unpin for GooglePrivacyDlpV2CryptoKey
impl UnwindSafe for GooglePrivacyDlpV2CryptoKey
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