View Source GoogleApi.Firestore.V1beta1.Model.WriteResponse (google_api_firestore v0.27.0)

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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.