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 webpage provides documentation for the `RankServiceConnection` class within the Google Cloud Discovery Engine C++ library."],["The `RankServiceConnection` interface defines virtual methods corresponding to user-facing overloads in the `RankServiceClient`, allowing for custom behavior injection during testing."],["The documentation lists various versions of the Discovery Engine library, ranging from 2.15.1 to 2.37.0-rc (latest), along with version 2.30.0."],["The `RankServiceConnection` object provides methods like `options()` and `Rank()`, which takes a `google::cloud::discoveryengine::v1::RankRequest` and returns a `StatusOr` containing a `google::cloud::discoveryengine::v1::RankResponse`."],["Users can create an instance of `RankServiceConnection` through `MakeRankServiceConnection()` or use `discoveryengine_v1_mocks::MockRankServiceConnection` for testing."]]],[]]