Class ExecutionsGrpc.ExecutionsBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<ExecutionsGrpc.ExecutionsBlockingStub>
-
- com.google.cloud.workflows.executions.v1beta.ExecutionsGrpc.ExecutionsBlockingStub
-
- Enclosing class:
- ExecutionsGrpc
public static final class ExecutionsGrpc.ExecutionsBlockingStub extends io.grpc.stub.AbstractBlockingStub<ExecutionsGrpc.ExecutionsBlockingStub>
A stub to allow clients to do synchronous rpc calls to service Executions.Executions is used to start and manage running instances of [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ExecutionsGrpc.ExecutionsBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
Execution
cancelExecution(CancelExecutionRequest request)
Cancels an execution of the given name.Execution
createExecution(CreateExecutionRequest request)
Creates a new execution using the latest revision of the given workflow.Execution
getExecution(GetExecutionRequest request)
Returns an execution of the given name.ListExecutionsResponse
listExecutions(ListExecutionsRequest request)
Returns a list of executions which belong to the workflow with the given name.
-
-
-
Method Detail
-
build
protected ExecutionsGrpc.ExecutionsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ExecutionsGrpc.ExecutionsBlockingStub>
-
listExecutions
public 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 Execution createExecution(CreateExecutionRequest request)
Creates a new execution using the latest revision of the given workflow.
-
getExecution
public Execution getExecution(GetExecutionRequest request)
Returns an execution of the given name.
-
cancelExecution
public Execution cancelExecution(CancelExecutionRequest request)
Cancels an execution of the given name.
-
-