[BindServiceMethod(typeof(EndpointService), "BindService")]
public abstract class EndpointService.EndpointServiceBase
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class EndpointService.EndpointServiceBase.
Base class for server-side implementations of EndpointService
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Methods
CreateEndpoint(CreateEndpointRequest, ServerCallContext)
public virtual Task<Operation> CreateEndpoint(CreateEndpointRequest request, ServerCallContext context)
Creates an Endpoint.
Parameters | |
---|---|
Name | Description |
request |
CreateEndpointRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteEndpointRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeployModelRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetEndpointRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListEndpointsRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
MutateDeployedModelRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UndeployModelRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateEndpointRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskEndpoint |
The response to send back to the client (wrapped by a task). |