Google Cloud Chronicle Client - Class TaskAction (0.9.0)

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

The task action.

Generated from protobuf message google.backstory.WindowsScheduledTask.TaskAction

Namespace

Google \ Backstory \ WindowsScheduledTask

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ action_type int

The action type of the task.

↳ exec_arguments string[]

The arguments of the task. This field is only populated if the task action type is EXEC.

↳ exec_working_directory string

The executable working directory of the task. This field is only populated if the task action type is EXEC.

↳ com_class_id string

The COM class IF the action is COM handler. This field is only populated if the task action type is COM_HANDLER.

↳ com_data string

The data of the task. This field is only populated if the task action type is COM_HANDLER.

getActionType

The action type of the task.

Returns
Type Description
int Enum of type ActionType.

setActionType

The action type of the task.

Parameter
Name Description
var int

Enum of type ActionType.

Returns
Type Description
$this

getExecArguments

The arguments of the task. This field is only populated if the task action type is EXEC.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setExecArguments

The arguments of the task. This field is only populated if the task action type is EXEC.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getExecWorkingDirectory

The executable working directory of the task. This field is only populated if the task action type is EXEC.

Returns
Type Description
string

setExecWorkingDirectory

The executable working directory of the task. This field is only populated if the task action type is EXEC.

Parameter
Name Description
var string
Returns
Type Description
$this

getComClassId

The COM class IF the action is COM handler. This field is only populated if the task action type is COM_HANDLER.

Returns
Type Description
string

setComClassId

The COM class IF the action is COM handler. This field is only populated if the task action type is COM_HANDLER.

Parameter
Name Description
var string
Returns
Type Description
$this

getComData

The data of the task. This field is only populated if the task action type is COM_HANDLER.

Returns
Type Description
string

setComData

The data of the task. This field is only populated if the task action type is COM_HANDLER.

Parameter
Name Description
var string
Returns
Type Description
$this