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
@@ -64,6 +64,12 @@ module DatadogAPIClient::V1
64
64
  # The Application Security Monitoring Serverless traced invocations usage by tag(s).
65
65
  attr_accessor :asm_serverless_traced_invocations_usage
66
66
 
67
+ # The percentage of Bits AI `SRE` investigation usage by tag(s).
68
+ attr_accessor :bits_ai_investigations_percentage
69
+
70
+ # The Bits AI `SRE` investigation usage by tag(s).
71
+ attr_accessor :bits_ai_investigations_usage
72
+
67
73
  # The percentage of synthetic browser test usage by tag(s).
68
74
  attr_accessor :browser_percentage
69
75
 
@@ -202,6 +208,12 @@ module DatadogAPIClient::V1
202
208
  # The Fargate usage by tags.
203
209
  attr_accessor :fargate_usage
204
210
 
211
+ # The percentage of Flex Stored Logs usage by tags.
212
+ attr_accessor :flex_stored_logs_percentage
213
+
214
+ # The Flex Stored Logs usage by tags.
215
+ attr_accessor :flex_stored_logs_usage
216
+
205
217
  # The percentage of Lambda function usage by tag(s).
206
218
  attr_accessor :functions_percentage
207
219
 
@@ -256,6 +268,12 @@ module DatadogAPIClient::V1
256
268
  # The LLM Observability usage by tag(s).
257
269
  attr_accessor :llm_observability_usage
258
270
 
271
+ # The percentage of LLM Spans usage by tag(s).
272
+ attr_accessor :llm_spans_percentage
273
+
274
+ # The LLM Spans usage by tag(s).
275
+ attr_accessor :llm_spans_usage
276
+
259
277
  # The percentage of Indexed Logs (15-day Retention) usage by tag(s).
260
278
  attr_accessor :logs_indexed_15day_percentage
261
279
 
@@ -498,6 +516,8 @@ module DatadogAPIClient::V1
498
516
  :'appsec_usage' => :'appsec_usage',
499
517
  :'asm_serverless_traced_invocations_percentage' => :'asm_serverless_traced_invocations_percentage',
500
518
  :'asm_serverless_traced_invocations_usage' => :'asm_serverless_traced_invocations_usage',
519
+ :'bits_ai_investigations_percentage' => :'bits_ai_investigations_percentage',
520
+ :'bits_ai_investigations_usage' => :'bits_ai_investigations_usage',
501
521
  :'browser_percentage' => :'browser_percentage',
502
522
  :'browser_usage' => :'browser_usage',
503
523
  :'ci_pipeline_indexed_spans_percentage' => :'ci_pipeline_indexed_spans_percentage',
@@ -544,6 +564,8 @@ module DatadogAPIClient::V1
544
564
  :'estimated_ingested_spans_usage' => :'estimated_ingested_spans_usage',
545
565
  :'fargate_percentage' => :'fargate_percentage',
546
566
  :'fargate_usage' => :'fargate_usage',
567
+ :'flex_stored_logs_percentage' => :'flex_stored_logs_percentage',
568
+ :'flex_stored_logs_usage' => :'flex_stored_logs_usage',
547
569
  :'functions_percentage' => :'functions_percentage',
548
570
  :'functions_usage' => :'functions_usage',
549
571
  :'incident_management_monthly_active_users_percentage' => :'incident_management_monthly_active_users_percentage',
@@ -562,6 +584,8 @@ module DatadogAPIClient::V1
562
584
  :'lambda_traced_invocations_usage' => :'lambda_traced_invocations_usage',
563
585
  :'llm_observability_percentage' => :'llm_observability_percentage',
564
586
  :'llm_observability_usage' => :'llm_observability_usage',
587
+ :'llm_spans_percentage' => :'llm_spans_percentage',
588
+ :'llm_spans_usage' => :'llm_spans_usage',
565
589
  :'logs_indexed_15day_percentage' => :'logs_indexed_15day_percentage',
566
590
  :'logs_indexed_15day_usage' => :'logs_indexed_15day_usage',
567
591
  :'logs_indexed_180day_percentage' => :'logs_indexed_180day_percentage',
