This interface defines virtual methods for each of the user-facing overload sets in ContextsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ContextsClient.
[[["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-21 UTC."],[[["This page provides documentation for the `ContextsConnection` class within the Google Cloud Dialogflow ES C++ client library, spanning versions from 2.11.0 to the latest release candidate 2.37.0-rc."],["The `ContextsConnection` class defines the interface for interacting with the Dialogflow ES Contexts API, providing virtual methods corresponding to each user-facing overload set in `ContextsClient`."],["Users can leverage the `ContextsConnection` interface to inject custom behaviors, such as with Google Mock objects, when testing code that utilizes `ContextsClient`."],["Key functions of the `ContextsConnection` interface include operations like `ListContexts`, `GetContext`, `CreateContext`, `UpdateContext`, `DeleteContext`, and `DeleteAllContexts`, which allow for managing contexts within Dialogflow."],["To obtain a concrete instance of the connection, one must utilize the `MakeContextsConnection()` function, and it is also possible to use `dialogflow_es_mocks::MockContextsConnection` for mocking purposes."]]],[]]