[BindServiceMethod(typeof(AssistantService), "BindService")]
public abstract class AssistantService.AssistantServiceBaseReference documentation and code samples for the Discovery Engine v1beta API class AssistantService.AssistantServiceBase.
Base class for server-side implementations of AssistantService
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Methods
CreateAssistant(CreateAssistantRequest, ServerCallContext)
public virtual Task<Assistant> CreateAssistant(CreateAssistantRequest request, ServerCallContext context)Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAssistantRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAssistant |
The response to send back to the client (wrapped by a task). |
DeleteAssistant(DeleteAssistantRequest, ServerCallContext)
public virtual Task<Empty> DeleteAssistant(DeleteAssistantRequest request, ServerCallContext context)Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAssistantRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
GetAssistant(GetAssistantRequest, ServerCallContext)
public virtual Task<Assistant> GetAssistant(GetAssistantRequest request, ServerCallContext context)Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant].
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssistantRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAssistant |
The response to send back to the client (wrapped by a task). |
ListAssistants(ListAssistantsRequest, ServerCallContext)
public virtual Task<ListAssistantsResponse> ListAssistants(ListAssistantsRequest request, ServerCallContext context)Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under an [Engine][google.cloud.discoveryengine.v1beta.Engine].
| Parameters | |
|---|---|
| Name | Description |
request |
ListAssistantsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAssistantsResponse |
The response to send back to the client (wrapped by a task). |
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. |
UpdateAssistant(UpdateAssistantRequest, ServerCallContext)
public virtual Task<Assistant> UpdateAssistant(UpdateAssistantRequest request, ServerCallContext context)Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAssistantRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAssistant |
The response to send back to the client (wrapped by a task). |