@@ -657,6 +681,8 @@ module DatadogAPIClient::V1
657
681
  :'appsec_usage' => :'Float',
658
682
  :'asm_serverless_traced_invocations_percentage' => :'Float',
659
683
  :'asm_serverless_traced_invocations_usage' => :'Float',
684
+ :'bits_ai_investigations_percentage' => :'Float',
685
+ :'bits_ai_investigations_usage' => :'Float',
660
686
  :'browser_percentage' => :'Float',
661
687
  :'browser_usage' => :'Float',
662
688
  :'ci_pipeline_indexed_spans_percentage' => :'Float',
@@ -703,6 +729,8 @@ module DatadogAPIClient::V1
703
729
  :'estimated_ingested_spans_usage' => :'Float',
704
730
  :'fargate_percentage' => :'Float',
705
731
  :'fargate_usage' => :'Float',
732
+ :'flex_stored_logs_percentage' => :'Float',
733
+ :'flex_stored_logs_usage' => :'Float',
706
734
  :'functions_percentage' => :'Float',
707
735
  :'functions_usage' => :'Float',
708
736
  :'incident_management_monthly_active_users_percentage' => :'Float',
@@ -721,6 +749,8 @@ module DatadogAPIClient::V1
721
749
  :'lambda_traced_invocations_usage' => :'Float',
722
750
  :'llm_observability_percentage' => :'Float',
723
751
  :'llm_observability_usage' => :'Float',
752
+ :'llm_spans_percentage' => :'Float',
753
+ :'llm_spans_usage' => :'Float',
724
754
  :'logs_indexed_15day_percentage' => :'Float',
725
755
  :'logs_indexed_15day_usage' => :'Float',
726
756
  :'logs_indexed_180day_percentage' => :'Float',
@@ -872,6 +902,14 @@ module DatadogAPIClient::V1
872
902
  self.asm_serverless_traced_invocations_usage = attributes[:'asm_serverless_traced_invocations_usage']
873
903
  end
874
904
 
905
+ if attributes.key?(:'bits_ai_investigations_percentage')
906
+ self.bits_ai_investigations_percentage = attributes[:'bits_ai_investigations_percentage']
907
+ end
908
+
909
+ if attributes.key?(:'bits_ai_investigations_usage')
910
+ self.bits_ai_investigations_usage = attributes[:'bits_ai_investigations_usage']
911
+ end
912
+
875
913
  if attributes.key?(:'browser_percentage')
876
914
  self.browser_percentage = attributes[:'browser_percentage']
877
915
  end
@@ -1056,6 +1094,14 @@ module DatadogAPIClient::V1
1056
1094
  self.fargate_usage = attributes[:'fargate_usage']
1057
1095
  end
1058
1096
 
1097
+ if attributes.key?(:'flex_stored_logs_percentage')
1098
+ self.flex_stored_logs_percentage = attributes[:'flex_stored_logs_percentage']
1099
+ end
1100
+
1101
+ if attributes.key?(:'flex_stored_logs_usage')
1102
+ self.flex_stored_logs_usage = attributes[:'flex_stored_logs_usage']
1103
+ end
1104
+
1059
1105
  if attributes.key?(:'functions_percentage')
1060
1106
  self.functions_percentage = attributes[:'functions_percentage']
1061
1107
  end
@@ -1128,6 +1174,14 @@ module DatadogAPIClient::V1
1128
1174
  self.llm_observability_usage = attributes[:'llm_observability_usage']
1129
1175
  end
1130
1176
 
1177
+ if attributes.key?(:'llm_spans_percentage')
1178
+ self.llm_spans_percentage = attributes[:'llm_spans_percentage']
1179
+ end
1180
+
1181
+ if attributes.key?(:'llm_spans_usage')
1182
+ self.llm_spans_usage = attributes[:'llm_spans_usage']
1183
+ end
1184
+
1131
1185
  if attributes.key?(:'logs_indexed_15day_percentage')
1132
1186
  self.logs_indexed_15day_percentage = attributes[:'logs_indexed_15day_percentage']
1133
1187
  end
@@ -1465,6 +1519,8 @@ module DatadogAPIClient::V1
1465
1519
  appsec_usage == o.appsec_usage &&
