GoogleApi.Firestore.V1beta1.Model.DocumentChange (google_api_firestore v0.21.3) View Source

A Document has changed. May be the result of multiple writes, including deletes, that ultimately resulted in a new value for the Document. Multiple DocumentChange messages may be returned for the same logical change, if multiple targets are affected.

Attributes

  • document (type: GoogleApi.Firestore.V1beta1.Model.Document.t, default: nil) - The new state of the Document. If mask is set, contains only fields that were updated or added.
  • removedTargetIds (type: list(integer()), default: nil) - A set of target IDs for targets that no longer match this document.
  • targetIds (type: list(integer()), default: nil) - A set of target IDs of targets that match this document.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Firestore.V1beta1.Model.DocumentChange{
  document: GoogleApi.Firestore.V1beta1.Model.Document.t() | nil,
  removedTargetIds: [integer()] | nil,
  targetIds: [integer()] | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.