This interface defines virtual methods for each of the user-facing overload sets in ModelServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ModelServiceClient.
[[["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."],[[["This webpage details the `ModelServiceConnection` class, which interfaces with the `ModelServiceClient` in the Google Cloud Retail v2 API, enabling custom behavior for testing."],["The latest version of the documentation available is for version 2.37.0-rc, with links provided for numerous previous versions down to version 2.11.0."],["The `ModelServiceConnection` class allows users to define virtual methods for a variety of actions such as creating, getting, pausing, resuming, deleting, listing, updating, and tuning models."],["The `ModelServiceConnection` functions use parameters such as `CreateModelRequest`, `GetModelRequest`, `PauseModelRequest` and many others that allow for customization."],["The `ModelServiceConnection` class' methods return various types, such as `StatusOr\u003c google::cloud::retail::v2::Model \u003e`, `Status`, and `StreamRange\u003c google::cloud::retail::v2::Model \u003e`."]]],[]]