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-14 UTC."],[[["This webpage provides documentation for the `GroundedGenerationServiceConnection` class within the Google Cloud Discovery Engine C++ library, specifically version 2.31.0."],["`GroundedGenerationServiceConnection` defines virtual methods for each user-facing overload set in `GroundedGenerationServiceClient`, allowing for custom behavior injection, particularly for testing purposes."],["The latest release is `2.37.0-rc`, with numerous previous versions available, including 2.36.0, 2.35.0, 2.34.0, 2.33.0, and so forth, all the way down to version 2.15.1."],["The page also documents functions such as `options()`, `AsyncStreamGenerateGroundedContent()`, `GenerateGroundedContent()`, `CheckGrounding()`, `ListOperations()`, `GetOperation()`, and `CancelOperation()`, which are all virtual methods within the `GroundedGenerationServiceConnection` class."],["Users can create a concrete instance of this object using the `MakeGroundedGenerationServiceConnection()` function, and for mocking purposes they can use `discoveryengine_v1_mocks::MockGroundedGenerationServiceConnection`."]]],[]]