Class: DatadogAPIClient::V2::AutomationRuleTrigger
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AutomationRuleTrigger
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/automation_rule_trigger.rb
Overview
Defines when the rule activates. Combines a trigger type (the case event to listen for) with optional trigger data (conditions that narrow when the trigger fires).
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#data ⇒ Object
Additional configuration for the trigger, dependent on the trigger type.
-
#type ⇒ Object
readonly
The case event that activates the automation rule.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/automation_rule_trigger.rb', line 30 def additional_properties @additional_properties end |
#data ⇒ Object
Additional configuration for the trigger, dependent on the trigger type. For status_transitioned triggers, specify from_status_name and to_status_name. For attribute_value_changed triggers, specify field and change_type.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/automation_rule_trigger.rb', line 25 def data @data end |
#type ⇒ Object
The case event that activates the automation rule.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/automation_rule_trigger.rb', line 28 def type @type end |