Skip to content

Commit 986c64e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e771d13 of spec repo
1 parent e0bc0de commit 986c64e

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37916,6 +37916,15 @@ components:
3791637916
items:
3791737917
$ref: '#/components/schemas/ObservabilityPipelineConfigSourceItem'
3791837918
type: array
37919+
use_legacy_search_syntax:
37920+
description: '**Warning**: Use this field only when migrating existing pipelines
37921+
from the legacy search syntax to the new search syntax.
37922+
37923+
Requires Observability Pipelines Worker version 2.11 or later.
37924+
37925+
See [Upgrade Your Filter Queries to the New Search Syntax](https://docs.datadoghq.com/observability_pipelines/guide/upgrade_your_filter_queries_to_the_new_search_syntax/)
37926+
for more information.'
37927+
type: boolean
3791937928
required:
3792037929
- sources
3792137930
- destinations

src/datadog_api_client/v2/model/observability_pipeline_config.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ def openapi_types(_):
152152
"processor_groups": ([ObservabilityPipelineConfigProcessorGroup],),
153153
"processors": ([ObservabilityPipelineConfigProcessorGroup],),
154154
"sources": ([ObservabilityPipelineConfigSourceItem],),
155+
"use_legacy_search_syntax": (bool,),
155156
}
156157

157158
attribute_map = {
@@ -160,6 +161,7 @@ def openapi_types(_):
160161
"processor_groups": "processor_groups",
161162
"processors": "processors",
162163
"sources": "sources",
164+
"use_legacy_search_syntax": "use_legacy_search_syntax",
163165
}
164166

165167
def __init__(
@@ -217,6 +219,7 @@ def __init__(
217219
pipeline_type: Union[ObservabilityPipelineConfigPipelineType, UnsetType] = unset,
218220
processor_groups: Union[List[ObservabilityPipelineConfigProcessorGroup], UnsetType] = unset,
219221
processors: Union[List[ObservabilityPipelineConfigProcessorGroup], UnsetType] = unset,
222+
use_legacy_search_syntax: Union[bool, UnsetType] = unset,
220223
**kwargs,
221224
):
222225
"""
@@ -238,13 +241,20 @@ def __init__(
238241
239242
:param sources: A list of configured data sources for the pipeline.
240243
:type sources: [ObservabilityPipelineConfigSourceItem]
244+
245+
:param use_legacy_search_syntax: **Warning** : Use this field only when migrating existing pipelines from the legacy search syntax to the new search syntax.
246+
Requires Observability Pipelines Worker version 2.11 or later.
247+
See `Upgrade Your Filter Queries to the New Search Syntax <https://docs.datadoghq.com/observability_pipelines/guide/upgrade_your_filter_queries_to_the_new_search_syntax/>`_ for more information.
248+
:type use_legacy_search_syntax: bool, optional
241249
"""
242250
if pipeline_type is not unset:
243251
kwargs["pipeline_type"] = pipeline_type
244252
if processor_groups is not unset:
245253
kwargs["processor_groups"] = processor_groups
246254
if processors is not unset:
247255
kwargs["processors"] = processors
256+
if use_legacy_search_syntax is not unset:
257+
kwargs["use_legacy_search_syntax"] = use_legacy_search_syntax
248258
super().__init__(kwargs)
249259

250260
self_.destinations = destinations

0 commit comments

Comments
 (0)