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."],[[["Version 2.37.0-rc is the latest release candidate, with version 2.28.0 being the base version mentioned in this documentation."],["The `RankServiceConnection` class interface contains virtual methods corresponding to user-facing overloads within `RankServiceClient`, facilitating custom behavior injection for testing purposes."],["You can create a concrete instance of the service using the `MakeRankServiceConnection()` function."],["For testing, `discoveryengine_v1_mocks::MockRankServiceConnection` is available to facilitate mock testing."],["The `RankServiceConnection` class includes virtual functions for `options()` and `Rank()`, where `Rank()` takes a `RankRequest` and returns a `RankResponse` or Status."]]],[]]