lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb in google-cloud-firestore-1.1.0 vs lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb in google-cloud-firestore-1.2.0
- old
+ new
@@ -440,18 +440,12 @@
# Start listening after a specific `read_time`.
#
# The client must know the state of matching documents at this time.
# @!attribute [rw] target_id
# @return [Integer]
- # A client provided target ID.
- #
- # If not set, the server will assign an ID for the target.
- #
- # Used for resuming a target without changing IDs. The IDs can either be
- # client-assigned or be server-assigned in a previous stream. All targets
- # with client provided IDs must be added before adding a target that needs
- # a server-assigned id.
+ # The target ID that identifies the target on the stream. Must be a positive
+ # number and non-zero.
# @!attribute [rw] once
# @return [true, false]
# If the target should be removed once it is current and consistent.
class Target
# A target specified by a set of documents names.
@@ -486,14 +480,10 @@
# @return [Array<Integer>]
# The target IDs of targets that have changed.
#
# If empty, the change applies to all targets.
#
- # For `target_change_type=ADD`, the order of the target IDs matches the order
- # of the requests to add the targets. This allows clients to unambiguously
- # associate server-assigned target IDs with added targets.
- #
- # For other states, the order of the target IDs is not defined.
+ # The order of the target IDs is not defined.
# @!attribute [rw] cause
# @return [Google::Rpc::Status]
# The error that resulted in this change, if applicable.
# @!attribute [rw] resume_token
# @return [String]
\ No newline at end of file