Interface WorkflowsGrpc.AsyncService
-
- All Known Implementing Classes:
WorkflowsGrpc.WorkflowsImplBase
- Enclosing class:
- WorkflowsGrpc
public static interface WorkflowsGrpc.AsyncService
Workflows is used to deploy and execute workflow programs. Workflows makes sure the program executes reliably, despite hardware and networking interruptions.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
createWorkflow(CreateWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new workflow.default void
deleteWorkflow(DeleteWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a workflow with the specified name.default void
getWorkflow(GetWorkflowRequest request, io.grpc.stub.StreamObserver<Workflow> responseObserver)
Gets details of a single Workflow.default void
listWorkflows(ListWorkflowsRequest request, io.grpc.stub.StreamObserver<ListWorkflowsResponse> responseObserver)
Lists Workflows in a given project and location.default void
updateWorkflow(UpdateWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an existing workflow.
-
-
-
Method Detail
-
listWorkflows
default void listWorkflows(ListWorkflowsRequest request, io.grpc.stub.StreamObserver<ListWorkflowsResponse> responseObserver)
Lists Workflows in a given project and location. The default order is not specified.
-
getWorkflow
default void getWorkflow(GetWorkflowRequest request, io.grpc.stub.StreamObserver<Workflow> responseObserver)
Gets details of a single Workflow.
-
createWorkflow
default void createWorkflow(CreateWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new workflow. If a workflow with the specified name already exists in the specified project and location, the long running operation will return [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
-
deleteWorkflow
default void deleteWorkflow(DeleteWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a workflow with the specified name. This method also cancels and deletes all running executions of the workflow.
-
updateWorkflow
default void updateWorkflow(UpdateWorkflowRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an existing workflow. Running this method has no impact on already running executions of the workflow. A new revision of the workflow may be created as a result of a successful update operation. In that case, such revision will be used in new workflow executions.
-
-