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-03-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 `KnowledgeBasesConnection` interface provides virtual methods that mirror the user-facing overload sets found in `KnowledgeBasesClient`, allowing for the injection of custom behaviors during testing."],["The page provides version-specific documentation links for the `KnowledgeBasesConnection` object ranging from version 2.11.0 to the latest release candidate 2.37.0-rc."],["`KnowledgeBasesConnection` offers functions such as `ListKnowledgeBases`, `GetKnowledgeBase`, `CreateKnowledgeBase`, `DeleteKnowledgeBase`, and `UpdateKnowledgeBase`, which are used to manage Knowledge Bases."],["Users can create a real instance of the connection with the `MakeKnowledgeBasesConnection()` method or leverage `dialogflow_es_mocks::MockKnowledgeBasesConnection` for mocking purposes."]]],[]]