This interface defines virtual methods for each of the user-facing overload sets in VersionsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type VersionsClient.
[[["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\u003eThe page details the \u003ccode\u003eVersionsConnection\u003c/code\u003e object, which is integral to the \u003ccode\u003eVersionsClient\u003c/code\u003e within the Google Cloud Dialogflow CX C++ library, specifically version 2.29.0.\u003c/p\u003e\n"],["\u003cp\u003eIt offers access to a comprehensive list of Dialogflow CX C++ library versions, starting from 2.11.0 and going up to the latest release candidate version 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThis interface enables users to implement and test custom behaviors using virtual methods, such as \u003ccode\u003eListVersions\u003c/code\u003e, \u003ccode\u003eGetVersion\u003c/code\u003e, \u003ccode\u003eCreateVersion\u003c/code\u003e, and others, which are overloads corresponding to the functions in the \u003ccode\u003eVersionsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe document highlights the ability to create a tangible \u003ccode\u003eVersionsConnection\u003c/code\u003e instance through \u003ccode\u003eMakeVersionsConnection()\u003c/code\u003e and create mock versions through the \u003ccode\u003edialogflow_cx_mocks::MockVersionsConnection\u003c/code\u003e for more controlled testing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVersionsConnection\u003c/code\u003e object provides virtual methods for various operations, including managing versions, loading, updating, and comparing them, all using methods that take the \u003ccode\u003erequest\u003c/code\u003e object as a parameter to control the request.\u003c/p\u003e\n"]]],[],null,[]]