View Source GoogleApi.Firestore.V1.Model.DocumentRemove (google_api_firestore v0.27.0)

A Document has been removed from the view of the targets. Sent if the document is no longer relevant to a target and is out of view. Can be sent instead of a DocumentDelete or a DocumentChange if the server can not send the new value of the document. Multiple DocumentRemove messages may be returned for the same logical write or delete, if multiple targets are affected.

Attributes

  • document (type: String.t, default: nil) - The resource name of the Document that has gone out of view.
  • readTime (type: DateTime.t, default: nil) - The read timestamp at which the remove was observed. Greater or equal to the commit_time of the change/delete/remove.
  • removedTargetIds (type: list(integer()), default: nil) - A set of target IDs for targets that previously matched this document.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Firestore.V1.Model.DocumentRemove{
  document: String.t() | nil,
  readTime: DateTime.t() | nil,
  removedTargetIds: [integer()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.