This interface defines virtual methods for each of the user-facing overload sets in IntentsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type IntentsClient.
[[["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 document details the \u003ccode\u003eIntentsConnection\u003c/code\u003e object for \u003ccode\u003eIntentsClient\u003c/code\u003e in the Dialogflow CX C++ library, which is available in multiple versions ranging from 2.11.0 to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIntentsConnection\u003c/code\u003e interface provides virtual methods that mirror the user-facing overload sets found in \u003ccode\u003eIntentsClient\u003c/code\u003e, facilitating the injection of custom behaviors, especially for testing purposes, such as using a Google Mock object.\u003c/p\u003e\n"],["\u003cp\u003eKey functionalities of the \u003ccode\u003eIntentsConnection\u003c/code\u003e object include managing intents through methods like \u003ccode\u003eListIntents\u003c/code\u003e, \u003ccode\u003eGetIntent\u003c/code\u003e, \u003ccode\u003eCreateIntent\u003c/code\u003e, \u003ccode\u003eUpdateIntent\u003c/code\u003e, \u003ccode\u003eDeleteIntent\u003c/code\u003e, \u003ccode\u003eImportIntents\u003c/code\u003e, and \u003ccode\u003eExportIntents\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIntentsConnection\u003c/code\u003e also supports operations like listing and getting locations, as well as managing operations and canceling them, including methods such as \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\u003eUsers can create a concrete instance of \u003ccode\u003eIntentsConnection\u003c/code\u003e using \u003ccode\u003eMakeIntentsConnection()\u003c/code\u003e or utilize \u003ccode\u003eMockIntentsConnection\u003c/code\u003e for mocking purposes.\u003c/p\u003e\n"]]],[],null,[]]