Class: DatadogAPIClient::V2::PatchSavedFilterAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::PatchSavedFilterAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/patch_saved_filter_attributes.rb
Overview
Fields to update. At least one of name, description, or targeting_rules must have a non-null value. Omitted or null fields are preserved. The creation type cannot be changed.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#description ⇒ Object
The new description.
-
#last_updated_at ⇒ Object
The
updated_atvalue returned by a previous read, as an RFC 3339 timestamp. -
#name ⇒ Object
readonly
The new name of the saved filter.
-
#targeting_rules ⇒ Object
readonly
The complete replacement targeting rules, combined with OR.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/patch_saved_filter_attributes.rb', line 36 def additional_properties @additional_properties end |
#description ⇒ Object
The new description. Send an empty string to clear the description. If omitted or null, the existing description is preserved.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/patch_saved_filter_attributes.rb', line 25 def description @description end |
#last_updated_at ⇒ Object
The updated_at value returned by a previous read, as an RFC 3339 timestamp. If it differs from the stored update time, truncated to seconds, the request returns a 409 response. For metadata-only updates, this check does not prevent all concurrent writes. This field alone does not constitute an update.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/patch_saved_filter_attributes.rb', line 28 def last_updated_at @last_updated_at end |
#name ⇒ Object
The new name of the saved filter. Must not be empty.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/patch_saved_filter_attributes.rb', line 31 def name @name end |
#targeting_rules ⇒ Object
The complete replacement targeting rules, combined with OR. Conditions within each rule are combined with AND. Replaces all existing rules. Values are not appended. Must contain at least one rule. Saved filters cannot reference other saved filters.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/patch_saved_filter_attributes.rb', line 34 def targeting_rules @targeting_rules end |