Class GenerateRandomBytesResponse (3.0.0)

public sealed class GenerateRandomBytesResponse : IMessage<GenerateRandomBytesResponse>, IEquatable<GenerateRandomBytesResponse>, IDeepCloneable<GenerateRandomBytesResponse>, IBufferMessage, IMessage

Response message for [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes].

Inheritance

Object > GenerateRandomBytesResponse

Namespace

Google.Cloud.Kms.V1

Assembly

Google.Cloud.Kms.V1.dll

Constructors

GenerateRandomBytesResponse()

public GenerateRandomBytesResponse()

GenerateRandomBytesResponse(GenerateRandomBytesResponse)

public GenerateRandomBytesResponse(GenerateRandomBytesResponse other)
Parameter
NameDescription
otherGenerateRandomBytesResponse

Properties

Data

public ByteString Data { get; set; }

The generated data.

Property Value
TypeDescription
ByteString

DataCrc32C

public long? DataCrc32C { get; set; }

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.

Property Value
TypeDescription
Nullable<Int64>