Cloud AI Platform v1 API - Class ModelGardenServiceClientImpl (2.17.0)

public sealed class ModelGardenServiceClientImpl : ModelGardenServiceClient

Reference documentation and code samples for the Cloud AI Platform v1 API class ModelGardenServiceClientImpl.

ModelGardenService client wrapper implementation, for convenient use.

Inheritance

object > ModelGardenServiceClient > ModelGardenServiceClientImpl

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Remarks

The interface of Model Garden Service.

Constructors

ModelGardenServiceClientImpl(ModelGardenServiceClient, ModelGardenServiceSettings, ILogger)

public ModelGardenServiceClientImpl(ModelGardenService.ModelGardenServiceClient grpcClient, ModelGardenServiceSettings settings, ILogger logger)

Constructs a client wrapper for the ModelGardenService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientModelGardenServiceModelGardenServiceClient

The underlying gRPC client.

settingsModelGardenServiceSettings

The base ModelGardenServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ModelGardenService.ModelGardenServiceClient GrpcClient { get; }

The underlying gRPC ModelGardenService client

Property Value
TypeDescription
ModelGardenServiceModelGardenServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

GetPublisherModel(GetPublisherModelRequest, CallSettings)

public override PublisherModel GetPublisherModel(GetPublisherModelRequest request, CallSettings callSettings = null)

Gets a Model Garden publisher model.

Parameters
NameDescription
requestGetPublisherModelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PublisherModel

The RPC response.

Overrides

GetPublisherModelAsync(GetPublisherModelRequest, CallSettings)

public override Task<PublisherModel> GetPublisherModelAsync(GetPublisherModelRequest request, CallSettings callSettings = null)

Gets a Model Garden publisher model.

Parameters
NameDescription
requestGetPublisherModelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPublisherModel

A Task containing the RPC response.

Overrides