GoogleApi.Firestore.V1beta1.Model.TargetChange (google_api_firestore v0.33.0)
View SourceTargets being watched have changed.
Attributes
-
cause(type:GoogleApi.Firestore.V1beta1.Model.Status.t, default:nil) - The error that resulted in this change, if applicable. -
readTime(type:DateTime.t, default:nil) - The consistentread_timefor the giventarget_ids(omitted when the target_ids are not at a consistent snapshot). The stream is guaranteed to send aread_timewithtarget_idsempty whenever the entire stream reaches a new consistent snapshot. ADD, CURRENT, and RESET messages are guaranteed to (eventually) result in a new consistent snapshot (while NO_CHANGE and REMOVE messages are not). For a given stream,read_timeis guaranteed to be monotonically increasing. -
resumeToken(type:String.t, default:nil) - A token that can be used to resume the stream for the giventarget_ids, or all targets iftarget_idsis empty. Not set on every target change. -
targetChangeType(type:String.t, default:nil) - The type of change that occurred. -
targetIds(type:list(integer()), default:nil) - The target IDs of targets that have changed. If empty, the change applies to all targets. The order of the target IDs is not defined.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Firestore.V1beta1.Model.TargetChange{ cause: GoogleApi.Firestore.V1beta1.Model.Status.t() | nil, readTime: DateTime.t() | nil, resumeToken: String.t() | nil, targetChangeType: String.t() | nil, targetIds: [integer()] | nil }