Google Cloud Chronicle Client - Class WindowsScheduledTask (0.9.0)

Reference documentation and code samples for the Google Cloud Chronicle Client class WindowsScheduledTask.

Information about a Windows scheduled task.

Generated from protobuf message google.backstory.WindowsScheduledTask

Namespace

Google \ Backstory

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ author string

The account name that authored or last modified the scheduled task.

↳ virtual_path string

The task's path in the Task Scheduler library.

↳ exit_code int

The result which was returned the last time the registered task was run.

↳ state int

The operation state of the task.

↳ logon_type int

The logon type of the task.

↳ task_actions array<WindowsScheduledTask\TaskAction>

The actions of the scheduled task.

↳ task_triggers array<WindowsScheduledTask\TaskTrigger>

The triggers of the scheduled task.

getAuthor

The account name that authored or last modified the scheduled task.

Returns
Type Description
string

setAuthor

The account name that authored or last modified the scheduled task.

Parameter
Name Description
var string
Returns
Type Description
$this

getVirtualPath

The task's path in the Task Scheduler library.

Returns
Type Description
string

setVirtualPath

The task's path in the Task Scheduler library.

Parameter
Name Description
var string
Returns
Type Description
$this

getExitCode

The result which was returned the last time the registered task was run.

Returns
Type Description
int

setExitCode

The result which was returned the last time the registered task was run.

Parameter
Name Description
var int
Returns
Type Description
$this

getState

The operation state of the task.

Returns
Type Description
int Enum of type TaskState.

setState

The operation state of the task.

Parameter
Name Description
var int

Enum of type TaskState.

Returns
Type Description
$this

getLogonType

The logon type of the task.

Returns
Type Description
int Enum of type TaskLogonType.

setLogonType

The logon type of the task.

Parameter
Name Description
var int

Enum of type TaskLogonType.

Returns
Type Description
$this

getTaskActions

The actions of the scheduled task.

Returns
Type Description
Google\Protobuf\RepeatedField<WindowsScheduledTask\TaskAction>

setTaskActions

The actions of the scheduled task.

Parameter
Name Description
var array<WindowsScheduledTask\TaskAction>
Returns
Type Description
$this

getTaskTriggers

The triggers of the scheduled task.

Returns
Type Description
Google\Protobuf\RepeatedField<WindowsScheduledTask\TaskTrigger>

setTaskTriggers

The triggers of the scheduled task.

Parameter
Name Description
var array<WindowsScheduledTask\TaskTrigger>
Returns
Type Description
$this