v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1392335.1 KB
projects

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

post/v1/{+workflow}:triggerPubsubExecution

Path parameters

workflowstring required

Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow}

Request body

subscriptionstring

Required. The subscription of the Pub/Sub push notification. Format: projects/{project}/subscriptions/{sub}

GCPCloudEventsModestring

Required. LINT: LEGACY_NAMES The query parameter value for __GCP_CloudEventsMode, set by the Eventarc service when configuring triggers.

deliveryAttemptinteger

The number of attempts that have been made to deliver this message. This is set by Pub/Sub for subscriptions that have the "dead letter" feature enabled, and hence provided here for compatibility, but is ignored by Workflows.

Response

Successful response