Chronicle V1 API - Class Google::Backstory::WindowsScheduledTask::TaskTrigger (v1.4.0)

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

#duration=

def duration=(value) -> ::Google::Protobuf::Duration
Parameter
Returns

#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

#trigger_type=

def trigger_type=(value) -> ::Google::Backstory::WindowsScheduledTask::TaskTrigger::TriggerType
Parameter
Returns