Class: DatadogAPIClient::V2::CustomRulesetRequestData

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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

#attributesObject

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

#idObject

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

#typeObject

Resource type



35
36
37
# File 'lib/datadog_api_client/v2/models/custom_ruleset_request_data.rb', line 35

def type
  @type
end