Class UpdateVisibilityAction

Update Visibility Action

Updates the visibility of a card widget to make it display or to hide it.

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

 const 
  
 updateVisibilityAction 
  
 = 
  
 CardService 
 . 
 newUpdateVisibilityAction 
 () 
 . 
 setVisibility 
 ( 
 CardService 
 . 
 Visibility 
 . 
 VISIBLE 
 ); 

Methods

Method Return type Brief description
Update Visibility Action Sets the visibility of widgets to visible or hidden.

Detailed documentation

set Visibility(visibility)

Sets the visibility of widgets to visible or hidden.

Parameters

Name Type Description
visibility
Visibility The visibility of the widgets.

Return

Update Visibility Action — The UpdateVisibilityAction, for chaining.

Create a Mobile Website
View Site in Mobile | Classic
Share by: