[BindServiceMethod(typeof(AgentService), "BindService")]
public abstract class AgentService.AgentServiceBaseReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class AgentService.AgentServiceBase.
Base class for server-side implementations of AgentService
Namespace
Google.Cloud.Ces.V1Assembly
Google.Cloud.Ces.V1.dll
Methods
BatchDeleteConversations(BatchDeleteConversationsRequest, ServerCallContext)
public virtual Task<Operation> BatchDeleteConversations(BatchDeleteConversationsRequest request, ServerCallContext context)Batch deletes the specified conversations.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchDeleteConversationsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
CreateAgent(CreateAgentRequest, ServerCallContext)
public virtual Task<Agent> CreateAgent(CreateAgentRequest request, ServerCallContext context)Creates a new agent in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAgentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAgent |
The response to send back to the client (wrapped by a task). |
CreateApp(CreateAppRequest, ServerCallContext)
public virtual Task<Operation> CreateApp(CreateAppRequest request, ServerCallContext context)Creates a new app in the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAppRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
CreateAppVersion(CreateAppVersionRequest, ServerCallContext)
public virtual Task<AppVersion> CreateAppVersion(CreateAppVersionRequest request, ServerCallContext context)Creates a new app version in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAppVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAppVersion |
The response to send back to the client (wrapped by a task). |
CreateDeployment(CreateDeploymentRequest, ServerCallContext)
public virtual Task<Deployment> CreateDeployment(CreateDeploymentRequest request, ServerCallContext context)Creates a new deployment in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDeploymentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDeployment |
The response to send back to the client (wrapped by a task). |
CreateExample(CreateExampleRequest, ServerCallContext)
public virtual Task<Example> CreateExample(CreateExampleRequest request, ServerCallContext context)Creates a new example in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExampleRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskExample |
The response to send back to the client (wrapped by a task). |
CreateGuardrail(CreateGuardrailRequest, ServerCallContext)
public virtual Task<Guardrail> CreateGuardrail(CreateGuardrailRequest request, ServerCallContext context)Creates a new guardrail in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateGuardrailRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGuardrail |
The response to send back to the client (wrapped by a task). |
CreateTool(CreateToolRequest, ServerCallContext)
public virtual Task<Tool> CreateTool(CreateToolRequest request, ServerCallContext context)Creates a new tool in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTool |
The response to send back to the client (wrapped by a task). |
CreateToolset(CreateToolsetRequest, ServerCallContext)
public virtual Task<Toolset> CreateToolset(CreateToolsetRequest request, ServerCallContext context)Creates a new toolset in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolsetRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskToolset |
The response to send back to the client (wrapped by a task). |
DeleteAgent(DeleteAgentRequest, ServerCallContext)
public virtual Task<Empty> DeleteAgent(DeleteAgentRequest request, ServerCallContext context)Deletes the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAgentRequestThe 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). |
DeleteApp(DeleteAppRequest, ServerCallContext)
public virtual Task<Operation> DeleteApp(DeleteAppRequest request, ServerCallContext context)Deletes the specified app.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAppRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteAppVersion(DeleteAppVersionRequest, ServerCallContext)
public virtual Task<Empty> DeleteAppVersion(DeleteAppVersionRequest request, ServerCallContext context)Deletes the specified app version.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAppVersionRequestThe 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). |
DeleteConversation(DeleteConversationRequest, ServerCallContext)
public virtual Task<Empty> DeleteConversation(DeleteConversationRequest request, ServerCallContext context)Deletes the specified conversation.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteConversationRequestThe 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). |
DeleteDeployment(DeleteDeploymentRequest, ServerCallContext)
public virtual Task<Empty> DeleteDeployment(DeleteDeploymentRequest request, ServerCallContext context)Deletes the specified deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDeploymentRequestThe 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). |
DeleteExample(DeleteExampleRequest, ServerCallContext)
public virtual Task<Empty> DeleteExample(DeleteExampleRequest request, ServerCallContext context)Deletes the specified example.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteExampleRequestThe 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). |
DeleteGuardrail(DeleteGuardrailRequest, ServerCallContext)
public virtual Task<Empty> DeleteGuardrail(DeleteGuardrailRequest request, ServerCallContext context)Deletes the specified guardrail.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGuardrailRequestThe 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). |
DeleteTool(DeleteToolRequest, ServerCallContext)
public virtual Task<Empty> DeleteTool(DeleteToolRequest request, ServerCallContext context)Deletes the specified tool.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolRequestThe 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). |
DeleteToolset(DeleteToolsetRequest, ServerCallContext)
public virtual Task<Empty> DeleteToolset(DeleteToolsetRequest request, ServerCallContext context)Deletes the specified toolset.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolsetRequestThe 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). |
ExportApp(ExportAppRequest, ServerCallContext)
public virtual Task<Operation> ExportApp(ExportAppRequest request, ServerCallContext context)Exports the specified app.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportAppRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetAgent(GetAgentRequest, ServerCallContext)
public virtual Task<Agent> GetAgent(GetAgentRequest request, ServerCallContext context)Gets details of the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAgentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAgent |
The response to send back to the client (wrapped by a task). |
GetApp(GetAppRequest, ServerCallContext)
public virtual Task<App> GetApp(GetAppRequest request, ServerCallContext context)Gets details of the specified app.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAppRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskApp |
The response to send back to the client (wrapped by a task). |
GetAppVersion(GetAppVersionRequest, ServerCallContext)
public virtual Task<AppVersion> GetAppVersion(GetAppVersionRequest request, ServerCallContext context)Gets details of the specified app version.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAppVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAppVersion |
The response to send back to the client (wrapped by a task). |
GetChangelog(GetChangelogRequest, ServerCallContext)
public virtual Task<Changelog> GetChangelog(GetChangelogRequest request, ServerCallContext context)Gets the specified changelog.
| Parameters | |
|---|---|
| Name | Description |
request |
GetChangelogRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskChangelog |
The response to send back to the client (wrapped by a task). |
GetConversation(GetConversationRequest, ServerCallContext)
public virtual Task<Conversation> GetConversation(GetConversationRequest request, ServerCallContext context)Gets details of the specified conversation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConversationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskConversation |
The response to send back to the client (wrapped by a task). |
GetDeployment(GetDeploymentRequest, ServerCallContext)
public virtual Task<Deployment> GetDeployment(GetDeploymentRequest request, ServerCallContext context)Gets details of the specified deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDeploymentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDeployment |
The response to send back to the client (wrapped by a task). |
GetExample(GetExampleRequest, ServerCallContext)
public virtual Task<Example> GetExample(GetExampleRequest request, ServerCallContext context)Gets details of the specified example.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExampleRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskExample |
The response to send back to the client (wrapped by a task). |
GetGuardrail(GetGuardrailRequest, ServerCallContext)
public virtual Task<Guardrail> GetGuardrail(GetGuardrailRequest request, ServerCallContext context)Gets details of the specified guardrail.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGuardrailRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGuardrail |
The response to send back to the client (wrapped by a task). |
GetTool(GetToolRequest, ServerCallContext)
public virtual Task<Tool> GetTool(GetToolRequest request, ServerCallContext context)Gets details of the specified tool.
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTool |
The response to send back to the client (wrapped by a task). |
GetToolset(GetToolsetRequest, ServerCallContext)
public virtual Task<Toolset> GetToolset(GetToolsetRequest request, ServerCallContext context)Gets details of the specified toolset.
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolsetRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskToolset |
The response to send back to the client (wrapped by a task). |
ImportApp(ImportAppRequest, ServerCallContext)
public virtual Task<Operation> ImportApp(ImportAppRequest request, ServerCallContext context)Imports the specified app.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportAppRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
ListAgents(ListAgentsRequest, ServerCallContext)
public virtual Task<ListAgentsResponse> ListAgents(ListAgentsRequest request, ServerCallContext context)Lists agents in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAgentsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAgentsResponse |
The response to send back to the client (wrapped by a task). |
ListAppVersions(ListAppVersionsRequest, ServerCallContext)
public virtual Task<ListAppVersionsResponse> ListAppVersions(ListAppVersionsRequest request, ServerCallContext context)Lists all app versions in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAppVersionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAppVersionsResponse |
The response to send back to the client (wrapped by a task). |
ListApps(ListAppsRequest, ServerCallContext)
public virtual Task<ListAppsResponse> ListApps(ListAppsRequest request, ServerCallContext context)Lists apps in the given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAppsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAppsResponse |
The response to send back to the client (wrapped by a task). |
ListChangelogs(ListChangelogsRequest, ServerCallContext)
public virtual Task<ListChangelogsResponse> ListChangelogs(ListChangelogsRequest request, ServerCallContext context)Lists the changelogs of the specified app.
| Parameters | |
|---|---|
| Name | Description |
request |
ListChangelogsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListChangelogsResponse |
The response to send back to the client (wrapped by a task). |
ListConversations(ListConversationsRequest, ServerCallContext)
public virtual Task<ListConversationsResponse> ListConversations(ListConversationsRequest request, ServerCallContext context)Lists conversations in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
ListConversationsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListConversationsResponse |
The response to send back to the client (wrapped by a task). |
ListDeployments(ListDeploymentsRequest, ServerCallContext)
public virtual Task<ListDeploymentsResponse> ListDeployments(ListDeploymentsRequest request, ServerCallContext context)Lists deployments in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDeploymentsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListDeploymentsResponse |
The response to send back to the client (wrapped by a task). |
ListExamples(ListExamplesRequest, ServerCallContext)
public virtual Task<ListExamplesResponse> ListExamples(ListExamplesRequest request, ServerCallContext context)Lists examples in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
ListExamplesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListExamplesResponse |
The response to send back to the client (wrapped by a task). |
ListGuardrails(ListGuardrailsRequest, ServerCallContext)
public virtual Task<ListGuardrailsResponse> ListGuardrails(ListGuardrailsRequest request, ServerCallContext context)Lists guardrails in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGuardrailsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListGuardrailsResponse |
The response to send back to the client (wrapped by a task). |
ListTools(ListToolsRequest, ServerCallContext)
public virtual Task<ListToolsResponse> ListTools(ListToolsRequest request, ServerCallContext context)Lists tools in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListToolsResponse |
The response to send back to the client (wrapped by a task). |
ListToolsets(ListToolsetsRequest, ServerCallContext)
public virtual Task<ListToolsetsResponse> ListToolsets(ListToolsetsRequest request, ServerCallContext context)Lists toolsets in the given app.
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolsetsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListToolsetsResponse |
The response to send back to the client (wrapped by a task). |
RestoreAppVersion(RestoreAppVersionRequest, ServerCallContext)
public virtual Task<Operation> RestoreAppVersion(RestoreAppVersionRequest request, ServerCallContext context)Restores the specified app version. This will create a new app version from the current draft app and overwrite the current draft with the specified app version.
| Parameters | |
|---|---|
| Name | Description |
request |
RestoreAppVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
UpdateAgent(UpdateAgentRequest, ServerCallContext)
public virtual Task<Agent> UpdateAgent(UpdateAgentRequest request, ServerCallContext context)Updates the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAgentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAgent |
The response to send back to the client (wrapped by a task). |
UpdateApp(UpdateAppRequest, ServerCallContext)
public virtual Task<App> UpdateApp(UpdateAppRequest request, ServerCallContext context)Updates the specified app.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAppRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskApp |
The response to send back to the client (wrapped by a task). |
UpdateDeployment(UpdateDeploymentRequest, ServerCallContext)
public virtual Task<Deployment> UpdateDeployment(UpdateDeploymentRequest request, ServerCallContext context)Updates the specified deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDeploymentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDeployment |
The response to send back to the client (wrapped by a task). |
UpdateExample(UpdateExampleRequest, ServerCallContext)
public virtual Task<Example> UpdateExample(UpdateExampleRequest request, ServerCallContext context)Updates the specified example.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateExampleRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskExample |
The response to send back to the client (wrapped by a task). |
UpdateGuardrail(UpdateGuardrailRequest, ServerCallContext)
public virtual Task<Guardrail> UpdateGuardrail(UpdateGuardrailRequest request, ServerCallContext context)Updates the specified guardrail.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateGuardrailRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGuardrail |
The response to send back to the client (wrapped by a task). |
UpdateTool(UpdateToolRequest, ServerCallContext)
public virtual Task<Tool> UpdateTool(UpdateToolRequest request, ServerCallContext context)Updates the specified tool.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateToolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTool |
The response to send back to the client (wrapped by a task). |
UpdateToolset(UpdateToolsetRequest, ServerCallContext)
public virtual Task<Toolset> UpdateToolset(UpdateToolsetRequest request, ServerCallContext context)Updates the specified toolset.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateToolsetRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskToolset |
The response to send back to the client (wrapped by a task). |