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 lists various versions of the `RankServiceConnection` class for the Google Cloud Discovery Engine v1, ranging from version 2.15.1 to the latest release candidate 2.37.0-rc."],["The `RankServiceConnection` class interface defines virtual methods for user-facing overload sets within the `RankServiceClient`, enabling custom behavior in tests."],["Users can create a concrete instance of `RankServiceConnection` using `MakeRankServiceConnection()`."],["For mocking purposes, `discoveryengine_v1_mocks::MockRankServiceConnection` is available."],["The `Rank` function, which takes a `google::cloud::discoveryengine::v1::RankRequest const &` as a parameter, is one of the defined virtual methods that returns `StatusOr\u003c google::cloud::discoveryengine::v1::RankResponse \u003e`."]]],[]]