Class ListenRequest (2.4.0)

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

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

Inheritance

Object > ListenRequest

Namespace

Google.Cloud.Firestore.V1

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
MapField<String, String>

RemoveTarget

public int RemoveTarget { get; set; }

The ID of a target to remove from this stream.

Property Value
TypeDescription
Int32

TargetChangeCase

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