View Source GoogleApi.CloudKMS.V1.Model.GenerateRandomBytesRequest (google_api_cloud_kms v0.42.0)

Request message for KeyManagementService.GenerateRandomBytes.

Attributes

  • lengthBytes (type: integer(), default: nil) - The length in bytes of the amount of randomness to retrieve. Minimum 8 bytes, maximum 1024 bytes.
  • protectionLevel (type: String.t, default: nil) - The ProtectionLevel to use when generating the random data. Currently, only HSM protection level is supported.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudKMS.V1.Model.GenerateRandomBytesRequest{
  lengthBytes: integer() | nil,
  protectionLevel: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.