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 page provides reference documentation for the `GenerateRandomBytesRequest` class within the Google Cloud Key Management Service (KMS) v1 API, specifically for the .NET library."],["The `GenerateRandomBytesRequest` class is used to request the generation of random bytes, supporting the retrieval of between 8 and 1024 bytes, and currently only supports `HSM` as the protection level."],["The page includes version-specific documentation, ranging from version 2.2.0 to the latest version, 3.16.0, allowing users to access information relevant to their specific version of the API."],["The `GenerateRandomBytesRequest` class implements multiple interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` and inherits methods from the base `object` class."],["The class contains properties such as `LengthBytes`, `Location`, and `ProtectionLevel`, which are used to specify the parameters of the request for generating random bytes."]]],[]]