Class ExpressionDataCondition

ExpressionDataCondition

Represents a CEL expression validation result.

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

const expressionDataCondition = CardService.newExpressionDataCondition()
.setConditionType(CardService.ExpressionDataConditionType.EXPRESSION_EVALUATION_SUCCESS);

Methods

MethodReturn typeBrief description
setConditionType(type)ExpressionDataConditionSets condition type for a CEL expression validation to indicate whether the expression evaluated successfully.

Detailed documentation

setConditionType(type)

Sets condition type for a CEL expression validation to indicate whether the expression evaluated successfully.

Parameters

NameTypeDescription
typeExpressionDataConditionTypeThe type of the expression data condition.

Return

ExpressionDataCondition — This object, for chaining.