Package com.google.cloud.ces.v1beta
Class AgentServiceGrpc.AgentServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AgentServiceGrpc.AgentServiceBlockingV2Stub>
com.google.cloud.ces.v1beta.AgentServiceGrpc.AgentServiceBlockingV2Stub
- Enclosing class:
- AgentServiceGrpc
public static final class AgentServiceGrpc.AgentServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<AgentServiceGrpc.AgentServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service AgentService.
The service that manages agent-related resources in Gemini Enterprise for Customer Engagement (CES).
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionBatch deletes the specified conversations.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createAgent(CreateAgentRequest request) Creates a new agent in the given app.createApp(CreateAppRequest request) Creates a new app in the given project and location.createAppVersion(CreateAppVersionRequest request) Creates a new app version in the given app.createDeployment(CreateDeploymentRequest request) Creates a new deployment in the given app.createExample(CreateExampleRequest request) Creates a new example in the given app.createGuardrail(CreateGuardrailRequest request) Creates a new guardrail in the given app.createTool(CreateToolRequest request) Creates a new tool in the given app.createToolset(CreateToolsetRequest request) Creates a new toolset in the given app.com.google.protobuf.EmptydeleteAgent(DeleteAgentRequest request) Deletes the specified agent.deleteApp(DeleteAppRequest request) Deletes the specified app.com.google.protobuf.EmptydeleteAppVersion(DeleteAppVersionRequest request) Deletes the specified app version.com.google.protobuf.EmptyDeletes the specified conversation.com.google.protobuf.EmptydeleteDeployment(DeleteDeploymentRequest request) Deletes the specified deployment.com.google.protobuf.EmptydeleteExample(DeleteExampleRequest request) Deletes the specified example.com.google.protobuf.EmptydeleteGuardrail(DeleteGuardrailRequest request) Deletes the specified guardrail.com.google.protobuf.EmptydeleteTool(DeleteToolRequest request) Deletes the specified tool.com.google.protobuf.EmptydeleteToolset(DeleteToolsetRequest request) Deletes the specified toolset.exportApp(ExportAppRequest request) Exports the specified app.Generates specific resources (e.g. agent) in the app using LLM assistant.getAgent(GetAgentRequest request) Gets details of the specified agent.getApp(GetAppRequest request) Gets details of the specified app.getAppVersion(GetAppVersionRequest request) Gets details of the specified app version.getChangelog(GetChangelogRequest request) Gets the specified changelog.getConversation(GetConversationRequest request) Gets details of the specified conversation.getDeployment(GetDeploymentRequest request) Gets details of the specified deployment.getExample(GetExampleRequest request) Gets details of the specified example.getGuardrail(GetGuardrailRequest request) Gets details of the specified guardrail.Retrieves the security settings for the project and location.getTool(GetToolRequest request) Gets details of the specified tool.getToolset(GetToolsetRequest request) Gets details of the specified toolset.importApp(ImportAppRequest request) Imports the specified app.listAgents(ListAgentsRequest request) Lists agents in the given app.listApps(ListAppsRequest request) Lists apps in the given project and location.listAppVersions(ListAppVersionsRequest request) Lists all app versions in the given app.listChangelogs(ListChangelogsRequest request) Lists the changelogs of the specified app.Lists conversations in the given app.listDeployments(ListDeploymentsRequest request) Lists deployments in the given app.listExamples(ListExamplesRequest request) Lists examples in the given app.listGuardrails(ListGuardrailsRequest request) Lists guardrails in the given app.listTools(ListToolsRequest request) Lists tools in the given app.listToolsets(ListToolsetsRequest request) Lists toolsets in the given app.Restores the specified app version.updateAgent(UpdateAgentRequest request) Updates the specified agent.updateApp(UpdateAppRequest request) Updates the specified app.updateDeployment(UpdateDeploymentRequest request) Updates the specified deployment.updateExample(UpdateExampleRequest request) Updates the specified example.updateGuardrail(UpdateGuardrailRequest request) Updates the specified guardrail.Updates the security settings for the project and location.updateTool(UpdateToolRequest request) Updates the specified tool.updateToolset(UpdateToolsetRequest request) Updates the specified toolset.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AgentServiceGrpc.AgentServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AgentServiceGrpc.AgentServiceBlockingV2Stub>
-
listApps
Lists apps in the given project and location.
- Throws:
io.grpc.StatusException
-
getApp
Gets details of the specified app.
- Throws:
io.grpc.StatusException
-
createApp
Creates a new app in the given project and location.
- Throws:
io.grpc.StatusException
-
updateApp
Updates the specified app.
- Throws:
io.grpc.StatusException
-
deleteApp
Deletes the specified app.
- Throws:
io.grpc.StatusException
-
exportApp
Exports the specified app.
- Throws:
io.grpc.StatusException
-
importApp
Imports the specified app.
- Throws:
io.grpc.StatusException
-
getSecuritySettings
public SecuritySettings getSecuritySettings(GetSecuritySettingsRequest request) throws io.grpc.StatusException Retrieves the security settings for the project and location.
- Throws:
io.grpc.StatusException
-
updateSecuritySettings
public SecuritySettings updateSecuritySettings(UpdateSecuritySettingsRequest request) throws io.grpc.StatusException Updates the security settings for the project and location.
- Throws:
io.grpc.StatusException
-
listAgents
Lists agents in the given app.
- Throws:
io.grpc.StatusException
-
getAgent
Gets details of the specified agent.
- Throws:
io.grpc.StatusException
-
createAgent
Creates a new agent in the given app.
- Throws:
io.grpc.StatusException
-
updateAgent
Updates the specified agent.
- Throws:
io.grpc.StatusException
-
deleteAgent
public com.google.protobuf.Empty deleteAgent(DeleteAgentRequest request) throws io.grpc.StatusException Deletes the specified agent.
- Throws:
io.grpc.StatusException
-
listExamples
public ListExamplesResponse listExamples(ListExamplesRequest request) throws io.grpc.StatusException Lists examples in the given app.
- Throws:
io.grpc.StatusException
-
getExample
Gets details of the specified example.
- Throws:
io.grpc.StatusException
-
createExample
Creates a new example in the given app.
- Throws:
io.grpc.StatusException
-
updateExample
Updates the specified example.
- Throws:
io.grpc.StatusException
-
deleteExample
public com.google.protobuf.Empty deleteExample(DeleteExampleRequest request) throws io.grpc.StatusException Deletes the specified example.
- Throws:
io.grpc.StatusException
-
listTools
Lists tools in the given app.
- Throws:
io.grpc.StatusException
-
getTool
Gets details of the specified tool.
- Throws:
io.grpc.StatusException
-
listConversations
public ListConversationsResponse listConversations(ListConversationsRequest request) throws io.grpc.StatusException Lists conversations in the given app.
- Throws:
io.grpc.StatusException
-
getConversation
Gets details of the specified conversation.
- Throws:
io.grpc.StatusException
-
deleteConversation
public com.google.protobuf.Empty deleteConversation(DeleteConversationRequest request) throws io.grpc.StatusException Deletes the specified conversation.
- Throws:
io.grpc.StatusException
-
batchDeleteConversations
public Operation batchDeleteConversations(BatchDeleteConversationsRequest request) throws io.grpc.StatusException Batch deletes the specified conversations.
- Throws:
io.grpc.StatusException
-
createTool
Creates a new tool in the given app.
- Throws:
io.grpc.StatusException
-
updateTool
Updates the specified tool.
- Throws:
io.grpc.StatusException
-
deleteTool
public com.google.protobuf.Empty deleteTool(DeleteToolRequest request) throws io.grpc.StatusException Deletes the specified tool.
- Throws:
io.grpc.StatusException
-
listGuardrails
public ListGuardrailsResponse listGuardrails(ListGuardrailsRequest request) throws io.grpc.StatusException Lists guardrails in the given app.
- Throws:
io.grpc.StatusException
-
getGuardrail
Gets details of the specified guardrail.
- Throws:
io.grpc.StatusException
-
createGuardrail
Creates a new guardrail in the given app.
- Throws:
io.grpc.StatusException
-
updateGuardrail
Updates the specified guardrail.
- Throws:
io.grpc.StatusException
-
deleteGuardrail
public com.google.protobuf.Empty deleteGuardrail(DeleteGuardrailRequest request) throws io.grpc.StatusException Deletes the specified guardrail.
- Throws:
io.grpc.StatusException
-
listDeployments
public ListDeploymentsResponse listDeployments(ListDeploymentsRequest request) throws io.grpc.StatusException Lists deployments in the given app.
- Throws:
io.grpc.StatusException
-
getDeployment
Gets details of the specified deployment.
- Throws:
io.grpc.StatusException
-
createDeployment
Creates a new deployment in the given app.
- Throws:
io.grpc.StatusException
-
updateDeployment
Updates the specified deployment.
- Throws:
io.grpc.StatusException
-
deleteDeployment
public com.google.protobuf.Empty deleteDeployment(DeleteDeploymentRequest request) throws io.grpc.StatusException Deletes the specified deployment.
- Throws:
io.grpc.StatusException
-
listToolsets
public ListToolsetsResponse listToolsets(ListToolsetsRequest request) throws io.grpc.StatusException Lists toolsets in the given app.
- Throws:
io.grpc.StatusException
-
getToolset
Gets details of the specified toolset.
- Throws:
io.grpc.StatusException
-
createToolset
Creates a new toolset in the given app.
- Throws:
io.grpc.StatusException
-
updateToolset
Updates the specified toolset.
- Throws:
io.grpc.StatusException
-
deleteToolset
public com.google.protobuf.Empty deleteToolset(DeleteToolsetRequest request) throws io.grpc.StatusException Deletes the specified toolset.
- Throws:
io.grpc.StatusException
-
listAppVersions
public ListAppVersionsResponse listAppVersions(ListAppVersionsRequest request) throws io.grpc.StatusException Lists all app versions in the given app.
- Throws:
io.grpc.StatusException
-
getAppVersion
Gets details of the specified app version.
- Throws:
io.grpc.StatusException
-
createAppVersion
Creates a new app version in the given app.
- Throws:
io.grpc.StatusException
-
deleteAppVersion
public com.google.protobuf.Empty deleteAppVersion(DeleteAppVersionRequest request) throws io.grpc.StatusException Deletes the specified app version.
- Throws:
io.grpc.StatusException
-
restoreAppVersion
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.
- Throws:
io.grpc.StatusException
-
generateAppResource
public Operation generateAppResource(GenerateAppResourceRequest request) throws io.grpc.StatusException Generates specific resources (e.g. agent) in the app using LLM assistant.
- Throws:
io.grpc.StatusException
-
listChangelogs
public ListChangelogsResponse listChangelogs(ListChangelogsRequest request) throws io.grpc.StatusException Lists the changelogs of the specified app.
- Throws:
io.grpc.StatusException
-
getChangelog
Gets the specified changelog.
- Throws:
io.grpc.StatusException
-