public sealed class GenerateRandomBytesRequest : IMessage<GenerateRandomBytesRequest>, IEquatable<GenerateRandomBytesRequest>, IDeepCloneable<GenerateRandomBytesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Key Management Service v1 API class GenerateRandomBytesRequest.
Request message for
[KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes].
public ProtectionLevel ProtectionLevel { get; set; }
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when
generating the random data. Currently, only
[HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is
supported.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides reference documentation for the `GenerateRandomBytesRequest` class within the Google Cloud Key Management Service (KMS) v1 API, specifically for version 3.7.0."],["The `GenerateRandomBytesRequest` class is used to request the generation of random bytes via the `KeyManagementService.GenerateRandomBytes` method and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The documentation includes an extensive list of versions, ranging from 3.16.0 (the latest) down to 2.2.0, with links to specific documentation for each version."],["The class includes properties for specifying `LengthBytes` (ranging from 8 to 1024), `Location` of the project, and the `ProtectionLevel` (currently only supporting `HSM`)."],["The documentation provides information about the class's constructors, inherited members, and the assembly it belongs to."]]],[]]