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"]],[["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-14 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eSessionsConnection\u003c/code\u003e object, which is part of the Google Cloud Dialogflow ES C++ client library and is used with \u003ccode\u003eSessionsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eSessionsConnection\u003c/code\u003e available is version 2.37.0-rc, with numerous older versions also listed, ranging from 2.36.0 down to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSessionsConnection\u003c/code\u003e provides virtual methods for user-facing operations in \u003ccode\u003eSessionsClient\u003c/code\u003e, enabling the injection of custom behavior for testing, such as with the use of mock objects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionsConnection\u003c/code\u003e object includes virtual functions for actions like \u003ccode\u003eDetectIntent\u003c/code\u003e, \u003ccode\u003eAsyncStreamingDetectIntent\u003c/code\u003e, \u003ccode\u003eListLocations\u003c/code\u003e, \u003ccode\u003eGetLocation\u003c/code\u003e, \u003ccode\u003eListOperations\u003c/code\u003e, \u003ccode\u003eGetOperation\u003c/code\u003e, and \u003ccode\u003eCancelOperation\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo create a concrete instance of \u003ccode\u003eSessionsConnection\u003c/code\u003e, refer to \u003ccode\u003eMakeSessionsConnection()\u003c/code\u003e, and for mocking purposes, look into \u003ccode\u003edialogflow_es_mocks::MockSessionsConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]