Firestore v1 API - Class ListenResponse (3.1.0)

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

Reference documentation and code samples for the Firestore v1 API class ListenResponse.

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

Inheritance

object > ListenResponse

Namespace

GoogleCloudGoogle.Cloud.FirestoreV1

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
ListenResponseResponseTypeOneofCase

TargetChange

public TargetChange TargetChange { get; set; }

Targets have changed.

Property Value
TypeDescription
TargetChange