This interface defines virtual methods for each of the user-facing overload sets in EnvironmentsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type EnvironmentsClient.
[[["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 outlines the \u003ccode\u003eEnvironmentsConnection\u003c/code\u003e interface for the Dialogflow CX API, specifically for C++ versions, detailing various versions from 2.11.0 up to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnvironmentsConnection\u003c/code\u003e object is designed to work with \u003ccode\u003eEnvironmentsClient\u003c/code\u003e, providing virtual methods that allow for customization and mocking, especially useful for testing with Google Mock objects.\u003c/p\u003e\n"],["\u003cp\u003eThe interface supports multiple functions, including \u003ccode\u003eListEnvironments\u003c/code\u003e, \u003ccode\u003eGetEnvironment\u003c/code\u003e, \u003ccode\u003eCreateEnvironment\u003c/code\u003e, \u003ccode\u003eUpdateEnvironment\u003c/code\u003e, \u003ccode\u003eDeleteEnvironment\u003c/code\u003e, \u003ccode\u003eLookupEnvironmentHistory\u003c/code\u003e, \u003ccode\u003eRunContinuousTest\u003c/code\u003e, \u003ccode\u003eListContinuousTestResults\u003c/code\u003e, and \u003ccode\u003eDeployFlow\u003c/code\u003e, each handling specific operations related to managing environments.\u003c/p\u003e\n"],["\u003cp\u003eEach function is detailed with its respective parameters (request) and return type, specifying the expected input and output for each interaction with the Dialogflow CX environment.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create concrete instances of \u003ccode\u003eEnvironmentsConnection\u003c/code\u003e using \u003ccode\u003eMakeEnvironmentsConnection()\u003c/code\u003e or implement mocks using \u003ccode\u003edialogflow_cx_mocks::MockEnvironmentsConnection\u003c/code\u003e for testing purposes.\u003c/p\u003e\n"]]],[],null,[]]