Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31470,6 +31470,10 @@ components:
items:
$ref: '#/components/schemas/ObservabilityPipelineConfigSourceItem'
type: array
use_legacy_search_syntax:
description: Use this field to configure the pipeline's filter queries to
use the deprecated search syntax.
type: boolean
required:
- sources
- destinations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,14 @@ def openapi_types(_):
"destinations": ([ObservabilityPipelineConfigDestinationItem],),
"processors": ([ObservabilityPipelineConfigProcessorItem],),
"sources": ([ObservabilityPipelineConfigSourceItem],),
"use_legacy_search_syntax": (bool,),
}

attribute_map = {
"destinations": "destinations",
"processors": "processors",
"sources": "sources",
"use_legacy_search_syntax": "use_legacy_search_syntax",
}

def __init__(
Expand Down Expand Up @@ -252,6 +254,7 @@ def __init__(
],
UnsetType,
] = unset,
use_legacy_search_syntax: Union[bool, UnsetType] = unset,
**kwargs,
):
"""
Expand All @@ -265,9 +268,14 @@ def __init__(

:param sources: A list of configured data sources for the pipeline.
:type sources: [ObservabilityPipelineConfigSourceItem]

:param use_legacy_search_syntax: Use this field to configure the pipeline's filter queries to use the deprecated search syntax.
:type use_legacy_search_syntax: bool, optional
"""
if processors is not unset:
kwargs["processors"] = processors
if use_legacy_search_syntax is not unset:
kwargs["use_legacy_search_syntax"] = use_legacy_search_syntax
super().__init__(kwargs)

self_.destinations = destinations
Expand Down