datadog_api_client 2.19.0 → 2.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +97 -44
  4. data/.generator/schemas/v2/openapi.yaml +704 -42
  5. data/.generator/src/generator/templates/api.j2 +5 -5
  6. data/CHANGELOG.md +20 -0
  7. data/examples/v1/logs-indexes/CreateLogsIndex.rb +5 -0
  8. data/examples/v1/logs-indexes/UpdateLogsIndex.rb +5 -0
  9. data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +1 -1
  10. data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
  11. data/examples/v1/synthetics/TriggerCITests.rb +1 -1
  12. data/examples/v1/synthetics/UpdateBrowserTest.rb +1 -1
  13. data/examples/v1/usage-metering/GetUsageLambda.rb +5 -2
  14. data/examples/v2/api-management/CreateOpenAPI.rb +11 -0
  15. data/examples/v2/api-management/DeleteOpenAPI.rb +11 -0
  16. data/examples/v2/api-management/GetOpenAPI.rb +11 -0
  17. data/examples/v2/api-management/UpdateOpenAPI.rb +14 -0
  18. data/examples/v2/okta-integration/CreateOktaAccount.rb +1 -1
  19. data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb +19 -0
  20. data/examples/v2/security-monitoring/DeleteSecurityMonitoringSuppression.rb +8 -0
  21. data/examples/v2/security-monitoring/GetSecurityMonitoringSuppression.rb +8 -0
  22. data/examples/v2/security-monitoring/ListSecurityMonitoringSuppressions.rb +5 -0
  23. data/examples/v2/security-monitoring/UpdateSecurityMonitoringSuppression.rb +17 -0
  24. data/examples/v2/teams/GetTeamMemberships_3799131168.rb +8 -0
  25. data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb +1 -1
  26. data/lib/datadog_api_client/configuration.rb +4 -0
  27. data/lib/datadog_api_client/inflector.rb +22 -0
  28. data/lib/datadog_api_client/v1/api/organizations_api.rb +1 -1
  29. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
  30. data/lib/datadog_api_client/v1/models/dashboard.rb +5 -1
  31. data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +2 -0
  32. data/lib/datadog_api_client/v1/models/log.rb +1 -1
  33. data/lib/datadog_api_client/v1/models/logs_daily_limit_reset.rb +90 -0
  34. data/lib/datadog_api_client/v1/models/logs_index.rb +36 -1
  35. data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +36 -1
  36. data/lib/datadog_api_client/v1/models/metrics_payload.rb +1 -1
  37. data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +1 -1
  38. data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +1 -1
  39. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +1 -1
  40. data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +1 -1
  41. data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +2 -2
  42. data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +1 -1
  43. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +1 -1
  44. data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +1 -1
  45. data/lib/datadog_api_client/v1/models/split_config.rb +6 -6
  46. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
  47. data/lib/datadog_api_client/v1/models/usage_lambda_hour.rb +1 -1
  48. data/lib/datadog_api_client/v1/models/usage_lambda_response.rb +1 -1
  49. data/lib/datadog_api_client/v2/api/api_management_api.rb +319 -0
  50. data/lib/datadog_api_client/v2/api/organizations_api.rb +1 -1
  51. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +329 -0
  52. data/lib/datadog_api_client/v2/api/teams_api.rb +22 -0
  53. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +3 -3
  54. data/lib/datadog_api_client/v2/models/create_open_api_response.rb +80 -0
  55. data/lib/datadog_api_client/v2/models/create_open_api_response_attributes.rb +82 -0
  56. data/lib/datadog_api_client/v2/models/create_open_api_response_data.rb +90 -0
  57. data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +11 -1
  58. data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +11 -1
  59. data/lib/datadog_api_client/v2/models/metric_payload.rb +1 -1
  60. data/lib/datadog_api_client/v2/models/open_api_endpoint.rb +90 -0
  61. data/lib/datadog_api_client/v2/models/open_api_file.rb +80 -0
  62. data/lib/datadog_api_client/v2/models/security_monitoring_suppression.rb +100 -0
  63. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb +198 -0
  64. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb +181 -0
  65. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_data.rb +119 -0
  66. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_request.rb +98 -0
  67. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_response.rb +80 -0
  68. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_type.rb +26 -0
  69. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb +166 -0
  70. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_data.rb +119 -0
  71. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_request.rb +98 -0
  72. data/lib/datadog_api_client/v2/models/security_monitoring_suppressions_response.rb +82 -0
  73. data/lib/datadog_api_client/v2/models/security_monitoring_user.rb +98 -0
  74. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +1 -1
  75. data/lib/datadog_api_client/v2/models/update_open_api_response.rb +80 -0
  76. data/lib/datadog_api_client/v2/models/update_open_api_response_attributes.rb +82 -0
  77. data/lib/datadog_api_client/v2/models/update_open_api_response_data.rb +90 -0
  78. data/lib/datadog_api_client/version.rb +1 -1
  79. metadata +34 -3
  80. data/examples/v1/usage-metering/GetUsageLambda_3132428705.rb +0 -8
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datadog_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.19.0
4
+ version: 2.20.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-01-10 00:00:00.000000000 Z
11
+ date: 2024-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -474,7 +474,6 @@ files:
474
474
  - examples/v1/usage-metering/GetUsageIndexedSpans.rb
