Class: DatadogAPIClient::V2::TeamRoutingRulesRequestRule
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::TeamRoutingRulesRequestRule
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/team_routing_rules_request_rule.rb
Overview
Defines an individual routing rule item that contains the rule data for the request.
Instance Attribute Summary collapse
-
#actions ⇒ Object
Specifies the list of actions to perform when the routing rule is matched.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#id ⇒ Object
Specifies the unique identifier of an existing routing rule to update.
-
#policy_id ⇒ Object
Identifies the policy to be applied when this routing rule matches.
-
#query ⇒ Object
Defines the query or condition that triggers this routing rule.
-
#time_restriction ⇒ Object
Time restrictions during which the routing rule is active.
-
#urgency ⇒ Object
Specifies the level of urgency for a routing rule (low, high, or dynamic).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#actions ⇒ Object
Specifies the list of actions to perform when the routing rule is matched.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/team_routing_rules_request_rule.rb', line 25 def actions @actions end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/team_routing_rules_request_rule.rb', line 43 def additional_properties @additional_properties end |
#id ⇒ Object
Specifies the unique identifier of an existing routing rule to update. If omitted, a new routing rule is created.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/team_routing_rules_request_rule.rb', line 29 def id @id end |
#policy_id ⇒ Object
Identifies the policy to be applied when this routing rule matches.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/team_routing_rules_request_rule.rb', line 32 def policy_id @policy_id end |
#query ⇒ Object
Defines the query or condition that triggers this routing rule.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/team_routing_rules_request_rule.rb', line 35 def query @query end |
#time_restriction ⇒ Object
Time restrictions during which the routing rule is active. Outside of these hours, the rule does not match and routing continues to subsequent rules. This is mutually exclusive with the action-level support_hours field.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/team_routing_rules_request_rule.rb', line 38 def time_restriction @time_restriction end |
#urgency ⇒ Object
Specifies the level of urgency for a routing rule (low, high, or dynamic).
41 42 43 |
# File 'lib/datadog_api_client/v2/models/team_routing_rules_request_rule.rb', line 41 def urgency @urgency end |