Class: DatadogAPIClient::V2::IssueWatchCondition
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::IssueWatchCondition
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/issue_watch_condition.rb
Overview
Condition that triggers the watch action. The fields that are set depend on kind:
OCCURRENCES uses threshold, CARDINALITY uses threshold and projection,
ELAPSED_TIME uses duration, and ANY and ALL use operands.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#duration ⇒ Object
Time that must elapse before the condition is met, as a Go duration string.
-
#kind ⇒ Object
readonly
Kind of watch condition.
-
#operands ⇒ Object
Nested conditions combined by
ANYorALL. -
#projection ⇒ Object
Attributes whose distinct values are counted for
CARDINALITY. -
#threshold ⇒ Object
Number of occurrences, or of distinct values for
CARDINALITY, that triggers the condition.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/issue_watch_condition.rb', line 41 def additional_properties @additional_properties end |
#duration ⇒ Object
Time that must elapse before the condition is met, as a Go duration string.
27 28 29 |
# File 'lib/datadog_api_client/v2/models/issue_watch_condition.rb', line 27 def duration @duration end |
#kind ⇒ Object
Kind of watch condition.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/issue_watch_condition.rb', line 30 def kind @kind end |
#operands ⇒ Object
Nested conditions combined by ANY or ALL.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/issue_watch_condition.rb', line 33 def operands @operands end |
#projection ⇒ Object
Attributes whose distinct values are counted for CARDINALITY.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/issue_watch_condition.rb', line 36 def projection @projection end |
#threshold ⇒ Object
Number of occurrences, or of distinct values for CARDINALITY, that triggers the condition.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/issue_watch_condition.rb', line 39 def threshold @threshold end |