This interface defines virtual methods for each of the user-facing overload sets in FlowsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type FlowsClient.
[[["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\u003eFlowsConnection\u003c/code\u003e object, which acts as an interface for interacting with the \u003ccode\u003eFlowsClient\u003c/code\u003e in the Google Cloud Dialogflow CX C++ library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFlowsConnection\u003c/code\u003e allows for custom behavior injection, such as using mock objects, which proves to be useful when writing tests for the \u003ccode\u003eFlowsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage includes links to various versions of the \u003ccode\u003eFlowsConnection\u003c/code\u003e documentation, ranging from version 2.11.0 up to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFlowsConnection\u003c/code\u003e interface defines a set of virtual methods corresponding to the user-facing methods in \u003ccode\u003eFlowsClient\u003c/code\u003e, like creating, deleting, listing, getting, updating, training, validating, importing, and exporting flows.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides information on how to construct a concrete instance using \u003ccode\u003eMakeFlowsConnection()\u003c/code\u003e as well as using \u003ccode\u003edialogflow_cx_mocks::MockFlowsConnection\u003c/code\u003e for mocking purposes.\u003c/p\u003e\n"]]],[],null,[]]