Interface EnvironmentsGrpc.AsyncService (0.53.0)

public static interface EnvironmentsGrpc.AsyncService

Service for managing Environments.

Methods

createEnvironment(CreateEnvironmentRequest request, StreamObserver<Operation> responseObserver)

public default void createEnvironment(CreateEnvironmentRequest request, StreamObserver<Operation> responseObserver)

Creates an Environment in the specified Agent. This method is a long-running operation. The returned Operation type has the following method-specific fields:

Parameters
Name Description
request CreateEnvironmentRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Empty> responseObserver)

public default void deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified Environment.

Parameters
Name Description
request DeleteEnvironmentRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deployFlow(DeployFlowRequest request, StreamObserver<Operation> responseObserver)

public default void deployFlow(DeployFlowRequest request, StreamObserver<Operation> responseObserver)

Deploys a flow to the specified Environment. This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: DeployFlowMetadata
  • response: DeployFlowResponse
Parameters
Name Description
request DeployFlowRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)

public default void getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)

Retrieves the specified Environment.

Parameters
Name Description
request GetEnvironmentRequest
responseObserver io.grpc.stub.StreamObserver<Environment>

listContinuousTestResults(ListContinuousTestResultsRequest request, StreamObserver<ListContinuousTestResultsResponse> responseObserver)

public default void listContinuousTestResults(ListContinuousTestResultsRequest request, StreamObserver<ListContinuousTestResultsResponse> responseObserver)

Fetches a list of continuous test results for a given environment.

Parameters
Name Description
request ListContinuousTestResultsRequest
responseObserver io.grpc.stub.StreamObserver<ListContinuousTestResultsResponse>

listEnvironments(ListEnvironmentsRequest request, StreamObserver<ListEnvironmentsResponse> responseObserver)

public default void listEnvironments(ListEnvironmentsRequest request, StreamObserver<ListEnvironmentsResponse> responseObserver)

Returns the list of all environments in the specified Agent.

Parameters
Name Description
request ListEnvironmentsRequest
responseObserver io.grpc.stub.StreamObserver<ListEnvironmentsResponse>

lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request, StreamObserver<LookupEnvironmentHistoryResponse> responseObserver)

public default void lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request, StreamObserver<LookupEnvironmentHistoryResponse> responseObserver)

Looks up the history of the specified Environment.

Parameters
Name Description
request LookupEnvironmentHistoryRequest
responseObserver io.grpc.stub.StreamObserver<LookupEnvironmentHistoryResponse>

runContinuousTest(RunContinuousTestRequest request, StreamObserver<Operation> responseObserver)

public default void runContinuousTest(RunContinuousTestRequest request, StreamObserver<Operation> responseObserver)

Kicks off a continuous test under the specified Environment. This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: RunContinuousTestMetadata
  • response: RunContinuousTestResponse
Parameters
Name Description
request RunContinuousTestRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateEnvironment(UpdateEnvironmentRequest request, StreamObserver<Operation> responseObserver)

public default void updateEnvironment(UpdateEnvironmentRequest request, StreamObserver<Operation> responseObserver)

Updates the specified Environment. This method is a long-running operation. The returned Operation type has the following method-specific fields:

Parameters
Name Description
request UpdateEnvironmentRequest
responseObserver io.grpc.stub.StreamObserver<Operation>