public sealed class WriteResponse : IMessage<WriteResponse>, IEquatable<WriteResponse>, IDeepCloneable<WriteResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class WriteResponse.
The response for [Firestore.Write][google.firestore.v1.Firestore.Write].
Implements
IMessageWriteResponse, IEquatableWriteResponse, IDeepCloneableWriteResponse, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.V1Assembly
Google.Cloud.Firestore.V1.dll
Constructors
WriteResponse()
public WriteResponse()
WriteResponse(WriteResponse)
public WriteResponse(WriteResponse other)
Parameter | |
---|---|
Name | Description |
other | WriteResponse |
Properties
CommitTime
public Timestamp CommitTime { get; set; }
The time at which the commit occurred. Any read with an equal or greater
read_time
is guaranteed to see the effects of the write.
Property Value | |
---|---|
Type | Description |
Timestamp |
StreamId
public string StreamId { get; set; }
The ID of the stream. Only set on the first message, when a new stream was created.
Property Value | |
---|---|
Type | Description |
string |
StreamToken
public ByteString StreamToken { get; set; }
A token that represents the position of this response in the stream. This can be used by a client to resume the stream at this point.
This field is always set.
Property Value | |
---|---|
Type | Description |
ByteString |
WriteResults
public RepeatedField<WriteResult> WriteResults { get; }
The result of applying the writes.
This i-th write result corresponds to the i-th write in the request.
Property Value | |
---|---|
Type | Description |
RepeatedFieldWriteResult |