Class UpdateVisibilityAction

UpdateVisibilityAction

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

Only available for Google Workspace add-ons that extend Google Workspace Studio.

 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

setVisibility(visibility)

Sets the visibility of widgets to visible or hidden.

Parameters

Name Type Description
visibility
Visibility The visibility of the widgets.

Return

UpdateVisibilityAction — The UpdateVisibilityAction, for chaining.

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