GoogleApi.Firestore.V1.Model.WriteResponse (google_api_firestore v0.21.3) View Source

The response for Firestore.Write.

Attributes

  • commitTime (type: DateTime.t, default: nil) - 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.
  • streamId (type: String.t, default: nil) - The ID of the stream. Only set on the first message, when a new stream was created.
  • streamToken (type: String.t, default: nil) - 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.
  • writeResults (type: list(GoogleApi.Firestore.V1.Model.WriteResult.t), default: nil) - The result of applying the writes. This i-th write result corresponds to the i-th write in the request.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Firestore.V1.Model.WriteResponse{
  commitTime: DateTime.t() | nil,
  streamId: String.t() | nil,
  streamToken: String.t() | nil,
  writeResults: [GoogleApi.Firestore.V1.Model.WriteResult.t()] | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.