This interface defines virtual methods for each of the user-facing overload sets in KnowledgeBasesClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type KnowledgeBasesClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eKnowledgeBasesConnection\u003c/code\u003e class, which defines virtual methods corresponding to user-facing overloads in \u003ccode\u003eKnowledgeBasesClient\u003c/code\u003e for Dialogflow ES.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, and the document provides links to versions ranging from \u003ccode\u003e2.37.0-rc\u003c/code\u003e down to \u003ccode\u003e2.11.0\u003c/code\u003e of the \u003ccode\u003eKnowledgeBasesConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eKnowledgeBasesConnection\u003c/code\u003e facilitates custom behavior injection, like using a Google Mock object, for testing \u003ccode\u003eKnowledgeBasesClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides virtual functions for operations such as listing, getting, creating, deleting, and updating knowledge bases, along with methods to list and get locations and operations.\u003c/p\u003e\n"],["\u003cp\u003eThe document also details how to create a concrete instance using \u003ccode\u003eMakeKnowledgeBasesConnection()\u003c/code\u003e and offers a mock implementation with \u003ccode\u003edialogflow_es_mocks::MockKnowledgeBasesConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]