Firestore v1 API - Class ListenResponse (3.6.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

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

ListenResponse()

public ListenResponse()

ListenResponse(ListenResponse)

public ListenResponse(ListenResponse other)
Parameter
Name Description
other ListenResponse

Properties

DocumentChange

public DocumentChange DocumentChange { get; set; }

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

Property Value
Type Description
DocumentChange

DocumentDelete

public DocumentDelete DocumentDelete { get; set; }

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

Property Value
Type Description
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
Type Description
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
Type Description
ExistenceFilter

ResponseTypeCase

public ListenResponse.ResponseTypeOneofCase ResponseTypeCase { get; }
Property Value
Type Description
ListenResponseResponseTypeOneofCase

TargetChange

public TargetChange TargetChange { get; set; }

Targets have changed.

Property Value
Type Description
TargetChange