[BindServiceMethod(typeof(AssistantService), "BindService")]
public abstract class AssistantService.AssistantServiceBaseReference documentation and code samples for the Discovery Engine v1 API class AssistantService.AssistantServiceBase.
Base class for server-side implementations of AssistantService
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
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 |
StreamAssistRequestThe request received from the client. |
responseStream |
IServerStreamWriterStreamAssistResponseUsed for sending responses back to the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task |
A task indicating completion of the handler. |