Skip to main content

workflows

Creates, updates, deletes, gets or lists a workflows resource.

Overview

Nameworkflows
TypeResource
Idgoogle.workflowexecutions.workflows

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
trigger_pubsub_executionexecprojectsId, locationsId, workflowsIdTriggers a new execution using the latest revision of the given workflow by a Pub/Sub push notification.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
workflowsIdstring

Lifecycle Methods

Triggers a new execution using the latest revision of the given workflow by a Pub/Sub push notification.

EXEC google.workflowexecutions.workflows.trigger_pubsub_execution 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@workflowsId='{{ workflowsId }}' --required
@@json=
'{
"subscription": "{{ subscription }}",
"message": "{{ message }}",
"GCPCloudEventsMode": "{{ GCPCloudEventsMode }}",
"deliveryAttempt": {{ deliveryAttempt }}
}';