Class Action
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
Action
An action that Google Workspace add-ons that extend Google Workspace Flows can use to render a
new card.
Only available through the Gemini Alpha
program for Google Workspace add-ons that extend Google Workspace Flows.
const link = AddOnsResponseService.newLink().setUrl('https://www.google.com');
const action =
    AddOnsResponseService.newAction()
        .setLink(link);
const renderAction = AddOnsResponseService.newRenderActionBuilder().setAction(action).build();
 
Detailed documentation
addNavigation(navigation)
Add card navigation to the action.
Parameters
Return
Action — This object, for chaining.
Throws
Error — if the navigation argument is invalid.
 
 
 
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
  
  
  
    
      [null,null,["Last updated 2025-10-29 UTC."],[],[]]