Skip to content

Commit 7ecff10

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 65935c76 of spec repo
1 parent c08b647 commit 7ecff10

File tree

142 files changed

+651
-306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+651
-306
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-05-27 17:12:14.968856",
8-
"spec_repo_commit": "ed439f7c"
7+
"regenerated": "2025-06-02 15:34:47.991253",
8+
"spec_repo_commit": "65935c76"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-27 17:12:14.988382",
13-
"spec_repo_commit": "ed439f7c"
12+
"regenerated": "2025-06-02 15:34:48.006791",
13+
"spec_repo_commit": "65935c76"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34675,6 +34675,11 @@ components:
3467534675
items:
3467634676
$ref: '#/components/schemas/SensitiveDataScannerProduct'
3467734677
type: array
34678+
samplings:
34679+
description: List of sampling rates per product type.
34680+
items:
34681+
$ref: '#/components/schemas/SensitiveDataScannerSamplings'
34682+
type: array
3467834683
type: object
3467934684
SensitiveDataScannerGroupCreate:
3468034685
description: Data related to the creation of a group.
@@ -34875,10 +34880,22 @@ components:
3487534880
description: (Deprecated) Whether or not scanned events have multi-pass
3487634881
enabled.
3487734882
type: boolean
34883+
is_float_sampling_rate_enabled:
34884+
description: Whether or not the sampling rate for products can be set to
34885+
a float point number (as opposed to an integer).
34886+
type: boolean
3487834887
is_pci_compliant:
3487934888
description: Whether or not the org is compliant to the payment card industry
3488034889
standard.
3488134890
type: boolean
34891+
min_sampling_rate:
34892+
description: Global minimum sampling rate allowed for all product within
34893+
the org.
34894+
example: 10.0
34895+
format: double
34896+
maximum: 100.0
34897+
minimum: 0.0
34898+
type: number
3488234899
version:
3488334900
description: Version of the API.
3488434901
example: 0
@@ -34955,6 +34972,11 @@ components:
3495534972
is_enabled:
3495634973
description: Whether or not the rule is enabled.
3495734974
type: boolean
34975+
labels:
34976+
description: List of labels.
34977+
items:
34978+
type: string
34979+
type: array
3495834980
name:
3495934981
description: Name of the rule.
3496034982
type: string
@@ -35106,6 +35128,19 @@ components:
3510635128
meta:
3510735129
$ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
3510835130
type: object
35131+
SensitiveDataScannerSamplings:
35132+
description: Sampling configurations for the Scanning Group.
35133+
properties:
35134+
product:
35135+
$ref: '#/components/schemas/SensitiveDataScannerProduct'
35136+
rate:
35137+
description: Rate at which data in product type will be scanned, as a percentage.
35138+
example: 100.0
35139+
format: double
35140+
maximum: 100.0
35141+
minimum: 0.0
35142+
type: number
35143+
type: object
3510935144
SensitiveDataScannerStandardPattern:
3511035145
description: Data containing the standard pattern id.
3511135146
properties:

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

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
SensitiveDataScannerGroupAttributes.JSON_PROPERTY_FILTER,
2525
SensitiveDataScannerGroupAttributes.JSON_PROPERTY_IS_ENABLED,
2626
SensitiveDataScannerGroupAttributes.JSON_PROPERTY_NAME,
27-
SensitiveDataScannerGroupAttributes.JSON_PROPERTY_PRODUCT_LIST
27+
SensitiveDataScannerGroupAttributes.JSON_PROPERTY_PRODUCT_LIST,
28+
SensitiveDataScannerGroupAttributes.JSON_PROPERTY_SAMPLINGS
2829
})
2930
@jakarta.annotation.Generated(
3031
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
@@ -45,6 +46,9 @@ public class SensitiveDataScannerGroupAttributes {
4546
public static final String JSON_PROPERTY_PRODUCT_LIST = "product_list";
4647
private List<SensitiveDataScannerProduct> productList = null;
4748

49+
public static final String JSON_PROPERTY_SAMPLINGS = "samplings";
50+
private List<SensitiveDataScannerSamplings> samplings = null;
51+
4852
public SensitiveDataScannerGroupAttributes description(String description) {
4953
this.description = description;
5054
return this;
@@ -162,6 +166,41 @@ public void setProductList(List<SensitiveDataScannerProduct> productList) {
162166
this.productList = productList;
163167
}
164168

169+
public SensitiveDataScannerGroupAttributes samplings(
170+
List<SensitiveDataScannerSamplings> samplings) {
171+
this.samplings = samplings;
172+
for (SensitiveDataScannerSamplings item : samplings) {
173+
this.unparsed |= item.unparsed;
174+
}
175+
return this;
176+
}
177+
178+
public SensitiveDataScannerGroupAttributes addSamplingsItem(
179+
SensitiveDataScannerSamplings samplingsItem) {
180+
if (this.samplings == null) {
181+
this.samplings = new ArrayList<>();
182+
}
183+
this.samplings.add(samplingsItem);
184+
this.unparsed |= samplingsItem.unparsed;
185+
return this;
186+
}
187+
188+
/**
189+
* List of sampling rates per product type.
190+
*
191+
* @return samplings
192+
*/
193+
@jakarta.annotation.Nullable
194+
@JsonProperty(JSON_PROPERTY_SAMPLINGS)
195+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
196+
public List<SensitiveDataScannerSamplings> getSamplings() {
197+
return samplings;
198+
}
199+
200+
public void setSamplings(List<SensitiveDataScannerSamplings> samplings) {
201+
this.samplings = samplings;
202+
}
203+
165204
/**
166205
* A container for additional, undeclared properties. This is a holder for any undeclared
167206
* properties as specified with the 'additionalProperties' keyword in the OAS document.
@@ -224,13 +263,15 @@ public boolean equals(Object o) {
224263
&& Objects.equals(this.isEnabled, sensitiveDataScannerGroupAttributes.isEnabled)
225264
&& Objects.equals(this.name, sensitiveDataScannerGroupAttributes.name)
226265
&& Objects.equals(this.productList, sensitiveDataScannerGroupAttributes.productList)
266+
&& Objects.equals(this.samplings, sensitiveDataScannerGroupAttributes.samplings)
227267
&& Objects.equals(
228268
this.additionalProperties, sensitiveDataScannerGroupAttributes.additionalProperties);
229269
}
230270

231271
@Override
232272
public int hashCode() {
233-
return Objects.hash(description, filter, isEnabled, name, productList, additionalProperties);
273+
return Objects.hash(
274+
description, filter, isEnabled, name, productList, samplings, additionalProperties);
234275
}
235276

236277
@Override
@@ -242,6 +283,7 @@ public String toString() {
242283
sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n");
243284
sb.append(" name: ").append(toIndentedString(name)).append("\n");
244285
sb.append(" productList: ").append(toIndentedString(productList)).append("\n");
286+
sb.append(" samplings: ").append(toIndentedString(samplings)).append("\n");
245287
sb.append(" additionalProperties: ")
246288
.append(toIndentedString(additionalProperties))
247289
.append("\n");

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

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
SensitiveDataScannerMeta.JSON_PROPERTY_GROUP_COUNT_LIMIT,
2323
SensitiveDataScannerMeta.JSON_PROPERTY_HAS_HIGHLIGHT_ENABLED,
2424
SensitiveDataScannerMeta.JSON_PROPERTY_HAS_MULTI_PASS_ENABLED,
25+
SensitiveDataScannerMeta.JSON_PROPERTY_IS_FLOAT_SAMPLING_RATE_ENABLED,
2526
SensitiveDataScannerMeta.JSON_PROPERTY_IS_PCI_COMPLIANT,
27+
SensitiveDataScannerMeta.JSON_PROPERTY_MIN_SAMPLING_RATE,
2628
SensitiveDataScannerMeta.JSON_PROPERTY_VERSION
2729
})
2830
@jakarta.annotation.Generated(
@@ -41,9 +43,16 @@ public class SensitiveDataScannerMeta {
4143
public static final String JSON_PROPERTY_HAS_MULTI_PASS_ENABLED = "has_multi_pass_enabled";
4244
private Boolean hasMultiPassEnabled;
4345

46+
public static final String JSON_PROPERTY_IS_FLOAT_SAMPLING_RATE_ENABLED =
47+
"is_float_sampling_rate_enabled";
48+
private Boolean isFloatSamplingRateEnabled;
49+
4450
public static final String JSON_PROPERTY_IS_PCI_COMPLIANT = "is_pci_compliant";
4551
private Boolean isPciCompliant;
4652

53+
public static final String JSON_PROPERTY_MIN_SAMPLING_RATE = "min_sampling_rate";
54+
private Double minSamplingRate;
55+
4756
public static final String JSON_PROPERTY_VERSION = "version";
4857
private Long version;
4958

@@ -137,6 +146,28 @@ public void setHasMultiPassEnabled(Boolean hasMultiPassEnabled) {
137146
this.hasMultiPassEnabled = hasMultiPassEnabled;
138147
}
139148

149+
public SensitiveDataScannerMeta isFloatSamplingRateEnabled(Boolean isFloatSamplingRateEnabled) {
150+
this.isFloatSamplingRateEnabled = isFloatSamplingRateEnabled;
151+
return this;
152+
}
153+
154+
/**
155+
* Whether or not the sampling rate for products can be set to a float point number (as opposed to
156+
* an integer).
157+
*
158+
* @return isFloatSamplingRateEnabled
159+
*/
160+
@jakarta.annotation.Nullable
161+
@JsonProperty(JSON_PROPERTY_IS_FLOAT_SAMPLING_RATE_ENABLED)
162+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
163+
public Boolean getIsFloatSamplingRateEnabled() {
164+
return isFloatSamplingRateEnabled;
165+
}
166+
167+
public void setIsFloatSamplingRateEnabled(Boolean isFloatSamplingRateEnabled) {
168+
this.isFloatSamplingRateEnabled = isFloatSamplingRateEnabled;
169+
}
170+
140171
public SensitiveDataScannerMeta isPciCompliant(Boolean isPciCompliant) {
141172
this.isPciCompliant = isPciCompliant;
142173
return this;
@@ -158,6 +189,28 @@ public void setIsPciCompliant(Boolean isPciCompliant) {
158189
this.isPciCompliant = isPciCompliant;
159190
}
160191

192+
public SensitiveDataScannerMeta minSamplingRate(Double minSamplingRate) {
193+
this.minSamplingRate = minSamplingRate;
194+
return this;
195+
}
196+
197+
/**
198+
* Global minimum sampling rate allowed for all product within the org. minimum: 0.0 maximum:
199+
* 100.0
200+
*
201+
* @return minSamplingRate
202+
*/
203+
@jakarta.annotation.Nullable
204+
@JsonProperty(JSON_PROPERTY_MIN_SAMPLING_RATE)
205+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
206+
public Double getMinSamplingRate() {
207+
return minSamplingRate;
208+
}
209+
210+
public void setMinSamplingRate(Double minSamplingRate) {
211+
this.minSamplingRate = minSamplingRate;
212+
}
213+
161214
public SensitiveDataScannerMeta version(Long version) {
162215
this.version = version;
163216
return this;
@@ -239,7 +292,10 @@ public boolean equals(Object o) {
239292
&& Objects.equals(this.groupCountLimit, sensitiveDataScannerMeta.groupCountLimit)
240293
&& Objects.equals(this.hasHighlightEnabled, sensitiveDataScannerMeta.hasHighlightEnabled)
241294
&& Objects.equals(this.hasMultiPassEnabled, sensitiveDataScannerMeta.hasMultiPassEnabled)
295+
&& Objects.equals(
296+
this.isFloatSamplingRateEnabled, sensitiveDataScannerMeta.isFloatSamplingRateEnabled)
242297
&& Objects.equals(this.isPciCompliant, sensitiveDataScannerMeta.isPciCompliant)
298+
&& Objects.equals(this.minSamplingRate, sensitiveDataScannerMeta.minSamplingRate)
243299
&& Objects.equals(this.version, sensitiveDataScannerMeta.version)
244300
&& Objects.equals(this.additionalProperties, sensitiveDataScannerMeta.additionalProperties);
245301
}
@@ -251,7 +307,9 @@ public int hashCode() {
251307
groupCountLimit,
252308
hasHighlightEnabled,
253309
hasMultiPassEnabled,
310+
isFloatSamplingRateEnabled,
254311
isPciCompliant,
312+
minSamplingRate,
255313
version,
256314
additionalProperties);
257315
}
@@ -268,7 +326,11 @@ public String toString() {
268326
sb.append(" hasMultiPassEnabled: ")
269327
.append(toIndentedString(hasMultiPassEnabled))
270328
.append("\n");
329+
sb.append(" isFloatSamplingRateEnabled: ")
330+
.append(toIndentedString(isFloatSamplingRateEnabled))
331+
.append("\n");
271332
sb.append(" isPciCompliant: ").append(toIndentedString(isPciCompliant)).append("\n");
333+
sb.append(" minSamplingRate: ").append(toIndentedString(minSamplingRate)).append("\n");
272334
sb.append(" version: ").append(toIndentedString(version)).append("\n");
273335
sb.append(" additionalProperties: ")
274336
.append(toIndentedString(additionalProperties))

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
SensitiveDataScannerRuleAttributes.JSON_PROPERTY_EXCLUDED_NAMESPACES,
2525
SensitiveDataScannerRuleAttributes.JSON_PROPERTY_INCLUDED_KEYWORD_CONFIGURATION,
2626
SensitiveDataScannerRuleAttributes.JSON_PROPERTY_IS_ENABLED,
27+
SensitiveDataScannerRuleAttributes.JSON_PROPERTY_LABELS,
2728
SensitiveDataScannerRuleAttributes.JSON_PROPERTY_NAME,
2829
SensitiveDataScannerRuleAttributes.JSON_PROPERTY_NAMESPACES,
2930
SensitiveDataScannerRuleAttributes.JSON_PROPERTY_PATTERN,
@@ -48,6 +49,9 @@ public class SensitiveDataScannerRuleAttributes {
4849
public static final String JSON_PROPERTY_IS_ENABLED = "is_enabled";
4950
private Boolean isEnabled;
5051

52+
public static final String JSON_PROPERTY_LABELS = "labels";
53+
private List<String> labels = null;
54+
5155
public static final String JSON_PROPERTY_NAME = "name";
5256
private String name;
5357

@@ -166,6 +170,35 @@ public void setIsEnabled(Boolean isEnabled) {
166170
this.isEnabled = isEnabled;
167171
}
168172

173+
public SensitiveDataScannerRuleAttributes labels(List<String> labels) {
174+
this.labels = labels;
175+
return this;
176+
}
177+
178+
public SensitiveDataScannerRuleAttributes addLabelsItem(String labelsItem) {
179+
if (this.labels == null) {
180+
this.labels = new ArrayList<>();
181+
}
182+
this.labels.add(labelsItem);
183+
return this;
184+
}
185+
186+
/**
187+
* List of labels.
188+
*
189+
* @return labels
190+
*/
191+
@jakarta.annotation.Nullable
192+
@JsonProperty(JSON_PROPERTY_LABELS)
193+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
194+
public List<String> getLabels() {
195+
return labels;
196+
}
197+
198+
public void setLabels(List<String> labels) {
199+
this.labels = labels;
200+
}
201+
169202
public SensitiveDataScannerRuleAttributes name(String name) {
170203
this.name = name;
171204
return this;
@@ -375,6 +408,7 @@ public boolean equals(Object o) {
375408
this.includedKeywordConfiguration,
376409
sensitiveDataScannerRuleAttributes.includedKeywordConfiguration)
377410
&& Objects.equals(this.isEnabled, sensitiveDataScannerRuleAttributes.isEnabled)
411+
&& Objects.equals(this.labels, sensitiveDataScannerRuleAttributes.labels)
378412
&& Objects.equals(this.name, sensitiveDataScannerRuleAttributes.name)
379413
&& Objects.equals(this.namespaces, sensitiveDataScannerRuleAttributes.namespaces)
380414
&& Objects.equals(this.pattern, sensitiveDataScannerRuleAttributes.pattern)
@@ -392,6 +426,7 @@ public int hashCode() {
392426
excludedNamespaces,
393427
includedKeywordConfiguration,
394428
isEnabled,
429+
labels,
395430
name,
396431
namespaces,
397432
pattern,
@@ -411,6 +446,7 @@ public String toString() {
411446
.append(toIndentedString(includedKeywordConfiguration))
412447
.append("\n");
413448
sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n");
449+
sb.append(" labels: ").append(toIndentedString(labels)).append("\n");
414450
sb.append(" name: ").append(toIndentedString(name)).append("\n");
415451
sb.append(" namespaces: ").append(toIndentedString(namespaces)).append("\n");
416452
sb.append(" pattern: ").append(toIndentedString(pattern)).append("\n");

0 commit comments

Comments
 (0)