Skip to content

Commit 1af15ee

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 8148f42 of spec repo
1 parent fc9e7fc commit 1af15ee

22 files changed

Lines changed: 420 additions & 92 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 55 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19255,9 +19255,6 @@ components:
1925519255
ConvertJobResultsToSignalsAttributes:
1925619256
description: Attributes for converting historical job results to signals.
1925719257
properties:
19258-
id:
19259-
description: Request ID.
19260-
type: string
1926119258
jobResultIds:
1926219259
description: Job result IDs.
1926319260
example:
@@ -38050,10 +38047,34 @@ components:
3805038047
HistoricalJobQuery:
3805138048
description: Query for selecting logs analyzed by the historical job.
3805238049
properties:
38050+
additionalFilters:
38051+
description: Additional filters appended to the query at evaluation time.
38052+
type: string
3805338053
aggregation:
3805438054
$ref: "#/components/schemas/SecurityMonitoringRuleQueryAggregation"
38055+
correlatedByFields:
38056+
description: Fields used to correlate results across queries in sequence detection rules.
38057+
items:
38058+
description: Field.
38059+
type: string
38060+
type: array
38061+
correlatedQueryIndex:
38062+
description: Zero-based index of the query to correlate with in sequence detection rules. Up to 10 queries are supported, so valid values are 0 to 9.
38063+
format: int64
38064+
maximum: 9
38065+
minimum: 0
38066+
type: integer
38067+
customQueryExtension:
38068+
description: Custom query extension used to refine the base query.
38069+
type: string
3805538070
dataSource:
3805638071
$ref: "#/components/schemas/SecurityMonitoringStandardDataSource"
38072+
datasetIds:
38073+
description: IDs of reference datasets used by this query.
38074+
items:
38075+
description: Dataset ID.
38076+
type: string
38077+
type: array
3805738078
distinctFields:
3805838079
description: Field for which the cardinality is measured. Sent as an array.
3805938080
items:
@@ -38071,6 +38092,15 @@ components:
3807138092
description: When false, events without a group-by value are ignored by the query. When true, events with missing group-by fields are processed with `N/A`, replacing the missing values.
3807238093
example: false
3807338094
type: boolean
38095+
index:
38096+
description: Index used to load the data for this query.
38097+
type: string
38098+
indexes:
38099+
description: Indexes used to load the data for this query. Mutually exclusive with `index`.
38100+
items:
38101+
description: Index name.
38102+
type: string
38103+
type: array
3807438104
metrics:
3807538105
description: Group of target fields to aggregate over when using the sum, max, geo data, or new value aggregations. The sum, max, and geo data aggregations only accept one value in this list, whereas the new value aggregation accepts up to five values.
3807638106
items:
@@ -38084,6 +38114,9 @@ components:
3808438114
description: Query to run on logs.
3808538115
example: a > 3
3808638116
type: string
38117+
queryLanguage:
38118+
description: Language used to parse the query string.
38119+
type: string
3808738120
type: object
3808838121
HistoricalJobResponse:
3808938122
description: Historical job response.
@@ -38117,6 +38150,10 @@ components:
3811738150
modifiedAt:
3811838151
description: Last modification time of the job.
3811938152
type: string
38153+
progressRate:
38154+
description: Job execution progress as a value between 0 and 1. Available for ongoing jobs.
38155+
format: double
38156+
type: number
3812038157
signalOutput:
3812138158
description: Whether the job outputs signals.
3812238159
type: boolean
@@ -43647,9 +43684,10 @@ components:
4364743684
$ref: "#/components/schemas/CalculatedField"
4364843685
type: array
4364943686
cases:
43650-
description: Cases used for generating job results.
43687+
description: Cases used for generating job results. Up to 10 cases are allowed.
4365143688
items:
4365243689
$ref: "#/components/schemas/SecurityMonitoringRuleCaseCreate"
43690+
maxItems: 10
4365343691
type: array
4365443692
from:
4365543693
description: Starting time of data analyzed by the job.
@@ -43679,9 +43717,10 @@ components:
4367943717
options:
4368043718
$ref: "#/components/schemas/HistoricalJobOptions"
4368143719
queries:
43682-
description: Queries for selecting logs analyzed by the job.
43720+
description: Queries for selecting logs analyzed by the job. Up to 10 queries are allowed.
4368343721
items:
4368443722
$ref: "#/components/schemas/HistoricalJobQuery"
43723+
maxItems: 10
4368543724
type: array
4368643725
referenceTables:
4368743726
description: Reference tables used in the queries.
@@ -43695,10 +43734,11 @@ components:
4369543734
type: string
4369643735
type: array
4369743736
thirdPartyCases:
43698-
description: Cases for generating results from third-party detection method. Only available for third-party detection method.
43737+
description: Cases for generating results from third-party detection method. Only available for third-party detection method. Up to 10 cases are allowed.
4369943738
example: []
4370043739
items:
4370143740
$ref: "#/components/schemas/SecurityMonitoringThirdPartyRuleCaseCreate"
43741+
maxItems: 10
4370243742
type: array
4370343743
to:
4370443744
description: Ending time of data analyzed by the job.
@@ -43720,6 +43760,12 @@ components:
4372043760
JobDefinitionFromRule:
4372143761
description: Definition of a historical job based on a security monitoring rule.
4372243762
properties:
43763+
caseIndex:
43764+
description: Zero-based index of the rule case to use as the job's signal condition. When omitted, all cases are evaluated. Up to 10 cases are supported, so valid values are 0 to 9.
43765+
format: int32
43766+
maximum: 9
43767+
minimum: 0
43768+
type: integer
4372343769
from:
4372443770
description: Starting time of data analyzed by the job.
4372543771
example: 1729843470000
@@ -71161,11 +71207,11 @@ components:
7116171207
properties:
7116271208
fromRule:
7116371209
$ref: "#/components/schemas/JobDefinitionFromRule"
71164-
id:
71165-
description: Request ID.
71166-
type: string
7116771210
jobDefinition:
7116871211
$ref: "#/components/schemas/JobDefinition"
71212+
signalOutput:
71213+
description: Whether the job outputs signals when results are converted.
71214+
type: boolean
7116971215
type: object
7117071216
RunHistoricalJobRequestData:
7117171217
description: Data for running a historical job request.

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

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

