Discovery Engine v1 API - Class AssistantService.AssistantServiceBase (1.9.0)

[BindServiceMethod(typeof(AssistantService), "BindService")]
public abstract class AssistantService.AssistantServiceBase

Reference documentation and code samples for the Discovery Engine v1 API class AssistantService.AssistantServiceBase.

Base class for server-side implementations of AssistantService

Inheritance

object > AssistantService.AssistantServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Methods

StreamAssist(StreamAssistRequest, IServerStreamWriter<StreamAssistResponse>, ServerCallContext)

public virtual Task StreamAssist(StreamAssistRequest request, IServerStreamWriter<StreamAssistResponse> responseStream, ServerCallContext context)

Assists the user with a query in a streaming fashion.

Parameters
Name Description
request StreamAssistRequest

The request received from the client.

responseStream IServerStreamWriterStreamAssistResponse

Used for sending responses back to the client.

context ServerCallContext

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

Returns
Type Description
Task

A task indicating completion of the handler.