1466
1520
  asm_serverless_traced_invocations_percentage == o.asm_serverless_traced_invocations_percentage &&
1467
1521
  asm_serverless_traced_invocations_usage == o.asm_serverless_traced_invocations_usage &&
1522
+ bits_ai_investigations_percentage == o.bits_ai_investigations_percentage &&
1523
+ bits_ai_investigations_usage == o.bits_ai_investigations_usage &&
1468
1524
  browser_percentage == o.browser_percentage &&
1469
1525
  browser_usage == o.browser_usage &&
1470
1526
  ci_pipeline_indexed_spans_percentage == o.ci_pipeline_indexed_spans_percentage &&
@@ -1511,6 +1567,8 @@ module DatadogAPIClient::V1
1511
1567
  estimated_ingested_spans_usage == o.estimated_ingested_spans_usage &&
1512
1568
  fargate_percentage == o.fargate_percentage &&
1513
1569
  fargate_usage == o.fargate_usage &&
1570
+ flex_stored_logs_percentage == o.flex_stored_logs_percentage &&
1571
+ flex_stored_logs_usage == o.flex_stored_logs_usage &&
1514
1572
  functions_percentage == o.functions_percentage &&
1515
1573
  functions_usage == o.functions_usage &&
1516
1574
  incident_management_monthly_active_users_percentage == o.incident_management_monthly_active_users_percentage &&
@@ -1529,6 +1587,8 @@ module DatadogAPIClient::V1
1529
1587
  lambda_traced_invocations_usage == o.lambda_traced_invocations_usage &&
1530
1588
  llm_observability_percentage == o.llm_observability_percentage &&
1531
1589
  llm_observability_usage == o.llm_observability_usage &&
1590
+ llm_spans_percentage == o.llm_spans_percentage &&
1591
+ llm_spans_usage == o.llm_spans_usage &&
1532
1592
  logs_indexed_15day_percentage == o.logs_indexed_15day_percentage &&
1533
1593
  logs_indexed_15day_usage == o.logs_indexed_15day_usage &&
1534
1594
  logs_indexed_180day_percentage == o.logs_indexed_180day_percentage &&
@@ -1610,7 +1670,7 @@ module DatadogAPIClient::V1
1610
1670
  # @return [Integer] Hash code
1611
1671
  # @!visibility private
1612
1672
  def hash
