Class: DatadogAPIClient::V2::AutomationRuleTrigger

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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

#dataObject

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

#typeObject

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