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-21 UTC."],[[["This webpage details the `RankServiceConnection` class, which is used in conjunction with the `RankServiceClient` for the Google Cloud Discovery Engine v1."],["The `RankServiceConnection` interface allows for custom behavior injection, particularly useful for testing with mock objects."],["The content provides links to documentation for various versions, including the latest release candidate `2.37.0-rc`, and goes back to version `2.15.1`, all of which implement the `RankServiceConnection` for the `discoveryengine_v1`."],["Key functions of the `RankServiceConnection` class are outlined, including `options()`, `Rank()`, `ListOperations()`, `GetOperation()`, and `CancelOperation()`."],["The way to instantiate a `RankServiceConnection` is via the `MakeRankServiceConnection()` function, and mocking can be done with `discoveryengine_v1_mocks::MockRankServiceConnection`."]]],[]]