This interface defines virtual methods for each of the user-facing overload sets in SessionsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SessionsClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe latest version of the Dialogflow CX SessionsConnection interface is 2.37.0-rc, with a list of previous releases provided, including 2.31.0.\u003c/p\u003e\n"],["\u003cp\u003eSessionsConnection defines virtual methods for all user-facing overload sets in SessionsClient, allowing for custom behavior injection during testing.\u003c/p\u003e\n"],["\u003cp\u003eThe interface provides functions for various operations like DetectIntent, ServerStreamingDetectIntent, AsyncStreamingDetectIntent, MatchIntent, FulfillIntent, and SubmitAnswerFeedback.\u003c/p\u003e\n"],["\u003cp\u003eIt supports operations related to locations and long-running processes, such as listing, getting, and canceling operations.\u003c/p\u003e\n"],["\u003cp\u003eA concrete instance of SessionsConnection can be created using \u003ccode\u003eMakeSessionsConnection()\u003c/code\u003e, and for testing, a mock object \u003ccode\u003eMockSessionsConnection\u003c/code\u003e is available.\u003c/p\u003e\n"]]],[],null,[]]