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"]],[["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."],[[["This page details the `KnowledgeBasesConnection` object, which acts as an interface for the `KnowledgeBasesClient` in the Google Cloud Dialogflow ES C++ library."],["The latest release candidate is version 2.37.0-rc, and the page covers versions down to 2.11.0, with each version providing a link to its corresponding documentation for `KnowledgeBasesConnection`."],["The `KnowledgeBasesConnection` interface allows for the injection of custom behavior, useful for testing, and includes methods for common operations like listing, getting, creating, deleting, and updating knowledge bases."],["A concrete instance of the `KnowledgeBasesConnection` object can be made with `MakeKnowledgeBasesConnection()`, and for testing purposes you can mock it with `dialogflow_es_mocks::MockKnowledgeBasesConnection`."],["The interface defines several functions including virtual options(), ListKnowledgeBases(), GetKnowledgeBase(), CreateKnowledgeBase(), DeleteKnowledgeBase(), and UpdateKnowledgeBase(), that provide the capability to interact with Dialogflow knowledge bases."]]],[]]