View Source GoogleApi.KMSInventory.V1.Model.GoogleCloudKmsV1CryptoKeyVersionTemplate (google_api_kms_inventory v0.4.0)

A CryptoKeyVersionTemplate specifies the properties to use when creating a new CryptoKeyVersion, either manually with CreateCryptoKeyVersion or automatically as a result of auto-rotation.

Attributes

  • algorithm (type: String.t, default: nil) - Required. Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT.
  • protectionLevel (type: String.t, default: nil) - ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.KMSInventory.V1.Model.GoogleCloudKmsV1CryptoKeyVersionTemplate{
    algorithm: String.t() | nil,
    protectionLevel: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.