Class ExpressionDataAction

ExpressionDataAction

Actions for CEL expression validation . Use START_EXPRESSION_EVALUATION for CEL validation.

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

const expressionDataAction = CardService.newExpressionDataAction()
.setActionType(CardService.ExpressionDataActionType.START_EXPRESSION_EVALUATION);

Methods

MethodReturn typeBrief description
setActionType(type)ExpressionDataActionSets the type of the expression data action.

Detailed documentation

setActionType(type)

Sets the type of the expression data action.

Parameters

NameTypeDescription
typeExpressionDataActionTypeThe type of the expression data action.

Return

ExpressionDataAction — This object, for chaining.