アクション ルール ID に従って CEL 式の検証ウィジェット イベント アクションを実行するトリガー。
Google Workspace Studio を拡張する Google Workspace アドオンでのみ使用できます。
// Define Triggers for each Condition respectively const trigger_success = CardService.newTrigger() .setActionRuleId("CEL_TEXTINPUT_SUCCESS_RULE_ID"); const trigger_failure = CardService.newTrigger() .setActionRuleId("CEL_TEXTINPUT_FAILURE_RULE_ID"); const eventAction = CardService.newEventAction() .setActionRuleId("CEL_TEXTINPUT_EVALUATION_RULE_ID") .setExpressionDataAction(expressionDataAction) .addPostEventTrigger(trigger_success) .addPostEventTrigger(trigger_failure);
メソッド
| メソッド | 戻り値の型 | 概要 |
|---|---|---|
set | Trigger | トリガーのアクション ルール ID を設定します。 |
詳細なドキュメント
set Action Rule Id(actionRuleId)
トリガーのアクション ルール ID を設定します。
パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
action | String | アクションを一意に識別する UUID。 |
戻る
Trigger - チェーン用のこのオブジェクト。