A builder for Render objects.
Only available through the Gemini Alpha program for Google Workspace add-ons that extend Google Workspace Flows.
Methods
| Method | Return type | Brief description |
|---|---|---|
build() | Render | Builds the current render action and validates it. |
set | Render | Sets the action that add-ons can use to update the UI to the render action. |
set | Render | Sets the host app action handled by individual host apps to the render action. |
Detailed documentation
build()
setAction(action)
Sets the action that add-ons can use to update the UI to the render action.
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | The action to use. |
Return
Render — This object, for chaining.
setHostAppAction(hostAppAction)
Sets the host app action handled by individual host apps to the render action.
Parameters
| Name | Type | Description |
|---|---|---|
host | Host | The host app action to use. |
Return
Render — This object, for chaining.