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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-18 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`."]]],[]]