This interface defines virtual methods for each of the user-facing overload sets in PagesClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type PagesClient.
[[["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\u003ePagesConnection\u003c/code\u003e object for \u003ccode\u003ePagesClient\u003c/code\u003e in the Dialogflow CX C++ library, version 2.12.0, which acts as an interface with virtual methods for each user-facing overload set.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePagesConnection\u003c/code\u003e interface enables custom behavior injection, such as with Google Mock objects, for testing scenarios involving \u003ccode\u003ePagesClient\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakePagesConnection()\u003c/code\u003e is used to create a concrete instance of the connection, while \u003ccode\u003edialogflow_cx_mocks::MockPagesConnection\u003c/code\u003e is used for mocking.\u003c/p\u003e\n"],["\u003cp\u003eThe current document contains a breakdown of the functions of \u003ccode\u003ePagesConnection\u003c/code\u003e, including the virtual functions \u003ccode\u003eListPages\u003c/code\u003e, \u003ccode\u003eGetPage\u003c/code\u003e, \u003ccode\u003eCreatePage\u003c/code\u003e, \u003ccode\u003eUpdatePage\u003c/code\u003e, and \u003ccode\u003eDeletePage\u003c/code\u003e, which all perform operations with requests.\u003c/p\u003e\n"],["\u003cp\u003eThere are many different versions of the \u003ccode\u003ePagesConnection\u003c/code\u003e, and the latest release candidate version is 2.37.0-rc.\u003c/p\u003e\n"]]],[],null,[]]