Cloud AI Platform v1 API - Class EndpointService.EndpointServiceBase (2.19.0)

[BindServiceMethod(typeof(EndpointService), "BindService")]
public abstract class EndpointService.EndpointServiceBase

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

Base class for server-side implementations of EndpointService

Inheritance

object > EndpointService.EndpointServiceBase

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Methods

CreateEndpoint(CreateEndpointRequest, ServerCallContext)

public virtual Task<Operation> CreateEndpoint(CreateEndpointRequest request, ServerCallContext context)

Creates an Endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteEndpoint(DeleteEndpointRequest, ServerCallContext)

public virtual Task<Operation> DeleteEndpoint(DeleteEndpointRequest request, ServerCallContext context)

Deletes an Endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeployModel(DeployModelRequest, ServerCallContext)

public virtual Task<Operation> DeployModel(DeployModelRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestDeployModelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

GetEndpoint(GetEndpointRequest, ServerCallContext)

public virtual Task<Endpoint> GetEndpoint(GetEndpointRequest request, ServerCallContext context)

Gets an Endpoint.

Parameters
NameDescription
requestGetEndpointRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEndpoint

The response to send back to the client (wrapped by a task).

ListEndpoints(ListEndpointsRequest, ServerCallContext)

public virtual Task<ListEndpointsResponse> ListEndpoints(ListEndpointsRequest request, ServerCallContext context)

Lists Endpoints in a Location.

Parameters
NameDescription
requestListEndpointsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListEndpointsResponse

The response to send back to the client (wrapped by a task).

MutateDeployedModel(MutateDeployedModelRequest, ServerCallContext)

public virtual Task<Operation> MutateDeployedModel(MutateDeployedModelRequest request, ServerCallContext context)

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 received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UndeployModel(UndeployModelRequest, ServerCallContext)

public virtual Task<Operation> UndeployModel(UndeployModelRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestUndeployModelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateEndpoint(UpdateEndpointRequest, ServerCallContext)

public virtual Task<Endpoint> UpdateEndpoint(UpdateEndpointRequest request, ServerCallContext context)

Updates an Endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEndpoint

The response to send back to the client (wrapped by a task).