public sealed class BatchWriteResponse : IMessage<BatchWriteResponse>, IEquatable<BatchWriteResponse>, IDeepCloneable<BatchWriteResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class BatchWriteResponse.
The result of applying a batch of mutations.
Implements
IMessageBatchWriteResponse, IEquatableBatchWriteResponse, IDeepCloneableBatchWriteResponse, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Constructors
BatchWriteResponse()
public BatchWriteResponse()
BatchWriteResponse(BatchWriteResponse)
public BatchWriteResponse(BatchWriteResponse other)
Parameter | |
---|---|
Name | Description |
other | BatchWriteResponse |
Properties
CommitTimestamp
public Timestamp CommitTimestamp { get; set; }
The commit timestamp of the transaction that applied this batch.
Present if status
is OK
, absent otherwise.
Property Value | |
---|---|
Type | Description |
Timestamp |
Indexes
public RepeatedField<int> Indexes { get; }
The mutation groups applied in this batch. The values index into the
mutation_groups
field in the corresponding BatchWriteRequest
.
Property Value | |
---|---|
Type | Description |
RepeatedFieldint |
Status
public Status Status { get; set; }
An OK
status indicates success. Any other status indicates a failure.
Property Value | |
---|---|
Type | Description |
Status |