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 webpage details the \u003ccode\u003eIntentsConnection\u003c/code\u003e object, which defines virtual methods for each user-facing overload set in \u003ccode\u003eIntentsClient\u003c/code\u003e for Dialogflow CX.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.37.0-rc, and the page documents versions ranging from 2.11.0 to the most current release candidate.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIntentsConnection\u003c/code\u003e enables users to inject custom behavior for testing purposes, including usage with a Google Mock object.\u003c/p\u003e\n"],["\u003cp\u003eThe documented functions include \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, all of which operate on \u003ccode\u003eIntentsRequest\u003c/code\u003e and return relevant \u003ccode\u003eStatus\u003c/code\u003e, \u003ccode\u003eStatusOr\u003c/code\u003e, or \u003ccode\u003eStreamRange\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakeIntentsConnection()\u003c/code\u003e can be used to make a concrete instance and \u003ccode\u003eMockIntentsConnection\u003c/code\u003e is used for mocking.\u003c/p\u003e\n"]]],[],null,[]]