GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2KmsWrappedCryptoKey (google_api_dlp v0.41.1) View Source

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/dlp/docs/create-wrapped-key).

Attributes

  • cryptoKeyName (type: String.t, default: nil) - Required. The resource name of the KMS CryptoKey to use for unwrapping.
  • wrappedKey (type: String.t, default: nil) - Required. The wrapped data crypto key.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2KmsWrappedCryptoKey{
  cryptoKeyName: String.t() | nil,
  wrappedKey: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.