datadog_api_client 2.20.0 → 2.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (267) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/conftest.py +5 -0
  4. data/.generator/schemas/v1/openapi.yaml +502 -754
  5. data/.generator/schemas/v2/openapi.yaml +2903 -102
  6. data/.github/workflows/prepare_release.yml +2 -2
  7. data/.github/workflows/publish.yml +2 -2
  8. data/.github/workflows/release.yml +2 -2
  9. data/.github/workflows/test.yml +1 -1
  10. data/CHANGELOG.md +52 -0
  11. data/Gemfile +1 -1
  12. data/examples/v1/aws-integration/CreateAWSAccount.rb +1 -1
  13. data/examples/v1/aws-integration/CreateNewAWSExternalID.rb +1 -0
  14. data/examples/v1/aws-integration/UpdateAWSAccount.rb +1 -1
  15. data/examples/v1/gcp-integration/CreateGCPIntegration.rb +3 -0
  16. data/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.rb +25 -0
  17. data/examples/v1/synthetics/CreateSyntheticsAPITest_1241981394.rb +118 -0
  18. data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +29 -0
  19. data/examples/v1/synthetics/UpdateBrowserTest.rb +4 -0
  20. data/examples/v2/apm-retention-filters/UpdateApmRetentionFilter.rb +2 -2
  21. data/examples/v2/authn-mappings/CreateAuthNMapping.rb +1 -1
  22. data/examples/v2/authn-mappings/UpdateAuthNMapping.rb +1 -1
  23. data/examples/v2/case-management/ArchiveCase.rb +14 -0
  24. data/examples/v2/case-management/AssignCase.rb +20 -0
  25. data/examples/v2/case-management/CreateCase.rb +33 -0
  26. data/examples/v2/case-management/CreateProject.rb +15 -0
  27. data/examples/v2/case-management/DeleteProject.rb +5 -0
  28. data/examples/v2/case-management/GetCase.rb +8 -0
  29. data/examples/v2/case-management/GetProject.rb +5 -0
  30. data/examples/v2/case-management/GetProjects.rb +5 -0
  31. data/examples/v2/case-management/SearchCases.rb +5 -0
  32. data/examples/v2/case-management/SearchCases_3433960044.rb +5 -0
  33. data/examples/v2/case-management/UnarchiveCase.rb +14 -0
  34. data/examples/v2/case-management/UnassignCase.rb +14 -0
  35. data/examples/v2/case-management/UpdatePriority.rb +17 -0
  36. data/examples/v2/case-management/UpdateStatus.rb +17 -0
  37. data/examples/v2/cloud-workload-security/CreateCSMThreatsAgentRule.rb +17 -0
  38. data/examples/v2/cloud-workload-security/DeleteCSMThreatsAgentRule.rb +8 -0
  39. data/examples/v2/cloud-workload-security/DownloadCSMThreatsPolicy.rb +5 -0
  40. data/examples/v2/cloud-workload-security/GetCSMThreatsAgentRule.rb +8 -0
  41. data/examples/v2/cloud-workload-security/ListCSMThreatsAgentRules.rb +5 -0
  42. data/examples/v2/cloud-workload-security/UpdateCSMThreatsAgentRule.rb +20 -0
  43. data/examples/v2/dora-metrics/CreateDORAIncident.rb +6 -3
  44. data/examples/v2/gcp-integration/CreateGCPSTSAccount.rb +1 -1
  45. data/examples/v2/gcp-integration/CreateGCPSTSAccount_109518525.rb +1 -1
  46. data/examples/v2/gcp-integration/CreateGCPSTSAccount_130557025.rb +1 -1
  47. data/examples/v2/gcp-integration/CreateGCPSTSAccount_194782945.rb +18 -0
  48. data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +1 -1
  49. data/examples/v2/gcp-integration/CreateGCPSTSAccount_4235664992.rb +1 -1
  50. data/examples/v2/gcp-integration/UpdateGCPSTSAccount.rb +1 -1
  51. data/examples/v2/gcp-integration/UpdateGCPSTSAccount_2241994060.rb +21 -0
  52. data/examples/v2/gcp-integration/UpdateGCPSTSAccount_3205636354.rb +1 -1
  53. data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination.rb +31 -0
  54. data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1091442807.rb +31 -0
  55. data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1288180912.rb +27 -0
  56. data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_141236188.rb +32 -0
  57. data/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_2184123765.rb +31 -0
  58. data/examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb +8 -0
  59. data/examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb +8 -0
  60. data/examples/v2/logs-custom-destinations/ListLogsCustomDestinations.rb +5 -0
  61. data/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.rb +22 -0
  62. data/examples/v2/metrics/ListMetricAssets.rb +5 -0
  63. data/examples/v2/metrics/QueryScalarData_3112571352.rb +2 -2
  64. data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +3 -3
  65. data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression_3192265332.rb +19 -0
  66. data/examples/v2/security-monitoring/ValidateSecurityMonitoringRule.rb +42 -0
  67. data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +4 -0
  68. data/examples/v2/service-level-objectives/CreateSLOReportJob.rb +20 -0
  69. data/examples/v2/service-level-objectives/GetSLOReport.rb +8 -0
  70. data/examples/v2/service-level-objectives/GetSLOReportJobStatus.rb +11 -0
  71. data/lib/datadog_api_client/configuration.rb +3 -0
  72. data/lib/datadog_api_client/inflector.rb +132 -7
  73. data/lib/datadog_api_client/v1/api/monitors_api.rb +1 -3
  74. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +104 -131
  75. data/lib/datadog_api_client/v1/models/aws_account.rb +12 -2
  76. data/lib/datadog_api_client/v1/models/gcp_account.rb +14 -1
  77. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +8 -0
  78. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb +1 -0
  79. data/lib/datadog_api_client/v1/models/monitor_options.rb +4 -1
  80. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +12 -0
  81. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +124 -4
  82. data/lib/datadog_api_client/v1/models/series.rb +1 -1
  83. data/lib/datadog_api_client/v1/models/slo_time_slice_condition.rb +14 -2
  84. data/lib/datadog_api_client/v1/models/slo_time_slice_interval.rb +29 -0
  85. data/lib/datadog_api_client/v1/models/slo_time_slice_spec.rb +1 -1
  86. data/lib/datadog_api_client/v1/models/synthetics_api_step_subtype.rb +1 -0
  87. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +23 -1
  88. data/lib/datadog_api_client/v1/models/synthetics_test_request_body_file.rb +175 -0
  89. data/lib/datadog_api_client/v1/models/synthetics_test_request_body_type.rb +2 -0
  90. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +81 -1
  91. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +83 -3
  92. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +182 -102
  93. data/lib/datadog_api_client/v2/api/apm_retention_filters_api.rb +6 -0
  94. data/lib/datadog_api_client/v2/api/case_management_api.rb +942 -0
  95. data/lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb +2 -2
  96. data/lib/datadog_api_client/v2/api/cloud_workload_security_api.rb +392 -0
  97. data/lib/datadog_api_client/v2/api/incident_services_api.rb +15 -0
  98. data/lib/datadog_api_client/v2/api/logs_custom_destinations_api.rb +355 -0
  99. data/lib/datadog_api_client/v2/api/metrics_api.rb +70 -2
  100. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +67 -0
  101. data/lib/datadog_api_client/v2/api/service_definition_api.rb +2 -1
  102. data/lib/datadog_api_client/v2/api/service_level_objectives_api.rb +245 -0
  103. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +15 -6
  104. data/lib/datadog_api_client/v2/models/authn_mapping_create_data.rb +1 -1
  105. data/lib/datadog_api_client/v2/models/authn_mapping_create_relationships.rb +37 -54
  106. data/lib/datadog_api_client/v2/models/authn_mapping_included.rb +2 -1
  107. data/lib/datadog_api_client/v2/models/authn_mapping_relationship_to_role.rb +98 -0
  108. data/lib/datadog_api_client/v2/models/authn_mapping_relationship_to_team.rb +98 -0
  109. data/lib/datadog_api_client/v2/models/authn_mapping_relationships.rb +14 -4
  110. data/lib/datadog_api_client/v2/models/authn_mapping_team.rb +100 -0
  111. data/lib/datadog_api_client/v2/models/authn_mapping_team_attributes.rb +212 -0
  112. data/lib/datadog_api_client/v2/models/authn_mapping_update_data.rb +1 -1
  113. data/lib/datadog_api_client/v2/models/authn_mapping_update_relationships.rb +37 -54
  114. data/lib/datadog_api_client/v2/models/case.rb +150 -0
  115. data/lib/datadog_api_client/v2/models/case3rd_party_ticket_status.rb +28 -0
  116. data/lib/datadog_api_client/v2/models/case_assign.rb +119 -0
  117. data/lib/datadog_api_client/v2/models/case_assign_attributes.rb +98 -0
  118. data/lib/datadog_api_client/v2/models/case_assign_request.rb +98 -0
  119. data/lib/datadog_api_client/v2/models/case_attributes.rb +202 -0
  120. data/lib/datadog_api_client/v2/models/case_create.rb +129 -0
  121. data/lib/datadog_api_client/v2/models/case_create_attributes.rb +139 -0
  122. data/lib/datadog_api_client/v2/models/case_create_relationships.rb +116 -0
  123. data/lib/datadog_api_client/v2/models/case_create_request.rb +98 -0
  124. data/lib/datadog_api_client/v2/models/case_empty.rb +98 -0
  125. data/lib/datadog_api_client/v2/models/case_empty_request.rb +98 -0
  126. data/lib/datadog_api_client/v2/models/case_priority.rb +31 -0
  127. data/lib/datadog_api_client/v2/models/case_relationships.rb +120 -0
  128. data/lib/datadog_api_client/v2/models/case_resource_type.rb +26 -0
  129. data/lib/datadog_api_client/v2/models/case_response.rb +80 -0
  130. data/lib/datadog_api_client/v2/models/case_sortable_field.rb +28 -0
  131. data/lib/datadog_api_client/v2/models/case_status.rb +28 -0
  132. data/lib/datadog_api_client/v2/models/case_type.rb +26 -0
  133. data/lib/datadog_api_client/v2/models/case_update_priority.rb +119 -0
  134. data/lib/datadog_api_client/v2/models/case_update_priority_attributes.rb +98 -0
  135. data/lib/datadog_api_client/v2/models/case_update_priority_request.rb +98 -0
  136. data/lib/datadog_api_client/v2/models/case_update_status.rb +119 -0
  137. data/lib/datadog_api_client/{v1/models/usage_attribution_pagination.rb → v2/models/case_update_status_attributes.rb} +29 -51
  138. data/lib/datadog_api_client/v2/models/case_update_status_request.rb +98 -0
  139. data/lib/datadog_api_client/{v1/models/usage_attribution_metadata.rb → v2/models/cases_response.rb} +22 -22
  140. data/lib/datadog_api_client/v2/models/cases_response_meta.rb +80 -0
  141. data/lib/datadog_api_client/v2/models/cases_response_meta_pagination.rb +100 -0
  142. data/lib/datadog_api_client/v2/models/ci_app_aggregate_sort.rb +1 -1
  143. data/lib/datadog_api_client/v2/models/ci_app_pipelines_group_by.rb +1 -1
  144. data/lib/datadog_api_client/v2/models/ci_app_tests_group_by.rb +1 -1
  145. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action.rb +90 -0
  146. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +21 -1
  147. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_kill.rb +80 -0
  148. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +11 -1
  149. data/lib/datadog_api_client/v2/models/custom_destination_attribute_tags_restriction_list_type.rb +31 -0
  150. data/lib/datadog_api_client/v2/models/custom_destination_create_request.rb +80 -0
  151. data/lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb +193 -0
  152. data/lib/datadog_api_client/v2/models/custom_destination_create_request_definition.rb +119 -0
  153. data/lib/datadog_api_client/v2/models/custom_destination_elasticsearch_destination_auth.rb +119 -0
  154. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination.rb +64 -0
  155. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_elasticsearch.rb +181 -0
  156. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_elasticsearch_type.rb +26 -0
  157. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_http.rb +141 -0
  158. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_http_type.rb +26 -0
  159. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_splunk.rb +141 -0
  160. data/lib/datadog_api_client/v2/models/custom_destination_forward_destination_splunk_type.rb +26 -0
  161. data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth.rb +63 -0
  162. data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_basic.rb +140 -0
  163. data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_basic_type.rb +26 -0
  164. data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_custom_header.rb +140 -0
  165. data/lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_custom_header_type.rb +26 -0
  166. data/lib/datadog_api_client/v2/models/custom_destination_response.rb +80 -0
  167. data/lib/datadog_api_client/v2/models/custom_destination_response_attributes.rb +171 -0
  168. data/lib/datadog_api_client/v2/models/custom_destination_response_definition.rb +100 -0
  169. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination.rb +64 -0
  170. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_elasticsearch.rb +181 -0
  171. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_elasticsearch_type.rb +26 -0
  172. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_http.rb +141 -0
  173. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_http_type.rb +26 -0
  174. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_splunk.rb +120 -0
  175. data/lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_splunk_type.rb +26 -0
  176. data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth.rb +63 -0
  177. data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_basic.rb +98 -0
  178. data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_basic_type.rb +26 -0
  179. data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_custom_header.rb +119 -0
  180. data/lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_custom_header_type.rb +26 -0
  181. data/lib/datadog_api_client/v2/models/custom_destination_type.rb +26 -0
  182. data/lib/datadog_api_client/v2/models/custom_destination_update_request.rb +80 -0
  183. data/lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb +169 -0
  184. data/lib/datadog_api_client/v2/models/custom_destination_update_request_definition.rb +129 -0
  185. data/lib/datadog_api_client/v2/models/custom_destinations_response.rb +82 -0
  186. data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +1 -1
  187. data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +21 -20
  188. data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +14 -1
  189. data/lib/datadog_api_client/v2/models/jira_issue.rb +90 -0
  190. data/lib/datadog_api_client/v2/models/jira_issue_result.rb +110 -0
  191. data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +1 -12
  192. data/lib/datadog_api_client/v2/models/metric_asset_attributes.rb +80 -0
  193. data/lib/datadog_api_client/v2/models/metric_asset_dashboard_relationship.rb +90 -0
  194. data/lib/datadog_api_client/v2/models/metric_asset_dashboard_relationships.rb +82 -0
  195. data/lib/datadog_api_client/v2/models/metric_asset_monitor_relationship.rb +90 -0
  196. data/lib/datadog_api_client/v2/models/metric_asset_monitor_relationships.rb +82 -0
  197. data/lib/datadog_api_client/v2/models/metric_asset_notebook_relationship.rb +90 -0
  198. data/lib/datadog_api_client/v2/models/metric_asset_notebook_relationships.rb +82 -0
  199. data/lib/datadog_api_client/v2/models/metric_asset_response_data.rb +129 -0
  200. data/lib/datadog_api_client/v2/models/metric_asset_response_included.rb +65 -0
  201. data/lib/datadog_api_client/v2/models/metric_asset_response_relationships.rb +110 -0
  202. data/lib/datadog_api_client/v2/models/metric_asset_slo_relationship.rb +90 -0
  203. data/lib/datadog_api_client/v2/models/metric_asset_slo_relationships.rb +82 -0
  204. data/lib/datadog_api_client/v2/models/metric_assets_response.rb +92 -0
  205. data/lib/datadog_api_client/v2/models/metric_dashboard_asset.rb +129 -0
  206. data/lib/datadog_api_client/v2/models/metric_dashboard_attributes.rb +112 -0
  207. data/lib/datadog_api_client/v2/models/metric_dashboard_type.rb +26 -0
  208. data/lib/datadog_api_client/v2/models/metric_monitor_asset.rb +129 -0
  209. data/lib/datadog_api_client/v2/models/metric_monitor_type.rb +26 -0
  210. data/lib/datadog_api_client/v2/models/metric_notebook_asset.rb +129 -0
  211. data/lib/datadog_api_client/v2/models/metric_notebook_type.rb +26 -0
  212. data/lib/datadog_api_client/v2/models/metric_series.rb +1 -1
  213. data/lib/datadog_api_client/v2/models/metric_slo_asset.rb +129 -0
  214. data/lib/datadog_api_client/v2/models/metric_slo_type.rb +26 -0
  215. data/lib/datadog_api_client/{v1/models/usage_attribution_response.rb → v2/models/nullable_user_relationship.rb} +22 -26
  216. data/lib/datadog_api_client/v2/models/nullable_user_relationship_data.rb +119 -0
  217. data/lib/datadog_api_client/v2/models/project.rb +150 -0
  218. data/lib/datadog_api_client/v2/models/project_attributes.rb +90 -0
  219. data/lib/datadog_api_client/v2/models/project_create.rb +119 -0
  220. data/lib/datadog_api_client/v2/models/project_create_attributes.rb +119 -0
  221. data/lib/datadog_api_client/v2/models/project_create_request.rb +98 -0
  222. data/lib/datadog_api_client/v2/models/project_relationship.rb +98 -0
  223. data/lib/datadog_api_client/v2/models/project_relationship_data.rb +119 -0
  224. data/lib/datadog_api_client/v2/models/project_relationships.rb +90 -0
  225. data/lib/datadog_api_client/v2/models/project_resource_type.rb +26 -0
  226. data/lib/datadog_api_client/v2/models/project_response.rb +80 -0
  227. data/lib/datadog_api_client/v2/models/projects_response.rb +82 -0
  228. data/lib/datadog_api_client/v2/models/relationship_to_team.rb +80 -0
  229. data/lib/datadog_api_client/v2/models/relationship_to_team_data.rb +90 -0
  230. data/lib/datadog_api_client/v2/models/retention_filter_update_attributes.rb +183 -0
  231. data/lib/datadog_api_client/v2/models/retention_filter_update_data.rb +1 -1
  232. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +1 -1
  233. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +1 -1
  234. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response.rb +1 -1
  235. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +1 -1
  236. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +1 -1
  237. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb +11 -1
  238. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb +13 -14
  239. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb +11 -1
  240. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +1 -1
  241. data/lib/datadog_api_client/v2/models/service_definition_v2_dot2.rb +13 -1
  242. data/lib/datadog_api_client/v2/models/service_now_ticket.rb +90 -0
  243. data/lib/datadog_api_client/v2/models/service_now_ticket_result.rb +80 -0
  244. data/lib/datadog_api_client/v2/models/slo_report_create_request.rb +98 -0
  245. data/lib/datadog_api_client/v2/models/slo_report_create_request_attributes.rb +160 -0
  246. data/lib/datadog_api_client/v2/models/slo_report_create_request_data.rb +98 -0
  247. data/lib/datadog_api_client/v2/models/slo_report_interval.rb +27 -0
  248. data/lib/datadog_api_client/v2/models/slo_report_post_response.rb +80 -0
  249. data/lib/datadog_api_client/v2/models/slo_report_post_response_data.rb +90 -0
  250. data/lib/datadog_api_client/v2/models/slo_report_status.rb +29 -0
  251. data/lib/datadog_api_client/v2/models/slo_report_status_get_response.rb +80 -0
  252. data/lib/datadog_api_client/v2/models/slo_report_status_get_response_attributes.rb +80 -0
  253. data/lib/datadog_api_client/v2/models/slo_report_status_get_response_data.rb +100 -0
  254. data/lib/datadog_api_client/v2/models/timeseries_response_series.rb +8 -0
  255. data/lib/datadog_api_client/v2/models/user_relationship_data.rb +119 -0
  256. data/lib/datadog_api_client/v2/models/user_resource_type.rb +26 -0
  257. data/lib/datadog_api_client/v2/models/user_team_included.rb +62 -0
  258. data/lib/datadog_api_client/v2/models/user_team_response.rb +16 -4
  259. data/lib/datadog_api_client/v2/models/user_teams_response.rb +13 -1
  260. data/lib/datadog_api_client/v2/models/users_relationship.rb +100 -0
  261. data/lib/datadog_api_client/version.rb +1 -1
  262. metadata +196 -33
  263. data/examples/v1/usage-metering/GetUsageAttribution.rb +0 -9
  264. data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +0 -152
  265. data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +0 -61
  266. data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +0 -72
  267. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +0 -590
