public sealed class GenerateRandomBytesRequest : IMessage<GenerateRandomBytesRequest>, IEquatable<GenerateRandomBytesRequest>, IDeepCloneable<GenerateRandomBytesRequest>, IBufferMessage, IMessage
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. Defaults to
[SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
[[["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 page details the `GenerateRandomBytesRequest` class, which is used to request random byte generation through the Key Management Service."],["The latest version of the `GenerateRandomBytesRequest` class is 3.16.0, with a history of versions down to 2.2.0 available for reference."],["The `GenerateRandomBytesRequest` class inherits from the base `Object` class and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["Key properties of the class include `LengthBytes`, specifying the amount of random data requested (between 8 and 1024 bytes), `Location` specifying where the data should be generated, and `ProtectionLevel`, indicating the desired security level."],["The namespace for this class is `Google.Cloud.Kms.V1`, and it's found in the `Google.Cloud.Kms.V1.dll` assembly."]]],[]]