datadog_api_client 2.47.0 → 2.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. checksums.yaml +4 -4
  2. data/.generator/schemas/v1/openapi.yaml +96 -5
  3. data/.generator/schemas/v2/openapi.yaml +2453 -707
  4. data/CHANGELOG.md +20 -0
  5. data/examples/v2/incidents/CreateIncidentAttachment.rb +22 -0
  6. data/examples/v2/incidents/DeleteIncidentAttachment.rb +8 -0
  7. data/examples/v2/incidents/ListIncidentAttachments.rb +1 -1
  8. data/examples/v2/incidents/UpdateIncidentAttachment.rb +20 -0
  9. data/examples/v2/on-call/CreateUserNotificationRule.rb +29 -0
  10. data/examples/v2/on-call/DeleteUserNotificationRule.rb +11 -0
  11. data/examples/v2/on-call/GetUserNotificationRule.rb +14 -0
  12. data/examples/v2/on-call/ListUserNotificationRules.rb +11 -0
  13. data/examples/v2/on-call/UpdateUserNotificationRule.rb +36 -0
  14. data/examples/v2/product-analytics/SubmitProductAnalyticsEvent.rb +24 -0
  15. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_2323193894.rb +48 -0
  16. data/examples/v2/synthetics/PatchGlobalVariable.rb +19 -0
  17. data/examples/v2/teams/CreateTeamNotificationRule.rb +23 -0
  18. data/examples/v2/teams/DeleteTeamConnections.rb +0 -3
  19. data/examples/v2/teams/DeleteTeamNotificationRule.rb +11 -0
  20. data/examples/v2/teams/GetTeamNotificationRule.rb +11 -0
  21. data/examples/v2/teams/GetTeamNotificationRules.rb +8 -0
  22. data/examples/v2/teams/GetTeamSync.rb +0 -3
  23. data/examples/v2/teams/ListTeamConnections.rb +0 -3
  24. data/examples/v2/teams/ListTeamConnections_2418873869.rb +0 -3
  25. data/examples/v2/teams/SyncTeams.rb +0 -3
  26. data/examples/v2/teams/SyncTeams_3215592344.rb +0 -3
  27. data/examples/v2/teams/UpdateTeamNotificationRule.rb +27 -0
  28. data/lib/datadog_api_client/configuration.rb +55 -6
  29. data/lib/datadog_api_client/inflector.rb +92 -20
  30. data/lib/datadog_api_client/v1/api/synthetics_api.rb +3 -3
  31. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +6 -4
  32. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +3 -0
  33. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +6 -0
  34. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +61 -1
  35. data/lib/datadog_api_client/v1/models/synthetics_list_tests_response.rb +1 -1
  36. data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +1 -1
  37. data/lib/datadog_api_client/v1/models/synthetics_test_details_without_steps.rb +221 -0
  38. data/lib/datadog_api_client/v2/api/dora_metrics_api.rb +8 -8
  39. data/lib/datadog_api_client/v2/api/incidents_api.rb +188 -36
  40. data/lib/datadog_api_client/v2/api/on_call_api.rb +360 -0
  41. data/lib/datadog_api_client/v2/api/product_analytics_api.rb +121 -0
  42. data/lib/datadog_api_client/v2/api/software_catalog_api.rb +4 -0
  43. data/lib/datadog_api_client/v2/api/synthetics_api.rb +79 -0
  44. data/lib/datadog_api_client/v2/api/teams_api.rb +339 -30
  45. data/lib/datadog_api_client/v2/models/attachment.rb +117 -0
  46. data/lib/datadog_api_client/v2/models/{incident_attachments_response.rb → attachment_array.rb} +7 -7
  47. data/lib/datadog_api_client/v2/models/{incident_attachment_data.rb → attachment_data.rb} +8 -8
  48. data/lib/datadog_api_client/v2/models/attachment_data_attributes.rb +125 -0
  49. data/lib/datadog_api_client/v2/models/attachment_data_attributes_attachment.rb +115 -0
  50. data/lib/datadog_api_client/v2/models/{incident_attachment_attachment_type.rb → attachment_data_attributes_attachment_type.rb} +3 -3
  51. data/lib/datadog_api_client/v2/models/{incident_attachment_relationships.rb → attachment_data_relationships.rb} +5 -5
  52. data/lib/datadog_api_client/v2/models/{incident_attachment_update_request.rb → attachment_data_relationships_last_modified_by_user.rb} +6 -11
  53. data/lib/datadog_api_client/v2/models/attachment_data_relationships_last_modified_by_user_data.rb +144 -0
  54. data/lib/datadog_api_client/v2/models/{incident_attachments_response_included_item.rb → attachment_included.rb} +3 -3
  55. data/lib/datadog_api_client/v2/models/case_create_attributes.rb +11 -1
  56. data/lib/datadog_api_client/v2/models/{dora_fetch_response.rb → create_attachment_request.rb} +5 -5
  57. data/lib/datadog_api_client/v2/models/{incident_attachment_update_data.rb → create_attachment_request_data.rb} +6 -6
  58. data/lib/datadog_api_client/v2/models/create_attachment_request_data_attributes.rb +115 -0
  59. data/lib/datadog_api_client/v2/models/create_attachment_request_data_attributes_attachment.rb +115 -0
  60. data/lib/datadog_api_client/v2/models/create_on_call_notification_rule_request.rb +123 -0
  61. data/lib/datadog_api_client/v2/models/create_on_call_notification_rule_request_data.rb +143 -0
  62. data/lib/datadog_api_client/v2/models/custom_attribute_type.rb +1 -0
  63. data/lib/datadog_api_client/v2/models/dora_deployment_fetch_response.rb +105 -0
  64. data/lib/datadog_api_client/v2/models/dora_deployment_object.rb +125 -0
  65. data/lib/datadog_api_client/v2/models/dora_deployment_object_attributes.rb +225 -0
  66. data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +1 -1
  67. data/lib/datadog_api_client/v2/models/dora_deployments_list_response.rb +107 -0
  68. data/lib/datadog_api_client/v2/models/dora_failure_fetch_response.rb +105 -0
  69. data/lib/datadog_api_client/v2/models/dora_failure_request_attributes.rb +1 -1
  70. data/lib/datadog_api_client/v2/models/{dora_list_response.rb → dora_failures_list_response.rb} +5 -5
  71. data/lib/datadog_api_client/v2/models/{dora_event.rb → dora_incident_object.rb} +8 -8
  72. data/lib/datadog_api_client/v2/models/dora_incident_object_attributes.rb +225 -0
  73. data/lib/datadog_api_client/v2/models/global_variable_data.rb +125 -0
  74. data/lib/datadog_api_client/v2/models/global_variable_json_patch_request.rb +123 -0
  75. data/lib/datadog_api_client/v2/models/global_variable_json_patch_request_data.rb +115 -0
  76. data/lib/datadog_api_client/v2/models/global_variable_json_patch_request_data_attributes.rb +107 -0
  77. data/lib/datadog_api_client/v2/models/global_variable_json_patch_type.rb +26 -0
  78. data/lib/datadog_api_client/v2/models/global_variable_response.rb +105 -0
  79. data/lib/datadog_api_client/v2/models/{incident_attachment_link_attachment_type.rb → global_variable_type.rb} +3 -3
  80. data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
  81. data/lib/datadog_api_client/v2/models/{incident_attachments_postmortem_attributes_attachment_object.rb → json_patch_operation.rb} +40 -30
  82. data/lib/datadog_api_client/v2/models/json_patch_operation_op.rb +31 -0
  83. data/lib/datadog_api_client/v2/models/list_on_call_notification_rules_response.rb +119 -0
  84. data/lib/datadog_api_client/v2/models/observability_pipeline_add_env_vars_processor.rb +11 -1
  85. data/lib/datadog_api_client/v2/models/observability_pipeline_add_fields_processor.rb +11 -1
  86. data/lib/datadog_api_client/v2/models/observability_pipeline_config_processor_group.rb +11 -1
  87. data/lib/datadog_api_client/v2/models/observability_pipeline_custom_processor.rb +11 -1
  88. data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_tags_processor.rb +11 -1
  89. data/lib/datadog_api_client/v2/models/observability_pipeline_dedupe_processor.rb +11 -1
  90. data/lib/datadog_api_client/v2/models/observability_pipeline_enrichment_table_processor.rb +11 -1
  91. data/lib/datadog_api_client/v2/models/observability_pipeline_filter_processor.rb +11 -1
  92. data/lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_processor.rb +11 -1
  93. data/lib/datadog_api_client/v2/models/observability_pipeline_ocsf_mapper_processor.rb +11 -1
  94. data/lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor.rb +11 -1
  95. data/lib/datadog_api_client/v2/models/observability_pipeline_parse_json_processor.rb +11 -1
  96. data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb +11 -1
  97. data/lib/datadog_api_client/v2/models/observability_pipeline_reduce_processor.rb +11 -1
  98. data/lib/datadog_api_client/v2/models/observability_pipeline_remove_fields_processor.rb +11 -1
  99. data/lib/datadog_api_client/v2/models/observability_pipeline_rename_fields_processor.rb +11 -1
  100. data/lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb +11 -1
  101. data/lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor.rb +11 -1
  102. data/lib/datadog_api_client/v2/models/observability_pipeline_throttle_processor.rb +11 -1
  103. data/lib/datadog_api_client/v2/models/{incident_attachment_update_response.rb → on_call_notification_rule.rb} +8 -11
  104. data/lib/datadog_api_client/v2/models/on_call_notification_rule_attributes.rb +125 -0
  105. data/lib/datadog_api_client/v2/models/on_call_notification_rule_category.rb +27 -0
  106. data/lib/datadog_api_client/v2/models/on_call_notification_rule_channel_relationship.rb +123 -0
  107. data/lib/datadog_api_client/v2/models/on_call_notification_rule_channel_relationship_data.rb +115 -0
  108. data/lib/datadog_api_client/v2/models/{incident_attachment_update_attributes.rb → on_call_notification_rule_channel_settings.rb} +3 -4
  109. data/lib/datadog_api_client/v2/models/on_call_notification_rule_data.rb +153 -0
  110. data/lib/datadog_api_client/v2/models/on_call_notification_rule_relationships.rb +105 -0
  111. data/lib/datadog_api_client/v2/models/on_call_notification_rule_request_attributes.rb +125 -0
  112. data/lib/datadog_api_client/v2/models/on_call_notification_rule_type.rb +26 -0
  113. data/lib/datadog_api_client/v2/models/{incident_attachment_attributes.rb → on_call_notification_rules_included.rb} +3 -4
  114. data/lib/datadog_api_client/v2/models/on_call_phone_notification_rule_method.rb +27 -0
  115. data/lib/datadog_api_client/v2/models/{incident_attachment_link_attributes_attachment_object.rb → on_call_phone_notification_rule_settings.rb} +30 -30
  116. data/lib/datadog_api_client/v2/models/patch_attachment_request.rb +105 -0
  117. data/lib/datadog_api_client/v2/models/patch_attachment_request_data.rb +143 -0
  118. data/lib/datadog_api_client/v2/models/patch_attachment_request_data_attributes.rb +105 -0
  119. data/lib/datadog_api_client/v2/models/patch_attachment_request_data_attributes_attachment.rb +115 -0
  120. data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_error.rb +125 -0
  121. data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_errors.rb +107 -0
  122. data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item.rb +195 -0
  123. data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_account.rb +123 -0
  124. data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_application.rb +124 -0
  125. data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_event.rb +123 -0
  126. data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_session.rb +123 -0
  127. data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_type.rb +26 -0
  128. data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_usr.rb +123 -0
  129. data/lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options.rb +155 -0
  130. data/lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options_bucket_duration.rb +32 -0
  131. data/lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options_detection_tolerance.rb +31 -0
  132. data/lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options_learning_duration.rb +32 -0
  133. data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +11 -1
  134. data/lib/datadog_api_client/v2/models/synthetics_global_variable.rb +248 -0
  135. data/lib/datadog_api_client/v2/models/synthetics_global_variable_attributes.rb +107 -0
  136. data/lib/datadog_api_client/v2/models/synthetics_global_variable_options.rb +105 -0
  137. data/lib/datadog_api_client/v2/models/{incident_attachment_postmortem_attributes.rb → synthetics_global_variable_parse_test_options.rb} +44 -35
  138. data/lib/datadog_api_client/v2/models/synthetics_global_variable_parse_test_options_type.rb +29 -0
  139. data/lib/datadog_api_client/v2/models/synthetics_global_variable_parser_type.rb +29 -0
  140. data/lib/datadog_api_client/v2/models/{incident_attachment_link_attributes.rb → synthetics_global_variable_totp_parameters.rb} +38 -40
  141. data/lib/datadog_api_client/v2/models/synthetics_global_variable_value.rb +126 -0
  142. data/lib/datadog_api_client/v2/models/synthetics_variable_parser.rb +133 -0
  143. data/lib/datadog_api_client/v2/models/team_notification_rule.rb +154 -0
  144. data/lib/datadog_api_client/v2/models/team_notification_rule_attributes.rb +135 -0
  145. data/lib/datadog_api_client/v2/models/team_notification_rule_attributes_email.rb +105 -0
  146. data/lib/datadog_api_client/v2/models/team_notification_rule_attributes_ms_teams.rb +105 -0
  147. data/lib/datadog_api_client/v2/models/team_notification_rule_attributes_pagerduty.rb +105 -0
  148. data/lib/datadog_api_client/v2/models/team_notification_rule_attributes_slack.rb +115 -0
  149. data/lib/datadog_api_client/v2/models/team_notification_rule_request.rb +123 -0
  150. data/lib/datadog_api_client/v2/models/team_notification_rule_response.rb +105 -0
  151. data/lib/datadog_api_client/v2/models/{incident_attachment_postmortem_attachment_type.rb → team_notification_rule_type.rb} +3 -3
  152. data/lib/datadog_api_client/v2/models/team_notification_rules_response.rb +117 -0
  153. data/lib/datadog_api_client/v2/models/team_notification_rules_response_meta.rb +105 -0
  154. data/lib/datadog_api_client/v2/models/team_notification_rules_response_meta_page.rb +184 -0
  155. data/lib/datadog_api_client/v2/models/threat_hunting_job_options.rb +11 -1
  156. data/lib/datadog_api_client/v2/models/update_on_call_notification_rule_request.rb +123 -0
  157. data/lib/datadog_api_client/v2/models/update_on_call_notification_rule_request_attributes.rb +125 -0
  158. data/lib/datadog_api_client/v2/models/update_on_call_notification_rule_request_data.rb +153 -0
  159. data/lib/datadog_api_client/v2/models/user140420082644000.rb +143 -0
  160. data/lib/datadog_api_client/v2/models/{incident_attachment_related_object.rb → user_type.rb} +2 -2
  161. data/lib/datadog_api_client/version.rb +1 -1
  162. metadata +109 -24
  163. data/examples/v2/incidents/ListIncidentAttachments_2457735435.rb +0 -11
  164. data/examples/v2/incidents/UpdateIncidentAttachments.rb +0 -38
  165. data/examples/v2/incidents/UpdateIncidentAttachments_3881702075.rb +0 -26