@@ -1,5 +1,5 @@
1
1
  # Define library version.
2
2
 
3
3
  module DatadogAPIClient
4
- VERSION = '2.20.0'
4
+ VERSION = '2.22.0'
5
5
  end
metadata CHANGED
@@ -1,95 +1,95 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datadog_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.20.0
4
+ version: 2.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datadog, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-06 00:00:00.000000000 Z
11
+ date: 2024-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 0.20.0
20
17
  - - "~>"
21
18
  - !ruby/object:Gem::Version
22
19
  version: '0.20'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.20.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 0.20.0
30
27
  - - "~>"
31
28
  - !ruby/object:Gem::Version
32
29
  version: '0.20'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.20.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: zeitwerk
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 2.6.0
40
37
  - - "~>"
41
38
  - !ruby/object:Gem::Version
42
39
  version: '2.6'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.6.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 2.6.0
50
47
  - - "~>"
51
48
  - !ruby/object:Gem::Version
52
49
  version: '2.6'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.6.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: uuidtools
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
57
+ - - "~>"
58
58
  - !ruby/object:Gem::Version
59
59
  version: 2.1.5
60
- - - "~>"
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: 2.1.5
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - "~>"
68
68
  - !ruby/object:Gem::Version
69
69
  version: 2.1.5
