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 document details the `ModelServiceConnection` class, which provides an interface for managing models within the Google Cloud Retail API, specifically for version 2.30.0 and onwards, with the latest version being `2.37.0-rc`."],["The `ModelServiceConnection` class defines virtual methods for interacting with `ModelServiceClient`, enabling users to create, retrieve, update, delete, pause, resume, list, and tune models."],["Users can inject custom behavior into their tests by leveraging the `ModelServiceConnection` interface with mock objects, and by using the `MakeModelServiceConnection()` method to instantiate a concrete version of the class."],["The documentation includes detailed function definitions, parameters, and return types for each method within the `ModelServiceConnection` interface, such as `CreateModel`, `GetModel`, `TuneModel`, and more."],["The document also highlights that `MockModelServiceConnection` in `retail_v2_mocks` can be used for mocking purposes during testing."]]],[]]