Class Trigger

Trigger

A trigger that runs CEL expression validation widget event actions according to the action rule ID.

Only available through the Gemini Alpha program for Google Workspace add-ons that extend Google Workspace Flows.

const trigger = CardService.newTrigger().setActionRuleId("my_action_rule_id");

Methods

MethodReturn typeBrief description
setActionRuleId(actionRuleId)TriggerSets the action rule id for the trigger.

Detailed documentation

setActionRuleId(actionRuleId)

Sets the action rule id for the trigger.

Parameters

NameTypeDescription
actionRuleIdStringThe uuid that uniquely identifies an action.

Return

Trigger — This object, for chaining.