Skip to content

Commit 111e61d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 67fffe4 of spec repo
1 parent 80e17dc commit 111e61d

File tree

40 files changed

+319
-65
lines changed

40 files changed

+319
-65
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35144,6 +35144,8 @@ components:
3514435144
description: The `add_env_vars` processor adds environment variable values to
3514535145
log events.
3514635146
properties:
35147+
display_name:
35148+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3514735149
enabled:
3514835150
description: Whether this processor is enabled.
3514935151
example: true
@@ -35199,6 +35201,8 @@ components:
3519935201
ObservabilityPipelineAddFieldsProcessor:
3520035202
description: The `add_fields` processor adds static key-value fields to logs.
3520135203
properties:
35204+
display_name:
35205+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3520235206
enabled:
3520335207
description: Whether this processor is enabled.
3520435208
example: true
@@ -35515,6 +35519,10 @@ components:
3551535519
role session.
3551635520
type: string
3551735521
type: object
35522+
ObservabilityPipelineComponentDisplayName:
35523+
description: The display name for a component.
35524+
example: my component
35525+
type: string
3551835526
ObservabilityPipelineConfig:
3551935527
description: Specifies the pipeline's configuration, including its sources,
3552035528
processors, and destinations.
@@ -35605,6 +35613,8 @@ components:
3560535613
include: status:error
3560635614
type: filter
3560735615
properties:
35616+
display_name:
35617+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3560835618
enabled:
3560935619
description: Whether this processor group is enabled.
3561035620
example: true
@@ -35768,6 +35778,8 @@ components:
3576835778
Remap Language (VRL)](https://vector.dev/docs/reference/vrl/) scripts with
3576935779
advanced filtering capabilities.
3577035780
properties:
35781+
display_name:
35782+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3577135783
enabled:
3577235784
description: Whether this processor is enabled.
3577335785
example: true
@@ -35935,6 +35947,8 @@ components:
3593535947
properties:
3593635948
action:
3593735949
$ref: '#/components/schemas/ObservabilityPipelineDatadogTagsProcessorAction'
35950+
display_name:
35951+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3593835952
enabled:
3593935953
description: Whether this processor is enabled.
3594035954
example: true
@@ -36016,6 +36030,8 @@ components:
3601636030
ObservabilityPipelineDedupeProcessor:
3601736031
description: The `dedupe` processor removes duplicate fields in log events.
3601836032
properties:
36033+
display_name:
36034+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3601936035
enabled:
3602036036
description: Whether this processor is enabled.
3602136037
example: true
@@ -36253,6 +36269,8 @@ components:
3625336269
description: The `enrichment_table` processor enriches logs using a static CSV
3625436270
file or GeoIP database.
3625536271
properties:
36272+
display_name:
36273+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3625636274
enabled:
3625736275
description: Whether this processor is enabled.
3625836276
example: true
@@ -36312,6 +36330,8 @@ components:
3631236330
on a Datadog search query. Logs that match the `include` query are passed
3631336331
through; others are discarded.
3631436332
properties:
36333+
display_name:
36334+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3631536335
enabled:
3631636336
description: Whether this processor is enabled.
3631736337
example: true
@@ -36414,6 +36434,8 @@ components:
3641436434
Metrics can be counters, gauges, or distributions and optionally grouped by
3641536435
log fields.'
3641636436
properties:
36437+
display_name:
36438+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3641736439
enabled:
3641836440
description: Whether this processor is enabled.
3641936441
example: true
@@ -37035,6 +37057,8 @@ components:
3703537057
description: The `ocsf_mapper` processor transforms logs into the OCSF schema
3703637058
using a predefined mapping configuration.
3703737059
properties:
37060+
display_name:
37061+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3703837062
enabled:
3703937063
description: Whether this processor is enabled.
3704037064
example: true
@@ -37166,6 +37190,8 @@ components:
3716637190
by Datadog.
3716737191
example: true
3716837192
type: boolean
37193+
display_name:
37194+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3716937195
enabled:
3717037196
description: Whether this processor is enabled.
3717137197
example: true
@@ -37278,6 +37304,8 @@ components:
3727837304
and flattens it into the event. This is useful when logs contain embedded
3727937305
JSON as a string.
3728037306
properties:
37307+
display_name:
37308+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3728137309
enabled:
3728237310
description: Whether this processor is enabled.
3728337311
example: true
@@ -37331,6 +37359,8 @@ components:
3733137359
a specified filter. When the configured daily quota is met, the processor
3733237360
can drop or alert.
3733337361
properties:
37362+
display_name:
37363+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3733437364
drop_events:
3733537365
description: If set to `true`, logs that matched the quota filter and sent
3733637366
after the quota has been met are dropped; only logs that did not match
@@ -37462,6 +37492,8 @@ components:
3746237492
description: The `reduce` processor aggregates and merges logs based on matching
3746337493
keys and merge strategies.
3746437494
properties:
37495+
display_name:
37496+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3746537497
enabled:
3746637498
description: Whether this processor is enabled.
3746737499
example: true
@@ -37554,6 +37586,8 @@ components:
3755437586
ObservabilityPipelineRemoveFieldsProcessor:
3755537587
description: The `remove_fields` processor deletes specified fields from logs.
3755637588
properties:
37589+
display_name:
37590+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3755737591
enabled:
3755837592
description: Whether this processor is enabled.
3755937593
example: true
@@ -37598,6 +37632,8 @@ components:
3759837632
ObservabilityPipelineRenameFieldsProcessor:
3759937633
description: The `rename_fields` processor changes field names.
3760037634
properties:
37635+
display_name:
37636+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3760137637
enabled:
3760237638
description: Whether this processor is enabled.
3760337639
example: true
@@ -37733,6 +37769,8 @@ components:
3773337769
description: The `sample` processor allows probabilistic sampling of logs at
3773437770
a fixed rate.
3773537771
properties:
37772+
display_name:
37773+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3773637774
enabled:
3773737775
description: Whether this processor is enabled.
3773837776
example: true
@@ -37780,6 +37818,8 @@ components:
3778037818
description: The `sensitive_data_scanner` processor detects and optionally redacts
3778137819
sensitive data in log events.
3778237820
properties:
37821+
display_name:
37822+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3778337823
enabled:
3778437824
description: Whether this processor is enabled.
3778537825
example: true
@@ -38769,6 +38809,8 @@ components:
3876938809
description: The `throttle` processor limits the number of events that pass
3877038810
through over a given time window.
3877138811
properties:
38812+
display_name:
38813+
$ref: '#/components/schemas/ObservabilityPipelineComponentDisplayName'
3877238814
enabled:
3877338815
description: Whether this processor is enabled.
3877438816
example: true

src/datadog_api_client/v2/model/observability_pipeline_add_env_vars_processor.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import List, TYPE_CHECKING
6+
from typing import List, Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
unset,
12+
UnsetType,
1113
)
1214

