Defines actions that don't involve evaluations, such as updating widget visibility. For example, can reveal or hide widgets based on the value of an input as part of CEL validation .
Only available through the Gemini Alpha program for Google Workspace add-ons that extend Google Workspace Flows.
const commonWidgetAction = CardService . newCommonWidgetAction () . setUpdateVisibilityAction ( CardService . Visibility . VISIBLE );
Methods
| Method | Return type | Brief description |
|---|---|---|
Common
|
Sets the update visibility action for widgets. |
Detailed documentation
set
Update
Visibility
Action(updateVisibilityAction)
Sets the update visibility action for widgets.
Parameters
| Name | Type | Description |
|---|---|---|
update
|
Update
|
The update visibility action. |
Return
Common
— The CommonWidgetAction, for chaining.

