Reference documentation and code samples for the Google Cloud Chronicle Client class TriggerType.
Enum representing the trigger type of the task. For more details, see https://learn.microsoft.com/en-us/windows/win32/api/taskschd/ne-taskschd-task_trigger_type2.
Protobuf type google.backstory.WindowsScheduledTask.TaskTrigger.TriggerType
Namespace
Google \ Backstory \ WindowsScheduledTask \ TaskTriggerMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
TRIGGER_TYPE_UNSPECIFIED
Value: 0The trigger frequency is not specified.
Generated from protobuf enum TRIGGER_TYPE_UNSPECIFIED = 0;
EVENT
Value: 1Triggers the task when a specific event occurs.
Generated from protobuf enum EVENT = 1;
TIME
Value: 2Triggers the task at a specific time of day.
Generated from protobuf enum TIME = 2;
DAILY
Value: 3Triggers the task on a daily schedule. For example, the task starts at a specific time every day, every other day, or every third day.
Generated from protobuf enum DAILY = 3;
WEEKLY
Value: 4Triggers the task on a weekly schedule. For example, the task starts at 8:00 AM on a specific day every week or other week.
Generated from protobuf enum WEEKLY = 4;
MONTHLY
Value: 5Triggers the task on a monthly schedule. For example, the task starts on specific days of specific months.
Generated from protobuf enum MONTHLY = 5;
MONTHLYDOW
Value: 6Triggers the task on a monthly day-of-week schedule. For example, the task starts on a specific days of the week, weeks of the month, and months of the year.
Generated from protobuf enum MONTHLYDOW = 6;
IDLE
Value: 7Triggers the task when the computer goes into an idle state.
Generated from protobuf enum IDLE = 7;
REGISTRATION
Value: 8Triggers the task when the task is registered.
Generated from protobuf enum REGISTRATION = 8;
BOOT
Value: 9Triggers the task when the computer boots.
Generated from protobuf enum BOOT = 9;
LOGON
Value: 10Triggers the task when a specific user logs on.
Generated from protobuf enum LOGON = 10;
SESSION_STATE_CHANGE
Value: 11Triggers the task when a specific user session state changes.
Generated from protobuf enum SESSION_STATE_CHANGE = 11;
CUSTOM_TRIGGER01
Value: 12Custom trigger 01.
Generated from protobuf enum CUSTOM_TRIGGER01 = 12;