pub struct GooglePrivacyDlpV2beta1KmsWrappedCryptoKey {
pub wrapped_key: Option<Vec<u8>>,
pub crypto_key_name: Option<String>,
}
Expand description
Include to use an existing data crypto key wrapped by KMS. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a kms-wrapped crypto key: dlp.kms.encrypt
This type is not used in any activity, and only used as part of another schema.
Fields§
§wrapped_key: Option<Vec<u8>>
The wrapped data crypto key. [required]
crypto_key_name: Option<String>
The resource name of the KMS CryptoKey to use for unwrapping. [required]
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
impl Clone for GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
source§fn clone(&self) -> GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
fn clone(&self) -> GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
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 Default for GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
impl Default for GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
source§fn default() -> GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
fn default() -> GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
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 GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
impl Send for GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
impl Sync for GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
impl Unpin for GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
impl UnwindSafe for GooglePrivacyDlpV2beta1KmsWrappedCryptoKey
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