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

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

ListenRequest()

public ListenRequest()

ListenRequest(ListenRequest)

public ListenRequest(ListenRequest other)
Parameter
Name Description
other ListenRequest

Properties

AddTarget

public Target AddTarget { get; set; }

A target to add to this stream.

Property Value
Type Description
Target

Database

public string Database { get; set; }

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

Property Value
Type Description
string

HasRemoveTarget

public bool HasRemoveTarget { get; }

Gets whether the "remove_target" field is set

Property Value
Type Description
bool

Labels

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

Labels associated with this target change.

Property Value
Type Description
MapFieldstringstring

RemoveTarget

public int RemoveTarget { get; set; }

The ID of a target to remove from this stream.

Property Value
Type Description
int

TargetChangeCase

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