2222
/** Attributes for converting historical job results to signals. */
2323
@JsonPropertyOrder({
24-
ConvertJobResultsToSignalsAttributes.JSON_PROPERTY_ID,
2524
ConvertJobResultsToSignalsAttributes.JSON_PROPERTY_JOB_RESULT_IDS,
2625
ConvertJobResultsToSignalsAttributes.JSON_PROPERTY_NOTIFICATIONS,
2726
ConvertJobResultsToSignalsAttributes.JSON_PROPERTY_SIGNAL_MESSAGE,
@@ -31,9 +30,6 @@
3130
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
3231
public class ConvertJobResultsToSignalsAttributes {
3332
@JsonIgnore public boolean unparsed = false;
34-
public static final String JSON_PROPERTY_ID = "id";
35-
private String id;
36-
3733
public static final String JSON_PROPERTY_JOB_RESULT_IDS = "jobResultIds";
3834
private List<String> jobResultIds = new ArrayList<>();
3935

@@ -64,27 +60,6 @@ public ConvertJobResultsToSignalsAttributes(
6460
this.unparsed |= !signalSeverity.isValid();
6561
}
6662

67-
public ConvertJobResultsToSignalsAttributes id(String id) {
68-
this.id = id;
69-
return this;
70-
}
71-
72-
/**
73-
* Request ID.
74-
*
75-
* @return id
76-
*/
77-
@jakarta.annotation.Nullable
78-
@JsonProperty(JSON_PROPERTY_ID)
79-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
80-
public String getId() {
81-
return id;
82-
}
83-
84-
public void setId(String id) {
85-
this.id = id;
86-
}
87-
8863
public ConvertJobResultsToSignalsAttributes jobResultIds(List<String> jobResultIds) {
8964
this.jobResultIds = jobResultIds;
9065
return this;
@@ -237,8 +212,7 @@ public boolean equals(Object o) {
237212
}
238213
ConvertJobResultsToSignalsAttributes convertJobResultsToSignalsAttributes =
239214
(ConvertJobResultsToSignalsAttributes) o;
240-
return Objects.equals(this.id, convertJobResultsToSignalsAttributes.id)
241-
&& Objects.equals(this.jobResultIds, convertJobResultsToSignalsAttributes.jobResultIds)
215+
return Objects.equals(this.jobResultIds, convertJobResultsToSignalsAttributes.jobResultIds)
242216
&& Objects.equals(this.notifications, convertJobResultsToSignalsAttributes.notifications)
243217
&& Objects.equals(this.signalMessage, convertJobResultsToSignalsAttributes.signalMessage)
244218
&& Objects.equals(this.signalSeverity, convertJobResultsToSignalsAttributes.signalSeverity)
@@ -249,14 +223,13 @@ public boolean equals(Object o) {
249223
@Override
250224
public int hashCode() {
251225
return Objects.hash(
252-
id, jobResultIds, notifications, signalMessage, signalSeverity, additionalProperties);
226+
jobResultIds, notifications, signalMessage, signalSeverity, additionalProperties);
253227
}
254228

255229
@Override
256230
public String toString() {
257231
StringBuilder sb = new StringBuilder();
258232
sb.append("class ConvertJobResultsToSignalsAttributes {\n");
259-
sb.append(" id: ").append(toIndentedString(id)).append("\n");
260233
sb.append(" jobResultIds: ").append(toIndentedString(jobResultIds)).append("\n");
261234
sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n");
262235
sb.append(" signalMessage: ").append(toIndentedString(signalMessage)).append("\n");

0 commit comments

Comments
 (0)