70
- - - "~>"
70
+ - - ">="
71
71
  - !ruby/object:Gem::Version
72
72
  version: 2.1.5
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rspec
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: 3.6.0
80
77
  - - "~>"
81
78
  - !ruby/object:Gem::Version
82
79
  version: '3.6'
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 3.6.0
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: 3.6.0
90
87
  - - "~>"
91
88
  - !ruby/object:Gem::Version
92
89
  version: '3.6'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 3.6.0
93
93
  description: Collection of all Datadog Public API endpoints.
94
94
  email:
95
95
  - support@datadoghq.com
@@ -291,6 +291,7 @@ files:
291
291
  - examples/v1/gcp-integration/DeleteGCPIntegration.rb
292
292
  - examples/v1/gcp-integration/ListGCPIntegration.rb
293
293
  - examples/v1/gcp-integration/UpdateGCPIntegration.rb
294
+ - examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.rb
294
295
  - examples/v1/hosts/GetHostTotals.rb
295
296
  - examples/v1/hosts/ListHosts.rb
296
297
  - examples/v1/hosts/ListHosts_2975406675.rb
@@ -408,6 +409,7 @@ files:
408
409
  - examples/v1/synthetics/CreatePrivateLocation.rb
409
410
  - examples/v1/synthetics/CreateSyntheticsAPITest.rb