475
475
  - examples/v1/usage-metering/GetUsageInternetOfThings.rb
476
476
  - examples/v1/usage-metering/GetUsageLambda.rb
477
- - examples/v1/usage-metering/GetUsageLambda_3132428705.rb
478
477
  - examples/v1/usage-metering/GetUsageLogs.rb
479
478
  - examples/v1/usage-metering/GetUsageLogsByIndex.rb
480
479
  - examples/v1/usage-metering/GetUsageLogsByIndex_1025184776.rb
@@ -517,6 +516,10 @@ files:
517
516
  - examples/v1/webhooks-integration/GetWebhooksIntegrationCustomVariable.rb
518
517
  - examples/v1/webhooks-integration/UpdateWebhooksIntegration.rb
519
518
  - examples/v1/webhooks-integration/UpdateWebhooksIntegrationCustomVariable.rb
519
+ - examples/v2/api-management/CreateOpenAPI.rb
520
+ - examples/v2/api-management/DeleteOpenAPI.rb
521
+ - examples/v2/api-management/GetOpenAPI.rb
522
+ - examples/v2/api-management/UpdateOpenAPI.rb
520
523
  - examples/v2/apm-retention-filters/CreateApmRetentionFilter.rb
521
524
  - examples/v2/apm-retention-filters/DeleteApmRetentionFilter.rb
522
525
  - examples/v2/apm-retention-filters/GetApmRetentionFilter.rb
@@ -780,9 +783,11 @@ files:
780
783
  - examples/v2/security-monitoring/CreateSecurityMonitoringRule_461183901.rb
781
784
  - examples/v2/security-monitoring/CreateSecurityMonitoringRule_498211763.rb
782
785
  - examples/v2/security-monitoring/CreateSecurityMonitoringRule_914562040.rb
786
+ - examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb
783
787
  - examples/v2/security-monitoring/DeleteSecurityFilter.rb
784
788
  - examples/v2/security-monitoring/DeleteSecurityFilter_555029489.rb
785
789
  - examples/v2/security-monitoring/DeleteSecurityMonitoringRule.rb
790
+ - examples/v2/security-monitoring/DeleteSecurityMonitoringSuppression.rb
786
791
  - examples/v2/security-monitoring/EditSecurityMonitoringSignalAssignee.rb
787
792
  - examples/v2/security-monitoring/EditSecurityMonitoringSignalIncidents.rb
788
793
  - examples/v2/security-monitoring/EditSecurityMonitoringSignalState.rb
@@ -791,18 +796,21 @@ files:
791
796
  - examples/v2/security-monitoring/GetSecurityMonitoringRule.rb
792
797
  - examples/v2/security-monitoring/GetSecurityMonitoringRule_3370522281.rb
793
798
  - examples/v2/security-monitoring/GetSecurityMonitoringSignal.rb
