Class RenderActionBuilder

Render Action Builder

A builder for Render Action objects.

Only available for Google Workspace add-ons that extend Google Workspace Studio.

Methods

Method Return type Brief description
Render Action Builds the current render action and validates it.
Render Action Builder Sets the action that add-ons can use to update the UI to the render action.
Render Action Builder Sets the Host App Action handled by individual host apps to the render action.

Detailed documentation

build()

Builds the current render action and validates it.

Return

Render Action — A validated Render Action 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 Action Builder — This render action builder, for chaining.


set Host App Action(hostAppAction)

Sets the Host App Action handled by individual host apps to the render action.

Parameters

Name Type Description
host App Action
Host App Action The Host App Action to send to the host app.

Return

Render Action Builder — This render action builder, for chaining.

Design a Mobile Site
View Site in Mobile | Classic
Share by: