Discovery Engine v1beta API - Class EngineService.EngineServiceBase (1.0.0-beta09)

[BindServiceMethod(typeof(EngineService), "BindService")]
public abstract class EngineService.EngineServiceBase

Reference documentation and code samples for the Discovery Engine v1beta API class EngineService.EngineServiceBase.

Base class for server-side implementations of EngineService

Inheritance

object > EngineService.EngineServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Methods

CreateEngine(CreateEngineRequest, ServerCallContext)

public virtual Task<Operation> CreateEngine(CreateEngineRequest request, ServerCallContext context)

Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine].

Parameters
NameDescription
requestCreateEngineRequest

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).

DeleteEngine(DeleteEngineRequest, ServerCallContext)

public virtual Task<Operation> DeleteEngine(DeleteEngineRequest request, ServerCallContext context)

Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine].

Parameters
NameDescription
requestDeleteEngineRequest

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).

GetEngine(GetEngineRequest, ServerCallContext)

public virtual Task<Engine> GetEngine(GetEngineRequest request, ServerCallContext context)

Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine].

Parameters
NameDescription
requestGetEngineRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskEngine

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

ListEngines(ListEnginesRequest, ServerCallContext)

public virtual Task<ListEnginesResponse> ListEngines(ListEnginesRequest request, ServerCallContext context)

Lists all the [Engine][google.cloud.discoveryengine.v1beta.Engine]s associated with the project.

Parameters
NameDescription
requestListEnginesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListEnginesResponse

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

UpdateEngine(UpdateEngineRequest, ServerCallContext)

public virtual Task<Engine> UpdateEngine(UpdateEngineRequest request, ServerCallContext context)

Updates an [Engine][google.cloud.discoveryengine.v1beta.Engine]

Parameters
NameDescription
requestUpdateEngineRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskEngine

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