Class AddOnsResponseService

AddOnsResponseService

AddOnsResponseService provides the ability to create responses for Google Workspace add-ons that extend Google Workspace Flows.

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

Sample usage:

function myFunction() {
  return AddOnsResponseService.newChatDataActionBuilder();
}

Methods

MethodReturn typeBrief description
newAction()ActionCreates a new Action.
newNavigation()NavigationCreates a new Navigation.
newRenderActionBuilder()RenderActionBuilderCreates a new RenderActionBuilder.

Detailed documentation

newAction()

Creates a new Action.

Return

Action — An empty Action.


newNavigation()

Creates a new Navigation.

Return

Navigation — An empty Navigation.


newRenderActionBuilder()

Creates a new RenderActionBuilder.

Return

RenderActionBuilder — An empty RenderActionBuilder.