Gemini Enterprise for Customer Experience v1beta API - Class AssistantServiceClientImpl (1.0.0-beta10)

public sealed class AssistantServiceClientImpl : AssistantServiceClient

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

AssistantService client wrapper implementation, for convenient use.

Inheritance

object > AssistantServiceClient > AssistantServiceClientImpl

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Remarks

The service that manages assistant-related resources in Customer Engagement Suite (CES). The assistant, Arc, is a conversational agent embedded in CES applications to help users with building their agents.

Constructors

AssistantServiceClientImpl(AssistantServiceClient, AssistantServiceSettings, ILogger)

public AssistantServiceClientImpl(AssistantService.AssistantServiceClient grpcClient, AssistantServiceSettings settings, ILogger logger)

Constructs a client wrapper for the AssistantService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient AssistantServiceAssistantServiceClient

The underlying gRPC client.

settings AssistantServiceSettings

The base AssistantServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override AssistantService.AssistantServiceClient GrpcClient { get; }

The underlying gRPC AssistantService client

Property Value
Type Description
AssistantServiceAssistantServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

ChatAiAssistant(ChatAiAssistantRequest, CallSettings)

public override ChatAiAssistantResponse ChatAiAssistant(ChatAiAssistantRequest request, CallSettings callSettings = null)

Runs Arc, the AI assistant, for the specified assistant session.

Parameters
Name Description
request ChatAiAssistantRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ChatAiAssistantResponse

The RPC response.

Overrides

ChatAiAssistantAsync(ChatAiAssistantRequest, CallSettings)

public override Task<ChatAiAssistantResponse> ChatAiAssistantAsync(ChatAiAssistantRequest request, CallSettings callSettings = null)

Runs Arc, the AI assistant, for the specified assistant session.

Parameters
Name Description
request ChatAiAssistantRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskChatAiAssistantResponse

A Task containing the RPC response.

Overrides

CreateAssistantSession(CreateAssistantSessionRequest, CallSettings)

public override AssistantSession CreateAssistantSession(CreateAssistantSessionRequest request, CallSettings callSettings = null)

Creates a new assistant session in the given app.

Parameters
Name Description
request CreateAssistantSessionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AssistantSession

The RPC response.

Overrides

CreateAssistantSessionAsync(CreateAssistantSessionRequest, CallSettings)

public override Task<AssistantSession> CreateAssistantSessionAsync(CreateAssistantSessionRequest request, CallSettings callSettings = null)

Creates a new assistant session in the given app.

Parameters
Name Description
request CreateAssistantSessionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAssistantSession

A Task containing the RPC response.

Overrides

DeleteAssistantSession(DeleteAssistantSessionRequest, CallSettings)

public override void DeleteAssistantSession(DeleteAssistantSessionRequest request, CallSettings callSettings = null)

Deletes the specified assistant session.

Parameters
Name Description
request DeleteAssistantSessionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteAssistantSessionAsync(DeleteAssistantSessionRequest, CallSettings)

public override Task DeleteAssistantSessionAsync(DeleteAssistantSessionRequest request, CallSettings callSettings = null)

Deletes the specified assistant session.

Parameters
Name Description
request DeleteAssistantSessionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

GetAssistantSession(GetAssistantSessionRequest, CallSettings)

public override AssistantSession GetAssistantSession(GetAssistantSessionRequest request, CallSettings callSettings = null)

Gets details of the specified assistant session.

Parameters
Name Description
request GetAssistantSessionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AssistantSession

The RPC response.

Overrides

GetAssistantSessionAsync(GetAssistantSessionRequest, CallSettings)

public override Task<AssistantSession> GetAssistantSessionAsync(GetAssistantSessionRequest request, CallSettings callSettings = null)

Gets details of the specified assistant session.

Parameters
Name Description
request GetAssistantSessionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAssistantSession

A Task containing the RPC response.

Overrides

ListAssistantSessions(ListAssistantSessionsRequest, CallSettings)

public override PagedEnumerable<ListAssistantSessionsResponse, AssistantSession> ListAssistantSessions(ListAssistantSessionsRequest request, CallSettings callSettings = null)

Lists all assistant sessions in the given app.

Parameters
Name Description
request ListAssistantSessionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAssistantSessionsResponseAssistantSession

A pageable sequence of AssistantSession resources.

Overrides

ListAssistantSessionsAsync(ListAssistantSessionsRequest, CallSettings)

public override PagedAsyncEnumerable<ListAssistantSessionsResponse, AssistantSession> ListAssistantSessionsAsync(ListAssistantSessionsRequest request, CallSettings callSettings = null)

Lists all assistant sessions in the given app.

Parameters
Name Description
request ListAssistantSessionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAssistantSessionsResponseAssistantSession

A pageable asynchronous sequence of AssistantSession resources.

Overrides

RunAssistant(RunAssistantRequest, CallSettings)

public override RunAssistantResponse RunAssistant(RunAssistantRequest request, CallSettings callSettings = null)

Runs the assistant agent for the specified assistant session.

Parameters
Name Description
request RunAssistantRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RunAssistantResponse

The RPC response.

Overrides

RunAssistantAsync(RunAssistantRequest, CallSettings)

public override Task<RunAssistantResponse> RunAssistantAsync(RunAssistantRequest request, CallSettings callSettings = null)

Runs the assistant agent for the specified assistant session.

Parameters
Name Description
request RunAssistantRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRunAssistantResponse

A Task containing the RPC response.

Overrides