google_api_firestore v0.13.0 GoogleApi.Firestore.V1.Model.DocumentChange 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.V1.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

Link to this type

t()

View Source
t() :: %GoogleApi.Firestore.V1.Model.DocumentChange{
  document: GoogleApi.Firestore.V1.Model.Document.t(),
  removedTargetIds: [integer()],
  targetIds: [integer()]
}

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.