Package com.google.cloud.workflows.v1
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
Modifier and TypeMethodDescriptiondefault voidcreateWorkflow(CreateWorkflowRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new workflow.default voiddeleteWorkflow(DeleteWorkflowRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a workflow with the specified name.default voidgetWorkflow(GetWorkflowRequest request, io.grpc.stub.StreamObserver<Workflow> responseObserver) Gets details of a single workflow.default voidlistWorkflowRevisions(ListWorkflowRevisionsRequest request, io.grpc.stub.StreamObserver<ListWorkflowRevisionsResponse> responseObserver) Lists revisions for a given workflow.default voidlistWorkflows(ListWorkflowsRequest request, io.grpc.stub.StreamObserver<ListWorkflowsResponse> responseObserver) Lists workflows in a given project and location.default voidupdateWorkflow(UpdateWorkflowRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates an existing workflow.
-
Method Details
-
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<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 returns a [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
-
deleteWorkflow
default void deleteWorkflow(DeleteWorkflowRequest request, io.grpc.stub.StreamObserver<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<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 might be created as a result of a successful update operation. In that case, the new revision is used in new workflow executions.
-
listWorkflowRevisions
default void listWorkflowRevisions(ListWorkflowRevisionsRequest request, io.grpc.stub.StreamObserver<ListWorkflowRevisionsResponse> responseObserver) Lists revisions for a given workflow.
-