Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::WindowsScheduledTask::TaskTrigger.
The trigger of the scheduled task.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#duration
def duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The duration of the task trigger repetition.
#duration=
def duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The duration of the task trigger repetition.
Returns
- (::Google::Protobuf::Duration) — The duration of the task trigger repetition.
#enabled
def enabled() -> ::Boolean
Returns
- (::Boolean) — Indicates whether the task trigger is enabled.
#enabled=
def enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — Indicates whether the task trigger is enabled.
Returns
- (::Boolean) — Indicates whether the task trigger is enabled.
#interval
def interval() -> ::String
Returns
-
(::String) — The interval between each repetition of the task. The format for this
string is
P<days>DT<hours>H<minutes>M<seconds>S(for example, "PT5M" is 5 minutes, "PT1H" is 1 hour, and "PT20M" is 20 minutes). The maximum time allowed is 31 days, and the minimum time allowed is 1 minute.
#interval=
def interval=(value) -> ::String
Parameter
-
value (::String) — The interval between each repetition of the task. The format for this
string is
P<days>DT<hours>H<minutes>M<seconds>S(for example, "PT5M" is 5 minutes, "PT1H" is 1 hour, and "PT20M" is 20 minutes). The maximum time allowed is 31 days, and the minimum time allowed is 1 minute.
Returns
-
(::String) — The interval between each repetition of the task. The format for this
string is
P<days>DT<hours>H<minutes>M<seconds>S(for example, "PT5M" is 5 minutes, "PT1H" is 1 hour, and "PT20M" is 20 minutes). The maximum time allowed is 31 days, and the minimum time allowed is 1 minute.
#trigger_type
def trigger_type() -> ::Google::Backstory::WindowsScheduledTask::TaskTrigger::TriggerType
Returns
- (::Google::Backstory::WindowsScheduledTask::TaskTrigger::TriggerType) — The trigger frequency of the task.
#trigger_type=
def trigger_type=(value) -> ::Google::Backstory::WindowsScheduledTask::TaskTrigger::TriggerType
Parameter
- value (::Google::Backstory::WindowsScheduledTask::TaskTrigger::TriggerType) — The trigger frequency of the task.
Returns
- (::Google::Backstory::WindowsScheduledTask::TaskTrigger::TriggerType) — The trigger frequency of the task.