datadog_api_client 2.0.2 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +6 -6
  3. data/.generator/schemas/v1/openapi.yaml +282 -900
  4. data/.generator/schemas/v2/openapi.yaml +343 -672
  5. data/.generator/src/generator/formatter.py +1 -1
  6. data/.github/workflows/test.yml +1 -1
  7. data/.github/workflows/test_integration.yml +5 -0
  8. data/CHANGELOG.md +23 -0
  9. data/examples/v1/dashboards/CreateDashboard_1094917386.rb +37 -0
  10. data/examples/v1/dashboards/CreateDashboard_1307120899.rb +61 -0
  11. data/examples/v1/monitors/ValidateExistingMonitor.rb +1 -0
  12. data/examples/v1/monitors/ValidateMonitor.rb +1 -0
  13. data/examples/v1/monitors/ValidateMonitor_4247196452.rb +38 -0
  14. data/examples/v1/synthetics/CreateGlobalVariable.rb +1 -0
  15. data/examples/v1/synthetics/CreateGlobalVariable_1068962881.rb +23 -0
  16. data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +10 -0
  17. data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +6 -0
  18. data/examples/v1/synthetics/EditGlobalVariable.rb +1 -0
  19. data/examples/v1/synthetics/UpdateBrowserTest.rb +1 -0
  20. data/examples/v1/usage-metering/GetDailyCustomReports.rb +0 -3
  21. data/examples/v1/usage-metering/GetMonthlyCustomReports.rb +0 -3
  22. data/examples/v1/usage-metering/GetSpecifiedDailyCustomReports.rb +0 -3
  23. data/examples/v1/usage-metering/GetSpecifiedMonthlyCustomReports.rb +0 -3
  24. data/examples/v1/usage-metering/GetUsageAttribution.rb +0 -3
  25. data/examples/v2/metrics/SubmitMetrics_1762007427.rb +23 -0
  26. data/examples/v2/roles/UpdateRole.rb +13 -0
  27. data/examples/v2/rum/CreateRUMApplication.rb +15 -0
  28. data/examples/v2/rum/DeleteRUMApplication.rb +8 -0
  29. data/examples/v2/rum/GetRUMApplication.rb +8 -0
  30. data/examples/v2/rum/GetRUMApplications.rb +5 -0
  31. data/examples/v2/rum/UpdateRUMApplication.rb +16 -0
  32. data/examples/v2/usage-metering/GetHourlyUsage.rb +5 -0
  33. data/lib/datadog_api_client/configuration.rb +0 -5
  34. data/lib/datadog_api_client/inflector.rb +16 -0
  35. data/lib/datadog_api_client/v1/api/metrics_api.rb +1 -1
  36. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +42 -62
  37. data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
  38. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
  39. data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
  40. data/lib/datadog_api_client/v1/models/metric_content_encoding.rb +1 -0
  41. data/lib/datadog_api_client/v1/models/monitor_options.rb +28 -1
  42. data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +13 -1
  43. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
  44. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -1
  45. data/lib/datadog_api_client/v1/models/on_missing_data_option.rb +33 -0
  46. data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +2 -1
  47. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest.rb +155 -0
  48. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest_type.rb +26 -0
  49. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +11 -12
  50. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options_type.rb +1 -0
  51. data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +31 -1
  52. data/lib/datadog_api_client/v1/models/synthetics_test_process_status.rb +0 -1
  53. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +15 -1
  54. data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +2 -0
  55. data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +2 -0
  56. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +21 -1
  57. data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +11 -1
  58. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +12 -1
  59. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
  60. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
  61. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +11 -1
  62. data/lib/datadog_api_client/v1/models/widget_monitor_summary_sort.rb +2 -0
  63. data/lib/datadog_api_client/v2/api/events_api.rb +1 -1
  64. data/lib/datadog_api_client/v2/api/logs_api.rb +1 -1
  65. data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -1
  66. data/lib/datadog_api_client/v2/api/rum_api.rb +329 -0
  67. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -3
  68. data/lib/datadog_api_client/v2/models/content_encoding.rb +1 -0
  69. data/lib/datadog_api_client/v2/models/metric_content_encoding.rb +2 -0
  70. data/lib/datadog_api_client/v2/models/role_update_data.rb +11 -1
  71. data/lib/datadog_api_client/v2/models/rum_application.rb +166 -0
  72. data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +279 -0
  73. data/lib/datadog_api_client/v2/models/rum_application_create.rb +145 -0
  74. data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +132 -0
  75. data/lib/datadog_api_client/v2/models/rum_application_create_request.rb +122 -0
  76. data/lib/datadog_api_client/v2/models/rum_application_create_type.rb +26 -0
  77. data/lib/datadog_api_client/v2/models/rum_application_response.rb +111 -0
  78. data/lib/datadog_api_client/v2/models/rum_application_type.rb +26 -0
  79. data/lib/datadog_api_client/v2/models/rum_application_update.rb +155 -0
  80. data/lib/datadog_api_client/v2/models/rum_application_update_attributes.rb +121 -0
  81. data/lib/datadog_api_client/v2/models/rum_application_update_request.rb +122 -0
  82. data/lib/datadog_api_client/v2/models/rum_application_update_type.rb +26 -0
  83. data/lib/datadog_api_client/v2/models/rum_applications_response.rb +113 -0
  84. data/lib/datadog_api_client/version.rb +1 -1
  85. metadata +29 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd5c2053dd7bb902ba13dd99e39a0df62c34f204110b88a999716ecfe4025bab
