public sealed class AssistantServiceClientImpl : AssistantServiceClientReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class AssistantServiceClientImpl.
AssistantService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Ces.V1BetaAssembly
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 |
AssistantServiceAssistantServiceClientThe underlying gRPC client. |
settings |
AssistantServiceSettingsThe base AssistantServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override AssistantService.AssistantServiceClient GrpcClient { get; }The underlying gRPC AssistantService client
| Property Value | |
|---|---|
| Type | Description |
AssistantServiceAssistantServiceClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
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 |
ChatAiAssistantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ChatAiAssistantResponse |
The RPC response. |
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 |
ChatAiAssistantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskChatAiAssistantResponse |
A Task containing the RPC response. |
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 |
CreateAssistantSessionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AssistantSession |
The RPC response. |
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 |
CreateAssistantSessionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAssistantSession |
A Task containing the RPC response. |
DeleteAssistantSession(DeleteAssistantSessionRequest, CallSettings)
public override void DeleteAssistantSession(DeleteAssistantSessionRequest request, CallSettings callSettings = null)Deletes the specified assistant session.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAssistantSessionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteAssistantSessionAsync(DeleteAssistantSessionRequest, CallSettings)
public override Task DeleteAssistantSessionAsync(DeleteAssistantSessionRequest request, CallSettings callSettings = null)Deletes the specified assistant session.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAssistantSessionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetAssistantSession(GetAssistantSessionRequest, CallSettings)
public override AssistantSession GetAssistantSession(GetAssistantSessionRequest request, CallSettings callSettings = null)Gets details of the specified assistant session.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssistantSessionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AssistantSession |
The RPC response. |
GetAssistantSessionAsync(GetAssistantSessionRequest, CallSettings)
public override Task<AssistantSession> GetAssistantSessionAsync(GetAssistantSessionRequest request, CallSettings callSettings = null)Gets details of the specified assistant session.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssistantSessionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAssistantSession |
A Task containing the RPC response. |
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 |
ListAssistantSessionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAssistantSessionsResponseAssistantSession |
A pageable sequence of AssistantSession resources. |
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 |
ListAssistantSessionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAssistantSessionsResponseAssistantSession |
A pageable asynchronous sequence of AssistantSession resources. |
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 |
RunAssistantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
RunAssistantResponse |
The RPC response. |
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 |
RunAssistantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRunAssistantResponse |
A Task containing the RPC response. |