1613
- [api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, asm_serverless_traced_invocations_percentage, asm_serverless_traced_invocations_usage, browser_percentage, browser_usage, ci_pipeline_indexed_spans_percentage, ci_pipeline_indexed_spans_usage, ci_test_indexed_spans_percentage, ci_test_indexed_spans_usage, ci_visibility_itr_percentage, ci_visibility_itr_usage, cloud_siem_percentage, cloud_siem_usage, code_security_host_percentage, code_security_host_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_event_percentage, custom_event_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_fargate_task_percentage, cws_fargate_task_usage, cws_hosts_percentage, cws_hosts_usage, data_jobs_monitoring_usage, data_stream_monitoring_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, error_tracking_percentage, error_tracking_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, incident_management_monthly_active_users_percentage, incident_management_monthly_active_users_usage, indexed_spans_percentage, indexed_spans_usage, infra_host_percentage, infra_host_usage, ingested_logs_bytes_percentage, ingested_logs_bytes_usage, ingested_spans_bytes_percentage, ingested_spans_bytes_usage, invocations_percentage, invocations_usage, lambda_traced_invocations_percentage, lambda_traced_invocations_usage, llm_observability_percentage, llm_observability_usage, logs_indexed_15day_percentage, logs_indexed_15day_usage, logs_indexed_180day_percentage, logs_indexed_180day_usage, logs_indexed_1day_percentage, logs_indexed_1day_usage, logs_indexed_30day_percentage, logs_indexed_30day_usage, logs_indexed_360day_percentage, logs_indexed_360day_usage, logs_indexed_3day_percentage, logs_indexed_3day_usage, logs_indexed_45day_percentage, logs_indexed_45day_usage, logs_indexed_60day_percentage, logs_indexed_60day_usage, logs_indexed_7day_percentage, logs_indexed_7day_usage, logs_indexed_90day_percentage, logs_indexed_90day_usage, logs_indexed_custom_retention_percentage, logs_indexed_custom_retention_usage, mobile_app_testing_percentage, mobile_app_testing_usage, ndm_netflow_percentage, ndm_netflow_usage, network_device_wireless_percentage, network_device_wireless_usage, npm_host_percentage, npm_host_usage, obs_pipeline_bytes_percentage, obs_pipeline_bytes_usage, obs_pipelines_vcpu_percentage, obs_pipelines_vcpu_usage, online_archive_percentage, online_archive_usage, product_analytics_session_percentage, product_analytics_session_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, published_app_percentage, published_app_usage, rum_browser_mobile_sessions_percentage, rum_browser_mobile_sessions_usage, rum_ingested_percentage, rum_ingested_usage, rum_investigate_percentage, rum_investigate_usage, rum_replay_sessions_percentage, rum_replay_sessions_usage, rum_session_replay_add_on_percentage, rum_session_replay_add_on_usage, sca_fargate_percentage, sca_fargate_usage, sds_scanned_bytes_percentage, sds_scanned_bytes_usage, serverless_apps_percentage, serverless_apps_usage, siem_analyzed_logs_add_on_percentage, siem_analyzed_logs_add_on_usage, siem_ingested_bytes_percentage, siem_ingested_bytes_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage, workflow_executions_percentage, workflow_executions_usage, additional_properties].hash
1673
+ [api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, asm_serverless_traced_invocations_percentage, asm_serverless_traced_invocations_usage, bits_ai_investigations_percentage, bits_ai_investigations_usage, browser_percentage, browser_usage, ci_pipeline_indexed_spans_percentage, ci_pipeline_indexed_spans_usage, ci_test_indexed_spans_percentage, ci_test_indexed_spans_usage, ci_visibility_itr_percentage, ci_visibility_itr_usage, cloud_siem_percentage, cloud_siem_usage, code_security_host_percentage, code_security_host_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_event_percentage, custom_event_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_fargate_task_percentage, cws_fargate_task_usage, cws_hosts_percentage, cws_hosts_usage, data_jobs_monitoring_usage, data_stream_monitoring_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, error_tracking_percentage, error_tracking_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, fargate_percentage, fargate_usage, flex_stored_logs_percentage, flex_stored_logs_usage, functions_percentage, functions_usage, incident_management_monthly_active_users_percentage, incident_management_monthly_active_users_usage, indexed_spans_percentage, indexed_spans_usage, infra_host_percentage, infra_host_usage, ingested_logs_bytes_percentage, ingested_logs_bytes_usage, ingested_spans_bytes_percentage, ingested_spans_bytes_usage, invocations_percentage, invocations_usage, lambda_traced_invocations_percentage, lambda_traced_invocations_usage, llm_observability_percentage, llm_observability_usage, llm_spans_percentage, llm_spans_usage, logs_indexed_15day_percentage, logs_indexed_15day_usage, logs_indexed_180day_percentage, logs_indexed_180day_usage, logs_indexed_1day_percentage, logs_indexed_1day_usage, logs_indexed_30day_percentage, logs_indexed_30day_usage, logs_indexed_360day_percentage, logs_indexed_360day_usage, logs_indexed_3day_percentage, logs_indexed_3day_usage, logs_indexed_45day_percentage, logs_indexed_45day_usage, logs_indexed_60day_percentage, logs_indexed_60day_usage, logs_indexed_7day_percentage, logs_indexed_7day_usage, logs_indexed_90day_percentage, logs_indexed_90day_usage, logs_indexed_custom_retention_percentage, logs_indexed_custom_retention_usage, mobile_app_testing_percentage, mobile_app_testing_usage, ndm_netflow_percentage, ndm_netflow_usage, network_device_wireless_percentage, network_device_wireless_usage, npm_host_percentage, npm_host_usage, obs_pipeline_bytes_percentage, obs_pipeline_bytes_usage, obs_pipelines_vcpu_percentage, obs_pipelines_vcpu_usage, online_archive_percentage, online_archive_usage, product_analytics_session_percentage, product_analytics_session_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, published_app_percentage, published_app_usage, rum_browser_mobile_sessions_percentage, rum_browser_mobile_sessions_usage, rum_ingested_percentage, rum_ingested_usage, rum_investigate_percentage, rum_investigate_usage, rum_replay_sessions_percentage, rum_replay_sessions_usage, rum_session_replay_add_on_percentage, rum_session_replay_add_on_usage, sca_fargate_percentage, sca_fargate_usage, sds_scanned_bytes_percentage, sds_scanned_bytes_usage, serverless_apps_percentage, serverless_apps_usage, siem_analyzed_logs_add_on_percentage, siem_analyzed_logs_add_on_usage, siem_ingested_bytes_percentage, siem_ingested_bytes_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage, workflow_executions_percentage, workflow_executions_usage, additional_properties].hash
1614
1674
  end
