Class: DatadogAPIClient::V2::CustomRulesetRequest

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/custom_ruleset_request.rb

Overview

Request body for creating or updating a custom ruleset.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



30
31
32
# File 'lib/datadog_api_client/v2/models/custom_ruleset_request.rb', line 30

def additional_properties
  @additional_properties
end

#dataObject

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.



28
29
30
# File 'lib/datadog_api_client/v2/models/custom_ruleset_request.rb', line 28

def data
  @data
end