410
411
  - examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.rb
412
+ - examples/v1/synthetics/CreateSyntheticsAPITest_1241981394.rb
411
413
  - examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb
412
414
  - examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb
413
415
  - examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb
@@ -461,7 +463,6 @@ files:
461
463
  - examples/v1/usage-metering/GetSpecifiedDailyCustomReports.rb
462
464
  - examples/v1/usage-metering/GetSpecifiedMonthlyCustomReports.rb
463
465
  - examples/v1/usage-metering/GetUsageAnalyzedLogs.rb
464
- - examples/v1/usage-metering/GetUsageAttribution.rb
465
466
  - examples/v1/usage-metering/GetUsageAuditLogs.rb
466
467
  - examples/v1/usage-metering/GetUsageBillableSummary.rb
467
468
  - examples/v1/usage-metering/GetUsageCIApp.rb
@@ -535,6 +536,20 @@ files:
535
536
  - examples/v2/authn-mappings/GetAuthNMapping.rb
536
537
  - examples/v2/authn-mappings/ListAuthNMappings.rb
537
538
  - examples/v2/authn-mappings/UpdateAuthNMapping.rb
539
+ - examples/v2/case-management/ArchiveCase.rb
540
+ - examples/v2/case-management/AssignCase.rb
541
+ - examples/v2/case-management/CreateCase.rb
542
+ - examples/v2/case-management/CreateProject.rb
543
+ - examples/v2/case-management/DeleteProject.rb
544
+ - examples/v2/case-management/GetCase.rb
545
+ - examples/v2/case-management/GetProject.rb
546
+ - examples/v2/case-management/GetProjects.rb
547
+ - examples/v2/case-management/SearchCases.rb
548
+ - examples/v2/case-management/SearchCases_3433960044.rb
549
+ - examples/v2/case-management/UnarchiveCase.rb
550
+ - examples/v2/case-management/UnassignCase.rb
551
+ - examples/v2/case-management/UpdatePriority.rb
552
+ - examples/v2/case-management/UpdateStatus.rb
538
553
  - examples/v2/ci-visibility-pipelines/AggregateCIAppPipelineEvents.rb
539
554
  - examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent.rb
540
555
  - examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb
@@ -557,11 +572,17 @@ files:
557
572
  - examples/v2/cloud-cost-management/ListCostAzureUCConfigs.rb
558
573
  - examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb
559
574
  - examples/v2/cloud-cost-management/UpdateCostAzureUCConfigs.rb
575
+ - examples/v2/cloud-workload-security/CreateCSMThreatsAgentRule.rb
560
576
  - examples/v2/cloud-workload-security/CreateCloudWorkloadSecurityAgentRule.rb
577
+ - examples/v2/cloud-workload-security/DeleteCSMThreatsAgentRule.rb
561
578
  - examples/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb
579
+ - examples/v2/cloud-workload-security/DownloadCSMThreatsPolicy.rb
562
580
  - examples/v2/cloud-workload-security/DownloadCloudWorkloadPolicyFile.rb
581
+ - examples/v2/cloud-workload-security/GetCSMThreatsAgentRule.rb
563
582
  - examples/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb
583
+ - examples/v2/cloud-workload-security/ListCSMThreatsAgentRules.rb
564
584
  - examples/v2/cloud-workload-security/ListCloudWorkloadSecurityAgentRules.rb
585
+ - examples/v2/cloud-workload-security/UpdateCSMThreatsAgentRule.rb
565
586
  - examples/v2/cloud-workload-security/UpdateCloudWorkloadSecurityAgentRule.rb
566
587
  - examples/v2/cloudflare-integration/CreateCloudflareAccount.rb
567
588
  - examples/v2/cloudflare-integration/DeleteCloudflareAccount.rb
@@ -620,6 +641,7 @@ files:
620
641
  - examples/v2/gcp-integration/CreateGCPSTSAccount.rb
621
642
  - examples/v2/gcp-integration/CreateGCPSTSAccount_109518525.rb
622
643
  - examples/v2/gcp-integration/CreateGCPSTSAccount_130557025.rb
644
+ - examples/v2/gcp-integration/CreateGCPSTSAccount_194782945.rb
623
645
  - examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb
624
646
  - examples/v2/gcp-integration/CreateGCPSTSAccount_4235664992.rb
625
647
  - examples/v2/gcp-integration/DeleteGCPSTSAccount.rb
@@ -628,6 +650,7 @@ files:
628
650
  - examples/v2/gcp-integration/MakeGCPSTSDelegate.rb
629
651
  - examples/v2/gcp-integration/MakeGCPSTSDelegate_962598975.rb
630
652
  - examples/v2/gcp-integration/UpdateGCPSTSAccount.rb
653
+ - examples/v2/gcp-integration/UpdateGCPSTSAccount_2241994060.rb
631
654
  - examples/v2/gcp-integration/UpdateGCPSTSAccount_3205636354.rb
632
655
  - examples/v2/incident-services/CreateIncidentService.rb
633
656
  - examples/v2/incident-services/DeleteIncidentService.rb
@@ -690,6 +713,15 @@ files:
690
713
  - examples/v2/logs-archives/RemoveRoleFromArchive.rb
691
714
  - examples/v2/logs-archives/UpdateLogsArchive.rb
692
715
  - examples/v2/logs-archives/UpdateLogsArchiveOrder.rb
716
+ - examples/v2/logs-custom-destinations/CreateLogsCustomDestination.rb
717
+ - examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1091442807.rb
718
+ - examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1288180912.rb
719
+ - examples/v2/logs-custom-destinations/CreateLogsCustomDestination_141236188.rb
720
+ - examples/v2/logs-custom-destinations/CreateLogsCustomDestination_2184123765.rb
721
+ - examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.rb
722
+ - examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb
723
+ - examples/v2/logs-custom-destinations/ListLogsCustomDestinations.rb
724
+ - examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.rb
693
725
  - examples/v2/logs-metrics/CreateLogsMetric.rb
694
726
  - examples/v2/logs-metrics/DeleteLogsMetric.rb
