Class HostAppAction

HostAppAction

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

setWorkflowAction(workflowAction)

Sets the host app action to Workflow action.

Parameters

Name Type Description
workflow Action
Workflow Action The Workflow action.

Return

HostAppAction — This object, for chaining.

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