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. 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."],[[["The webpage provides documentation for the `GenerateRandomBytesRequest` class within the `Google.Cloud.Kms.V1` namespace for .NET, with version 3.16.0 being the latest and many older versions available to browse."],["`GenerateRandomBytesRequest` is a request message for the `KeyManagementService.GenerateRandomBytes` method."],["This class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for message manipulation and comparison."],["The class includes properties like `LengthBytes`, `Location`, and `ProtectionLevel`, which define the parameters for generating random bytes, including the length, specific project location, and desired protection level."],["There are two different constructors for the `GenerateRandomBytesRequest` class, one default and another for copying instances."]]],[]]