1615
1675
  end
1616
1676
  end
@@ -38,7 +38,7 @@ module DatadogAPIClient::V1
38
38
  # @!visibility private
39
39
  def self.openapi_types
40
40
  {
41
- :'tests' => :'Array<SyntheticsTestDetails>'
41
+ :'tests' => :'Array<SyntheticsTestDetailsWithoutSteps>'
42
42
  }
43
43
  end
44
44
 
@@ -49,7 +49,7 @@ module DatadogAPIClient::V1
49
49
  # Synthetic test.
50
50
  attr_accessor :status
51
51
 
52
- # For browser test, the steps of the test.
52
+ # The steps of the test if they exist.
53
53
  attr_accessor :steps
54
54
 
55
55
  # The subtype of the Synthetic API test, `http`, `ssl`, `tcp`,
@@ -0,0 +1,221 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # Object containing details about your Synthetic test, without test steps.
21
+ class SyntheticsTestDetailsWithoutSteps
22
+ include BaseGenericModel
23
+
24
+ # Configuration object for a Synthetic test.
25
+ attr_accessor :config
26
+
27
+ # Object describing the creator of the shared element.
28
+ attr_accessor :creator
29
+
30
+ # Array of locations used to run the test.
31
+ attr_accessor :locations
32
+
33
+ # Notification message associated with the test.
34
+ attr_accessor :message
35
+
36
+ # The associated monitor ID.
37
+ attr_accessor :monitor_id
38
+
39
+ # Name of the test.
40
+ attr_accessor :name
41
+
42
+ # Object describing the extra options for a Synthetic test.
43
+ attr_accessor :options
44
+
45
+ # The test public ID.
46
+ attr_accessor :public_id
47
+
48
+ # Define whether you want to start (`live`) or pause (`paused`) a
49
+ # Synthetic test.
50
+ attr_accessor :status
51
+
52
+ # The subtype of the Synthetic API test, `http`, `ssl`, `tcp`,
53
+ # `dns`, `icmp`, `udp`, `websocket`, `grpc` or `multi`.
54
+ attr_accessor :subtype
55
+
56
+ # Array of tags attached to the test.
57
+ attr_accessor :tags
58
+
59
+ # Type of the Synthetic test, either `api` or `browser`.
60
+ attr_accessor :type
61
+
62
+ attr_accessor :additional_properties
63
+
64
+ # Attribute mapping from ruby-style variable name to JSON key.
65
+ # @!visibility private
66
+ def self.attribute_map
67
+ {
68
+ :'config' => :'config',
69
+ :'creator' => :'creator',
70
+ :'locations' => :'locations',
71
+ :'message' => :'message',
72
+ :'monitor_id' => :'monitor_id',
73
+ :'name' => :'name',
74
+ :'options' => :'options',
75
+ :'public_id' => :'public_id',
76
+ :'status' => :'status',
77
+ :'subtype' => :'subtype',
78
+ :'tags' => :'tags',
79
+ :'type' => :'type'
80
+ }
81
+ end
82
+
83
+ # Attribute type mapping.
84
+ # @!visibility private
85
+ def self.openapi_types
86
+ {
87
+ :'config' => :'SyntheticsTestConfig',
88
+ :'creator' => :'Creator',
89
+ :'locations' => :'Array<String>',
90
+ :'message' => :'String',
91
+ :'monitor_id' => :'Integer',
92
+ :'name' => :'String',
93
+ :'options' => :'SyntheticsTestOptions',
94
+ :'public_id' => :'String',
95
+ :'status' => :'SyntheticsTestPauseStatus',
96
+ :'subtype' => :'SyntheticsTestDetailsSubType',
97
+ :'tags' => :'Array<String>',
98
+ :'type' => :'SyntheticsTestDetailsType'
99
+ }
100
+ end
101
+
102
+ # Initializes the object
103
+ # @param attributes [Hash] Model attributes in the form of hash
104
+ # @!visibility private
105
+ def initialize(attributes = {})
106
+ if (!attributes.is_a?(Hash))
107
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SyntheticsTestDetailsWithoutSteps` initialize method"
108
+ end
109
+
110
+ self.additional_properties = {}
111
+ # check to see if the attribute exists and convert string to symbol for hash key
112
+ attributes = attributes.each_with_object({}) { |(k, v), h|
113
+ if (!self.class.attribute_map.key?(k.to_sym))
114
+ self.additional_properties[k.to_sym] = v
115
+ else
116
+ h[k.to_sym] = v
117
+ end
118
+ }
119
+
120
+ if attributes.key?(:'config')
121
+ self.config = attributes[:'config']
122
+ end
123
+
124
+ if attributes.key?(:'creator')
125
+ self.creator = attributes[:'creator']
126
+ end
127
+
128
+ if attributes.key?(:'locations')
129
+ if (value = attributes[:'locations']).is_a?(Array)
130
+ self.locations = value
131
+ end
132
+ end
133
+
134
+ if attributes.key?(:'message')
135
+ self.message = attributes[:'message']
136
+ end
137
+
138
+ if attributes.key?(:'monitor_id')
139
+ self.monitor_id = attributes[:'monitor_id']
140
+ end
141
+
142
+ if attributes.key?(:'name')
143
+ self.name = attributes[:'name']
144
+ end
145
+
146
+ if attributes.key?(:'options')
147
+ self.options = attributes[:'options']
148
+ end
149
+
150
+ if attributes.key?(:'public_id')
151
+ self.public_id = attributes[:'public_id']
152
+ end
153
+
154
+ if attributes.key?(:'status')
155
+ self.status = attributes[:'status']
156
+ end
157
+
158
+ if attributes.key?(:'subtype')
159
+ self.subtype = attributes[:'subtype']
160
+ end
161
+
162
+ if attributes.key?(:'tags')
163
+ if (value = attributes[:'tags']).is_a?(Array)
164
+ self.tags = value
165
+ end
166
+ end
167
+
168
+ if attributes.key?(:'type')
169
+ self.type = attributes[:'type']
170
+ end
171
+ end
172
+
173
+ # Returns the object in the form of hash, with additionalProperties support.
174
+ # @return [Hash] Returns the object in the form of hash
175
+ # @!visibility private
176
+ def to_hash
177
+ hash = {}
178
+ self.class.attribute_map.each_pair do |attr, param|
179
+ value = self.send(attr)
180
+ if value.nil?
181
+ is_nullable = self.class.openapi_nullable.include?(attr)
182
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
183
+ end
184
+
185
+ hash[param] = _to_hash(value)
186
+ end
187
+ self.additional_properties.each_pair do |attr, value|
188
+ hash[attr] = value
189
+ end
190
+ hash
191
+ end
192
+
193
+ # Checks equality by comparing each attribute.
194
+ # @param o [Object] Object to be compared
195
+ # @!visibility private
196
+ def ==(o)
197
+ return true if self.equal?(o)
198
+ self.class == o.class &&
199
+ config == o.config &&
200
+ creator == o.creator &&
201
+ locations == o.locations &&
202
+ message == o.message &&
203
+ monitor_id == o.monitor_id &&
204
+ name == o.name &&
205
+ options == o.options &&
206
+ public_id == o.public_id &&
207
+ status == o.status &&
208
+ subtype == o.subtype &&
209
+ tags == o.tags &&
210
+ type == o.type &&
211
+ additional_properties == o.additional_properties
212
+ end
213
+
214
+ # Calculates hash code according to all attributes.
215
+ # @return [Integer] Hash code
216
+ # @!visibility private
217
+ def hash
218
+ [config, creator, locations, message, monitor_id, name, options, public_id, status, subtype, tags, type, additional_properties].hash
219
+ end
220
+ end
221
+ end
@@ -386,7 +386,7 @@ module DatadogAPIClient::V2
386
386
  #
387
387
  # @param deployment_id [String] The ID of the deployment event.
388
388
  # @param opts [Hash] the optional parameters
389
- # @return [Array<(DORAFetchResponse, Integer, Hash)>] DORAFetchResponse data, response status code and response headers
389
+ # @return [Array<(DORADeploymentFetchResponse, Integer, Hash)>] DORADeploymentFetchResponse data, response status code and response headers
390
390
  def get_dora_deployment_with_http_info(deployment_id, opts = {})
391
391
 
392
392
  if @api_client.config.debugging
@@ -414,7 +414,7 @@ module DatadogAPIClient::V2
414
414
  post_body = opts[:debug_body]
415
415
 
416
416
  # return_type
417
- return_type = opts[:debug_return_type] || 'DORAFetchResponse'
417
+ return_type = opts[:debug_return_type] || 'DORADeploymentFetchResponse'
418
418
 
419
419
  # auth_names
420
420
  auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
@@ -451,7 +451,7 @@ module DatadogAPIClient::V2
451
451
  #
452
452
  # @param failure_id [String] The ID of the failure event.
453
453
  # @param opts [Hash] the optional parameters
454
- # @return [Array<(DORAFetchResponse, Integer, Hash)>] DORAFetchResponse data, response status code and response headers
454
+ # @return [Array<(DORAFailureFetchResponse, Integer, Hash)>] DORAFailureFetchResponse data, response status code and response headers
455
455
  def get_dora_failure_with_http_info(failure_id, opts = {})
456
456
 
457
457
  if @api_client.config.debugging
@@ -479,7 +479,7 @@ module DatadogAPIClient::V2
479
479
  post_body = opts[:debug_body]
480
480
 
481
481
  # return_type
482
- return_type = opts[:debug_return_type] || 'DORAFetchResponse'
482
+ return_type = opts[:debug_return_type] || 'DORAFailureFetchResponse'
483
483
 
484
484
  # auth_names
485
485
  auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
@@ -516,7 +516,7 @@ module DatadogAPIClient::V2
516
516
  #
517
517
  # @param body [DORAListDeploymentsRequest]
518
518
  # @param opts [Hash] the optional parameters
519
- # @return [Array<(DORAListResponse, Integer, Hash)>] DORAListResponse data, response status code and response headers
519
+ # @return [Array<(DORADeploymentsListResponse, Integer, Hash)>] DORADeploymentsListResponse data, response status code and response headers
520
520
  def list_dora_deployments_with_http_info(body, opts = {})
521
521
 
522
522
  if @api_client.config.debugging
@@ -546,7 +546,7 @@ module DatadogAPIClient::V2
546
546
  post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
547
547
 
548
548
  # return_type
549
- return_type = opts[:debug_return_type] || 'DORAListResponse'
549
+ return_type = opts[:debug_return_type] || 'DORADeploymentsListResponse'
550
550
 
551
551
  # auth_names
552
552
  auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
@@ -583,7 +583,7 @@ module DatadogAPIClient::V2
583
583
  #
584
584
  # @param body [DORAListFailuresRequest]
585
585
  # @param opts [Hash] the optional parameters
586
- # @return [Array<(DORAListResponse, Integer, Hash)>] DORAListResponse data, response status code and response headers
586
+ # @return [Array<(DORAFailuresListResponse, Integer, Hash)>] DORAFailuresListResponse data, response status code and response headers
587
587
  def list_dora_failures_with_http_info(body, opts = {})
588
588
 
589
589
  if @api_client.config.debugging
@@ -613,7 +613,7 @@ module DatadogAPIClient::V2
613
613
  post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
614
614
 
615
615
  # return_type
616
- return_type = opts[:debug_return_type] || 'DORAListResponse'
616
+ return_type = opts[:debug_return_type] || 'DORAFailuresListResponse'
617
617
 
618
618
  # auth_names
619
619
  auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]