public sealed class GenerateRandomBytesResponse : IMessage<GenerateRandomBytesResponse>, IEquatable<GenerateRandomBytesResponse>, IDeepCloneable<GenerateRandomBytesResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Key Management Service v1 API class GenerateRandomBytesResponse.
Response message for
[KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes].
Integrity verification field. A CRC32C checksum of the returned
[GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
An integrity check of
[GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
can be performed by computing the CRC32C checksum of
[GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
and comparing your results to this field. Discard the response in case of
non-matching checksum values, and perform a limited number of retries. A
persistent mismatch may indicate an issue in your computation of the CRC32C
checksum. Note: This field is defined as int64 for reasons of compatibility
across different languages. However, it is a non-negative integer, which
will never exceed 2^32-1, and can be safely downconverted to uint32 in
languages that support this type.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eGenerateRandomBytesResponse\u003c/code\u003e class within the Google Cloud Key Management Service (KMS) v1 API for .NET, detailing its purpose as a response message for the \u003ccode\u003eGenerateRandomBytes\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGenerateRandomBytesResponse\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor and one that takes another \u003ccode\u003eGenerateRandomBytesResponse\u003c/code\u003e object for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGenerateRandomBytesResponse\u003c/code\u003e class includes two key properties: \u003ccode\u003eData\u003c/code\u003e, which holds the generated data as a \u003ccode\u003eByteString\u003c/code\u003e, and \u003ccode\u003eDataCrc32C\u003c/code\u003e, which contains a CRC32C checksum for verifying the integrity of the \u003ccode\u003eData\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also lists the available versions for the API class, ranging from 2.2.0 up to 3.16.0, with 3.16.0 being the latest release.\u003c/p\u003e\n"]]],[],null,[]]