Gemini Enterprise for Customer Experience v1beta API - Class AssistantService.AssistantServiceBase (1.0.0-beta10)

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class AssistantService.AssistantServiceBase.

Base class for server-side implementations of AssistantService

Inheritance

object > AssistantService.AssistantServiceBase

Namespace

Google.Cloud.Ces.V1Beta

Assembly

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 ChatAiAssistantRequest

The request received from the client.

context ServerCallContext

The 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 CreateAssistantSessionRequest

The request received from the client.

context ServerCallContext

The 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 DeleteAssistantSessionRequest

The request received from the client.

context ServerCallContext

The 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 GetAssistantSessionRequest

The request received from the client.

context ServerCallContext

The 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 ListAssistantSessionsRequest

The request received from the client.

context ServerCallContext

The 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 RunAssistantRequest

The request received from the client.

context ServerCallContext

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