Workflows
import { Workflows } from "https://googleapis.deno.dev/v1/workflows:v1.ts";
Manage workflow definitions. To execute workflows and manage executions, see the Workflows Executions API.
§Methods
Lists information about the supported locations for this service.
The resource that owns the locations collection, if applicable.
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
The name of the operation resource to be deleted.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
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 error.
Required. Project and location in which the workflow should be created. Format: projects/{project}/locations/{location}
Deletes a workflow with the specified name. This method also cancels and deletes all running executions of the workflow.
Required. Name of the workflow to be deleted. Format: projects/{project}/locations/{location}/workflows/{workflow}
Gets details of a single workflow.
Required. Name of the workflow for which information should be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}
Lists workflows in a given project and location. The default order is not specified.
Required. Project and location from which the workflows should be listed. Format: projects/{project}/locations/{location}
Lists revisions for a given workflow.
Required. Workflow for which the revisions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}
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.
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision.