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).
 
  • Method Details

    • build

      protected AgentServiceGrpc.AgentServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AgentServiceGrpc.AgentServiceBlockingV2Stub>
    • listApps

      public ListAppsResponse listApps(ListAppsRequest request) throws io.grpc.StatusException
       Lists apps in the given project and location.
       
      Throws:
      io.grpc.StatusException
    • getApp

      public App getApp(GetAppRequest request) throws io.grpc.StatusException
       Gets details of the specified app.
       
      Throws:
      io.grpc.StatusException
    • createApp

      public Operation createApp(CreateAppRequest request) throws io.grpc.StatusException
       Creates a new app in the given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateApp

      public App updateApp(UpdateAppRequest request) throws io.grpc.StatusException
       Updates the specified app.
       
      Throws:
      io.grpc.StatusException
    • deleteApp

      public Operation deleteApp(DeleteAppRequest request) throws io.grpc.StatusException
       Deletes the specified app.
       
      Throws:
      io.grpc.StatusException
    • exportApp

      public Operation exportApp(ExportAppRequest request) throws io.grpc.StatusException
       Exports the specified app.
       
      Throws:
      io.grpc.StatusException
    • importApp

      public Operation importApp(ImportAppRequest request) throws io.grpc.StatusException
       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

      public ListAgentsResponse listAgents(ListAgentsRequest request) throws io.grpc.StatusException
       Lists agents in the given app.
       
      Throws:
      io.grpc.StatusException
    • getAgent

      public Agent getAgent(GetAgentRequest request) throws io.grpc.StatusException
       Gets details of the specified agent.
       
      Throws:
      io.grpc.StatusException
    • createAgent

      public Agent createAgent(CreateAgentRequest request) throws io.grpc.StatusException
       Creates a new agent in the given app.
       
      Throws:
      io.grpc.StatusException
    • updateAgent

      public Agent updateAgent(UpdateAgentRequest request) throws io.grpc.StatusException
       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

      public Example getExample(GetExampleRequest request) throws io.grpc.StatusException
       Gets details of the specified example.
       
      Throws:
      io.grpc.StatusException
    • createExample

      public Example createExample(CreateExampleRequest request) throws io.grpc.StatusException
       Creates a new example in the given app.
       
      Throws:
      io.grpc.StatusException
    • updateExample

      public Example updateExample(UpdateExampleRequest request) throws io.grpc.StatusException
       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

      public ListToolsResponse listTools(ListToolsRequest request) throws io.grpc.StatusException
       Lists tools in the given app.
       
      Throws:
      io.grpc.StatusException
    • getTool

      public Tool getTool(GetToolRequest request) throws io.grpc.StatusException
       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

      public Conversation getConversation(GetConversationRequest request) throws io.grpc.StatusException
       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

      public Tool createTool(CreateToolRequest request) throws io.grpc.StatusException
       Creates a new tool in the given app.
       
      Throws:
      io.grpc.StatusException
    • updateTool

      public Tool updateTool(UpdateToolRequest request) throws io.grpc.StatusException
       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

      public Guardrail getGuardrail(GetGuardrailRequest request) throws io.grpc.StatusException
       Gets details of the specified guardrail.
       
      Throws:
      io.grpc.StatusException
    • createGuardrail

      public Guardrail createGuardrail(CreateGuardrailRequest request) throws io.grpc.StatusException
       Creates a new guardrail in the given app.
       
      Throws:
      io.grpc.StatusException
    • updateGuardrail

      public Guardrail updateGuardrail(UpdateGuardrailRequest request) throws io.grpc.StatusException
       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

      public Deployment getDeployment(GetDeploymentRequest request) throws io.grpc.StatusException
       Gets details of the specified deployment.
       
      Throws:
      io.grpc.StatusException
    • createDeployment

      public Deployment createDeployment(CreateDeploymentRequest request) throws io.grpc.StatusException
       Creates a new deployment in the given app.
       
      Throws:
      io.grpc.StatusException
    • updateDeployment

      public Deployment updateDeployment(UpdateDeploymentRequest request) throws io.grpc.StatusException
       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

      public Toolset getToolset(GetToolsetRequest request) throws io.grpc.StatusException
       Gets details of the specified toolset.
       
      Throws:
      io.grpc.StatusException
    • createToolset

      public Toolset createToolset(CreateToolsetRequest request) throws io.grpc.StatusException
       Creates a new toolset in the given app.
       
      Throws:
      io.grpc.StatusException
    • updateToolset

      public Toolset updateToolset(UpdateToolsetRequest request) throws io.grpc.StatusException
       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

      public AppVersion getAppVersion(GetAppVersionRequest request) throws io.grpc.StatusException
       Gets details of the specified app version.
       
      Throws:
      io.grpc.StatusException
    • createAppVersion

      public AppVersion createAppVersion(CreateAppVersionRequest request) throws io.grpc.StatusException
       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

      public Operation restoreAppVersion(RestoreAppVersionRequest request) throws io.grpc.StatusException
       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

      public Changelog getChangelog(GetChangelogRequest request) throws io.grpc.StatusException
       Gets the specified changelog.
       
      Throws:
      io.grpc.StatusException