This interface defines virtual methods for each of the user-facing overload sets in RankServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type RankServiceClient.
[[["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 page details the `RankServiceConnection` class, which is an interface for defining virtual methods corresponding to user-facing overloads in the `RankServiceClient` class."],["The `RankServiceConnection` interface is essential for injecting custom behaviors, such as using Google Mock objects, within tests that utilize `RankServiceClient` objects."],["The latest version available is `2.37.0-rc`, while the current version detailed on the page is `2.26.0`, with various other versions listed for reference."],["`RankServiceConnection` includes functions such as `options()` and `Rank(google::cloud::discoveryengine::v1::RankRequest const &)` for defining service interactions."],["Users can create a concrete instance of `RankServiceConnection` using the `MakeRankServiceConnection()` function, and a mock version with `discoveryengine_v1_mocks::MockRankServiceConnection`."]]],[]]