Cloud AI Platform v1beta1 API - Class ModelGardenServiceClientImpl (1.0.0-beta03)

public sealed class ModelGardenServiceClientImpl : ModelGardenServiceClient

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

ModelGardenService client wrapper implementation, for convenient use.

Inheritance

object > ModelGardenServiceClient > ModelGardenServiceClientImpl

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.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

ListPublisherModels(ListPublisherModelsRequest, CallSettings)

public override PagedEnumerable<ListPublisherModelsResponse, PublisherModel> ListPublisherModels(ListPublisherModelsRequest request, CallSettings callSettings = null)

Lists publisher models in Model Garden.

Parameters
Name Description
request ListPublisherModelsRequest

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
PagedEnumerableListPublisherModelsResponsePublisherModel

A pageable sequence of PublisherModel resources.

Overrides

ListPublisherModelsAsync(ListPublisherModelsRequest, CallSettings)

public override PagedAsyncEnumerable<ListPublisherModelsResponse, PublisherModel> ListPublisherModelsAsync(ListPublisherModelsRequest request, CallSettings callSettings = null)

Lists publisher models in Model Garden.

Parameters
Name Description
request ListPublisherModelsRequest

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
PagedAsyncEnumerableListPublisherModelsResponsePublisherModel

A pageable asynchronous sequence of PublisherModel resources.

Overrides