Interface EnvironmentsGrpc.AsyncService
-
- All Known Implementing Classes:
EnvironmentsGrpc.EnvironmentsImplBase
- Enclosing class:
- EnvironmentsGrpc
public static interface EnvironmentsGrpc.AsyncService
Service for managing [Environments][google.cloud.dialogflow.cx.v3.Environment].
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
createEnvironment(CreateEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].default void
deleteEnvironment(DeleteEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].default void
deployFlow(DeployFlowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].default void
getEnvironment(GetEnvironmentRequest request, io.grpc.stub.StreamObserver<Environment> responseObserver)
Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].default void
listContinuousTestResults(ListContinuousTestResultsRequest request, io.grpc.stub.StreamObserver<ListContinuousTestResultsResponse> responseObserver)
Fetches a list of continuous test results for a given environment.default void
listEnvironments(ListEnvironmentsRequest request, io.grpc.stub.StreamObserver<ListEnvironmentsResponse> responseObserver)
Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].default void
lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request, io.grpc.stub.StreamObserver<LookupEnvironmentHistoryResponse> responseObserver)
Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].default void
runContinuousTest(RunContinuousTestRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].default void
updateEnvironment(UpdateEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
-
-
-
Method Detail
-
listEnvironments
default void listEnvironments(ListEnvironmentsRequest request, io.grpc.stub.StreamObserver<ListEnvironmentsResponse> responseObserver)
Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
-
getEnvironment
default void getEnvironment(GetEnvironmentRequest request, io.grpc.stub.StreamObserver<Environment> responseObserver)
Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
-
createEnvironment
default void createEnvironment(CreateEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]
-
updateEnvironment
default void updateEnvironment(UpdateEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]
-
deleteEnvironment
default void deleteEnvironment(DeleteEnvironmentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
-
lookupEnvironmentHistory
default void lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request, io.grpc.stub.StreamObserver<LookupEnvironmentHistoryResponse> responseObserver)
Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
-
runContinuousTest
default void runContinuousTest(RunContinuousTestRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata] - `response`: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.RunContinuousTestResponse]
-
listContinuousTestResults
default void listContinuousTestResults(ListContinuousTestResultsRequest request, io.grpc.stub.StreamObserver<ListContinuousTestResultsResponse> responseObserver)
Fetches a list of continuous test results for a given environment.
-
deployFlow
default void deployFlow(DeployFlowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [DeployFlowMetadata][google.cloud.dialogflow.cx.v3.DeployFlowMetadata] - `response`: [DeployFlowResponse][google.cloud.dialogflow.cx.v3.DeployFlowResponse]
-
-