This interface defines virtual methods for each of the user-facing overload sets in DeploymentsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type DeploymentsClient.
[[["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 page details the \u003ccode\u003eDeploymentsConnection\u003c/code\u003e object, which acts as an interface defining virtual methods for \u003ccode\u003eDeploymentsClient\u003c/code\u003e in the Google Cloud Dialogflow CX C++ library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeploymentsConnection\u003c/code\u003e object allows for injecting custom behavior, such as with Google Mock objects, which is useful for testing \u003ccode\u003eDeploymentsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides links to different versions of \u003ccode\u003eDeploymentsConnection\u003c/code\u003e, ranging from version 2.11.0 to 2.37.0-rc, including the current version 2.36.0.\u003c/p\u003e\n"],["\u003cp\u003eKey functions associated with \u003ccode\u003eDeploymentsConnection\u003c/code\u003e are described, including \u003ccode\u003eListDeployments\u003c/code\u003e, \u003ccode\u003eGetDeployment\u003c/code\u003e, \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, each with parameter and return type information.\u003c/p\u003e\n"],["\u003cp\u003eThe page contains information on how to create a concrete instance of the \u003ccode\u003eDeploymentsConnection\u003c/code\u003e object, through \u003ccode\u003eMakeDeploymentsConnection()\u003c/code\u003e and it also has an associated mock object \u003ccode\u003edialogflow_cx_mocks::MockDeploymentsConnection\u003c/code\u003e for testing purposes.\u003c/p\u003e\n"]]],[],null,[]]