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
| Method | Return type | Brief description |
|---|---|---|
set | Expression | Sets 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
| Name | Type | Description |
|---|---|---|
type | Expression | The type of the expression data condition. |
Return
Expression — This object, for chaining.