Class: DatadogAPIClient::V2::Condition
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::Condition
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/condition.rb
Overview
Targeting condition details. A condition is either an inline
predicate with operator, attribute, and value, or a reference to a
saved filter with saved_filter_id. The inline fields are omitted for saved-filter
references.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#attribute ⇒ Object
The user or request attribute to evaluate.
-
#created_at ⇒ Object
readonly
The timestamp when the condition was created.
-
#id ⇒ Object
readonly
The unique identifier of the condition.
-
#operator ⇒ Object
The operator used in a targeting condition.
-
#saved_filter_id ⇒ Object
The ID of the saved filter referenced by this condition, or null for inline conditions.
-
#updated_at ⇒ Object
readonly
The timestamp when the condition was last updated.
-
#value ⇒ Object
Values used by the selected operator.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/condition.rb', line 48 def additional_properties @additional_properties end |
#attribute ⇒ Object
The user or request attribute to evaluate. Omitted for saved-filter references.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/condition.rb', line 28 def attribute @attribute end |
#created_at ⇒ Object
The timestamp when the condition was created.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/condition.rb', line 31 def created_at @created_at end |
#id ⇒ Object
The unique identifier of the condition.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/condition.rb', line 34 def id @id end |
#operator ⇒ Object
The operator used in a targeting condition.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/condition.rb', line 37 def operator @operator end |
#saved_filter_id ⇒ Object
The ID of the saved filter referenced by this condition, or null for inline conditions.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/condition.rb', line 40 def saved_filter_id @saved_filter_id end |
#updated_at ⇒ Object
The timestamp when the condition was last updated.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/condition.rb', line 43 def updated_at @updated_at end |
#value ⇒ Object
Values used by the selected operator. Omitted for saved-filter references.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/condition.rb', line 46 def value @value end |