Interface AgentServiceAsync
-
- All Implemented Interfaces:
public interface AgentServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAgentServiceAsync.WithRawResponseA view of AgentServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract AgentServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract AgentServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
versions
abstract VersionServiceAsync versions()
-
create
CompletableFuture<BetaManagedAgentsAgent> create(AgentCreateParams params)
Create Agent
-
create
abstract CompletableFuture<BetaManagedAgentsAgent> create(AgentCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaManagedAgentsAgent> retrieve(String agentId)
Get Agent
-
retrieve
CompletableFuture<BetaManagedAgentsAgent> retrieve(String agentId, AgentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaManagedAgentsAgent> retrieve(String agentId, AgentRetrieveParams params)
-
retrieve
abstract CompletableFuture<BetaManagedAgentsAgent> retrieve(AgentRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaManagedAgentsAgent> retrieve(AgentRetrieveParams params)
-
retrieve
CompletableFuture<BetaManagedAgentsAgent> retrieve(String agentId, RequestOptions requestOptions)
-
update
CompletableFuture<BetaManagedAgentsAgent> update(String agentId, AgentUpdateParams params)
Update Agent
-
update
CompletableFuture<BetaManagedAgentsAgent> update(String agentId, AgentUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<BetaManagedAgentsAgent> update(AgentUpdateParams params)
-
update
abstract CompletableFuture<BetaManagedAgentsAgent> update(AgentUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<AgentListPageAsync> list()
List Agents
-
list
abstract CompletableFuture<AgentListPageAsync> list(AgentListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<AgentListPageAsync> list(AgentListParams params)
-
list
CompletableFuture<AgentListPageAsync> list(RequestOptions requestOptions)
-
archive
CompletableFuture<BetaManagedAgentsAgent> archive(String agentId)
Archive Agent
-
archive
CompletableFuture<BetaManagedAgentsAgent> archive(String agentId, AgentArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<BetaManagedAgentsAgent> archive(String agentId, AgentArchiveParams params)
-
archive
abstract CompletableFuture<BetaManagedAgentsAgent> archive(AgentArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<BetaManagedAgentsAgent> archive(AgentArchiveParams params)
-
archive
CompletableFuture<BetaManagedAgentsAgent> archive(String agentId, RequestOptions requestOptions)
-
-
-
-