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