Firestore v1 API - Class ListenRequest (3.2.0)

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

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

A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]

Inheritance

object > ListenRequest

Namespace

GoogleCloudGoogle.Cloud.FirestoreV1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

ListenRequest()

public ListenRequest()

ListenRequest(ListenRequest)

public ListenRequest(ListenRequest other)
Parameter
NameDescription
otherListenRequest

Properties

AddTarget

public Target AddTarget { get; set; }

A target to add to this stream.

Property Value
TypeDescription
Target

Database

public string Database { get; set; }

Required. The database name. In the format: projects/{project_id}/databases/{database_id}.

Property Value
TypeDescription
string

Labels

public MapField<string, string> Labels { get; }

Labels associated with this target change.

Property Value
TypeDescription
MapFieldstringstring

RemoveTarget

public int RemoveTarget { get; set; }

The ID of a target to remove from this stream.

Property Value
TypeDescription
int

TargetChangeCase

public ListenRequest.TargetChangeOneofCase TargetChangeCase { get; }
Property Value
TypeDescription
ListenRequestTargetChangeOneofCase