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"]],[["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-02 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."]]],[]]