gcp_resource_pathstring
Path to the GCP resource containing service account credentials for authentication. Omit to authenticate with the instance's application default credentials, which only workspace admins may select.
project_idstring
GCP project the client operates in. Defaults to the project of the credentials. Topics and subscriptions given as fully qualified names are reached whatever it is.
subscription_mode'existing' | 'create_update' required
The mode of subscription. 'existing' means using an existing GCP subscription, while 'create_update' involves creating or updating a new subscription.
topic_idstring required
Google Cloud Pub/Sub topic ID to subscribe to. Accepts a bare ID or a fully qualified name (projects/<project>/topics/<id>).
subscription_idstring
Google Cloud Pub/Sub subscription ID. Accepts a bare ID or a fully qualified name (projects/<project>/subscriptions/<id>).
base_endpointstring
Base URL for push delivery endpoint.
delivery_type'push' | 'pull'
Delivery mode for messages. 'push' for HTTP push delivery where messages are sent to a webhook endpoint, 'pull' for polling where the trigger actively fetches messages.
pathstring required
The unique Windmill path for this trigger. Must be of the form u/<user>/<path> or f/<folder>/<path>. This is the trigger object path, not the HTTP route path.
script_pathstring required
Path to the script or flow to execute when a message is received.
is_flowboolean required
True if script_path points to a flow, false if it points to a script.
mode'enabled' | 'disabled' | 'suspended'
auto_acknowledge_msgboolean
If true, automatically acknowledge messages after processing.
ack_deadlineinteger
Time in seconds within which the message must be acknowledged. If not provided, defaults to the subscription's acknowledgment deadline (600 seconds).
error_handler_pathstring
Path to a script or flow to run when the triggered job fails.
error_handler_argsScriptArgs
The arguments to pass to the script or flow
retryRetry (unresolved $ref)
permissioned_asstring
The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
preserve_permissioned_asboolean
When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.