This action indicates that the host app (Google Workspace Studio) should display a validation error.
Only available for Google Workspace add-ons that extend Google Workspace Studio.
Sample usage:
const hostAppAction = AddOnsResponseService.newHostAppAction() .setWorkflowAction( AddOnsResponseService.newWorkflowValidationErrorAction() .setSeverity(AddOnsResponseService.ValidationErrorSeverity.CRITICAL) );
Methods
| Method | Return type | Brief description |
|---|---|---|
set | Workflow | Sets the severity of the validation error. |
Detailed documentation
setSeverity(severity)
Sets the severity of the validation error.
Parameters
| Name | Type | Description |
|---|---|---|
severity | Validation | The severity of the validation error. |
Return
Workflow — This workflow validation error action.