4
- data.tar.gz: 5ac8f0b69a075a79f2610ff8ecd90834284f699283416a251e443d3d56ffe54a
3
+ metadata.gz: 27416da57e82f283df821e0bfbbf19e34edbf55710f57b25588bf6015bbea905
4
+ data.tar.gz: 5669fd22f1a4fa571825ca93fc462a8615c45ac95c45bdf4bae08b5fa7f31f1d
5
5
  SHA512:
6
- metadata.gz: e9a6ee47bed49a46ffec9370428c7186946dd677861c3b8812033d9b683c2eb3852ae44e5d38e845e95f70e5648b4fc4483ddf5190596e482aa63b69aca62877
7
- data.tar.gz: 6f984509a27848546eb2682a30da8056da8227053e1f1dcb734ef45a48254145280f71411fb000c0450de9a1320462ef013cf82ada3dff9c3a6c97afbd626548
6
+ metadata.gz: 52f5707ad71946e40fa0b499d406edcee9e62d38c30f0d414be4ff534939d58bb8368a8843c9bbfa4e761e812caba888b279d16c06dfba300195bd8d8b08a169
7
+ data.tar.gz: bbfb661f551ec6cb53ee6eb1c428ff166140a6272bf1fe0d2c466d38eb2e67fd823fc85f9705d9e0eadf31167ca2abae3bbd228ec9f67149d146faa5072ddade
data/.apigentools-info CHANGED
@@ -3,14 +3,14 @@
3
3
  "info_version": "2",
4
4
  "spec_versions": {
5
5
  "v1": {
6
- "apigentools_version": "1.6.2",
7
- "regenerated": "2022-08-02 14:16:13.272043",
8
- "spec_repo_commit": "38d3cf07"
6
+ "apigentools_version": "1.6.4",
7
+ "regenerated": "2022-08-30 13:34:35.194053",
8
+ "spec_repo_commit": "1d2b67d9"
9
9
  },
10
10
  "v2": {
11
- "apigentools_version": "1.6.2",
12
- "regenerated": "2022-08-02 14:16:13.283974",
13
- "spec_repo_commit": "38d3cf07"
11
+ "apigentools_version": "1.6.4",
12
+ "regenerated": "2022-08-30 13:34:35.209616",
13
+ "spec_repo_commit": "1d2b67d9"
14
14
  }
15
15
  }
16
16
  }