Class ListenResponse (2.3.0)

public sealed class ListenResponse : IMessage<ListenResponse>, IEquatable<ListenResponse>, IDeepCloneable<ListenResponse>, IBufferMessage, IMessage

The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].

Inheritance

Object > ListenResponse

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

ListenResponse()

public ListenResponse()

ListenResponse(ListenResponse)

public ListenResponse(ListenResponse other)
Parameter
NameDescription
otherListenResponse

Properties

DocumentChange

public DocumentChange DocumentChange { get; set; }

A [Document][google.firestore.v1.Document] has changed.

Property Value
TypeDescription
DocumentChange

DocumentDelete

public DocumentDelete DocumentDelete { get; set; }

A [Document][google.firestore.v1.Document] has been deleted.

Property Value
TypeDescription
DocumentDelete

DocumentRemove

public DocumentRemove DocumentRemove { get; set; }

A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer relevant to that target).

Property Value
TypeDescription
DocumentRemove

Filter

public ExistenceFilter Filter { get; set; }

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.

Property Value
TypeDescription
ExistenceFilter

ResponseTypeCase

public ListenResponse.ResponseTypeOneofCase ResponseTypeCase { get; }
Property Value
TypeDescription
ListenResponse.ResponseTypeOneofCase

TargetChange

public TargetChange TargetChange { get; set; }

Targets have changed.

Property Value
TypeDescription
TargetChange