695
727
  - examples/v2/logs-metrics/GetLogsMetric.rb
@@ -713,6 +745,7 @@ files:
713
745
  - examples/v2/metrics/DeleteTagConfiguration.rb
714
746
  - examples/v2/metrics/EstimateMetricsOutputSeries.rb
715
747
  - examples/v2/metrics/ListActiveMetricConfigurations.rb
748
+ - examples/v2/metrics/ListMetricAssets.rb
716
749
  - examples/v2/metrics/ListTagConfigurationByName.rb
717
750
  - examples/v2/metrics/ListTagConfigurations.rb
718
751
  - examples/v2/metrics/ListTagConfigurations_265033704.rb
@@ -784,6 +817,7 @@ files:
784
817
  - examples/v2/security-monitoring/CreateSecurityMonitoringRule_498211763.rb
785
818
  - examples/v2/security-monitoring/CreateSecurityMonitoringRule_914562040.rb
786
819
  - examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb
820
+ - examples/v2/security-monitoring/CreateSecurityMonitoringSuppression_3192265332.rb
787
821
  - examples/v2/security-monitoring/DeleteSecurityFilter.rb
788
822
  - examples/v2/security-monitoring/DeleteSecurityFilter_555029489.rb
789
823
  - examples/v2/security-monitoring/DeleteSecurityMonitoringRule.rb
@@ -811,6 +845,7 @@ files:
811
845
  - examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb
812
846
  - examples/v2/security-monitoring/UpdateSecurityMonitoringRule_428087276.rb
813
847
  - examples/v2/security-monitoring/UpdateSecurityMonitoringSuppression.rb
848
+ - examples/v2/security-monitoring/ValidateSecurityMonitoringRule.rb
814
849
  - examples/v2/sensitive-data-scanner/CreateScanningGroup.rb
815
850
  - examples/v2/sensitive-data-scanner/CreateScanningRule.rb
816
851
  - examples/v2/sensitive-data-scanner/DeleteScanningGroup.rb
@@ -835,6 +870,9 @@ files:
835
870
  - examples/v2/service-definition/GetServiceDefinition.rb
836
871
  - examples/v2/service-definition/ListServiceDefinitions.rb
837
872
  - examples/v2/service-definition/ListServiceDefinitions_336468013.rb
873
+ - examples/v2/service-level-objectives/CreateSLOReportJob.rb
874
+ - examples/v2/service-level-objectives/GetSLOReport.rb
875
+ - examples/v2/service-level-objectives/GetSLOReportJobStatus.rb
838
876
  - examples/v2/service-scorecards/CreateScorecardOutcomesBatch.rb
839
877
  - examples/v2/service-scorecards/CreateScorecardRule.rb
840
878
  - examples/v2/service-scorecards/DeleteScorecardRule.rb
@@ -1432,6 +1470,7 @@ files:
1432
1470
  - lib/datadog_api_client/v1/models/slo_threshold.rb
1433
1471
  - lib/datadog_api_client/v1/models/slo_time_slice_comparator.rb
1434
1472
  - lib/datadog_api_client/v1/models/slo_time_slice_condition.rb
1473
+ - lib/datadog_api_client/v1/models/slo_time_slice_interval.rb
1435
1474
  - lib/datadog_api_client/v1/models/slo_time_slice_query.rb
1436
1475
  - lib/datadog_api_client/v1/models/slo_time_slice_spec.rb
1437
1476
  - lib/datadog_api_client/v1/models/slo_timeframe.rb
@@ -1579,6 +1618,7 @@ files:
1579
1618
  - lib/datadog_api_client/v1/models/synthetics_test_pause_status.rb
1580
1619
  - lib/datadog_api_client/v1/models/synthetics_test_process_status.rb
1581
1620
  - lib/datadog_api_client/v1/models/synthetics_test_request.rb
1621
+ - lib/datadog_api_client/v1/models/synthetics_test_request_body_file.rb
1582
1622
  - lib/datadog_api_client/v1/models/synthetics_test_request_body_type.rb
1583
1623
  - lib/datadog_api_client/v1/models/synthetics_test_request_certificate.rb
1584
1624
  - lib/datadog_api_client/v1/models/synthetics_test_request_certificate_item.rb
@@ -1633,13 +1673,6 @@ files:
1633
1673
  - lib/datadog_api_client/v1/models/usage_analyzed_logs_hour.rb
1634
1674
  - lib/datadog_api_client/v1/models/usage_analyzed_logs_response.rb
1635
1675
  - lib/datadog_api_client/v1/models/usage_attribution_aggregates_body.rb
1636
- - lib/datadog_api_client/v1/models/usage_attribution_body.rb
1637
- - lib/datadog_api_client/v1/models/usage_attribution_metadata.rb
1638
- - lib/datadog_api_client/v1/models/usage_attribution_pagination.rb
1639
- - lib/datadog_api_client/v1/models/usage_attribution_response.rb
1640
- - lib/datadog_api_client/v1/models/usage_attribution_sort.rb
1641
- - lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb
1642
- - lib/datadog_api_client/v1/models/usage_attribution_values.rb
1643
1676
  - lib/datadog_api_client/v1/models/usage_audit_logs_hour.rb
1644
1677
  - lib/datadog_api_client/v1/models/usage_audit_logs_response.rb
1645
1678
  - lib/datadog_api_client/v1/models/usage_billable_summary_body.rb
@@ -1779,6 +1812,7 @@ files:
1779
1812
  - lib/datadog_api_client/v2/api/apm_retention_filters_api.rb
1780
1813
  - lib/datadog_api_client/v2/api/audit_api.rb
1781
1814
  - lib/datadog_api_client/v2/api/authn_mappings_api.rb
1815
+ - lib/datadog_api_client/v2/api/case_management_api.rb
1782
1816
  - lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb
1783
1817
  - lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb
1784
1818
  - lib/datadog_api_client/v2/api/cloud_cost_management_api.rb
@@ -1800,6 +1834,7 @@ files:
1800
1834
  - lib/datadog_api_client/v2/api/key_management_api.rb
1801
1835
  - lib/datadog_api_client/v2/api/logs_api.rb
1802
1836
  - lib/datadog_api_client/v2/api/logs_archives_api.rb
1837
+ - lib/datadog_api_client/v2/api/logs_custom_destinations_api.rb
1803
1838
  - lib/datadog_api_client/v2/api/logs_metrics_api.rb
1804
1839
  - lib/datadog_api_client/v2/api/metrics_api.rb
1805
1840
  - lib/datadog_api_client/v2/api/monitors_api.rb
@@ -1815,6 +1850,7 @@ files:
1815
1850
  - lib/datadog_api_client/v2/api/sensitive_data_scanner_api.rb
1816
1851
  - lib/datadog_api_client/v2/api/service_accounts_api.rb
1817
1852
  - lib/datadog_api_client/v2/api/service_definition_api.rb
1853
+ - lib/datadog_api_client/v2/api/service_level_objectives_api.rb
1818
1854
  - lib/datadog_api_client/v2/api/service_scorecards_api.rb
1819
1855
  - lib/datadog_api_client/v2/api/spans_api.rb
1820
1856
  - lib/datadog_api_client/v2/api/spans_metrics_api.rb
@@ -1877,8 +1913,12 @@ files:
1877
1913
  - lib/datadog_api_client/v2/models/authn_mapping_create_relationships.rb
