ActionType

Enum representing the action type of the task.

Enums
ACTION_TYPE_UNSPECIFIEDThe action type is not specified.
EXECThis action performs a command-line operation. For example, the action can run a script, launch an executable, or, if the name of a document is provided, find its associated application and launch the application with the document.
COM_HANDLERThis action fires a handler. This action can only be used if the task Compatibility property is set to TASK_COMPATIBILITY_V2.
SEND_EMAILThis action sends an email message. This action can only be used if the task Compatibility property is set to TASK_COMPATIBILITY_V2.
SHOW_MESSAGEThis action shows a message box. This action can only be used if the task Compatibility property is set to TASK_COMPATIBILITY_V2.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-13 UTC.