Class GenerateRandomBytesRequest (2.11.1)

GenerateRandomBytesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for KeyManagementService.GenerateRandomBytes.

Attributes

NameDescription
location str
The project-specific location in which to generate random bytes. For example, "projects/my-project/locations/us-central1".
length_bytes int
The length in bytes of the amount of randomness to retrieve. Minimum 8 bytes, maximum 1024 bytes.
protection_level google.cloud.kms_v1.types.ProtectionLevel
The ProtectionLevel to use when generating the random data. Currently, only HSM protection level is supported.

Inheritance

builtins.object > proto.message.Message > GenerateRandomBytesRequest