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 provides an interface for interacting with the `ModelServiceClient` in the Google Cloud Retail v2 API, with the current version being 2.17.0."],["The `ModelServiceConnection` class contains virtual methods corresponding to each user-facing overload set within the `ModelServiceClient`, enabling users to inject custom behavior, especially for testing purposes."],["The latest version is [2.37.0-rc](cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceConnection), and the page provides links to versions ranging from 2.11.0 up to the latest release."],["`ModelServiceConnection` can be instantiated via the `MakeModelServiceConnection()` function and provides support for mocking via the `retail_v2_mocks::MockModelServiceConnection` class."],["The `ModelServiceConnection` virtual methods include functions like `CreateModel`, `GetModel`, `PauseModel`, `ResumeModel`, `DeleteModel`, `ListModels`, `UpdateModel`, and `TuneModel` to fulfill various operations on Models."]]],[]]