ProjectsLocationsWorkflows
class ProjectsLocationsWorkflows extends Resource (View source)
The "workflows" collection of methods.
Typical usage is:
$workflowsService = new Google\Service\Workflows(...);
$workflows = $workflowsService->projects_locations_workflows;
Methods
Deletes a workflow with the specified name. This method also cancels and deletes all running executions of the workflow. (workflows.delete)
Gets details of a single workflow. (workflows.get)
Lists workflows in a given project and location. The default order is not specified. (workflows.listProjectsLocationsWorkflows)
Lists revisions for a given workflow. (workflows.listRevisions)
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. (workflows.patch)
Details
Operation
create(string $parent, Workflow $postBody, array $optParams = [])
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. (workflows.create)
Operation
delete(string $name, array $optParams = [])
Deletes a workflow with the specified name. This method also cancels and deletes all running executions of the workflow. (workflows.delete)
Workflow
get(string $name, array $optParams = [])
Gets details of a single workflow. (workflows.get)
ListWorkflowsResponse
listProjectsLocationsWorkflows(string $parent, array $optParams = [])
Lists workflows in a given project and location. The default order is not specified. (workflows.listProjectsLocationsWorkflows)
ListWorkflowRevisionsResponse
listRevisions(string $name, array $optParams = [])
Lists revisions for a given workflow. (workflows.listRevisions)
Operation
patch(string $name, Workflow $postBody, array $optParams = [])
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. (workflows.patch)