Reference documentation and code samples for the Cloud Firestore V1 Client class ListenResponse.
The response for Firestore.Listen .
Generated from protobuf message google.firestore.v1.ListenResponse
Namespace
Google \ Cloud \ Firestore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ target_change
↳ document_change
↳ document_delete
↳ document_remove
Google\Cloud\Firestore\V1\DocumentRemove
A Document has been removed from a target (because it is no longer relevant to that target).
↳ filter
Google\Cloud\Firestore\V1\ExistenceFilter
A filter to apply to the set of documents previously returned for the given target. Returned when documents may have been removed from the given target, but the exact documents are unknown.
getTargetChange
Targets have changed.
hasTargetChange
setTargetChange
Targets have changed.
$this
getDocumentChange
A Document has changed.
hasDocumentChange
setDocumentChange
A Document has changed.
$this
getDocumentDelete
A Document has been deleted.
hasDocumentDelete
setDocumentDelete
A Document has been deleted.
$this
getDocumentRemove
A Document has been removed from a target (because it is no longer relevant to that target).
hasDocumentRemove
setDocumentRemove
A Document has been removed from a target (because it is no longer relevant to that target).
$this
getFilter
A filter to apply to the set of documents previously returned for the given target.
Returned when documents may have been removed from the given target, but the exact documents are unknown.
hasFilter
setFilter
A filter to apply to the set of documents previously returned for the given target.
Returned when documents may have been removed from the given target, but the exact documents are unknown.
$this
getResponseType
string