Class RenderAction

Render Action

Renders or updates a card by performing an Action in response to a user interaction.

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

Sample usage:

 const 
  
 renderAction 
  
 = 
  
 AddOnsResponseService 
 . 
 newRenderActionBuilder 
 () 
 . 
 setAction 
 ( 
 AddOnsResponseService 
 . 
 newAction 
 (). 
 setLink 
 ( 
 AddOnsResponseService 
 . 
 newLink 
 (). 
 setUrl 
 ( 
 'https://www.google.com' 
 ))) 
 . 
 build 
 (); 

Methods

Method Return type Brief description
String Prints the JSON representation of this object.

Detailed documentation

print Json()

Prints the JSON representation of this object. This is for debugging only.

Return

String

Design a Mobile Site
View Site in Mobile | Classic
Share by: