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. This
method lists locations based on the resource scope provided in the
[ListLocationsRequest.name] field: * Global locations: If name is
empty, the method lists the public locations available to all projects. *
Project-specific locations: If name follows the format
projects/{project}, the method lists locations visible to that specific
project. This includes public, private, or other project-specific locations
enabled for the project. For gRPC and client library implementations, the
resource name is passed as the name field. For direct service calls, the
resource name is incorporated into the request path based on the specific
service implementation and version.
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.