Class WriteResponse
The response for Firestore.Write.
Implements
Inherited Members
Namespace: Google.Apis.Firestore.v1.Data
Assembly: Google.Apis.Firestore.v1.dll
Syntax
public class WriteResponse : IDirectResponseSchema
Properties
CommitTime
object representation of CommitTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CommitTimeDateTimeOffset instead.")]
public virtual object CommitTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CommitTimeDateTimeOffset
DateTimeOffset representation of CommitTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CommitTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CommitTimeRaw
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.
Declaration
[JsonProperty("commitTime")]
public virtual string CommitTimeRaw { 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 |
StreamId
The ID of the stream. Only set on the first message, when a new stream was created.
Declaration
[JsonProperty("streamId")]
public virtual string StreamId { get; set; }
Property Value
Type | Description |
---|---|
string |
StreamToken
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.
Declaration
[JsonProperty("streamToken")]
public virtual string StreamToken { get; set; }
Property Value
Type | Description |
---|---|
string |
WriteResults
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
Declaration
[JsonProperty("writeResults")]
public virtual IList<WriteResult> WriteResults { get; set; }
Property Value
Type | Description |
---|---|
IList<WriteResult> |