Class HostAppAction

Host App Action

A HostAppAction is a type of Action that is handled by individual host apps. Host Apps include Gmail, Chat, Drive, Calendar, Editor, Sheets, Studio, DuetAI.

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

Sample usage:

 const 
  
 hostAppAction 
  
 = 
  
 AddOnsResponseService 
 . 
 newHostAppAction 
 () 
 . 
 setWorkflowAction 
 ( 
 AddOnsResponseService 
 . 
 newWorkflowAction 
 ()); 

Methods

Method Return type Brief description
Host App Action Sets the host app action to Workflow action.

Detailed documentation

set Workflow Action(workflowAction)

Sets the host app action to Workflow action.

Parameters

Name Type Description
workflow Action
Workflow Action The Workflow action.

Return

Host App Action — This object, for chaining.

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