Firestore v1 API - Class WriteResponse (3.4.0)

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].

Inheritance

object > WriteResponse

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

WriteResponse()

public WriteResponse()

WriteResponse(WriteResponse)

public WriteResponse(WriteResponse other)
Parameter
NameDescription
otherWriteResponse

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RepeatedFieldWriteResult