A builder for Render
objects.
Only available for Google Workspace add-ons that extend Google Workspace Studio.
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
handled by individual host apps to the render action. |
Detailed documentation
build()
Builds the current render action and validates it.
Return
Render
— A validated Render
object.
set
Action(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 render action builder, for chaining.
set
Host
App
Action(hostAppAction)
Sets the Host
handled by individual host apps to the render action.
Parameters
| Name | Type | Description |
|---|---|---|
host
|
Host
|
The Host
to send to the host app. |
Return
Render
— This render action builder, for chaining.

