Add
Ons Response Service
This service allows scripts to configure and build Google Workspace add-ons that extend Google Workspace flows.
Classes
| Name | Brief description |
|---|---|
Action
|
An action that Google Workspace add-ons that extend Google Workspace Flows can use to render a new card. |
Add
|
Add |
Modify
|
A builder for Modify
objects that changes and updates an existing card's
interface by passing the Modify
object to a Action
. |
Navigation
|
A helper object that controls card navigation. |
Render
|
Renders or updates a card by performing an Action
in response to a user interaction. |
Render
|
A builder for Render
objects. |
Action
Methods
| Method | Return type | Brief description |
|---|---|---|
Action
|
Add card navigation to the action. |
Add
Ons
Response
Service
Methods
| Method | Return type | Brief description |
|---|---|---|
Action
|
Creates a new Action
. |
|
Navigation
|
Creates a new Navigation
. |
|
Render
|
Creates a new Render
. |
Modify
Card
Methods
| Method | Return type | Brief description |
|---|---|---|
Modify
|
Sets the insert section for this action. | |
Modify
|
Sets the insert widget for this action. | |
Modify
|
Sets the remove section for this action. | |
Modify
|
Sets the remove widget for this action. | |
Modify
|
Sets the replace section for this action. | |
Modify
|
Sets the replace widget for this action. |
Navigation
Methods
| Method | Return type | Brief description |
|---|---|---|
String
|
Prints the JSON representation of this object. | |
Navigation
|
Pushes the given card onto the stack. |
Render
Action
Methods
| Method | Return type | Brief description |
|---|---|---|
String
|
Prints the JSON representation of this object. |
Render
Action
Builder
Methods
| Method | Return type | Brief description |
|---|---|---|
Render
|
Builds the current render action and validates it. | |
Render
|
Sets the action that add-ons can use to update the UI to the render action. | |
Render
|
Sets the host app action handled by individual host apps to the render action. |

