Skip to content

Commit 28d521f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
fix monitor enum (#2046)
* Regenerate client from commit d082d733 of spec repo * pre-commit fixes --------- Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 48af15a commit 28d521f

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-07-16 10:52:48.447088",
8-
"spec_repo_commit": "06d5775d"
7+
"regenerated": "2024-07-16 12:50:21.933252",
8+
"spec_repo_commit": "d082d733"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-07-16 10:52:48.463831",
13-
"spec_repo_commit": "06d5775d"
12+
"regenerated": "2024-07-16 12:50:21.950576",
13+
"spec_repo_commit": "d082d733"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6854,7 +6854,7 @@ components:
68546854
- logs
68556855
- spans
68566856
- database_queries
6857-
- network_performance_queries
6857+
- network
68586858
example: rum
68596859
type: string
68606860
x-enum-varnames:
@@ -6866,7 +6866,7 @@ components:
68666866
- LOGS
68676867
- SPANS
68686868
- DATABASE_QUERIES
6869-
- NETWORK_PERFORMANCE_QUERIES
6869+
- NETWORK
68706870
MonitorFormulaAndFunctionQueryDefinition:
68716871
description: A formula and function query.
68726872
oneOf:

src/datadog_api_client/v1/model/monitor_formula_and_function_events_data_source.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class MonitorFormulaAndFunctionEventsDataSource(ModelSimple):
1616
"""
1717
Data source for event platform-based queries.
1818
19-
:param value: Must be one of ["rum", "ci_pipelines", "ci_tests", "audit", "events", "logs", "spans", "database_queries", "network_performance_queries"].
19+
:param value: Must be one of ["rum", "ci_pipelines", "ci_tests", "audit", "events", "logs", "spans", "database_queries", "network"].
2020
:type value: str
2121
"""
2222

@@ -29,7 +29,7 @@ class MonitorFormulaAndFunctionEventsDataSource(ModelSimple):
2929
"logs",
3030
"spans",
3131
"database_queries",
32-
"network_performance_queries",
32+
"network",
3333
}
3434
RUM: ClassVar["MonitorFormulaAndFunctionEventsDataSource"]
3535
CI_PIPELINES: ClassVar["MonitorFormulaAndFunctionEventsDataSource"]
@@ -39,7 +39,7 @@ class MonitorFormulaAndFunctionEventsDataSource(ModelSimple):
3939
LOGS: ClassVar["MonitorFormulaAndFunctionEventsDataSource"]
4040
SPANS: ClassVar["MonitorFormulaAndFunctionEventsDataSource"]
4141
DATABASE_QUERIES: ClassVar["MonitorFormulaAndFunctionEventsDataSource"]
42-
NETWORK_PERFORMANCE_QUERIES: ClassVar["MonitorFormulaAndFunctionEventsDataSource"]
42+
NETWORK: ClassVar["MonitorFormulaAndFunctionEventsDataSource"]
4343

4444
@cached_property
4545
def openapi_types(_):
@@ -58,6 +58,4 @@ def openapi_types(_):
5858
MonitorFormulaAndFunctionEventsDataSource.DATABASE_QUERIES = MonitorFormulaAndFunctionEventsDataSource(
5959
"database_queries"
6060
)
61-
MonitorFormulaAndFunctionEventsDataSource.NETWORK_PERFORMANCE_QUERIES = MonitorFormulaAndFunctionEventsDataSource(
62-
"network_performance_queries"
63-
)
61+
MonitorFormulaAndFunctionEventsDataSource.NETWORK = MonitorFormulaAndFunctionEventsDataSource("network")

0 commit comments

Comments
 (0)