799
+ - examples/v2/security-monitoring/GetSecurityMonitoringSuppression.rb
794
800
  - examples/v2/security-monitoring/ListFindings.rb
795
801
  - examples/v2/security-monitoring/ListFindings_3865842421.rb
796
802
  - examples/v2/security-monitoring/ListSecurityFilters.rb
797
803
  - examples/v2/security-monitoring/ListSecurityMonitoringRules.rb
798
804
  - examples/v2/security-monitoring/ListSecurityMonitoringSignals.rb
799
805
  - examples/v2/security-monitoring/ListSecurityMonitoringSignals_3960412991.rb
806
+ - examples/v2/security-monitoring/ListSecurityMonitoringSuppressions.rb
800
807
  - examples/v2/security-monitoring/MuteFindings.rb
801
808
  - examples/v2/security-monitoring/SearchSecurityMonitoringSignals.rb
802
809
  - examples/v2/security-monitoring/SearchSecurityMonitoringSignals_1309350146.rb
803
810
  - examples/v2/security-monitoring/UpdateSecurityFilter.rb
804
811
  - examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb
805
812
  - examples/v2/security-monitoring/UpdateSecurityMonitoringRule_428087276.rb
813
+ - examples/v2/security-monitoring/UpdateSecurityMonitoringSuppression.rb
806
814
  - examples/v2/sensitive-data-scanner/CreateScanningGroup.rb
807
815
  - examples/v2/sensitive-data-scanner/CreateScanningRule.rb
808
816
  - examples/v2/sensitive-data-scanner/DeleteScanningGroup.rb
@@ -857,6 +865,7 @@ files:
857
865
  - examples/v2/teams/GetTeamLink.rb
858
866
  - examples/v2/teams/GetTeamLinks.rb
859
867
  - examples/v2/teams/GetTeamMemberships.rb
868
+ - examples/v2/teams/GetTeamMemberships_3799131168.rb
860
869
  - examples/v2/teams/GetTeamPermissionSettings.rb
861
870
  - examples/v2/teams/GetUserMemberships.rb
862
871
  - examples/v2/teams/ListTeams.rb
@@ -1152,6 +1161,7 @@ files:
1152
1161
  - lib/datadog_api_client/v1/models/logs_category_processor.rb
1153
1162
  - lib/datadog_api_client/v1/models/logs_category_processor_category.rb
1154
1163
  - lib/datadog_api_client/v1/models/logs_category_processor_type.rb
1164
+ - lib/datadog_api_client/v1/models/logs_daily_limit_reset.rb
1155
1165
  - lib/datadog_api_client/v1/models/logs_date_remapper.rb
1156
1166
  - lib/datadog_api_client/v1/models/logs_date_remapper_type.rb
1157
1167
  - lib/datadog_api_client/v1/models/logs_exclusion.rb
@@ -1765,6 +1775,7 @@ files:
1765
1775
  - lib/datadog_api_client/v1/models/widget_vertical_align.rb
1766
1776
  - lib/datadog_api_client/v1/models/widget_view_mode.rb
1767
1777
  - lib/datadog_api_client/v1/models/widget_viz_type.rb
1778
+ - lib/datadog_api_client/v2/api/api_management_api.rb
1768
1779
  - lib/datadog_api_client/v2/api/apm_retention_filters_api.rb
1769
1780
  - lib/datadog_api_client/v2/api/audit_api.rb
1770
1781
  - lib/datadog_api_client/v2/api/authn_mappings_api.rb
@@ -2077,6 +2088,9 @@ files:
2077
2088
  - lib/datadog_api_client/v2/models/cost_by_org_attributes.rb
2078
2089
  - lib/datadog_api_client/v2/models/cost_by_org_response.rb
2079
2090
  - lib/datadog_api_client/v2/models/cost_by_org_type.rb
2091
+ - lib/datadog_api_client/v2/models/create_open_api_response.rb
2092
+ - lib/datadog_api_client/v2/models/create_open_api_response_attributes.rb
2093
+ - lib/datadog_api_client/v2/models/create_open_api_response_data.rb
2080
2094
  - lib/datadog_api_client/v2/models/create_rule_request.rb
