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\u003eThis webpage details the \u003ccode\u003eSessionsConnection\u003c/code\u003e object for \u003ccode\u003eSessionsClient\u003c/code\u003e in the Google Cloud Dialogflow CX library, which facilitates custom behavior and testing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionsConnection\u003c/code\u003e interface defines virtual methods mirroring user-facing overload sets found in \u003ccode\u003eSessionsClient\u003c/code\u003e, allowing for the injection of custom behaviors.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage lists available versions of the \u003ccode\u003eSessionsConnection\u003c/code\u003e documentation, ranging from the latest release candidate (2.37.0-rc) down to version 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eKey functionalities of \u003ccode\u003eSessionsConnection\u003c/code\u003e include methods for detecting intents, matching intents, fulfilling intents, and submitting answer feedback, each with specific request and response types.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeSessionsConnection()\u003c/code\u003e function and the \u003ccode\u003edialogflow_cx_mocks::MockSessionsConnection\u003c/code\u003e are available for concrete implementation and mocking respectively.\u003c/p\u003e\n"]]],[],null,[]]