Class GenerateRandomBytesRequest (2.14.1)

Stay organized with collections Save and categorize content based on your preferences.
GenerateRandomBytesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for KeyManagementService.GenerateRandomBytes.


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.
The ProtectionLevel to use when generating the random data. Currently, only HSM protection level is supported.