Class RenderActionBuilder

RenderActionBuilder

A builder for RenderAction objects.

Only available through the Gemini Alpha program for Google Workspace add-ons that extend Google Workspace Flows.

Methods

MethodReturn typeBrief description
build()RenderActionBuilds the current render action and validates it.
setAction(action)RenderActionBuilderSets the action that add-ons can use to update the UI to the render action.
setHostAppAction(hostAppAction)RenderActionBuilderSets 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

RenderAction — A validated render action.


setAction(action)

Sets the action that add-ons can use to update the UI to the render action.

Parameters

NameTypeDescription
actionActionThe action to use.

Return

RenderActionBuilder — This object, for chaining.


setHostAppAction(hostAppAction)

Sets the host app action handled by individual host apps to the render action.

Parameters

NameTypeDescription
hostAppActionHostAppActionThe host app action to use.

Return

RenderActionBuilder — This object, for chaining.