[BindServiceMethod(typeof(AssistantService), "BindService")]
public abstract class AssistantService.AssistantServiceBaseReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class AssistantService.AssistantServiceBase.
Base class for server-side implementations of AssistantService
Namespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Methods
ChatAiAssistant(ChatAiAssistantRequest, ServerCallContext)
public virtual Task<ChatAiAssistantResponse> ChatAiAssistant(ChatAiAssistantRequest request, ServerCallContext context)Runs Arc, the AI assistant, for the specified assistant session.
| Parameters | |
|---|---|
| Name | Description |
request |
ChatAiAssistantRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskChatAiAssistantResponse |
The response to send back to the client (wrapped by a task). |
CreateAssistantSession(CreateAssistantSessionRequest, ServerCallContext)
public virtual Task<AssistantSession> CreateAssistantSession(CreateAssistantSessionRequest request, ServerCallContext context)Creates a new assistant session in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAssistantSessionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAssistantSession |
The response to send back to the client (wrapped by a task). |
DeleteAssistantSession(DeleteAssistantSessionRequest, ServerCallContext)
public virtual Task<Empty> DeleteAssistantSession(DeleteAssistantSessionRequest request, ServerCallContext context)Deletes the specified assistant session.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAssistantSessionRequestThe 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). |
GetAssistantSession(GetAssistantSessionRequest, ServerCallContext)
public virtual Task<AssistantSession> GetAssistantSession(GetAssistantSessionRequest request, ServerCallContext context)Gets details of the specified assistant session.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssistantSessionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAssistantSession |
The response to send back to the client (wrapped by a task). |
ListAssistantSessions(ListAssistantSessionsRequest, ServerCallContext)
public virtual Task<ListAssistantSessionsResponse> ListAssistantSessions(ListAssistantSessionsRequest request, ServerCallContext context)Lists all assistant sessions in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAssistantSessionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAssistantSessionsResponse |
The response to send back to the client (wrapped by a task). |
RunAssistant(RunAssistantRequest, ServerCallContext)
public virtual Task<RunAssistantResponse> RunAssistant(RunAssistantRequest request, ServerCallContext context)Runs the assistant agent for the specified assistant session.
| Parameters | |
|---|---|
| Name | Description |
request |
RunAssistantRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRunAssistantResponse |
The response to send back to the client (wrapped by a task). |