Cloud AI Platform v1 API - Class ModelGardenServiceClientImpl (3.4.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
Name Description
grpcClient ModelGardenServiceModelGardenServiceClient

The underlying gRPC client.

settings ModelGardenServiceSettings

The base ModelGardenServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ModelGardenService.ModelGardenServiceClient GrpcClient { get; }

The underlying gRPC ModelGardenService client

Property Value
Type Description
ModelGardenServiceModelGardenServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

GetPublisherModel(GetPublisherModelRequest, CallSettings)

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

Gets a Model Garden publisher model.

Parameters
Name Description
request GetPublisherModelRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetPublisherModelRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPublisherModel

A Task containing the RPC response.

Overrides