[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eListenRequest\u003c/code\u003e class is 3.10.0, and the documentation provides access to multiple previous versions down to 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListenRequest\u003c/code\u003e class, part of the Google.Cloud.Firestore.V1 API, is used to send a request for Firestore.Listen and implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eAddTarget\u003c/code\u003e to specify a target to add, \u003ccode\u003eDatabase\u003c/code\u003e to define the target database, \u003ccode\u003eRemoveTarget\u003c/code\u003e to remove a target, and \u003ccode\u003eLabels\u003c/code\u003e for associated target change labels.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for \u003ccode\u003eListenRequest\u003c/code\u003e: a default constructor and another that takes an existing \u003ccode\u003eListenRequest\u003c/code\u003e object as a parameter for making a copy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTargetChangeCase\u003c/code\u003e property allows identifying whether the stream is adding or removing a target via \u003ccode\u003eAddTarget\u003c/code\u003e or \u003ccode\u003eRemoveTarget\u003c/code\u003e, respectively.\u003c/p\u003e\n"]]],[],null,["# Firestore v1 API - Class ListenRequest (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ListenRequest)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.9.0/Google.Cloud.Firestore.V1.ListenRequest)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.8.0/Google.Cloud.Firestore.V1.ListenRequest)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.7.0/Google.Cloud.Firestore.V1.ListenRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.6.0/Google.Cloud.Firestore.V1.ListenRequest)\n- [3.5.1](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.5.1/Google.Cloud.Firestore.V1.ListenRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.4.0/Google.Cloud.Firestore.V1.ListenRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.3.0/Google.Cloud.Firestore.V1.ListenRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.2.0/Google.Cloud.Firestore.V1.ListenRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.1.0/Google.Cloud.Firestore.V1.ListenRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.0.0/Google.Cloud.Firestore.V1.ListenRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.5.0/Google.Cloud.Firestore.V1.ListenRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.4.0/Google.Cloud.Firestore.V1.ListenRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.3.0/Google.Cloud.Firestore.V1.ListenRequest) \n\n public sealed class ListenRequest : IMessage\u003cListenRequest\u003e, IEquatable\u003cListenRequest\u003e, IDeepCloneable\u003cListenRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Firestore v1 API class ListenRequest.\n\nA request for \\[Firestore.Listen\\]\\[google.firestore.v1.Firestore.Listen\\] \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ListenRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListenRequest](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ListenRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListenRequest](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ListenRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListenRequest](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ListenRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Firestore.V1](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Firestore.V1.dll\n\nConstructors\n------------\n\n### ListenRequest()\n\n public ListenRequest()\n\n### ListenRequest(ListenRequest)\n\n public ListenRequest(ListenRequest other)\n\nProperties\n----------\n\n### AddTarget\n\n public Target AddTarget { get; set; }\n\nA target to add to this stream.\n\n### Database\n\n public string Database { get; set; }\n\nRequired. The database name. In the format:\n`projects/{project_id}/databases/{database_id}`.\n\n### HasRemoveTarget\n\n public bool HasRemoveTarget { get; }\n\nGets whether the \"remove_target\" field is set\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nLabels associated with this target change.\n\n### RemoveTarget\n\n public int RemoveTarget { get; set; }\n\nThe ID of a target to remove from this stream.\n\n### TargetChangeCase\n\n public ListenRequest.TargetChangeOneofCase TargetChangeCase { get; }"]]