Skip to content

Commit 38e2272

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit c21f41b of spec repo
1 parent 13a2477 commit 38e2272

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31357,6 +31357,10 @@ components:
3135731357
items:
3135831358
$ref: '#/components/schemas/ObservabilityPipelineConfigSourceItem'
3135931359
type: array
31360+
use_legacy_search_syntax:
31361+
description: Use this field to configure the pipeline's filter queries to
31362+
use the deprecated search syntax.
31363+
type: boolean
3136031364
required:
3136131365
- sources
3136231366
- destinations

LICENSE-3rdparty.csv

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
Component,Origin,License,Copyright
2-
addr2line,https://github.com/gimli-rs/addr2line,Apache-2.0 OR MIT,The addr2line Authors
32
adler2,https://github.com/oyvindln/adler2,0BSD OR MIT OR Apache-2.0,"Jonas Schievink <[email protected]>, oyvindln <[email protected]>"
43
android_system_properties,https://github.com/nical/android_system_properties,MIT OR Apache-2.0,Nicolas Silva <[email protected]>
54
anyhow,https://github.com/dtolnay/anyhow,MIT OR Apache-2.0,David Tolnay <[email protected]>
65
async-stream,https://github.com/tokio-rs/async-stream,MIT,Carl Lerche <[email protected]>
76
async-stream-impl,https://github.com/tokio-rs/async-stream,MIT,Carl Lerche <[email protected]>
87
async-trait,https://github.com/dtolnay/async-trait,MIT OR Apache-2.0,David Tolnay <[email protected]>
9-
backtrace,https://github.com/rust-lang/backtrace-rs,MIT OR Apache-2.0,The Rust Project Developers
108
base64,https://github.com/marshallpierce/rust-base64,MIT OR Apache-2.0,"Alice Maz <[email protected]>, Marshall Pierce <[email protected]>"
119
base64,https://github.com/marshallpierce/rust-base64,MIT OR Apache-2.0,Marshall Pierce <[email protected]>
1210
bitflags,https://github.com/bitflags/bitflags,MIT OR Apache-2.0,The Rust Project Developers
@@ -43,7 +41,6 @@ futures-sink,https://github.com/rust-lang/futures-rs,MIT OR Apache-2.0,The futur
4341
futures-task,https://github.com/rust-lang/futures-rs,MIT OR Apache-2.0,The futures-task Authors
4442
futures-util,https://github.com/rust-lang/futures-rs,MIT OR Apache-2.0,The futures-util Authors
4543
getrandom,https://github.com/rust-random/getrandom,MIT OR Apache-2.0,The Rand Project Developers
46-
gimli,https://github.com/gimli-rs/gimli,MIT OR Apache-2.0,The gimli Authors
4744
h2,https://github.com/hyperium/h2,MIT,"Carl Lerche <[email protected]>, Sean McArthur <[email protected]>"
4845
hashbrown,https://github.com/rust-lang/hashbrown,MIT OR Apache-2.0,Amanieu d'Antras <[email protected]>
4946
hex,https://github.com/KokaKiwi/rust-hex,MIT OR Apache-2.0,KokaKiwi <[email protected]>
@@ -68,7 +65,6 @@ idna_adapter,https://github.com/hsivonen/idna_adapter,Apache-2.0 OR MIT,The rust
6865
indexmap,https://github.com/bluss/indexmap,Apache-2.0 OR MIT,The indexmap Authors
6966
indexmap,https://github.com/indexmap-rs/indexmap,Apache-2.0 OR MIT,The indexmap Authors
7067
instant,https://github.com/sebcrozet/instant,BSD-3-Clause,sebcrozet <[email protected]>
71-
io-uring,https://github.com/tokio-rs/io-uring,MIT OR Apache-2.0,quininer <[email protected]>
7268
ipnet,https://github.com/krisprice/ipnet,MIT OR Apache-2.0,Kris Price <[email protected]>
7369
itoa,https://github.com/dtolnay/itoa,MIT OR Apache-2.0,David Tolnay <[email protected]>
7470
js-sys,https://github.com/wasm-bindgen/wasm-bindgen/tree/master/crates/js-sys,MIT OR Apache-2.0,The wasm-bindgen Developers
@@ -86,7 +82,6 @@ mio,https://github.com/tokio-rs/mio,MIT,"Carl Lerche <[email protected]>, Thomas
8682
native-tls,https://github.com/sfackler/rust-native-tls,MIT OR Apache-2.0,Steven Fackler <[email protected]>
8783
num-conv,https://github.com/jhpratt/num-conv,MIT OR Apache-2.0,Jacob Pratt <[email protected]>
8884
num-traits,https://github.com/rust-num/num-traits,MIT OR Apache-2.0,The Rust Project Developers
89-
object,https://github.com/gimli-rs/object,Apache-2.0 OR MIT,The object Authors
9085
once_cell,https://github.com/matklad/once_cell,MIT OR Apache-2.0,Aleksey Kladov <[email protected]>
9186
openssl,https://github.com/sfackler/rust-openssl,Apache-2.0,Steven Fackler <[email protected]>
9287
openssl-macros,https://github.com/sfackler/rust-openssl,MIT OR Apache-2.0,The openssl-macros Authors
@@ -113,7 +108,6 @@ reqwest,https://github.com/seanmonstar/reqwest,MIT OR Apache-2.0,Sean McArthur <
113108
reqwest-middleware,https://github.com/TrueLayer/reqwest-middleware,MIT OR Apache-2.0,Rodrigo Gryzinski <[email protected]>
114109
reqwest-retry,https://github.com/TrueLayer/reqwest-middleware,MIT OR Apache-2.0,Rodrigo Gryzinski <[email protected]>
115110
retry-policies,https://github.com/TrueLayer/retry-policies,MIT OR Apache-2.0,Luca Palmieri <[email protected]>
116-
rustc-demangle,https://github.com/rust-lang/rustc-demangle,MIT OR Apache-2.0,Alex Crichton <[email protected]>
117111
rustix,https://github.com/bytecodealliance/rustix,Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT,"Dan Gohman <[email protected]>, Jakub Konka <[email protected]>"
118112
rustls-pemfile,https://github.com/rustls/pemfile,Apache-2.0 OR ISC OR MIT,The rustls-pemfile Authors
119113
ryu,https://github.com/dtolnay/ryu,Apache-2.0 OR BSL-1.0,David Tolnay <[email protected]>