@@ -24,6 +24,9 @@ module DatadogAPIClient::V2
24
24
  # The action to take on tags with matching keys.
25
25
  attr_reader :action
26
26
 
27
+ # The display name for a component.
28
+ attr_accessor :display_name
29
+
27
30
  # Whether this processor is enabled.
28
31
  attr_reader :enabled
29
32
 
@@ -49,6 +52,7 @@ module DatadogAPIClient::V2
49
52
  def self.attribute_map
50
53
  {
51
54
  :'action' => :'action',
55
+ :'display_name' => :'display_name',
52
56
  :'enabled' => :'enabled',
53
57
  :'id' => :'id',
54
58
  :'include' => :'include',
@@ -63,6 +67,7 @@ module DatadogAPIClient::V2
63
67
  def self.openapi_types
64
68
  {
65
69
  :'action' => :'ObservabilityPipelineDatadogTagsProcessorAction',
70
+ :'display_name' => :'String',
66
71
  :'enabled' => :'Boolean',
67
72
  :'id' => :'String',
68
73
  :'include' => :'String',
@@ -94,6 +99,10 @@ module DatadogAPIClient::V2
94
99
  self.action = attributes[:'action']
95
100
  end
96
101
 
102
+ if attributes.key?(:'display_name')
103
+ self.display_name = attributes[:'display_name']
104
+ end
105
+
97
106
  if attributes.key?(:'enabled')
98
107
  self.enabled = attributes[:'enabled']
99
108
  end
@@ -232,6 +241,7 @@ module DatadogAPIClient::V2
232
241
  return true if self.equal?(o)
233
242
  self.class == o.class &&
234
243
  action == o.action &&
244
+ display_name == o.display_name &&
235
245
  enabled == o.enabled &&
236
246
  id == o.id &&
237
247
  include == o.include &&
@@ -245,7 +255,7 @@ module DatadogAPIClient::V2
245
255
  # @return [Integer] Hash code
246
256
  # @!visibility private
247
257
  def hash
248
- [action, enabled, id, include, keys, mode, type, additional_properties].hash
258
+ [action, display_name, enabled, id, include, keys, mode, type, additional_properties].hash
249
259
  end
250
260
  end
251
261
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
21
21
  class ObservabilityPipelineDedupeProcessor
22
22
  include BaseGenericModel
23
23
 
24
+ # The display name for a component.
25
+ attr_accessor :display_name
26
+
24
27
  # Whether this processor is enabled.
25
28
  attr_reader :enabled
26
29
 
@@ -45,6 +48,7 @@ module DatadogAPIClient::V2
45
48
  # @!visibility private
46
49
  def self.attribute_map
47
50
  {
51
+ :'display_name' => :'display_name',
48
52
  :'enabled' => :'enabled',
49
53
  :'fields' => :'fields',
50
54
  :'id' => :'id',
@@ -58,6 +62,7 @@ module DatadogAPIClient::V2
58
62
  # @!visibility private
59
63
  def self.openapi_types
60
64
  {
65
+ :'display_name' => :'String',
61
66
  :'enabled' => :'Boolean',
62
67
  :'fields' => :'Array<String>',
63
68
  :'id' => :'String',
@@ -85,6 +90,10 @@ module DatadogAPIClient::V2
85
90
  end
86
91
  }
87
92
 
93
+ if attributes.key?(:'display_name')
94
+ self.display_name = attributes[:'display_name']
95
+ end
96
+
88
97
  if attributes.key?(:'enabled')
89
98
  self.enabled = attributes[:'enabled']
90
99
  end
@@ -211,6 +220,7 @@ module DatadogAPIClient::V2
211
220
  def ==(o)
212
221
  return true if self.equal?(o)
213
222
  self.class == o.class &&
223
+ display_name == o.display_name &&
214
224
  enabled == o.enabled &&
215
225
  fields == o.fields &&
216
226
  id == o.id &&
@@ -224,7 +234,7 @@ module DatadogAPIClient::V2
224
234
  # @return [Integer] Hash code
225
235
  # @!visibility private
226
236
  def hash
227
- [enabled, fields, id, include, mode, type, additional_properties].hash
237
+ [display_name, enabled, fields, id, include, mode, type, additional_properties].hash
228
238
  end
229
239
  end
230
240
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
21
21
  class ObservabilityPipelineEnrichmentTableProcessor
22
22
  include BaseGenericModel
23
23
 
24
+ # The display name for a component.
25
+ attr_accessor :display_name
26
+
24
27
  # Whether this processor is enabled.
25
28
  attr_reader :enabled
26
29
 
@@ -48,6 +51,7 @@ module DatadogAPIClient::V2
48
51
  # @!visibility private
49
52
  def self.attribute_map
50
53
  {
54
+ :'display_name' => :'display_name',
51
55
  :'enabled' => :'enabled',
52
56
  :'file' => :'file',
53
57
  :'geoip' => :'geoip',
@@ -62,6 +66,7 @@ module DatadogAPIClient::V2
62
66
  # @!visibility private
63
67
  def self.openapi_types
64
68
  {
69
+ :'display_name' => :'String',
65
70
  :'enabled' => :'Boolean',
66
71
  :'file' => :'ObservabilityPipelineEnrichmentTableFile',
67
72
  :'geoip' => :'ObservabilityPipelineEnrichmentTableGeoIp',
@@ -90,6 +95,10 @@ module DatadogAPIClient::V2
90
95
  end
91
96
  }
92
97
 
98
+ if attributes.key?(:'display_name')
99
+ self.display_name = attributes[:'display_name']
100
+ end
101
+
93
102
  if attributes.key?(:'enabled')
94
103
  self.enabled = attributes[:'enabled']
95
104
  end
@@ -207,6 +216,7 @@ module DatadogAPIClient::V2
207
216
  def ==(o)
208
217
  return true if self.equal?(o)
209
218
  self.class == o.class &&
219
+ display_name == o.display_name &&
210
220
  enabled == o.enabled &&
211
221
  file == o.file &&
212
222
  geoip == o.geoip &&
@@ -221,7 +231,7 @@ module DatadogAPIClient::V2
221
231
  # @return [Integer] Hash code
222
232
  # @!visibility private
223
233
  def hash
224
- [enabled, file, geoip, id, include, target, type, additional_properties].hash
234
+ [display_name, enabled, file, geoip, id, include, target, type, additional_properties].hash
225
235
  end
226
236
  end
227
237
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
21
21
  class ObservabilityPipelineFilterProcessor
22
22
  include BaseGenericModel
23
23
 
24
+ # The display name for a component.
25
+ attr_accessor :display_name
26
+
24
27
  # Whether this processor is enabled.
25
28
  attr_reader :enabled
26
29
 
@@ -39,6 +42,7 @@ module DatadogAPIClient::V2
39
42
  # @!visibility private
40
43
  def self.attribute_map
41
44
  {
45
+ :'display_name' => :'display_name',
42
46
  :'enabled' => :'enabled',
43
47
  :'id' => :'id',
44
48
  :'include' => :'include',
@@ -50,6 +54,7 @@ module DatadogAPIClient::V2
50
54
  # @!visibility private
51
55
  def self.openapi_types
52
56
  {
57
+ :'display_name' => :'String',
53
58
  :'enabled' => :'Boolean',
54
59
  :'id' => :'String',
55
60
  :'include' => :'String',
@@ -75,6 +80,10 @@ module DatadogAPIClient::V2
75
80
  end
76
81
  }
77
82
 
83
+ if attributes.key?(:'display_name')
84
+ self.display_name = attributes[:'display_name']
85
+ end
86
+
78
87
  if attributes.key?(:'enabled')
79
88
  self.enabled = attributes[:'enabled']
80
89
  end
@@ -169,6 +178,7 @@ module DatadogAPIClient::V2
169
178
  def ==(o)
170
179
  return true if self.equal?(o)
171
180
  self.class == o.class &&
181
+ display_name == o.display_name &&
172
182
  enabled == o.enabled &&
173
183
  id == o.id &&
174
184
  include == o.include &&
@@ -180,7 +190,7 @@ module DatadogAPIClient::V2
180
190
  # @return [Integer] Hash code
181
191
  # @!visibility private
182
192
  def hash
183
- [enabled, id, include, type, additional_properties].hash
193
+ [display_name, enabled, id, include, type, additional_properties].hash
184
194
  end
185
195
  end
186
196
  end
@@ -22,6 +22,9 @@ module DatadogAPIClient::V2
22
22
  class ObservabilityPipelineGenerateMetricsProcessor
23
23
  include BaseGenericModel
24
24
 
25
+ # The display name for a component.
26
+ attr_accessor :display_name
27
+
25
28
  # Whether this processor is enabled.
26
29
  attr_reader :enabled
27
30
 
@@ -43,6 +46,7 @@ module DatadogAPIClient::V2
43
46
  # @!visibility private
44
47
  def self.attribute_map
45
48
  {
49
+ :'display_name' => :'display_name',
46
50
  :'enabled' => :'enabled',
47
51
  :'id' => :'id',
48
52
  :'include' => :'include',
@@ -55,6 +59,7 @@ module DatadogAPIClient::V2
55
59
  # @!visibility private
56
60
  def self.openapi_types
57
61
  {
62
+ :'display_name' => :'String',
58
63
  :'enabled' => :'Boolean',
59
64
  :'id' => :'String',
60
65
  :'include' => :'String',
@@ -81,6 +86,10 @@ module DatadogAPIClient::V2
81
86
  end
82
87
  }
83
88
 
89
+ if attributes.key?(:'display_name')
90
+ self.display_name = attributes[:'display_name']
91
+ end
92
+
84
93
  if attributes.key?(:'enabled')
85
94
  self.enabled = attributes[:'enabled']
86
95
  end
@@ -170,6 +179,7 @@ module DatadogAPIClient::V2
170
179
  def ==(o)
171
180
  return true if self.equal?(o)
172
181
  self.class == o.class &&
182
+ display_name == o.display_name &&
173
183
  enabled == o.enabled &&
174
184
  id == o.id &&
175
185
  include == o.include &&
@@ -182,7 +192,7 @@ module DatadogAPIClient::V2
182
192
  # @return [Integer] Hash code
183
193
  # @!visibility private
184
194
  def hash
185
- [enabled, id, include, metrics, type, additional_properties].hash
195
+ [display_name, enabled, id, include, metrics, type, additional_properties].hash
186
196
  end
187
197
  end
188
198
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
21
21
  class ObservabilityPipelineOcsfMapperProcessor
22
22
  include BaseGenericModel
23
23
 
24
+ # The display name for a component.
25
+ attr_accessor :display_name
26
+
24
27
  # Whether this processor is enabled.
25
28
  attr_reader :enabled
26
29
 
@@ -42,6 +45,7 @@ module DatadogAPIClient::V2
42
45
  # @!visibility private
43
46
  def self.attribute_map
44
47
  {
48
+ :'display_name' => :'display_name',
45
49
  :'enabled' => :'enabled',
46
50
  :'id' => :'id',
47
51
  :'include' => :'include',
@@ -54,6 +58,7 @@ module DatadogAPIClient::V2
54
58
  # @!visibility private
55
59
  def self.openapi_types
56
60
  {
61
+ :'display_name' => :'String',
57
62
  :'enabled' => :'Boolean',
58
63
  :'id' => :'String',
59
64
  :'include' => :'String',
@@ -80,6 +85,10 @@ module DatadogAPIClient::V2
80
85
  end
81
86
  }
82
87
 
88
+ if attributes.key?(:'display_name')
89
+ self.display_name = attributes[:'display_name']
90
+ end
91
+
83
92
  if attributes.key?(:'enabled')
84
93
  self.enabled = attributes[:'enabled']
85
94
  end
@@ -191,6 +200,7 @@ module DatadogAPIClient::V2
191
200
  def ==(o)
192
201
  return true if self.equal?(o)
193
202
  self.class == o.class &&
203
+ display_name == o.display_name &&
194
204
  enabled == o.enabled &&
195
205
  id == o.id &&
196
206
  include == o.include &&
@@ -203,7 +213,7 @@ module DatadogAPIClient::V2
203
213
  # @return [Integer] Hash code
204
214
  # @!visibility private
205
215
  def hash
206
- [enabled, id, include, mappings, type, additional_properties].hash
216
+ [display_name, enabled, id, include, mappings, type, additional_properties].hash
207
217
  end
208
218
  end
209
219
  end
@@ -24,6 +24,9 @@ module DatadogAPIClient::V2
24
24
  # If set to `true`, disables the default Grok rules provided by Datadog.
25
25
  attr_accessor :disable_library_rules
26
26
 
27
+ # The display name for a component.
28
+ attr_accessor :display_name
29
+
27
30
  # Whether this processor is enabled.
28
31
  attr_reader :enabled
29
32
 
@@ -46,6 +49,7 @@ module DatadogAPIClient::V2
46
49
  def self.attribute_map
47
50
  {
48
51
  :'disable_library_rules' => :'disable_library_rules',
52
+ :'display_name' => :'display_name',
49
53
  :'enabled' => :'enabled',
50
54
  :'id' => :'id',
51
55
  :'include' => :'include',
@@ -59,6 +63,7 @@ module DatadogAPIClient::V2
59
63
  def self.openapi_types
60
64
  {
61
65
  :'disable_library_rules' => :'Boolean',
66
+ :'display_name' => :'String',
62
67
  :'enabled' => :'Boolean',
63
68
  :'id' => :'String',
64
69
  :'include' => :'String',
@@ -89,6 +94,10 @@ module DatadogAPIClient::V2
89
94
  self.disable_library_rules = attributes[:'disable_library_rules']
90
95
  end
91
96
 
97
+ if attributes.key?(:'display_name')
98
+ self.display_name = attributes[:'display_name']
99
+ end
100
+
92
101
  if attributes.key?(:'enabled')
93
102
  self.enabled = attributes[:'enabled']
94
103
  end
@@ -201,6 +210,7 @@ module DatadogAPIClient::V2
201
210
  return true if self.equal?(o)
202
211
  self.class == o.class &&
203
212
  disable_library_rules == o.disable_library_rules &&
213
+ display_name == o.display_name &&
204
214
  enabled == o.enabled &&
205
215
  id == o.id &&
206
216
  include == o.include &&
@@ -213,7 +223,7 @@ module DatadogAPIClient::V2
213
223
  # @return [Integer] Hash code
214
224
  # @!visibility private
215
225
  def hash
216
- [disable_library_rules, enabled, id, include, rules, type, additional_properties].hash
226
+ [disable_library_rules, display_name, enabled, id, include, rules, type, additional_properties].hash
217
227
  end
218
228
  end
219
229
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
21
21
  class ObservabilityPipelineParseJSONProcessor
22
22
  include BaseGenericModel
23
23
 
24
+ # The display name for a component.
25
+ attr_accessor :display_name
26
+
24
27
  # Whether this processor is enabled.
25
28
  attr_reader :enabled
26
29
 
@@ -42,6 +45,7 @@ module DatadogAPIClient::V2
42
45
  # @!visibility private
43
46
  def self.attribute_map
44
47
  {
48
+ :'display_name' => :'display_name',
45
49
  :'enabled' => :'enabled',
46
50
  :'field' => :'field',
47
51
  :'id' => :'id',
@@ -54,6 +58,7 @@ module DatadogAPIClient::V2
54
58
  # @!visibility private
55
59
  def self.openapi_types
56
60
  {
61
+ :'display_name' => :'String',
57
62
  :'enabled' => :'Boolean',
58
63
  :'field' => :'String',
59
64
  :'id' => :'String',
@@ -80,6 +85,10 @@ module DatadogAPIClient::V2
80
85
  end
81
86
  }
82
87
 
88
+ if attributes.key?(:'display_name')
89
+ self.display_name = attributes[:'display_name']
90
+ end
91
+
83
92
  if attributes.key?(:'enabled')
84
93
  self.enabled = attributes[:'enabled']
85
94
  end
@@ -189,6 +198,7 @@ module DatadogAPIClient::V2
189
198
  def ==(o)
190
199
  return true if self.equal?(o)
191
200
  self.class == o.class &&
201
+ display_name == o.display_name &&
192
202
  enabled == o.enabled &&
193
203
  field == o.field &&
194
204
  id == o.id &&
@@ -201,7 +211,7 @@ module DatadogAPIClient::V2
201
211
  # @return [Integer] Hash code
202
212
  # @!visibility private
203
213
  def hash
204
- [enabled, field, id, include, type, additional_properties].hash
214
+ [display_name, enabled, field, id, include, type, additional_properties].hash
205
215
  end
206
216
  end
207
217
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
21
21
  class ObservabilityPipelineQuotaProcessor
22
22
  include BaseGenericModel
23
23
 
24
+ # The display name for a component.
25
+ attr_accessor :display_name
26
+
24
27
  # If set to `true`, logs that matched the quota filter and sent after the quota has been met are dropped; only logs that did not match the filter query continue through the pipeline.
25
28
  attr_accessor :drop_events
26
29
 
@@ -63,6 +66,7 @@ module DatadogAPIClient::V2
63
66
  # @!visibility private
64
67
  def self.attribute_map
65
68
  {
69
+ :'display_name' => :'display_name',
66
70
  :'drop_events' => :'drop_events',
67
71
  :'enabled' => :'enabled',
68
72
  :'id' => :'id',
@@ -81,6 +85,7 @@ module DatadogAPIClient::V2
81
85
  # @!visibility private
82
86
  def self.openapi_types
83
87
  {
88
+ :'display_name' => :'String',
84
89
  :'drop_events' => :'Boolean',
85
90
  :'enabled' => :'Boolean',
86
91
  :'id' => :'String',
@@ -113,6 +118,10 @@ module DatadogAPIClient::V2
113
118
  end
114
119
  }
115
120
 
121
+ if attributes.key?(:'display_name')
122
+ self.display_name = attributes[:'display_name']
123
+ end
124
+
116
125
  if attributes.key?(:'drop_events')
117
126
  self.drop_events = attributes[:'drop_events']
118
127
  end
@@ -261,6 +270,7 @@ module DatadogAPIClient::V2
261
270
  def ==(o)
262
271
  return true if self.equal?(o)
263
272
  self.class == o.class &&
273
+ display_name == o.display_name &&
264
274
  drop_events == o.drop_events &&
265
275
  enabled == o.enabled &&
266
276
  id == o.id &&
@@ -279,7 +289,7 @@ module DatadogAPIClient::V2
279
289
  # @return [Integer] Hash code
280
290
  # @!visibility private
281
291
  def hash
282
- [drop_events, enabled, id, ignore_when_missing_partitions, include, limit, name, overflow_action, overrides, partition_fields, type, additional_properties].hash
292
+ [display_name, drop_events, enabled, id, ignore_when_missing_partitions, include, limit, name, overflow_action, overrides, partition_fields, type, additional_properties].hash
283
293
  end
284
294
  end
285
295
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
21
21
  class ObservabilityPipelineReduceProcessor
22
22
  include BaseGenericModel
23
23
 
24
+ # The display name for a component.
25
+ attr_accessor :display_name
26
+
24
27
  # Whether this processor is enabled.
25
28
  attr_reader :enabled
26
29
 
@@ -45,6 +48,7 @@ module DatadogAPIClient::V2
45
48
  # @!visibility private
46
49
  def self.attribute_map
47
50
  {
51
+ :'display_name' => :'display_name',
48
52
  :'enabled' => :'enabled',
49
53
  :'group_by' => :'group_by',
50
54
  :'id' => :'id',
@@ -58,6 +62,7 @@ module DatadogAPIClient::V2
58
62
  # @!visibility private
59
63
  def self.openapi_types
60
64
  {
65
+ :'display_name' => :'String',
61
66
  :'enabled' => :'Boolean',
62
67
  :'group_by' => :'Array<String>',
63
68
  :'id' => :'String',
@@ -85,6 +90,10 @@ module DatadogAPIClient::V2
85
90
  end
86
91
  }
87
92
 
93
+ if attributes.key?(:'display_name')
94
+ self.display_name = attributes[:'display_name']
95
+ end
96
+
88
97
  if attributes.key?(:'enabled')
89
98
  self.enabled = attributes[:'enabled']
90
99
  end
@@ -213,6 +222,7 @@ module DatadogAPIClient::V2
213
222
  def ==(o)
214
223
  return true if self.equal?(o)
215
224
  self.class == o.class &&
225
+ display_name == o.display_name &&
216
226
  enabled == o.enabled &&
217
227
  group_by == o.group_by &&
218
228
  id == o.id &&
@@ -226,7 +236,7 @@ module DatadogAPIClient::V2
226
236
  # @return [Integer] Hash code
227
237
  # @!visibility private
228
238
  def hash
229
- [enabled, group_by, id, include, merge_strategies, type, additional_properties].hash
239
+ [display_name, enabled, group_by, id, include, merge_strategies, type, additional_properties].hash
230
240
  end
231
241
  end
232
242
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
21
21
  class ObservabilityPipelineRemoveFieldsProcessor
22
22
  include BaseGenericModel
23
23
 
24
+ # The display name for a component.
25
+ attr_accessor :display_name
26
+
24
27
  # Whether this processor is enabled.
25
28
  attr_reader :enabled
26
29
 
@@ -42,6 +45,7 @@ module DatadogAPIClient::V2
42
45
  # @!visibility private
43
46
  def self.attribute_map
44
47
  {
48
+ :'display_name' => :'display_name',
45
49
  :'enabled' => :'enabled',
46
50
  :'fields' => :'fields',
47
51
  :'id' => :'id',
@@ -54,6 +58,7 @@ module DatadogAPIClient::V2
54
58
  # @!visibility private
55
59
  def self.openapi_types
56
60
  {
61
+ :'display_name' => :'String',
57
62
  :'enabled' => :'Boolean',
58
63
  :'fields' => :'Array<String>',
59
64
  :'id' => :'String',
@@ -80,6 +85,10 @@ module DatadogAPIClient::V2
80
85
  end
81
86
  }
82
87
 
88
+ if attributes.key?(:'display_name')
89
+ self.display_name = attributes[:'display_name']
90
+ end
91
+
83
92
  if attributes.key?(:'enabled')
84
93
  self.enabled = attributes[:'enabled']
85
94
  end
@@ -191,6 +200,7 @@ module DatadogAPIClient::V2
191
200
  def ==(o)
192
201
  return true if self.equal?(o)
193
202
  self.class == o.class &&
203
+ display_name == o.display_name &&
194
204
  enabled == o.enabled &&
195
205
  fields == o.fields &&
196
206
  id == o.id &&
@@ -203,7 +213,7 @@ module DatadogAPIClient::V2
203
213
  # @return [Integer] Hash code
204
214
  # @!visibility private
205
215
  def hash
206
- [enabled, fields, id, include, type, additional_properties].hash
216
+ [display_name, enabled, fields, id, include, type, additional_properties].hash
207
217
  end
208
218
  end
209
219
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
21
21
  class ObservabilityPipelineRenameFieldsProcessor
22
22
  include BaseGenericModel
23
23
 
24
+ # The display name for a component.
25
+ attr_accessor :display_name
26
+
24
27
  # Whether this processor is enabled.
25
28
  attr_reader :enabled
26
29
 
@@ -42,6 +45,7 @@ module DatadogAPIClient::V2
42
45
  # @!visibility private
43
46
  def self.attribute_map
44
47
  {
48
+ :'display_name' => :'display_name',
45
49
  :'enabled' => :'enabled',
46
50
  :'fields' => :'fields',
47
51
  :'id' => :'id',
@@ -54,6 +58,7 @@ module DatadogAPIClient::V2
54
58
  # @!visibility private
55
59
  def self.openapi_types
56
60
  {
61
+ :'display_name' => :'String',
57
62
  :'enabled' => :'Boolean',
58
63
  :'fields' => :'Array<ObservabilityPipelineRenameFieldsProcessorField>',
59
64
  :'id' => :'String',
@@ -80,6 +85,10 @@ module DatadogAPIClient::V2
80
85
  end
81
86
  }
82
87
 
88
+ if attributes.key?(:'display_name')
89
+ self.display_name = attributes[:'display_name']
90
+ end
91
+
83
92
  if attributes.key?(:'enabled')
84
93
  self.enabled = attributes[:'enabled']
85
94
  end
@@ -191,6 +200,7 @@ module DatadogAPIClient::V2
191
200
  def ==(o)
192
201
  return true if self.equal?(o)
193
202
  self.class == o.class &&
203
+ display_name == o.display_name &&
194
204
  enabled == o.enabled &&
195
205
  fields == o.fields &&
196
206
  id == o.id &&
@@ -203,7 +213,7 @@ module DatadogAPIClient::V2
203
213
  # @return [Integer] Hash code
204
214
  # @!visibility private
205
215
  def hash
206
- [enabled, fields, id, include, type, additional_properties].hash
216
+ [display_name, enabled, fields, id, include, type, additional_properties].hash
207
217
  end
208
218
  end
209
219
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
21
21
  class ObservabilityPipelineSampleProcessor
22
22
  include BaseGenericModel
23
23
 
24
+ # The display name for a component.
25
+ attr_accessor :display_name
26
+
24
27
  # Whether this processor is enabled.
25
28
  attr_reader :enabled
26
29
 
@@ -45,6 +48,7 @@ module DatadogAPIClient::V2
45
48
  # @!visibility private
46
49
  def self.attribute_map
47
50
  {
51
+ :'display_name' => :'display_name',
48
52
  :'enabled' => :'enabled',
49
53
  :'id' => :'id',
50
54
  :'include' => :'include',
@@ -58,6 +62,7 @@ module DatadogAPIClient::V2
58
62
  # @!visibility private
59
63
  def self.openapi_types
60
64
  {
65
+ :'display_name' => :'String',
61
66
  :'enabled' => :'Boolean',
62
67
  :'id' => :'String',
63
68
  :'include' => :'String',
@@ -85,6 +90,10 @@ module DatadogAPIClient::V2
85
90
  end
86
91
  }
87
92
 
93
+ if attributes.key?(:'display_name')
94
+ self.display_name = attributes[:'display_name']
95
+ end
96
+
88
97
  if attributes.key?(:'enabled')
89
98
  self.enabled = attributes[:'enabled']
90
99
  end
@@ -198,6 +207,7 @@ module DatadogAPIClient::V2
198
207
  def ==(o)
199
208
  return true if self.equal?(o)
200
209
  self.class == o.class &&
210
+ display_name == o.display_name &&
201
211
  enabled == o.enabled &&
202
212
  id == o.id &&
203
213
  include == o.include &&
@@ -211,7 +221,7 @@ module DatadogAPIClient::V2
211
221
  # @return [Integer] Hash code
212
222
  # @!visibility private
213
223
  def hash
214
- [enabled, id, include, percentage, rate, type, additional_properties].hash
224
+ [display_name, enabled, id, include, percentage, rate, type, additional_properties].hash
215
225
  end
216
226
  end
217
227
  end