Class ExecutionsGrpc.ExecutionsFutureStub

  • Enclosing class:
    ExecutionsGrpc

    public static final class ExecutionsGrpc.ExecutionsFutureStub
    extends io.grpc.stub.AbstractFutureStub<ExecutionsGrpc.ExecutionsFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service Executions.
     Executions is used to start and manage running instances of
     [Workflows][google.cloud.workflows.v1.Workflow] called executions.
     
    • Method Detail

      • listExecutions

        public com.google.common.util.concurrent.ListenableFuture<ListExecutionsResponse> listExecutions​(ListExecutionsRequest request)
         Returns a list of executions which belong to the workflow with
         the given name. The method returns executions of all workflow
         revisions. Returned executions are ordered by their start time (newest
         first).
         
      • createExecution

        public com.google.common.util.concurrent.ListenableFuture<Execution> createExecution​(CreateExecutionRequest request)
         Creates a new execution using the latest revision of the given workflow.
         
      • getExecution

        public com.google.common.util.concurrent.ListenableFuture<Execution> getExecution​(GetExecutionRequest request)
         Returns an execution of the given name.
         
      • cancelExecution

        public com.google.common.util.concurrent.ListenableFuture<Execution> cancelExecution​(CancelExecutionRequest request)
         Cancels an execution of the given name.