1315

@@ -31,6 +33,7 @@ def openapi_types(_):
3133
)
3234

3335
return {
36+
"display_name": (str,),
3437
"enabled": (bool,),
3538
"id": (str,),
3639
"include": (str,),
@@ -39,6 +42,7 @@ def openapi_types(_):
3942
}
4043

4144
attribute_map = {
45+
"display_name": "display_name",
4246
"enabled": "enabled",
4347
"id": "id",
4448
"include": "include",
@@ -53,11 +57,15 @@ def __init__(
5357
include: str,
5458
type: ObservabilityPipelineAddEnvVarsProcessorType,
5559
variables: List[ObservabilityPipelineAddEnvVarsProcessorVariable],
60+
display_name: Union[str, UnsetType] = unset,
5661
**kwargs,
5762
):
5863
"""
5964
The ``add_env_vars`` processor adds environment variable values to log events.
6065
66+
:param display_name: The display name for a component.
67+
:type display_name: str, optional
68+
6169
:param enabled: Whether this processor is enabled.
6270
:type enabled: bool
6371
@@ -73,6 +81,8 @@ def __init__(
7381
:param variables: A list of environment variable mappings to apply to log fields.
7482
:type variables: [ObservabilityPipelineAddEnvVarsProcessorVariable]
7583
"""
84+
if display_name is not unset:
85+
kwargs["display_name"] = display_name
7686
super().__init__(kwargs)
7787

7888
self_.enabled = enabled

src/datadog_api_client/v2/model/observability_pipeline_add_fields_processor.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import List, TYPE_CHECKING
6+
from typing import List, Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
unset,
12+
UnsetType,
1113
)
1214

