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 webpage details the \u003ccode\u003ePagesConnection\u003c/code\u003e object for \u003ccode\u003ePagesClient\u003c/code\u003e in the Google Cloud Dialogflow CX library, which allows for custom behavior injection during testing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePagesConnection\u003c/code\u003e interface provides virtual methods mirroring each user-facing overload set found in \u003ccode\u003ePagesClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003ePagesConnection\u003c/code\u003e available is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, and there are numerous versions from \u003ccode\u003e2.11.0\u003c/code\u003e all the way up to \u003ccode\u003e2.37.0-rc\u003c/code\u003e listed on the page.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakePagesConnection()\u003c/code\u003e is used to create a concrete instance of the \u003ccode\u003ePagesConnection\u003c/code\u003e object, and \u003ccode\u003edialogflow_cx_mocks::MockPagesConnection\u003c/code\u003e can be used for mocking purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists virtual functions such as \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 with their corresponding parameters and return types.\u003c/p\u003e\n"]]],[],null,[]]