Skip to main content

Services

RPC methods exposed by this API.

AutomationService

AutomationService manages Canvas Scheduler triggers. A matching stopped run or a due SCHEDULE fire enqueues an AutomationTriggeredEvent; the worker dispatches it (v1: EvaluateCanvas).

Messages

Data models used across requests/responses.

AutomationTrigger

AutomationTrigger is a Canvas Scheduler rule: match a stopped run or fire on a cron cadence, then dispatch (v1: EvaluateCanvas). Braces mark a placeholder. Supported placeholders are {canvas_name}, {version_number}, and {parameter.<param name>}. | | trigger_kind | AutomationTriggerKind | | Unspecified is treated as RUN_STOP. | | cron_expression | string | optional | 5-field Vixie cron (minute hour day-of-month month day-of-week). Required for SCHEDULE; unset for RUN_STOP. | | timezone | string | optional | IANA timezone for cron_expression (for example America/Los_Angeles). Required for SCHEDULE; unset for RUN_STOP. | | next_fire_at | google.protobuf.Timestamp | optional | Next UTC fire. Server-computed. Set on SCHEDULE only. | | last_fire_at | google.protobuf.Timestamp | optional | UTC fire most recently enqueued. Unset until the first TickDue. |

AutomationTriggerActionParams

AutomationTriggerActionParams is the public action_params shape, oneof by action kind.

AutomationTriggerMatchFilter

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).

AutomationTriggerMetadataMatch

AutomationTriggerMetadataMatch is an equality filter on run entity-metadata. Keys are case-sensitive; values compare as Go-stringified strings. Listed matches are AND’d.

AutomationTriggerParamValue

AutomationTriggerParamValue is one canvas param: a JSON literal or a run-scoped source.

AutomationTriggerRunNameMatch

AutomationTriggerRunNameMatch expresses a filter against runs.name.

AutomationTriggeredEvent

AutomationTriggeredEvent is one (trigger, run) dispatch. canvas_execution_id and report_id are set when dispatch published an execution or report.

CanvasEvaluationActionParams

CanvasEvaluationActionParams is the CANVAS_EVALUATION template. Wildcards in param_json resolve into the triggered event’s action_params_snapshot for EvaluateCanvas.

CanvasEvaluationActionParams.ParamJsonEntry

CreateAutomationTriggerRequest

The request for a call to AutomationService_CreateAutomationTrigger.

CreateAutomationTriggerResponse

The response of a call to AutomationService_CreateAutomationTrigger.

DeleteAutomationTriggerRequest

The request for a call to AutomationService_DeleteAutomationTrigger.

DeleteAutomationTriggerResponse

The response of a call to AutomationService_DeleteAutomationTrigger. This message has no fields.

GetAutomationTriggerRequest

The request for a call to AutomationService_GetAutomationTrigger.

GetAutomationTriggerResponse

The response of a call to AutomationService_GetAutomationTrigger.

ListAutomationTriggeredEventsRequest

The request for a call to AutomationService_ListAutomationTriggeredEvents.

ListAutomationTriggeredEventsResponse

The response of a call to AutomationService_ListAutomationTriggeredEvents.

ListAutomationTriggersRequest

The request for a call to AutomationService_ListAutomationTriggers.

ListAutomationTriggersResponse

The response of a call to AutomationService_ListAutomationTriggers.

UpdateAutomationTriggerRequest

The request for a call to AutomationService_UpdateAutomationTrigger. Fields apply only when named in update_mask. Archive by setting archived_date in the mask; unarchive by clearing it.

UpdateAutomationTriggerResponse

The response of a call to AutomationService_UpdateAutomationTrigger.

Enums

Allowed constant values used in message fields.

AutomationTriggerActionKind

AutomationTriggerActionKind is what a trigger does when it fires. v1 is CANVAS_EVALUATION only.

AutomationTriggerKind

AutomationTriggerKind is the source that causes a trigger to fire. Reserved. Create/Update reject this value. |

AutomationTriggerParamSource

AutomationTriggerParamSource is a wildcard resolved from the triggering run into action_params_snapshot.

AutomationTriggerRunNameMatchKind

AutomationTriggerRunNameMatchKind is the operator on runs.name in an automation trigger match filter.

AutomationTriggeredEventState

AutomationTriggeredEventState is the lifecycle of one (trigger, run) dispatch. DISPATCHING and CANCELLED are reserved and unused.