1878
1914
  - lib/datadog_api_client/v2/models/authn_mapping_create_request.rb
1879
1915
  - lib/datadog_api_client/v2/models/authn_mapping_included.rb
1916
+ - lib/datadog_api_client/v2/models/authn_mapping_relationship_to_role.rb
1917
+ - lib/datadog_api_client/v2/models/authn_mapping_relationship_to_team.rb
1880
1918
  - lib/datadog_api_client/v2/models/authn_mapping_relationships.rb
1881
1919
  - lib/datadog_api_client/v2/models/authn_mapping_response.rb
1920
+ - lib/datadog_api_client/v2/models/authn_mapping_team.rb
1921
+ - lib/datadog_api_client/v2/models/authn_mapping_team_attributes.rb
1882
1922
  - lib/datadog_api_client/v2/models/authn_mapping_update_attributes.rb
1883
1923
  - lib/datadog_api_client/v2/models/authn_mapping_update_data.rb
1884
1924
  - lib/datadog_api_client/v2/models/authn_mapping_update_relationships.rb
@@ -1926,6 +1966,34 @@ files:
1926
1966
  - lib/datadog_api_client/v2/models/bulk_mute_findings_request_properties.rb
1927
1967
  - lib/datadog_api_client/v2/models/bulk_mute_findings_response.rb
1928
1968
  - lib/datadog_api_client/v2/models/bulk_mute_findings_response_data.rb
1969
+ - lib/datadog_api_client/v2/models/case.rb
1970
+ - lib/datadog_api_client/v2/models/case3rd_party_ticket_status.rb
1971
+ - lib/datadog_api_client/v2/models/case_assign.rb
1972
+ - lib/datadog_api_client/v2/models/case_assign_attributes.rb
1973
+ - lib/datadog_api_client/v2/models/case_assign_request.rb
1974
+ - lib/datadog_api_client/v2/models/case_attributes.rb
1975
+ - lib/datadog_api_client/v2/models/case_create.rb
1976
+ - lib/datadog_api_client/v2/models/case_create_attributes.rb
1977
+ - lib/datadog_api_client/v2/models/case_create_relationships.rb
1978
+ - lib/datadog_api_client/v2/models/case_create_request.rb
1979
+ - lib/datadog_api_client/v2/models/case_empty.rb
1980
+ - lib/datadog_api_client/v2/models/case_empty_request.rb
1981
+ - lib/datadog_api_client/v2/models/case_priority.rb
1982
+ - lib/datadog_api_client/v2/models/case_relationships.rb
1983
+ - lib/datadog_api_client/v2/models/case_resource_type.rb
1984
+ - lib/datadog_api_client/v2/models/case_response.rb
1985
+ - lib/datadog_api_client/v2/models/case_sortable_field.rb
1986
+ - lib/datadog_api_client/v2/models/case_status.rb
1987
+ - lib/datadog_api_client/v2/models/case_type.rb
1988
+ - lib/datadog_api_client/v2/models/case_update_priority.rb
1989
+ - lib/datadog_api_client/v2/models/case_update_priority_attributes.rb
1990
+ - lib/datadog_api_client/v2/models/case_update_priority_request.rb
1991
+ - lib/datadog_api_client/v2/models/case_update_status.rb
1992
+ - lib/datadog_api_client/v2/models/case_update_status_attributes.rb
1993
+ - lib/datadog_api_client/v2/models/case_update_status_request.rb
1994
+ - lib/datadog_api_client/v2/models/cases_response.rb
1995
+ - lib/datadog_api_client/v2/models/cases_response_meta.rb
1996
+ - lib/datadog_api_client/v2/models/cases_response_meta_pagination.rb
1929
1997
  - lib/datadog_api_client/v2/models/chargeback_breakdown.rb
1930
1998
  - lib/datadog_api_client/v2/models/ci_app_aggregate_bucket_value.rb
1931
1999
  - lib/datadog_api_client/v2/models/ci_app_aggregate_bucket_value_timeseries_point.rb
@@ -2005,12 +2073,14 @@ files:
2005
2073
  - lib/datadog_api_client/v2/models/cloud_cost_activity_attributes.rb
2006
2074
  - lib/datadog_api_client/v2/models/cloud_cost_activity_response.rb
2007
2075
  - lib/datadog_api_client/v2/models/cloud_cost_activity_type.rb
2076
+ - lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action.rb
2008
2077
  - lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb
2009
2078
  - lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_attributes.rb
2010
2079
  - lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_data.rb
2011
2080
  - lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_request.rb
2012
2081
  - lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_creator_attributes.rb
2013
2082
  - lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_data.rb
2083
+ - lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_kill.rb
2014
2084
  - lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_response.rb
2015
2085
  - lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_type.rb
2016
2086
  - lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_attributes.rb
@@ -2096,6 +2166,43 @@ files:
2096
2166
  - lib/datadog_api_client/v2/models/create_rule_response.rb
2097
2167
  - lib/datadog_api_client/v2/models/create_rule_response_data.rb
2098
2168
  - lib/datadog_api_client/v2/models/creator.rb
2169
+ - lib/datadog_api_client/v2/models/custom_destination_attribute_tags_restriction_list_type.rb
2170
+ - lib/datadog_api_client/v2/models/custom_destination_create_request.rb
2171
+ - lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb
2172
+ - lib/datadog_api_client/v2/models/custom_destination_create_request_definition.rb
2173
+ - lib/datadog_api_client/v2/models/custom_destination_elasticsearch_destination_auth.rb
2174
+ - lib/datadog_api_client/v2/models/custom_destination_forward_destination.rb
2175
+ - lib/datadog_api_client/v2/models/custom_destination_forward_destination_elasticsearch.rb
2176
+ - lib/datadog_api_client/v2/models/custom_destination_forward_destination_elasticsearch_type.rb
2177
+ - lib/datadog_api_client/v2/models/custom_destination_forward_destination_http.rb
2178
+ - lib/datadog_api_client/v2/models/custom_destination_forward_destination_http_type.rb
2179
+ - lib/datadog_api_client/v2/models/custom_destination_forward_destination_splunk.rb
2180
+ - lib/datadog_api_client/v2/models/custom_destination_forward_destination_splunk_type.rb
2181
+ - lib/datadog_api_client/v2/models/custom_destination_http_destination_auth.rb
2182
+ - lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_basic.rb
2183
+ - lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_basic_type.rb
2184
+ - lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_custom_header.rb
2185
+ - lib/datadog_api_client/v2/models/custom_destination_http_destination_auth_custom_header_type.rb
2186
+ - lib/datadog_api_client/v2/models/custom_destination_response.rb
2187
+ - lib/datadog_api_client/v2/models/custom_destination_response_attributes.rb
2188
+ - lib/datadog_api_client/v2/models/custom_destination_response_definition.rb
2189
+ - lib/datadog_api_client/v2/models/custom_destination_response_forward_destination.rb
2190
+ - lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_elasticsearch.rb
2191
+ - lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_elasticsearch_type.rb
2192
+ - lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_http.rb
2193
+ - lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_http_type.rb
2194
+ - lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_splunk.rb
2195
+ - lib/datadog_api_client/v2/models/custom_destination_response_forward_destination_splunk_type.rb
2196
+ - lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth.rb
2197
+ - lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_basic.rb
2198
+ - lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_basic_type.rb
2199
+ - lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_custom_header.rb
2200
+ - lib/datadog_api_client/v2/models/custom_destination_response_http_destination_auth_custom_header_type.rb
2201
+ - lib/datadog_api_client/v2/models/custom_destination_type.rb
2202
+ - lib/datadog_api_client/v2/models/custom_destination_update_request.rb
2203
+ - lib/datadog_api_client/v2/models/custom_destination_update_request_attributes.rb
2204
+ - lib/datadog_api_client/v2/models/custom_destination_update_request_definition.rb
2205
+ - lib/datadog_api_client/v2/models/custom_destinations_response.rb
2099
2206
  - lib/datadog_api_client/v2/models/dashboard_list_add_items_request.rb
