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"]],[["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-07-26 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`."]]],[]]