Cloud AI Platform v1 API - Class EndpointServiceClientImpl (2.15.0)

public sealed class EndpointServiceClientImpl : EndpointServiceClient

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

EndpointService client wrapper implementation, for convenient use.

Inheritance

object > EndpointServiceClient > EndpointServiceClientImpl

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Remarks

A service for managing Vertex AI's Endpoints.

Constructors

EndpointServiceClientImpl(EndpointServiceClient, EndpointServiceSettings, ILogger)

public EndpointServiceClientImpl(EndpointService.EndpointServiceClient grpcClient, EndpointServiceSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientEndpointServiceEndpointServiceClient

The underlying gRPC client.

settingsEndpointServiceSettings

The base EndpointServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateEndpointOperationsClient

public override OperationsClient CreateEndpointOperationsClient { get; }

The long-running operations client for CreateEndpoint.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteEndpointOperationsClient

public override OperationsClient DeleteEndpointOperationsClient { get; }

The long-running operations client for DeleteEndpoint.

Property Value
TypeDescription
OperationsClient
Overrides

DeployModelOperationsClient

public override OperationsClient DeployModelOperationsClient { get; }

The long-running operations client for DeployModel.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override EndpointService.EndpointServiceClient GrpcClient { get; }

The underlying gRPC EndpointService client

Property Value
TypeDescription
EndpointServiceEndpointServiceClient
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

MutateDeployedModelOperationsClient

public override OperationsClient MutateDeployedModelOperationsClient { get; }

The long-running operations client for MutateDeployedModel.

Property Value
TypeDescription
OperationsClient
Overrides

UndeployModelOperationsClient

public override OperationsClient UndeployModelOperationsClient { get; }

The long-running operations client for UndeployModel.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateEndpoint(CreateEndpointRequest, CallSettings)

public override Operation<Endpoint, CreateEndpointOperationMetadata> CreateEndpoint(CreateEndpointRequest request, CallSettings callSettings = null)

Creates an Endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEndpointCreateEndpointOperationMetadata

The RPC response.

Overrides

CreateEndpointAsync(CreateEndpointRequest, CallSettings)

public override Task<Operation<Endpoint, CreateEndpointOperationMetadata>> CreateEndpointAsync(CreateEndpointRequest request, CallSettings callSettings = null)

Creates an Endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEndpointCreateEndpointOperationMetadata

A Task containing the RPC response.

Overrides

DeleteEndpoint(DeleteEndpointRequest, CallSettings)

public override Operation<Empty, DeleteOperationMetadata> DeleteEndpoint(DeleteEndpointRequest request, CallSettings callSettings = null)

Deletes an Endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteOperationMetadata

The RPC response.

Overrides

DeleteEndpointAsync(DeleteEndpointRequest, CallSettings)

public override Task<Operation<Empty, DeleteOperationMetadata>> DeleteEndpointAsync(DeleteEndpointRequest request, CallSettings callSettings = null)

Deletes an Endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Overrides

DeployModel(DeployModelRequest, CallSettings)

public override Operation<DeployModelResponse, DeployModelOperationMetadata> DeployModel(DeployModelRequest request, CallSettings callSettings = null)

Deploys a Model into this Endpoint, creating a DeployedModel within it.

Parameters
NameDescription
requestDeployModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationDeployModelResponseDeployModelOperationMetadata

The RPC response.

Overrides

DeployModelAsync(DeployModelRequest, CallSettings)

public override Task<Operation<DeployModelResponse, DeployModelOperationMetadata>> DeployModelAsync(DeployModelRequest request, CallSettings callSettings = null)

Deploys a Model into this Endpoint, creating a DeployedModel within it.

Parameters
NameDescription
requestDeployModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationDeployModelResponseDeployModelOperationMetadata

A Task containing the RPC response.

Overrides

GetEndpoint(GetEndpointRequest, CallSettings)

public override Endpoint GetEndpoint(GetEndpointRequest request, CallSettings callSettings = null)

Gets an Endpoint.

Parameters
NameDescription
requestGetEndpointRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Endpoint

The RPC response.

Overrides

GetEndpointAsync(GetEndpointRequest, CallSettings)

public override Task<Endpoint> GetEndpointAsync(GetEndpointRequest request, CallSettings callSettings = null)

Gets an Endpoint.

Parameters
NameDescription
requestGetEndpointRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEndpoint

A Task containing the RPC response.

Overrides

ListEndpoints(ListEndpointsRequest, CallSettings)

public override PagedEnumerable<ListEndpointsResponse, Endpoint> ListEndpoints(ListEndpointsRequest request, CallSettings callSettings = null)

Lists Endpoints in a Location.

Parameters
NameDescription
requestListEndpointsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEndpointsResponseEndpoint

A pageable sequence of Endpoint resources.

Overrides

ListEndpointsAsync(ListEndpointsRequest, CallSettings)

public override PagedAsyncEnumerable<ListEndpointsResponse, Endpoint> ListEndpointsAsync(ListEndpointsRequest request, CallSettings callSettings = null)

Lists Endpoints in a Location.

Parameters
NameDescription
requestListEndpointsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEndpointsResponseEndpoint

A pageable asynchronous sequence of Endpoint resources.

Overrides

MutateDeployedModel(MutateDeployedModelRequest, CallSettings)

public override Operation<MutateDeployedModelResponse, MutateDeployedModelOperationMetadata> MutateDeployedModel(MutateDeployedModelRequest request, CallSettings callSettings = null)

Updates an existing deployed model. Updatable fields include min_replica_count, max_replica_count, autoscaling_metric_specs, disable_container_logging (v1 only), and enable_container_logging (v1beta1 only).

Parameters
NameDescription
requestMutateDeployedModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationMutateDeployedModelResponseMutateDeployedModelOperationMetadata

The RPC response.

Overrides

MutateDeployedModelAsync(MutateDeployedModelRequest, CallSettings)

public override Task<Operation<MutateDeployedModelResponse, MutateDeployedModelOperationMetadata>> MutateDeployedModelAsync(MutateDeployedModelRequest request, CallSettings callSettings = null)

Updates an existing deployed model. Updatable fields include min_replica_count, max_replica_count, autoscaling_metric_specs, disable_container_logging (v1 only), and enable_container_logging (v1beta1 only).

Parameters
NameDescription
requestMutateDeployedModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationMutateDeployedModelResponseMutateDeployedModelOperationMetadata

A Task containing the RPC response.

Overrides

UndeployModel(UndeployModelRequest, CallSettings)

public override Operation<UndeployModelResponse, UndeployModelOperationMetadata> UndeployModel(UndeployModelRequest request, CallSettings callSettings = null)

Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.

Parameters
NameDescription
requestUndeployModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationUndeployModelResponseUndeployModelOperationMetadata

The RPC response.

Overrides

UndeployModelAsync(UndeployModelRequest, CallSettings)

public override Task<Operation<UndeployModelResponse, UndeployModelOperationMetadata>> UndeployModelAsync(UndeployModelRequest request, CallSettings callSettings = null)

Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.

Parameters
NameDescription
requestUndeployModelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationUndeployModelResponseUndeployModelOperationMetadata

A Task containing the RPC response.

Overrides

UpdateEndpoint(UpdateEndpointRequest, CallSettings)

public override Endpoint UpdateEndpoint(UpdateEndpointRequest request, CallSettings callSettings = null)

Updates an Endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Endpoint

The RPC response.

Overrides

UpdateEndpointAsync(UpdateEndpointRequest, CallSettings)

public override Task<Endpoint> UpdateEndpointAsync(UpdateEndpointRequest request, CallSettings callSettings = null)

Updates an Endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEndpoint

A Task containing the RPC response.

Overrides