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 AI Platform C++ library, specifically for version 2.13.0."],["The `PredictionServiceConnection` class is an interface that defines virtual methods corresponding to the user-facing overloads in the `PredictionServiceClient`, allowing for the injection of custom behavior, particularly useful for testing."],["Users can create a concrete instance of `PredictionServiceConnection` using the `MakePredictionServiceConnection()` function."],["The page also provides information for mocking `PredictionServiceConnection` using the `aiplatform_v1_mocks::MockPredictionServiceConnection` class."],["The documentation outlines the virtual methods `options()`, `Predict()`, `RawPredict()`, and `Explain()` provided by the interface, including parameter and return types."]]],[]]