CreateAutomationTrigger
Create an automation trigger.
Authorizations
Body
The request for a call to AutomationService_CreateAutomationTrigger.
The request for a call to AutomationService_CreateAutomationTrigger.
AutomationTriggerMatchFilter selects which stopped runs a trigger matches. Empty asset_ids, absent name_match, and empty metadata_matches each match any value. Dimensions are AND'd. STARTS_WITH / ENDS_WITH / CONTAINS are case-insensitive; REGEX is Go regexp (add (?i) for case-insensitive).
Names the reports this automation publishes, stored on the trigger. Omit
it to let the server apply the run-aware default: when the trigger binds a
triggering run and the canvas has no template of its own, the new trigger
is given one naming its reports after that run. See
sift_internal.canvas.v1.Canvas.report_name_template for the syntax.
AutomationTriggerKind is the source that causes a trigger to fire.
- AUTOMATION_TRIGGER_KIND_RUN_STOP: Fire after a matching run stops.
- AUTOMATION_TRIGGER_KIND_SCHEDULE: Fire on a recurring cron cadence in an IANA timezone.
Reserved. Create/Update reject this value.
AUTOMATION_TRIGGER_KIND_UNSPECIFIED, AUTOMATION_TRIGGER_KIND_RUN_STOP, AUTOMATION_TRIGGER_KIND_SCHEDULE