Skip to content

Commit befc07f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 6bb96c9 of spec repo
1 parent c84f7b4 commit befc07f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31470,6 +31470,10 @@ components:
3147031470
items:
3147131471
$ref: '#/components/schemas/ObservabilityPipelineConfigSourceItem'
3147231472
type: array
31473+
use_legacy_search_syntax:
31474+
description: Use this field to configure the pipeline's filter queries to
31475+
use the deprecated search syntax.
31476+
type: boolean
3147331477
required:
3147431478
- sources
3147531479
- destinations

src/datadog_api_client/v2/model/observability_pipeline_config.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,14 @@ def openapi_types(_):
171171
"destinations": ([ObservabilityPipelineConfigDestinationItem],),
172172
"processors": ([ObservabilityPipelineConfigProcessorItem],),
173173
"sources": ([ObservabilityPipelineConfigSourceItem],),
174+
"use_legacy_search_syntax": (bool,),
174175
}
175176

176177
attribute_map = {
177178
"destinations": "destinations",
178179
"processors": "processors",
179180
"sources": "sources",
181+
"use_legacy_search_syntax": "use_legacy_search_syntax",
180182
}
181183

182184
def __init__(
@@ -252,6 +254,7 @@ def __init__(
252254
],
253255
UnsetType,
254256
] = unset,
257+
use_legacy_search_syntax: Union[bool, UnsetType] = unset,
255258
**kwargs,
256259
):
257260
"""
@@ -265,9 +268,14 @@ def __init__(
265268
266269
:param sources: A list of configured data sources for the pipeline.
267270
:type sources: [ObservabilityPipelineConfigSourceItem]
271+
272+
:param use_legacy_search_syntax: Use this field to configure the pipeline's filter queries to use the deprecated search syntax.
273+
:type use_legacy_search_syntax: bool, optional
268274
"""
269275
if processors is not unset:
270276
kwargs["processors"] = processors
277+
if use_legacy_search_syntax is not unset:
278+
kwargs["use_legacy_search_syntax"] = use_legacy_search_syntax
271279
super().__init__(kwargs)
272280

273281
self_.destinations = destinations

0 commit comments

Comments
 (0)