2100
2207
  - lib/datadog_api_client/v2/models/dashboard_list_add_items_response.rb
2101
2208
  - lib/datadog_api_client/v2/models/dashboard_list_delete_items_request.rb
@@ -2378,6 +2485,8 @@ files:
2378
2485
  - lib/datadog_api_client/v2/models/ip_allowlist_update_request.rb
2379
2486
  - lib/datadog_api_client/v2/models/jira_integration_metadata.rb
2380
2487
  - lib/datadog_api_client/v2/models/jira_integration_metadata_issues_item.rb
2488
+ - lib/datadog_api_client/v2/models/jira_issue.rb
2489
+ - lib/datadog_api_client/v2/models/jira_issue_result.rb
2381
2490
  - lib/datadog_api_client/v2/models/jsonapi_error_item.rb
2382
2491
  - lib/datadog_api_client/v2/models/jsonapi_error_response.rb
2383
2492
  - lib/datadog_api_client/v2/models/list_application_keys_response.rb
@@ -2471,6 +2580,19 @@ files:
2471
2580
  - lib/datadog_api_client/v2/models/metric_all_tags.rb
2472
2581
  - lib/datadog_api_client/v2/models/metric_all_tags_attributes.rb
2473
2582
  - lib/datadog_api_client/v2/models/metric_all_tags_response.rb
2583
+ - lib/datadog_api_client/v2/models/metric_asset_attributes.rb
2584
+ - lib/datadog_api_client/v2/models/metric_asset_dashboard_relationship.rb
2585
+ - lib/datadog_api_client/v2/models/metric_asset_dashboard_relationships.rb
2586
+ - lib/datadog_api_client/v2/models/metric_asset_monitor_relationship.rb
2587
+ - lib/datadog_api_client/v2/models/metric_asset_monitor_relationships.rb
2588
+ - lib/datadog_api_client/v2/models/metric_asset_notebook_relationship.rb
2589
+ - lib/datadog_api_client/v2/models/metric_asset_notebook_relationships.rb
2590
+ - lib/datadog_api_client/v2/models/metric_asset_response_data.rb
2591
+ - lib/datadog_api_client/v2/models/metric_asset_response_included.rb
2592
+ - lib/datadog_api_client/v2/models/metric_asset_response_relationships.rb
2593
+ - lib/datadog_api_client/v2/models/metric_asset_slo_relationship.rb
2594
+ - lib/datadog_api_client/v2/models/metric_asset_slo_relationships.rb
2595
+ - lib/datadog_api_client/v2/models/metric_assets_response.rb
2474
2596
  - lib/datadog_api_client/v2/models/metric_bulk_configure_tags_type.rb
2475
2597
  - lib/datadog_api_client/v2/models/metric_bulk_tag_config_create.rb
2476
2598
  - lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_attributes.rb
@@ -2485,6 +2607,9 @@ files:
2485
2607
  - lib/datadog_api_client/v2/models/metric_custom_aggregation.rb
2486
2608
  - lib/datadog_api_client/v2/models/metric_custom_space_aggregation.rb
2487
2609
  - lib/datadog_api_client/v2/models/metric_custom_time_aggregation.rb
2610
+ - lib/datadog_api_client/v2/models/metric_dashboard_asset.rb
2611
+ - lib/datadog_api_client/v2/models/metric_dashboard_attributes.rb
2612
+ - lib/datadog_api_client/v2/models/metric_dashboard_type.rb
2488
2613
  - lib/datadog_api_client/v2/models/metric_distinct_volume.rb
2489
2614
  - lib/datadog_api_client/v2/models/metric_distinct_volume_attributes.rb
2490
2615
  - lib/datadog_api_client/v2/models/metric_distinct_volume_type.rb
@@ -2498,11 +2623,17 @@ files:
2498
2623
  - lib/datadog_api_client/v2/models/metric_ingested_indexed_volume_type.rb
2499
2624
  - lib/datadog_api_client/v2/models/metric_intake_type.rb
2500
2625
  - lib/datadog_api_client/v2/models/metric_metadata.rb
2626
+ - lib/datadog_api_client/v2/models/metric_monitor_asset.rb
2627
+ - lib/datadog_api_client/v2/models/metric_monitor_type.rb
2628
+ - lib/datadog_api_client/v2/models/metric_notebook_asset.rb
2629
+ - lib/datadog_api_client/v2/models/metric_notebook_type.rb
2501
2630
  - lib/datadog_api_client/v2/models/metric_origin.rb
2502
2631
  - lib/datadog_api_client/v2/models/metric_payload.rb
2503
2632
  - lib/datadog_api_client/v2/models/metric_point.rb
2504
2633
  - lib/datadog_api_client/v2/models/metric_resource.rb
2505
2634
  - lib/datadog_api_client/v2/models/metric_series.rb
2635
+ - lib/datadog_api_client/v2/models/metric_slo_asset.rb
2636
+ - lib/datadog_api_client/v2/models/metric_slo_type.rb
2506
2637
  - lib/datadog_api_client/v2/models/metric_suggested_tags_and_aggregations.rb
2507
2638
  - lib/datadog_api_client/v2/models/metric_suggested_tags_and_aggregations_response.rb
2508
2639
  - lib/datadog_api_client/v2/models/metric_suggested_tags_attributes.rb
@@ -2554,6 +2685,8 @@ files:
2554
2685
  - lib/datadog_api_client/v2/models/monthly_cost_attribution_response.rb
2555
2686
  - lib/datadog_api_client/v2/models/nullable_relationship_to_user.rb
2556
2687
  - lib/datadog_api_client/v2/models/nullable_relationship_to_user_data.rb
2688
+ - lib/datadog_api_client/v2/models/nullable_user_relationship.rb
2689
+ - lib/datadog_api_client/v2/models/nullable_user_relationship_data.rb
2557
2690
  - lib/datadog_api_client/v2/models/okta_account.rb
2558
2691
  - lib/datadog_api_client/v2/models/okta_account_attributes.rb
2559
2692
  - lib/datadog_api_client/v2/models/okta_account_request.rb
@@ -2629,10 +2762,21 @@ files:
2629
2762
  - lib/datadog_api_client/v2/models/process_summary.rb
2630
2763
  - lib/datadog_api_client/v2/models/process_summary_attributes.rb
2631
2764
  - lib/datadog_api_client/v2/models/process_summary_type.rb