src/datadogV2/model/model_observability_pipeline_config.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ pub struct ObservabilityPipelineConfig {
2020
/// A list of configured data sources for the pipeline.
2121
#[serde(rename = "sources")]
2222
pub sources: Vec<crate::datadogV2::model::ObservabilityPipelineConfigSourceItem>,
23+
/// Use this field to configure the pipeline's filter queries to use the deprecated search syntax.
24+
#[serde(rename = "use_legacy_search_syntax")]
25+
pub use_legacy_search_syntax: Option<bool>,
2326
#[serde(flatten)]
2427
pub additional_properties: std::collections::BTreeMap<String, serde_json::Value>,
2528
#[serde(skip)]
@@ -36,6 +39,7 @@ impl ObservabilityPipelineConfig {
3639
destinations,
3740
processors: None,
3841
sources,
42+
use_legacy_search_syntax: None,
3943
additional_properties: std::collections::BTreeMap::new(),
4044
_unparsed: false,
4145
}
@@ -49,6 +53,11 @@ impl ObservabilityPipelineConfig {
4953
self
5054
}
5155

56+
pub fn use_legacy_search_syntax(mut self, value: bool) -> Self {
57+
self.use_legacy_search_syntax = Some(value);
58+
self
59+
}
60+
5261
pub fn additional_properties(
5362
mut self,
5463
value: std::collections::BTreeMap<String, serde_json::Value>,
@@ -84,6 +93,7 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineConfig {
8493
let mut sources: Option<
8594
Vec<crate::datadogV2::model::ObservabilityPipelineConfigSourceItem>,
8695
> = None;
96+
let mut use_legacy_search_syntax: Option<bool> = None;
8797
let mut additional_properties: std::collections::BTreeMap<
8898
String,
8999
serde_json::Value,
@@ -105,6 +115,13 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineConfig {
105115
"sources" => {
106116
sources = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
107117
}
118+
"use_legacy_search_syntax" => {
119+
if v.is_null() {
120+
continue;
121+
}
122+
use_legacy_search_syntax =
123+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
124+
}
108125
&_ => {
109126
if let Ok(value) = serde_json::from_value(v.clone()) {
110127
additional_properties.insert(k, value);
@@ -120,6 +137,7 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineConfig {
120137
destinations,
121138
processors,
122139
sources,
140+
use_legacy_search_syntax,
123141
additional_properties,
124142
_unparsed,
125143
};

0 commit comments

Comments
 (0)