Class Navigation

Navigation

A helper object that controls card navigation. See the card navigation guide for more details.

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

Methods

MethodReturn typeBrief description
printJson()StringPrints the JSON representation of this object.
pushCard(card)NavigationPushes the given card onto the stack.

Detailed documentation

printJson()

Prints the JSON representation of this object. This is for debugging only.

Return

String


pushCard(card)

Pushes the given card onto the stack. Can be chained with other card navigation actions.

Parameters

NameTypeDescription
cardCardA card to add to the stack.

Return

Navigation — This object, for chaining.