Skip to content

Commit 3ababc0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit cd43b6e of spec repo
1 parent 9abe619 commit 3ababc0

19 files changed

+612
-32
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28208,6 +28208,10 @@ components:
2820828208
description: The `add_env_vars` processor adds environment variable values to
2820928209
log events.
2821028210
properties:
28211+
enabled:
28212+
description: The processor passes through all events if it is set to `false`.
28213+
Defaults to `true`.
28214+
type: boolean
2821128215
id:
2821228216
description: The unique identifier for this component. Used to reference
2821328217
this processor in the pipeline.
@@ -28267,6 +28271,10 @@ components:
2826728271
ObservabilityPipelineAddFieldsProcessor:
2826828272
description: The `add_fields` processor adds static key-value fields to logs.
2826928273
properties:
28274+
enabled:
28275+
description: The processor passes through all events if it is set to `false`.
28276+
Defaults to `true`.
28277+
type: boolean
2827028278
fields:
2827128279
description: A list of static fields (key-value pairs) that is added to
2827228280
each log event processed by this component.
@@ -28768,6 +28776,10 @@ components:
2876828776
Remap Language (VRL)](https://vector.dev/docs/reference/vrl/) scripts with
2876928777
advanced filtering capabilities.
2877028778
properties:
28779+
enabled:
28780+
description: The processor passes through all events if it is set to `false`.
28781+
Defaults to `true`.
28782+
type: boolean
2877128783
id:
2877228784
description: The unique identifier for this processor.
2877328785
example: remap-vrl-processor
@@ -28940,6 +28952,10 @@ components:
2894028952
properties:
2894128953
action:
2894228954
$ref: '#/components/schemas/ObservabilityPipelineDatadogTagsProcessorAction'
28955+
enabled:
28956+
description: The processor passes through all events if it is set to `false`.
28957+
Defaults to `true`.
28958+
type: boolean
2894328959
id:
2894428960
description: The unique identifier for this component. Used to reference
2894528961
this component in other parts of the pipeline (for example, as the `input`
@@ -29025,6 +29041,10 @@ components:
2902529041
ObservabilityPipelineDedupeProcessor:
2902629042
description: The `dedupe` processor removes duplicate fields in log events.
2902729043
properties:
29044+
enabled:
29045+
description: The processor passes through all events if it is set to `false`.
29046+
Defaults to `true`.
29047+
type: boolean
2902829048
fields:
2902929049
description: A list of log field paths to check for duplicates.
2903029050
example:
@@ -29266,6 +29286,10 @@ components:
2926629286
description: The `enrichment_table` processor enriches logs using a static CSV
2926729287
file or GeoIP database.
2926829288
properties:
29289+
enabled:
29290+
description: The processor passes through all events if it is set to `false`.
29291+
Defaults to `true`.
29292+
type: boolean
2926929293
file:
2927029294
$ref: '#/components/schemas/ObservabilityPipelineEnrichmentTableFile'
2927129295
geoip:
@@ -29329,6 +29353,10 @@ components:
2932929353
on a Datadog search query. Logs that match the `include` query are passed
2933029354
through; others are discarded.
2933129355
properties:
29356+
enabled:
29357+
description: The processor passes through all events if it is set to `false`.
29358+
Defaults to `true`.
29359+
type: boolean
2933229360
id:
2933329361
description: The unique identifier for this component. Used to reference
2933429362
this component in other parts of the pipeline (for example, as the `input`
@@ -29439,6 +29467,10 @@ components:
2943929467

2944029468
'
2944129469
properties:
29470+
enabled:
29471+
description: The processor passes through all events if it is set to `false`.
29472+
Defaults to `true`.
29473+
type: boolean
2944229474
id:
2944329475
description: The unique identifier for this component. Used to reference
2944429476
this component in other parts of the pipeline.
@@ -30015,6 +30047,10 @@ components:
3001530047
description: The `ocsf_mapper` processor transforms logs into the OCSF schema
3001630048
using a predefined mapping configuration.
3001730049
properties:
30050+
enabled:
30051+
description: The processor passes through all events if it is set to `false`.
30052+
Defaults to `true`.
30053+
type: boolean
3001830054
id:
3001930055
description: The unique identifier for this component. Used to reference
3002030056
this component in other parts of the pipeline.
@@ -30149,6 +30185,10 @@ components:
3014930185
by Datadog.
3015030186
example: true
3015130187
type: boolean
30188+
enabled:
30189+
description: The processor passes through all events if it is set to `false`.
30190+
Defaults to `true`.
30191+
type: boolean
3015230192
id:
3015330193
description: A unique identifier for this processor.
3015430194
example: parse-grok-processor
@@ -30273,6 +30313,10 @@ components:
3027330313
and flattens it into the event. This is useful when logs contain embedded
3027430314
JSON as a string.
3027530315
properties:
30316+
enabled:
30317+
description: The processor passes through all events if it is set to `false`.
30318+
Defaults to `true`.
30319+
type: boolean
3027630320
field:
3027730321
description: The name of the log field that contains a JSON string.
3027830322
example: message
@@ -30336,6 +30380,10 @@ components:
3033630380
the filter query continue through the pipeline.
3033730381
example: false
3033830382
type: boolean
30383+
enabled:
30384+
description: The processor passes through all events if it is set to `false`.
30385+
Defaults to `true`.
30386+
type: boolean
3033930387
id:
3034030388
description: The unique identifier for this component. Used to reference
3034130389
this component in other parts of the pipeline (for example, as the `input`
@@ -30468,6 +30516,10 @@ components:
3046830516
description: The `reduce` processor aggregates and merges logs based on matching
3046930517
keys and merge strategies.
3047030518
properties:
30519+
enabled:
30520+
description: The processor passes through all events if it is set to `false`.
30521+
Defaults to `true`.
30522+
type: boolean
3047130523
group_by:
3047230524
description: A list of fields used to group log events for merging.
3047330525
example:
@@ -30564,6 +30616,10 @@ components:
3056430616
ObservabilityPipelineRemoveFieldsProcessor:
3056530617
description: The `remove_fields` processor deletes specified fields from logs.
3056630618
properties:
30619+
enabled:
30620+
description: The processor passes through all events if it is set to `false`.
30621+
Defaults to `true`.
30622+
type: boolean
3056730623
fields:
3056830624
description: A list of field names to be removed from each log event.
3056930625
example:
@@ -30611,6 +30667,10 @@ components:
3061130667
ObservabilityPipelineRenameFieldsProcessor:
3061230668
description: The `rename_fields` processor changes field names.
3061330669
properties:
30670+
enabled:
30671+
description: The processor passes through all events if it is set to `false`.
30672+
Defaults to `true`.
30673+
type: boolean
3061430674
fields:
3061530675
description: A list of rename rules specifying which fields to rename in
3061630676
the event, what to rename them to, and whether to preserve the original
@@ -30750,6 +30810,10 @@ components:
3075030810
description: The `sample` processor allows probabilistic sampling of logs at
3075130811
a fixed rate.
3075230812
properties:
30813+
enabled:
30814+
description: The processor passes through all events if it is set to `false`.
30815+
Defaults to `true`.
30816+
type: boolean
3075330817
id:
3075430818
description: The unique identifier for this component. Used to reference
3075530819
this component in other parts of the pipeline (for example, as the `input`
@@ -30801,6 +30865,10 @@ components:
3080130865
description: The `sensitive_data_scanner` processor detects and optionally redacts
3080230866
sensitive data in log events.
3080330867
properties:
30868+
enabled:
30869+
description: The processor passes through all events if it is set to `false`.
30870+
Defaults to `true`.
30871+
type: boolean
3080430872
id:
3080530873
description: The unique identifier for this component. Used to reference
3080630874
this component in other parts of the pipeline (e.g., as input to downstream
@@ -31806,6 +31874,10 @@ components:
3180631874
description: The `throttle` processor limits the number of events that pass
3180731875
through over a given time window.
3180831876
properties:
31877+
enabled:
31878+
description: The processor passes through all events if it is set to `false`.
31879+
Defaults to `true`.
31880+
type: boolean
3180931881
group_by:
3181031882
description: Optional list of fields used to group events before the threshold
3181131883
has been reached.

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineAddEnvVarsProcessor.java

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
/** The <code>add_env_vars</code> processor adds environment variable values to log events. */
2323
@JsonPropertyOrder({
24+
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_ENABLED,
2425
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_ID,
2526
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_INCLUDE,
2627
ObservabilityPipelineAddEnvVarsProcessor.JSON_PROPERTY_INPUTS,
@@ -31,6 +32,9 @@
3132
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
3233
public class ObservabilityPipelineAddEnvVarsProcessor {
3334
@JsonIgnore public boolean unparsed = false;
35+
public static final String JSON_PROPERTY_ENABLED = "enabled";
36+
private Boolean enabled;
37+
3438
public static final String JSON_PROPERTY_ID = "id";
3539
private String id;
3640

@@ -66,6 +70,28 @@ public ObservabilityPipelineAddEnvVarsProcessor(
6670
this.variables = variables;
6771
}
6872

73+
public ObservabilityPipelineAddEnvVarsProcessor enabled(Boolean enabled) {
74+
this.enabled = enabled;
75+
return this;
76+
}
77+
78+
/**
79+
* The processor passes through all events if it is set to <code>false</code>. Defaults to <code>
80+
* true</code>.
81+
*
82+
* @return enabled
83+
*/
84+
@jakarta.annotation.Nullable
85+
@JsonProperty(JSON_PROPERTY_ENABLED)
86+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
87+
public Boolean getEnabled() {
88+
return enabled;
89+
}
90+
91+
public void setEnabled(Boolean enabled) {
92+
this.enabled = enabled;
93+
}
94+
6995
public ObservabilityPipelineAddEnvVarsProcessor id(String id) {
7096
this.id = id;
7197
return this;
@@ -244,7 +270,8 @@ public boolean equals(Object o) {
244270
}
245271
ObservabilityPipelineAddEnvVarsProcessor observabilityPipelineAddEnvVarsProcessor =
246272
(ObservabilityPipelineAddEnvVarsProcessor) o;
247-
return Objects.equals(this.id, observabilityPipelineAddEnvVarsProcessor.id)
273+
return Objects.equals(this.enabled, observabilityPipelineAddEnvVarsProcessor.enabled)
274+
&& Objects.equals(this.id, observabilityPipelineAddEnvVarsProcessor.id)
248275
&& Objects.equals(this.include, observabilityPipelineAddEnvVarsProcessor.include)
249276
&& Objects.equals(this.inputs, observabilityPipelineAddEnvVarsProcessor.inputs)
250277
&& Objects.equals(this.type, observabilityPipelineAddEnvVarsProcessor.type)
@@ -256,13 +283,14 @@ public boolean equals(Object o) {
256283

257284
@Override
258285
public int hashCode() {
259-
return Objects.hash(id, include, inputs, type, variables, additionalProperties);
286+
return Objects.hash(enabled, id, include, inputs, type, variables, additionalProperties);
260287
}
261288

262289
@Override
263290
public String toString() {
264291
StringBuilder sb = new StringBuilder();
265292
sb.append("class ObservabilityPipelineAddEnvVarsProcessor {\n");
293+
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
266294
sb.append(" id: ").append(toIndentedString(id)).append("\n");
267295
sb.append(" include: ").append(toIndentedString(include)).append("\n");
268296
sb.append(" inputs: ").append(toIndentedString(inputs)).append("\n");

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineAddFieldsProcessor.java

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
/** The <code>add_fields</code> processor adds static key-value fields to logs. */
2323
@JsonPropertyOrder({
24+
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_ENABLED,
2425
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_FIELDS,
2526
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_ID,
2627
ObservabilityPipelineAddFieldsProcessor.JSON_PROPERTY_INCLUDE,
@@ -31,6 +32,9 @@
3132
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
3233
public class ObservabilityPipelineAddFieldsProcessor {
3334
@JsonIgnore public boolean unparsed = false;
35+
public static final String JSON_PROPERTY_ENABLED = "enabled";
36+
private Boolean enabled;
37+
3438
public static final String JSON_PROPERTY_FIELDS = "fields";
3539
private List<ObservabilityPipelineFieldValue> fields = new ArrayList<>();
3640

@@ -66,6 +70,28 @@ public ObservabilityPipelineAddFieldsProcessor(
6670
this.unparsed |= !type.isValid();
6771
}
6872

73+
public ObservabilityPipelineAddFieldsProcessor enabled(Boolean enabled) {
74+
this.enabled = enabled;
75+
return this;
76+
}
77+
78+
/**
79+
* The processor passes through all events if it is set to <code>false</code>. Defaults to <code>
80+
* true</code>.
81+
*
82+
* @return enabled
83+
*/
84+
@jakarta.annotation.Nullable
85+
@JsonProperty(JSON_PROPERTY_ENABLED)
86+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
87+
public Boolean getEnabled() {
88+
return enabled;
89+
}
90+
91+
public void setEnabled(Boolean enabled) {
92+
this.enabled = enabled;
93+
}
94+
6995
public ObservabilityPipelineAddFieldsProcessor fields(
7096
List<ObservabilityPipelineFieldValue> fields) {
7197
this.fields = fields;
@@ -246,7 +272,8 @@ public boolean equals(Object o) {
246272
}
247273
ObservabilityPipelineAddFieldsProcessor observabilityPipelineAddFieldsProcessor =
248274
(ObservabilityPipelineAddFieldsProcessor) o;
249-
return Objects.equals(this.fields, observabilityPipelineAddFieldsProcessor.fields)
275+
return Objects.equals(this.enabled, observabilityPipelineAddFieldsProcessor.enabled)
276+
&& Objects.equals(this.fields, observabilityPipelineAddFieldsProcessor.fields)
250277
&& Objects.equals(this.id, observabilityPipelineAddFieldsProcessor.id)
251278
&& Objects.equals(this.include, observabilityPipelineAddFieldsProcessor.include)
252279
&& Objects.equals(this.inputs, observabilityPipelineAddFieldsProcessor.inputs)
@@ -258,13 +285,14 @@ public boolean equals(Object o) {
258285

259286
@Override
260287
public int hashCode() {
261-
return Objects.hash(fields, id, include, inputs, type, additionalProperties);
288+
return Objects.hash(enabled, fields, id, include, inputs, type, additionalProperties);
262289
}
263290

264291
@Override
265292
public String toString() {
266293
StringBuilder sb = new StringBuilder();
267294
sb.append("class ObservabilityPipelineAddFieldsProcessor {\n");
295+
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
268296
sb.append(" fields: ").append(toIndentedString(fields)).append("\n");
269297
sb.append(" id: ").append(toIndentedString(id)).append("\n");
270298
sb.append(" include: ").append(toIndentedString(include)).append("\n");

0 commit comments

Comments
 (0)