Class BatchWriteResponse
The result of applying a batch of mutations.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class BatchWriteResponse : IDirectResponseSchema
Properties
CommitTimestamp
object representation of CommitTimestampRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CommitTimestampDateTimeOffset instead.")]
public virtual object CommitTimestamp { get; set; }
Property Value
Type | Description |
---|---|
object |
CommitTimestampDateTimeOffset
DateTimeOffset representation of CommitTimestampRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CommitTimestampDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CommitTimestampRaw
The commit timestamp of the transaction that applied this batch. Present if status
is OK
, absent
otherwise.
Declaration
[JsonProperty("commitTimestamp")]
public virtual string CommitTimestampRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Indexes
The mutation groups applied in this batch. The values index into the mutation_groups
field in the
corresponding BatchWriteRequest
.
Declaration
[JsonProperty("indexes")]
public virtual IList<int?> Indexes { get; set; }
Property Value
Type | Description |
---|---|
IList<int?> |
Status
An OK
status indicates success. Any other status indicates a failure.
Declaration
[JsonProperty("status")]
public virtual Status Status { get; set; }
Property Value
Type | Description |
---|---|
Status |