2765
+ - lib/datadog_api_client/v2/models/project.rb
2766
+ - lib/datadog_api_client/v2/models/project_attributes.rb
2767
+ - lib/datadog_api_client/v2/models/project_create.rb
2768
+ - lib/datadog_api_client/v2/models/project_create_attributes.rb
2769
+ - lib/datadog_api_client/v2/models/project_create_request.rb
2770
+ - lib/datadog_api_client/v2/models/project_relationship.rb
2771
+ - lib/datadog_api_client/v2/models/project_relationship_data.rb
2772
+ - lib/datadog_api_client/v2/models/project_relationships.rb
2773
+ - lib/datadog_api_client/v2/models/project_resource_type.rb
2774
+ - lib/datadog_api_client/v2/models/project_response.rb
2632
2775
  - lib/datadog_api_client/v2/models/projected_cost.rb
2633
2776
  - lib/datadog_api_client/v2/models/projected_cost_attributes.rb
2634
2777
  - lib/datadog_api_client/v2/models/projected_cost_response.rb
2635
2778
  - lib/datadog_api_client/v2/models/projected_cost_type.rb
2779
+ - lib/datadog_api_client/v2/models/projects_response.rb
2636
2780
  - lib/datadog_api_client/v2/models/query_formula.rb
2637
2781
  - lib/datadog_api_client/v2/models/query_sort_order.rb
2638
2782
  - lib/datadog_api_client/v2/models/relationship_to_incident_attachment.rb
@@ -2663,6 +2807,8 @@ files:
2663
2807
  - lib/datadog_api_client/v2/models/relationship_to_rule_data_object.rb
2664
2808
  - lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute.rb
2665
2809
  - lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb
2810
+ - lib/datadog_api_client/v2/models/relationship_to_team.rb
2811
+ - lib/datadog_api_client/v2/models/relationship_to_team_data.rb
2666
2812
  - lib/datadog_api_client/v2/models/relationship_to_team_link_data.rb
2667
2813
  - lib/datadog_api_client/v2/models/relationship_to_team_links.rb
2668
2814
  - lib/datadog_api_client/v2/models/relationship_to_user.rb
@@ -2692,6 +2838,7 @@ files:
2692
2838
  - lib/datadog_api_client/v2/models/retention_filter_create_request.rb
2693
2839
  - lib/datadog_api_client/v2/models/retention_filter_response.rb
2694
2840
  - lib/datadog_api_client/v2/models/retention_filter_type.rb
2841
+ - lib/datadog_api_client/v2/models/retention_filter_update_attributes.rb
2695
2842
  - lib/datadog_api_client/v2/models/retention_filter_update_data.rb
2696
2843
  - lib/datadog_api_client/v2/models/retention_filter_update_request.rb
2697
2844
  - lib/datadog_api_client/v2/models/retention_filter_without_attributes.rb
@@ -2991,8 +3138,20 @@ files:
2991
3138
  - lib/datadog_api_client/v2/models/service_definition_v2_version.rb
2992
3139
  - lib/datadog_api_client/v2/models/service_definitions_create_request.rb
2993
3140
  - lib/datadog_api_client/v2/models/service_definitions_list_response.rb
3141
+ - lib/datadog_api_client/v2/models/service_now_ticket.rb
3142
+ - lib/datadog_api_client/v2/models/service_now_ticket_result.rb
2994
3143
  - lib/datadog_api_client/v2/models/slack_integration_metadata.rb
2995
3144
  - lib/datadog_api_client/v2/models/slack_integration_metadata_channel_item.rb
3145
+ - lib/datadog_api_client/v2/models/slo_report_create_request.rb
3146
+ - lib/datadog_api_client/v2/models/slo_report_create_request_attributes.rb
3147
+ - lib/datadog_api_client/v2/models/slo_report_create_request_data.rb
3148
+ - lib/datadog_api_client/v2/models/slo_report_interval.rb
3149
+ - lib/datadog_api_client/v2/models/slo_report_post_response.rb
3150
+ - lib/datadog_api_client/v2/models/slo_report_post_response_data.rb
3151
+ - lib/datadog_api_client/v2/models/slo_report_status.rb
3152
+ - lib/datadog_api_client/v2/models/slo_report_status_get_response.rb
3153
+ - lib/datadog_api_client/v2/models/slo_report_status_get_response_attributes.rb
3154
+ - lib/datadog_api_client/v2/models/slo_report_status_get_response_data.rb
2996
3155
  - lib/datadog_api_client/v2/models/sort_direction.rb
2997
3156
  - lib/datadog_api_client/v2/models/span.rb
2998
3157
  - lib/datadog_api_client/v2/models/spans_aggregate_bucket.rb
@@ -3125,13 +3284,16 @@ files:
3125
3284
  - lib/datadog_api_client/v2/models/user_invitations_request.rb
3126
3285
  - lib/datadog_api_client/v2/models/user_invitations_response.rb
3127
3286
  - lib/datadog_api_client/v2/models/user_invitations_type.rb
3287
+ - lib/datadog_api_client/v2/models/user_relationship_data.rb
3128
3288
  - lib/datadog_api_client/v2/models/user_relationships.rb
3289
+ - lib/datadog_api_client/v2/models/user_resource_type.rb
3129
3290
  - lib/datadog_api_client/v2/models/user_response.rb
3130
3291
  - lib/datadog_api_client/v2/models/user_response_included_item.rb
3131
3292
  - lib/datadog_api_client/v2/models/user_response_relationships.rb
3132
3293
  - lib/datadog_api_client/v2/models/user_team.rb
3133
3294
  - lib/datadog_api_client/v2/models/user_team_attributes.rb
3134
3295
  - lib/datadog_api_client/v2/models/user_team_create.rb
3296
+ - lib/datadog_api_client/v2/models/user_team_included.rb
3135
3297
  - lib/datadog_api_client/v2/models/user_team_permission.rb
3136
3298
  - lib/datadog_api_client/v2/models/user_team_permission_attributes.rb
3137
3299
  - lib/datadog_api_client/v2/models/user_team_permission_type.rb
@@ -3148,6 +3310,7 @@ files:
3148
3310
  - lib/datadog_api_client/v2/models/user_update_attributes.rb
3149
3311
  - lib/datadog_api_client/v2/models/user_update_data.rb
3150
3312
  - lib/datadog_api_client/v2/models/user_update_request.rb
3313
+ - lib/datadog_api_client/v2/models/users_relationship.rb
3151
3314
  - lib/datadog_api_client/v2/models/users_response.rb
3152
3315
  - lib/datadog_api_client/v2/models/users_type.rb
3153
3316
  - lib/datadog_api_client/v2/models/widget_live_span.rb
@@ -3187,7 +3350,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3187
3350
  - !ruby/object:Gem::Version
3188
3351
  version: '0'
3189
3352
  requirements: []
3190
- rubygems_version: 3.0.3.1
3353
+ rubygems_version: 3.1.6
3191
3354
  signing_key:
3192
3355
  specification_version: 4
3193
3356
  summary: Datadog API Collection Ruby Gem
@@ -1,9 +0,0 @@
1
- # Get usage attribution returns "OK" response
2
-
3
- require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V1::UsageMeteringAPI.new
5
- opts = {
6
- offset: 0,
7
- limit: 1,
8
- }
9
- p api_instance.get_usage_attribution((Time.now + -3 * 86400), UsageAttributionSupportedMetrics::ALL, opts)