Class: DatadogAPIClient::V2::CustomRulesetRequestData
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::CustomRulesetRequestData
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/custom_ruleset_request_data.rb
Overview
Data object for a custom ruleset create or update request. The resource id is
required and must equal both attributes.name and, on update, the ruleset_name
path parameter; a request that omits it or supplies a different value is rejected
with a 412 response.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#attributes ⇒ Object
readonly
Attributes for creating or updating a custom ruleset.
-
#id ⇒ Object
readonly
Ruleset identifier, which is the same as the ruleset name.
-
#type ⇒ Object
readonly
Resource type.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/custom_ruleset_request_data.rb', line 37 def additional_properties @additional_properties end |
#attributes ⇒ Object
Attributes for creating or updating a custom ruleset. name is required and must
equal the resource id; the server rejects a mismatch with a 412 response.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/custom_ruleset_request_data.rb', line 29 def attributes @attributes end |
#id ⇒ Object
Ruleset identifier, which is the same as the ruleset name.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/custom_ruleset_request_data.rb', line 32 def id @id end |
#type ⇒ Object
Resource type
35 36 37 |
# File 'lib/datadog_api_client/v2/models/custom_ruleset_request_data.rb', line 35 def type @type end |