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 |
|---|---|---|
set | Host | 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 | Workflow | The Workflow action. |
Return
Host — This object, for chaining.