public sealed class MatchIntentRequest : IMessage<MatchIntentRequest>, IEquatable<MatchIntentRequest>, IDeepCloneable<MatchIntentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class MatchIntentRequest.
Required. The name of the session this query is sent to.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>
or
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>.
If Environment ID is not specified, we assume default 'draft'
environment.
It's up to the API caller to choose an appropriate Session ID. It can be
a random number or some type of session identifiers (preferably hashed).
The length of the Session ID must not exceed 36 characters.
[[["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\u003eMatchIntentRequest\u003c/code\u003e class in the Dialogflow v3 API is 2.23.0, and it is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMatchIntentRequest\u003c/code\u003e is used to specify the request for matching intents and is implemented with interfaces such as \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\u003eThis API class includes properties for managing session data, such as \u003ccode\u003eSession\u003c/code\u003e, \u003ccode\u003eSessionAsSessionName\u003c/code\u003e, \u003ccode\u003eQueryParams\u003c/code\u003e, \u003ccode\u003eQueryInput\u003c/code\u003e, and \u003ccode\u003ePersistParameterChanges\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatchIntentRequest\u003c/code\u003e class includes constructors to create a new instance, or an instance by copying another \u003ccode\u003eMatchIntentRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are many versions of this class, starting from version 1.0.0 all the way up to the latest version 2.23.0, with the full list being included on this page.\u003c/p\u003e\n"]]],[],null,["# Dialogflow v3 API - Class MatchIntentRequest (2.24.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.24.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.23.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.23.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.22.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.22.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.21.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.21.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.20.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.20.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.19.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.19.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.18.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.18.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.17.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.16.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.15.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.14.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.13.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.12.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.11.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.10.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.9.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.8.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.7.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.6.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.5.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.4.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.3.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.2.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.1.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/2.0.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.13.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.13.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.12.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.12.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.11.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.11.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.10.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.10.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.9.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.8.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.7.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.6.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.5.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.4.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.3.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.2.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.1.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/1.0.0/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest) \n\n public sealed class MatchIntentRequest : IMessage\u003cMatchIntentRequest\u003e, IEquatable\u003cMatchIntentRequest\u003e, IDeepCloneable\u003cMatchIntentRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dialogflow v3 API class MatchIntentRequest.\n\nRequest of \\[MatchIntent\\]\\[\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MatchIntentRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MatchIntentRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MatchIntentRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MatchIntentRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest), [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.Dialogflow.Cx.V3](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3)\n\nAssembly\n--------\n\nGoogle.Cloud.Dialogflow.Cx.V3.dll\n\nConstructors\n------------\n\n### MatchIntentRequest()\n\n public MatchIntentRequest()\n\n### MatchIntentRequest(MatchIntentRequest)\n\n public MatchIntentRequest(MatchIntentRequest other)\n\nProperties\n----------\n\n### PersistParameterChanges\n\n public bool PersistParameterChanges { get; set; }\n\nPersist session parameter changes from `query_params`.\n\n### QueryInput\n\n public QueryInput QueryInput { get; set; }\n\nRequired. The input specification.\n\n### QueryParams\n\n public QueryParameters QueryParams { get; set; }\n\nThe parameters of this query.\n\n### Session\n\n public string Session { get; set; }\n\nRequired. The name of the session this query is sent to.\nFormat:\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/sessions/\u003cSessionID\u003e`\nor\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/environments/\u003cEnvironmentID\u003e/sessions/\u003cSessionID\u003e`.\nIf `Environment ID` is not specified, we assume default 'draft'\nenvironment.\nIt's up to the API caller to choose an appropriate `Session ID`. It can be\na random number or some type of session identifiers (preferably hashed).\nThe length of the `Session ID` must not exceed 36 characters.\n\nFor more information, see the [sessions\nguide](https://cloud.google.com/dialogflow/cx/docs/concept/session).\n\n### SessionAsSessionName\n\n public SessionName SessionAsSessionName { get; set; }\n\n[SessionName](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.SessionName)-typed view over the [Session](/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.MatchIntentRequest#Google_Cloud_Dialogflow_Cx_V3_MatchIntentRequest_Session) resource name property."]]