Class: DatadogAPIClient::V2::AutomationRule

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/automation_rule.rb

Overview

An automation rule that executes an action (such as running a Datadog workflow or assigning an AI agent) when a specified case event occurs within a project.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



36
37
38
# File 'lib/datadog_api_client/v2/models/automation_rule.rb', line 36

def additional_properties
  @additional_properties
end

#attributesObject

Core attributes of an automation rule, including its name, trigger condition, action to execute, and current state.



25
26
27
# File 'lib/datadog_api_client/v2/models/automation_rule.rb', line 25

def attributes
  @attributes
end

#idObject

Automation rule identifier.



28
29
30
# File 'lib/datadog_api_client/v2/models/automation_rule.rb', line 28

def id
  @id
end

#relationshipsObject

Related resources for the automation rule, including the users who created and last modified it.



31
32
33
# File 'lib/datadog_api_client/v2/models/automation_rule.rb', line 31

def relationships
  @relationships
end

#typeObject

JSON:API resource type for case automation rules.



34
35
36
# File 'lib/datadog_api_client/v2/models/automation_rule.rb', line 34

def type
  @type
end