pub struct GooglePrivacyDlpV2KmsWrappedCryptoKey {
pub crypto_key_name: Option<String>,
pub wrapped_key: Option<Vec<u8>>,
}Expand description
Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a KMS-wrapped crypto key: dlp.kms.encrypt For more information, see [Creating a wrapped key] (https://cloud.google.com/sensitive-data-protection/docs/create-wrapped-key). Note: When you use Cloud KMS for cryptographic operations, charges apply.
This type is not used in any activity, and only used as part of another schema.
Fields§
§crypto_key_name: Option<String>Required. The resource name of the KMS CryptoKey to use for unwrapping.
wrapped_key: Option<Vec<u8>>Required. The wrapped data crypto key.
Trait Implementations§
Source§impl Clone for GooglePrivacyDlpV2KmsWrappedCryptoKey
impl Clone for GooglePrivacyDlpV2KmsWrappedCryptoKey
Source§fn clone(&self) -> GooglePrivacyDlpV2KmsWrappedCryptoKey
fn clone(&self) -> GooglePrivacyDlpV2KmsWrappedCryptoKey
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 GooglePrivacyDlpV2KmsWrappedCryptoKey
impl Default for GooglePrivacyDlpV2KmsWrappedCryptoKey
Source§fn default() -> GooglePrivacyDlpV2KmsWrappedCryptoKey
fn default() -> GooglePrivacyDlpV2KmsWrappedCryptoKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2KmsWrappedCryptoKey
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2KmsWrappedCryptoKey
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 GooglePrivacyDlpV2KmsWrappedCryptoKey
Auto Trait Implementations§
impl Freeze for GooglePrivacyDlpV2KmsWrappedCryptoKey
impl RefUnwindSafe for GooglePrivacyDlpV2KmsWrappedCryptoKey
impl Send for GooglePrivacyDlpV2KmsWrappedCryptoKey
impl Sync for GooglePrivacyDlpV2KmsWrappedCryptoKey
impl Unpin for GooglePrivacyDlpV2KmsWrappedCryptoKey
impl UnwindSafe for GooglePrivacyDlpV2KmsWrappedCryptoKey
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