Module: Google::Firestore::V1beta1::TargetChange::TargetChangeType

Defined in:
lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb

Overview

The type of change.

Constant Summary collapse

NO_CHANGE =

No change has occurred. Used only to send an updated resume_token.

0
ADD =

The targets have been added.

1
REMOVE =

The targets have been removed.

2
CURRENT =

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.

3
RESET =

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.

4