Class GenerateRandomBytesRequest (2.7.0)

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. Defaults to SOFTWARE.