This interface defines virtual methods for each of the user-facing overload sets in GroundedGenerationServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type GroundedGenerationServiceClient.
[[["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-08-07 UTC."],[[["This webpage details the `GroundedGenerationServiceConnection` class, which provides virtual methods for user-facing overloads in `GroundedGenerationServiceClient`."],["The class allows for the injection of custom behaviors, particularly useful in testing scenarios involving `GroundedGenerationServiceClient` objects."],["The latest version available is 2.37.0-rc, and it is possible to navigate to different versions all the way back to version 2.15.1."],["Key functions include `AsyncStreamGenerateGroundedContent`, `GenerateGroundedContent`, `CheckGrounding`, `ListOperations`, `GetOperation`, and `CancelOperation`."],["A concrete instance can be created using `MakeGroundedGenerationServiceConnection()`, and for mocking, `discoveryengine_v1_mocks::MockGroundedGenerationServiceConnection` is provided."]]],[]]