This interface defines virtual methods for each of the user-facing overload sets in GenerativeServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type GenerativeServiceClient.
[[["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-05 UTC."],[[["The `GenerativeServiceConnection` object defines virtual methods for each user-facing overload set in `GenerativeServiceClient`."],["Users can inject custom behaviors into `GenerativeServiceClient` objects, such as for testing purposes with a Google Mock object."],["A concrete instance of `GenerativeServiceConnection` can be created using the `MakeGenerativeServiceConnection()` function."],["For mocking `GenerativeServiceConnection`, use the `generativelanguage_v1_mocks::MockGenerativeServiceConnection` class."],["The provided interface functions include `options()`, `GenerateContent`, `StreamGenerateContent`, `EmbedContent`, `BatchEmbedContents`, and `CountTokens`, each with defined request parameters and return types."]]],[]]