1315

@@ -27,6 +29,7 @@ def openapi_types(_):
2729
)
2830

2931
return {
32+
"display_name": (str,),
3033
"enabled": (bool,),
3134
"fields": ([ObservabilityPipelineFieldValue],),
3235
"id": (str,),
@@ -35,6 +38,7 @@ def openapi_types(_):
3538
}
3639

3740
attribute_map = {
41+
"display_name": "display_name",
3842
"enabled": "enabled",
3943
"fields": "fields",
4044
"id": "id",
@@ -49,11 +53,15 @@ def __init__(
4953
id: str,
5054
include: str,
5155
type: ObservabilityPipelineAddFieldsProcessorType,
56+
display_name: Union[str, UnsetType] = unset,
5257
**kwargs,
5358
):
5459
"""
5560
The ``add_fields`` processor adds static key-value fields to logs.
5661
62+
:param display_name: The display name for a component.
63+
:type display_name: str, optional
64+
5765
:param enabled: Whether this processor is enabled.
5866
:type enabled: bool
5967
@@ -69,6 +77,8 @@ def __init__(
6977
:param type: The processor type. The value should always be ``add_fields``.
7078
:type type: ObservabilityPipelineAddFieldsProcessorType
7179
"""
80+
if display_name is not unset:
81+
kwargs["display_name"] = display_name
7282
super().__init__(kwargs)
7383

7484
self_.enabled = enabled

src/datadog_api_client/v2/model/observability_pipeline_config_processor_group.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
unset,
12+
UnsetType,
1113
)
1214

1315

@@ -67,6 +69,7 @@ def openapi_types(_):
6769
)
6870

6971
return {
72+
"display_name": (str,),
7073
"enabled": (bool,),
7174
"id": (str,),
7275
"include": (str,),
@@ -75,6 +78,7 @@ def openapi_types(_):
7578
}
7679

7780
attribute_map = {
81+
"display_name": "display_name",
7882
"enabled": "enabled",
7983
"id": "id",
8084
"include": "include",
@@ -111,11 +115,15 @@ def __init__(
111115
ObservabilityPipelineDatadogTagsProcessor,
112116
]
113117
],
118+
display_name: Union[str, UnsetType] = unset,
114119
**kwargs,
115120
):
116121
"""
117122
A group of processors.
118123
124+
:param display_name: The display name for a component.
125+
:type display_name: str, optional
126+
119127
:param enabled: Whether this processor group is enabled.
120128
:type enabled: bool
121129
@@ -131,6 +139,8 @@ def __init__(
131139
:param processors: Processors applied sequentially within this group. Events flow through each processor in order.
132140
:type processors: [ObservabilityPipelineConfigProcessorItem]
133141
"""
142+
if display_name is not unset:
143+
kwargs["display_name"] = display_name
134144
super().__init__(kwargs)
135145

136146
self_.enabled = enabled

src/datadog_api_client/v2/model/observability_pipeline_config_processor_item.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ def __init__(self, **kwargs):
1515
"""
1616
A processor for the pipeline.
1717
18+
:param display_name: The display name for a component.
19+
:type display_name: str, optional
20+
1821
:param enabled: Whether this processor is enabled.
1922
:type enabled: bool
2023

0 commit comments

Comments
 (0)