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

[BindServiceMethod(typeof(EndpointService), "BindService")]
public abstract class 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
Task<Operation>

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
Task<Operation>

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
Task<Operation>

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
Task<Endpoint>

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
Task<ListEndpointsResponse>

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
Task<Operation>

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
Task<Endpoint>

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