datadog_api_client 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.apigentools-info +6 -6
- data/.generator/conftest.py +2 -1
- data/.generator/schemas/v1/openapi.yaml +284 -902
- data/.generator/schemas/v2/openapi.yaml +343 -672
- data/.generator/src/generator/formatter.py +1 -1
- data/.generator/src/generator/templates/example.j2 +5 -0
- data/.github/workflows/test.yml +1 -1
- data/.github/workflows/test_integration.yml +5 -0
- data/CHANGELOG.md +42 -0
- data/README.md +13 -13
- data/examples/v1/dashboards/CreateDashboard_1094917386.rb +37 -0
- data/examples/v1/dashboards/CreateDashboard_1307120899.rb +61 -0
- data/examples/v1/monitors/ValidateExistingMonitor.rb +1 -0
- data/examples/v1/monitors/ValidateMonitor.rb +1 -0
- data/examples/v1/monitors/ValidateMonitor_4247196452.rb +38 -0
- data/examples/v1/pagerduty-integration/DeletePagerDutyIntegrationService.rb +2 -2
- data/examples/v1/synthetics/CreateGlobalVariable.rb +1 -0
- data/examples/v1/synthetics/CreateGlobalVariable_1068962881.rb +23 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +10 -0
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +6 -0
- data/examples/v1/synthetics/EditGlobalVariable.rb +1 -0
- data/examples/v1/synthetics/UpdateBrowserTest.rb +1 -0
- data/examples/v1/usage-metering/GetDailyCustomReports.rb +0 -3
- data/examples/v1/usage-metering/GetMonthlyCustomReports.rb +0 -3
- data/examples/v1/usage-metering/GetSpecifiedDailyCustomReports.rb +0 -3
- data/examples/v1/usage-metering/GetSpecifiedMonthlyCustomReports.rb +0 -3
- data/examples/v1/usage-metering/GetUsageAttribution.rb +0 -3
- data/examples/v2/audit/ListAuditLogs_1275402458.rb +8 -0
- data/examples/v2/audit/SearchAuditLogs_3215529662.rb +22 -0
- data/examples/v2/events/ListEvents_1527584014.rb +13 -0
- data/examples/v2/events/SearchEvents_3856995058.rb +25 -0
- data/examples/v2/incidents/ListIncidents_2665616954.rb +11 -0
- data/examples/v2/logs/ListLogsGet_738202670.rb +8 -0
- data/examples/v2/logs/ListLogs_3138392594.rb +25 -0
- data/examples/v2/metrics/SubmitMetrics_1762007427.rb +23 -0
- data/examples/v2/processes/ListProcesses_797840471.rb +8 -0
- data/examples/v2/roles/UpdateRole.rb +13 -0
- data/examples/v2/rum/CreateRUMApplication.rb +15 -0
- data/examples/v2/rum/DeleteRUMApplication.rb +8 -0
- data/examples/v2/rum/GetRUMApplication.rb +8 -0
- data/examples/v2/rum/GetRUMApplications.rb +5 -0
- data/examples/v2/rum/ListRUMEvents_2680821282.rb +8 -0
- data/examples/v2/rum/SearchRUMEvents_574690310.rb +21 -0
- data/examples/v2/rum/UpdateRUMApplication.rb +16 -0
- data/examples/v2/security-monitoring/ListSecurityMonitoringSignals_3960412991.rb +8 -0
- data/examples/v2/security-monitoring/SearchSecurityMonitoringSignals_1309350146.rb +20 -0
- data/examples/v2/usage-metering/GetHourlyUsage.rb +5 -0
- data/lib/datadog_api_client/configuration.rb +0 -5
- data/lib/datadog_api_client/inflector.rb +16 -0
- data/lib/datadog_api_client/v1/api/metrics_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +42 -62
- data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/metric_content_encoding.rb +1 -0
- data/lib/datadog_api_client/v1/models/monitor_options.rb +28 -1
- data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +13 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -1
- data/lib/datadog_api_client/v1/models/on_missing_data_option.rb +33 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +2 -1
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest.rb +155 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +11 -12
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +31 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_process_status.rb +0 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +15 -1
- data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +2 -0
- data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +2 -0
- data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +12 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +11 -1
- data/lib/datadog_api_client/v1/models/widget_monitor_summary_sort.rb +2 -0
- data/lib/datadog_api_client/v2/api/events_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/logs_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/rum_api.rb +329 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -3
- data/lib/datadog_api_client/v2/models/content_encoding.rb +1 -0
- data/lib/datadog_api_client/v2/models/metric_content_encoding.rb +2 -0
- data/lib/datadog_api_client/v2/models/role_update_data.rb +11 -1
- data/lib/datadog_api_client/v2/models/rum_application.rb +166 -0
- data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +279 -0
- data/lib/datadog_api_client/v2/models/rum_application_create.rb +145 -0
- data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +132 -0
- data/lib/datadog_api_client/v2/models/rum_application_create_request.rb +122 -0
- data/lib/datadog_api_client/v2/models/rum_application_create_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_application_response.rb +111 -0
- data/lib/datadog_api_client/v2/models/rum_application_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_application_update.rb +155 -0
- data/lib/datadog_api_client/v2/models/rum_application_update_attributes.rb +121 -0
- data/lib/datadog_api_client/v2/models/rum_application_update_request.rb +122 -0
- data/lib/datadog_api_client/v2/models/rum_application_update_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_applications_response.rb +113 -0
- data/lib/datadog_api_client/version.rb +1 -1
- data/lib/datadog_api_client.rb +6 -4
- metadata +41 -3
- data/lib/datadog_api_client/v2.rb +0 -595
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27416da57e82f283df821e0bfbbf19e34edbf55710f57b25588bf6015bbea905
|
4
|
+
data.tar.gz: 5669fd22f1a4fa571825ca93fc462a8615c45ac95c45bdf4bae08b5fa7f31f1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
7
|
-
"regenerated": "2022-
|
8
|
-
"spec_repo_commit": "
|
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.
|
12
|
-
"regenerated": "2022-
|
13
|
-
"spec_repo_commit": "
|
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
|
}
|
data/.generator/conftest.py
CHANGED
@@ -106,7 +106,7 @@ def pytest_bdd_after_scenario(request, feature, scenario):
|
|
106
106
|
|
107
107
|
def pytest_bdd_apply_tag(tag, function):
|
108
108
|
"""Register tags as custom markers and skip test for '@skip' ones."""
|
109
|
-
skip_tags = {
|
109
|
+
skip_tags = {}
|
110
110
|
if tag in skip_tags:
|
111
111
|
marker = pytest.mark.skip(reason=f"skipped because '{tag}' in {skip_tags}")
|
112
112
|
marker(function)
|
@@ -443,6 +443,7 @@ def execute_request(context, api_version):
|
|
443
443
|
@when("the request with pagination is sent")
|
444
444
|
def execute_request_with_pagination(context):
|
445
445
|
"""Execute the prepared request paginated."""
|
446
|
+
context["pagination"] = True
|
446
447
|
|
447
448
|
|
448
449
|
@then(parsers.parse("the response status is {status:d} {description}"))
|