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\u003eThe content provides documentation for the \u003ccode\u003eGenerateRandomBytesResponse\u003c/code\u003e class within the Google Cloud Key Management Service v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers the latest version (3.16.0) of the API, alongside numerous previous versions, down to 2.2.0, enabling users to access specific versions as needed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGenerateRandomBytesResponse\u003c/code\u003e class is designed to handle the response from the \u003ccode\u003eKeyManagementService.GenerateRandomBytes\u003c/code\u003e method, containing randomly generated data and an integrity checksum.\u003c/p\u003e\n"],["\u003cp\u003eThe available properties of the class include \u003ccode\u003eData\u003c/code\u003e, which houses the generated data as \u003ccode\u003eByteString\u003c/code\u003e, and \u003ccode\u003eDataCrc32C\u003c/code\u003e, which provides a checksum for the \u003ccode\u003eData\u003c/code\u003e field for integrity verification.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation describes the implementation of several interfaces by \u003ccode\u003eGenerateRandomBytesResponse\u003c/code\u003e, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, to ensure broad compatibility and functionality.\u003c/p\u003e\n"]]],[],null,[]]