This interface defines virtual methods for each of the user-facing overload sets in RecommendationServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type RecommendationServiceClient.
[[["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 page provides documentation for the `RecommendationServiceConnection` class within the Google Cloud Discovery Engine C++ library, specifically for version 2.36.0."],["The `RecommendationServiceConnection` class is an interface that defines virtual methods corresponding to the user-facing overloads in the `RecommendationServiceClient`, allowing for the injection of custom behavior, particularly useful for testing."],["Users can create a concrete instance of `RecommendationServiceConnection` using the `MakeRecommendationServiceConnection()` function."],["The page also provides information for mocking `RecommendationServiceConnection` using the `discoveryengine_v1_mocks::MockRecommendationServiceConnection` class."],["The documentation provides an overview of the functions: `virtual options()`, `virtual Recommend()`, `virtual ListOperations()`, `virtual GetOperation()` and `virtual CancelOperation()`, including their parameter descriptions and return types."]]],[]]