From f7c4054623844e3d0c14028f807298cc3154ddde Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 19 Feb 2024 13:35:30 +0000 Subject: [PATCH] Regenerate client from commit e27b1929 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 2 ++ .../monitor_formula_and_function_events_data_source.py | 7 ++++++- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index f96b019b12..fccbf85054 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-16 18:02:51.487464", - "spec_repo_commit": "dc02d0d0" + "regenerated": "2024-02-19 13:34:56.495396", + "spec_repo_commit": "e27b1929" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-16 18:02:51.501999", - "spec_repo_commit": "dc02d0d0" + "regenerated": "2024-02-19 13:34:56.509928", + "spec_repo_commit": "e27b1929" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 89e57a83cb..367d14e51a 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -6764,6 +6764,7 @@ components: - events - logs - spans + - database_queries example: rum type: string x-enum-varnames: @@ -6774,6 +6775,7 @@ components: - EVENTS - LOGS - SPANS + - DATABASE_QUERIES MonitorFormulaAndFunctionQueryDefinition: description: A formula and function query. oneOf: diff --git a/src/datadog_api_client/v1/model/monitor_formula_and_function_events_data_source.py b/src/datadog_api_client/v1/model/monitor_formula_and_function_events_data_source.py index b5a8536a70..655c5fafca 100644 --- a/src/datadog_api_client/v1/model/monitor_formula_and_function_events_data_source.py +++ b/src/datadog_api_client/v1/model/monitor_formula_and_function_events_data_source.py @@ -16,7 +16,7 @@ class MonitorFormulaAndFunctionEventsDataSource(ModelSimple): """ Data source for event platform-based queries. - :param value: Must be one of ["rum", "ci_pipelines", "ci_tests", "audit", "events", "logs", "spans"]. + :param value: Must be one of ["rum", "ci_pipelines", "ci_tests", "audit", "events", "logs", "spans", "database_queries"]. :type value: str """ @@ -28,6 +28,7 @@ class MonitorFormulaAndFunctionEventsDataSource(ModelSimple): "events", "logs", "spans", + "database_queries", } RUM: ClassVar["MonitorFormulaAndFunctionEventsDataSource"] CI_PIPELINES: ClassVar["MonitorFormulaAndFunctionEventsDataSource"] @@ -36,6 +37,7 @@ class MonitorFormulaAndFunctionEventsDataSource(ModelSimple): EVENTS: ClassVar["MonitorFormulaAndFunctionEventsDataSource"] LOGS: ClassVar["MonitorFormulaAndFunctionEventsDataSource"] SPANS: ClassVar["MonitorFormulaAndFunctionEventsDataSource"] + DATABASE_QUERIES: ClassVar["MonitorFormulaAndFunctionEventsDataSource"] @cached_property def openapi_types(_): @@ -51,3 +53,6 @@ def openapi_types(_): MonitorFormulaAndFunctionEventsDataSource.EVENTS = MonitorFormulaAndFunctionEventsDataSource("events") MonitorFormulaAndFunctionEventsDataSource.LOGS = MonitorFormulaAndFunctionEventsDataSource("logs") MonitorFormulaAndFunctionEventsDataSource.SPANS = MonitorFormulaAndFunctionEventsDataSource("spans") +MonitorFormulaAndFunctionEventsDataSource.DATABASE_QUERIES = MonitorFormulaAndFunctionEventsDataSource( + "database_queries" +)