This interface defines virtual methods for each of the user-facing overload sets in AdaptationClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type AdaptationClient.
[[["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 webpage details the `AdaptationConnection` object for `AdaptationClient`, used within the Google Cloud Speech API, which is documented from version 2.14.0 up to the latest release candidate 2.37.0-rc."],["The `AdaptationConnection` interface provides virtual methods for user-facing overload sets within `AdaptationClient`, allowing custom behavior to be injected, which is especially useful for testing with mock objects."],["The `AdaptationConnection` interface includes functions such as `CreatePhraseSet`, `GetPhraseSet`, `ListPhraseSet`, `UpdatePhraseSet`, `DeletePhraseSet`, `CreateCustomClass`, `GetCustomClass`, `ListCustomClasses`, `UpdateCustomClass`, and `DeleteCustomClass`."],["To use a concrete implementation of `AdaptationConnection`, you can use `MakeAdaptationConnection()`, and for testing purposes you may use the mock provided by `speech_v1_mocks::MockAdaptationConnection`."]]],[]]