2081
2095
  - lib/datadog_api_client/v2/models/create_rule_request_data.rb
2082
2096
  - lib/datadog_api_client/v2/models/create_rule_response.rb
@@ -2554,6 +2568,8 @@ files:
2554
2568
  - lib/datadog_api_client/v2/models/on_demand_concurrency_cap_attributes.rb
2555
2569
  - lib/datadog_api_client/v2/models/on_demand_concurrency_cap_response.rb
2556
2570
  - lib/datadog_api_client/v2/models/on_demand_concurrency_cap_type.rb
2571
+ - lib/datadog_api_client/v2/models/open_api_endpoint.rb
2572
+ - lib/datadog_api_client/v2/models/open_api_file.rb
2557
2573
  - lib/datadog_api_client/v2/models/opsgenie_service_create_attributes.rb
2558
2574
  - lib/datadog_api_client/v2/models/opsgenie_service_create_data.rb
2559
2575
  - lib/datadog_api_client/v2/models/opsgenie_service_create_request.rb
@@ -2843,10 +2859,22 @@ files:
2843
2859
  - lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb
2844
2860
  - lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb
2845
2861
  - lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb
2862
+ - lib/datadog_api_client/v2/models/security_monitoring_suppression.rb
2863
+ - lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb
2864
+ - lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb
2865
+ - lib/datadog_api_client/v2/models/security_monitoring_suppression_create_data.rb
2866
+ - lib/datadog_api_client/v2/models/security_monitoring_suppression_create_request.rb
2867
+ - lib/datadog_api_client/v2/models/security_monitoring_suppression_response.rb
2868
+ - lib/datadog_api_client/v2/models/security_monitoring_suppression_type.rb
2869
+ - lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb
2870
+ - lib/datadog_api_client/v2/models/security_monitoring_suppression_update_data.rb
2871
+ - lib/datadog_api_client/v2/models/security_monitoring_suppression_update_request.rb
2872
+ - lib/datadog_api_client/v2/models/security_monitoring_suppressions_response.rb
2846
2873
  - lib/datadog_api_client/v2/models/security_monitoring_third_party_root_query.rb
2847
2874
  - lib/datadog_api_client/v2/models/security_monitoring_third_party_rule_case.rb
2848
2875
  - lib/datadog_api_client/v2/models/security_monitoring_third_party_rule_case_create.rb
2849
2876
  - lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb
2877
+ - lib/datadog_api_client/v2/models/security_monitoring_user.rb
2850
2878
  - lib/datadog_api_client/v2/models/sensitive_data_scanner_config_request.rb
2851
2879
  - lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration.rb
2852
2880
  - lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_data.rb
@@ -3074,6 +3102,9 @@ files:
3074
3102
  - lib/datadog_api_client/v2/models/timeseries_response_attributes.rb
3075
3103
  - lib/datadog_api_client/v2/models/timeseries_response_series.rb
3076
3104
  - lib/datadog_api_client/v2/models/unit.rb
3105
+ - lib/datadog_api_client/v2/models/update_open_api_response.rb
3106
+ - lib/datadog_api_client/v2/models/update_open_api_response_attributes.rb
3107
+ - lib/datadog_api_client/v2/models/update_open_api_response_data.rb
3077
3108
  - lib/datadog_api_client/v2/models/usage_application_security_monitoring_response.rb
3078
3109
  - lib/datadog_api_client/v2/models/usage_attributes_object.rb
3079
3110
  - lib/datadog_api_client/v2/models/usage_data_object.rb
@@ -1,8 +0,0 @@
1
- # Get hourly usage for Lambda returns "OK" response
2
-
3
- require "datadog_api_client"
4
- api_instance = DatadogAPIClient::V1::UsageMeteringAPI.new
5
- opts = {
6
- end_hr: (Time.now + -3 * 86400),
7
- }
8
- p api_instance.get_usage_lambda((Time.now + -5 * 86400), opts)