google_api_firestore v0.13.0 GoogleApi.Firestore.V1beta1.Model.WriteResponse 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.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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Firestore.V1beta1.Model.WriteResponse{
  commitTime: DateTime.t(),
  streamId: String.t(),
  streamToken: String.t(),
  writeResults: [GoogleApi.Firestore.V1beta1.Model.WriteResult.t()]
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.