Class ModelGardenServiceConnection (2.21.0)

This interface defines virtual methods for each of the user-facing overload sets in ModelGardenServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ModelGardenServiceClient.

To create a concrete instance, see MakeModelGardenServiceConnection().

For mocking, see aiplatform_v1_mocks::MockModelGardenServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual GetPublisherModel(google::cloud::aiplatform::v1::GetPublisherModelRequest const &)

Parameter
NameDescription
request google::cloud::aiplatform::v1::GetPublisherModelRequest const &
Returns
TypeDescription
StatusOr< google::cloud::aiplatform::v1::PublisherModel >