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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.