Send feedback
Cloud Firestore V1 API - Module Google::Cloud::Firestore::V1::TargetChange::TargetChangeType (v0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.5.0 keyboard_arrow_down
Reference documentation and code samples for the Cloud Firestore V1 API module Google::Cloud::Firestore::V1::TargetChange::TargetChangeType.
The type of change.
Constants
NO_CHANGE
value: 0 No change has occurred. Used only to send an updated resume_token
.
ADD
value: 1 The targets have been added.
REMOVE
value: 2 The targets have been removed.
CURRENT
value: 3 The targets reflect all changes committed before the targets were added
to the stream.
This will be sent after or with a read_time
that is greater than or
equal to the time at which the targets were added.
Listeners can wait for this change if read-after-write semantics
are desired.
RESET
value: 4 The targets have been reset, and a new initial state for the targets
will be returned in subsequent changes.
After the initial state is complete, CURRENT
will be returned even
if the target was previously indicated to be CURRENT
.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-12 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-12 UTC."],[],[]]