Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::WindowsScheduledTask.
Information about a Windows scheduled task.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#author
def author() -> ::String
Returns
- (::String) — The account name that authored or last modified the scheduled task.
#author=
def author=(value) -> ::String
Parameter
- value (::String) — The account name that authored or last modified the scheduled task.
Returns
- (::String) — The account name that authored or last modified the scheduled task.
#exit_code
def exit_code() -> ::Integer
Returns
- (::Integer) — The result which was returned the last time the registered task was run.
#exit_code=
def exit_code=(value) -> ::Integer
Parameter
- value (::Integer) — The result which was returned the last time the registered task was run.
Returns
- (::Integer) — The result which was returned the last time the registered task was run.
#logon_type
def logon_type() -> ::Google::Backstory::WindowsScheduledTask::TaskLogonType
Returns
- (::Google::Backstory::WindowsScheduledTask::TaskLogonType) — The logon type of the task.
#logon_type=
def logon_type=(value) -> ::Google::Backstory::WindowsScheduledTask::TaskLogonType
Parameter
- value (::Google::Backstory::WindowsScheduledTask::TaskLogonType) — The logon type of the task.
Returns
- (::Google::Backstory::WindowsScheduledTask::TaskLogonType) — The logon type of the task.
#state
def state() -> ::Google::Backstory::WindowsScheduledTask::TaskState
Returns
- (::Google::Backstory::WindowsScheduledTask::TaskState) — The operation state of the task.
#state=
def state=(value) -> ::Google::Backstory::WindowsScheduledTask::TaskState
Parameter
- value (::Google::Backstory::WindowsScheduledTask::TaskState) — The operation state of the task.
Returns
- (::Google::Backstory::WindowsScheduledTask::TaskState) — The operation state of the task.
#task_actions
def task_actions() -> ::Array<::Google::Backstory::WindowsScheduledTask::TaskAction>
Returns
- (::Array<::Google::Backstory::WindowsScheduledTask::TaskAction>) — The actions of the scheduled task.
#task_actions=
def task_actions=(value) -> ::Array<::Google::Backstory::WindowsScheduledTask::TaskAction>
Parameter
- value (::Array<::Google::Backstory::WindowsScheduledTask::TaskAction>) — The actions of the scheduled task.
Returns
- (::Array<::Google::Backstory::WindowsScheduledTask::TaskAction>) — The actions of the scheduled task.
#task_triggers
def task_triggers() -> ::Array<::Google::Backstory::WindowsScheduledTask::TaskTrigger>
Returns
- (::Array<::Google::Backstory::WindowsScheduledTask::TaskTrigger>) — The triggers of the scheduled task.
#task_triggers=
def task_triggers=(value) -> ::Array<::Google::Backstory::WindowsScheduledTask::TaskTrigger>
Parameter
- value (::Array<::Google::Backstory::WindowsScheduledTask::TaskTrigger>) — The triggers of the scheduled task.
Returns
- (::Array<::Google::Backstory::WindowsScheduledTask::TaskTrigger>) — The triggers of the scheduled task.
#virtual_path
def virtual_path() -> ::String
Returns
- (::String) — The task's path in the Task Scheduler library.
#virtual_path=
def virtual_path=(value) -> ::String
Parameter
- value (::String) — The task's path in the Task Scheduler library.
Returns
- (::String) — The task's path in the Task Scheduler library.