This interface defines virtual methods for each of the user-facing overload sets in PredictionServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type PredictionServiceClient.
[[["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 provides documentation for the `PredictionServiceConnection` class within the Google Cloud Retail v2 C++ library, with the latest release being 2.37.0-rc."],["The `PredictionServiceConnection` class is an interface that defines virtual methods corresponding to user-facing overloads in `PredictionServiceClient`, allowing custom behavior injection, particularly for testing."],["You can find different versions of the `PredictionServiceConnection` class on this page, from version 2.11.0 up to the latest version, 2.37.0-rc."],["The page details the `PredictionServiceConnection` object's functions, including `options()`, `Predict()`, `ListOperations()`, and `GetOperation()`, with information on parameter types, return types and descriptions."],["To create a concrete instance of `PredictionServiceConnection` or for mocking purposes, you can use `MakePredictionServiceConnection()` or `retail_v2_mocks::MockPredictionServiceConnection` respectively."]]],[]]