Skip to content

Commit 2f3b869

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add new bits_ai usage attribution type to Usage Attribution Public API Documentation (#3357)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent d94a680 commit 2f3b869

File tree

4 files changed

+89
-0
lines changed

4 files changed

+89
-0
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4281,6 +4281,7 @@ components:
42814281
- appsec_usage
42824282
- asm_serverless_traced_invocations_usage
42834283
- asm_serverless_traced_invocations_percentage
4284+
- bits_ai_investigations_usage
42844285
- browser_usage
42854286
- ci_pipeline_indexed_spans_usage
42864287
- ci_test_indexed_spans_usage
@@ -4364,6 +4365,7 @@ components:
43644365
- APPSEC_USAGE
43654366
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
43664367
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
4368+
- BITS_AI_INVESTIGATIONS_USAGE
43674369
- BROWSER_USAGE
43684370
- CI_PIPELINE_INDEXED_SPANS_USAGE
43694371
- CI_TEST_INDEXED_SPANS_USAGE
@@ -8702,6 +8704,8 @@ components:
87028704
- appsec_percentage
87038705
- asm_serverless_traced_invocations_usage
87048706
- asm_serverless_traced_invocations_percentage
8707+
- bits_ai_investigations_usage
8708+
- bits_ai_investigations_percentage
87058709
- browser_usage
87068710
- browser_percentage
87078711
- ci_visibility_itr_usage
@@ -8863,6 +8867,8 @@ components:
88638867
- APPSEC_PERCENTAGE
88648868
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
88658869
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
8870+
- BITS_AI_INVESTIGATIONS_USAGE
8871+
- BITS_AI_INVESTIGATIONS_PERCENTAGE
88668872
- BROWSER_USAGE
88678873
- BROWSER_PERCENTAGE
88688874
- CI_VISIBILITY_ITR_USAGE
@@ -9076,6 +9082,14 @@ components:
90769082
usage by tag(s).
90779083
format: double
90789084
type: number
9085+
bits_ai_investigations_percentage:
9086+
description: The percentage of Bits AI `SRE` investigation usage by tag(s).
9087+
format: double
9088+
type: number
9089+
bits_ai_investigations_usage:
9090+
description: The Bits AI `SRE` investigation usage by tag(s).
9091+
format: double
9092+
type: number
90799093
browser_percentage:
90809094
description: The percentage of synthetic browser test usage by tag(s).
90819095
format: double

src/main/java/com/datadog/api/client/v1/model/HourlyUsageAttributionUsageType.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
3838
"appsec_usage",
3939
"asm_serverless_traced_invocations_usage",
4040
"asm_serverless_traced_invocations_percentage",
41+
"bits_ai_investigations_usage",
4142
"browser_usage",
4243
"ci_pipeline_indexed_spans_usage",
4344
"ci_test_indexed_spans_usage",
@@ -128,6 +129,8 @@ public class HourlyUsageAttributionUsageType extends ModelEnum<String> {
128129
new HourlyUsageAttributionUsageType("asm_serverless_traced_invocations_usage");
129130
public static final HourlyUsageAttributionUsageType ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE =
130131
new HourlyUsageAttributionUsageType("asm_serverless_traced_invocations_percentage");
132+
public static final HourlyUsageAttributionUsageType BITS_AI_INVESTIGATIONS_USAGE =
133+
new HourlyUsageAttributionUsageType("bits_ai_investigations_usage");
131134
public static final HourlyUsageAttributionUsageType BROWSER_USAGE =
132135
new HourlyUsageAttributionUsageType("browser_usage");
133136
public static final HourlyUsageAttributionUsageType CI_PIPELINE_INDEXED_SPANS_USAGE =

src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionSupportedMetrics.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum<String> {
4242
"appsec_percentage",
4343
"asm_serverless_traced_invocations_usage",
4444
"asm_serverless_traced_invocations_percentage",
45+
"bits_ai_investigations_usage",
46+
"bits_ai_investigations_percentage",
4547
"browser_usage",
4648
"browser_percentage",
4749
"ci_visibility_itr_usage",
@@ -219,6 +221,10 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum<String> {
219221
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE =
220222
new MonthlyUsageAttributionSupportedMetrics(
221223
"asm_serverless_traced_invocations_percentage");
224+
public static final MonthlyUsageAttributionSupportedMetrics BITS_AI_INVESTIGATIONS_USAGE =
225+
new MonthlyUsageAttributionSupportedMetrics("bits_ai_investigations_usage");
226+
public static final MonthlyUsageAttributionSupportedMetrics BITS_AI_INVESTIGATIONS_PERCENTAGE =
227+
new MonthlyUsageAttributionSupportedMetrics("bits_ai_investigations_percentage");
222228
public static final MonthlyUsageAttributionSupportedMetrics BROWSER_USAGE =
223229
new MonthlyUsageAttributionSupportedMetrics("browser_usage");
224230
public static final MonthlyUsageAttributionSupportedMetrics BROWSER_PERCENTAGE =

src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionValues.java

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
MonthlyUsageAttributionValues.JSON_PROPERTY_APPSEC_USAGE,
3737
MonthlyUsageAttributionValues.JSON_PROPERTY_ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE,
3838
MonthlyUsageAttributionValues.JSON_PROPERTY_ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE,
39+
MonthlyUsageAttributionValues.JSON_PROPERTY_BITS_AI_INVESTIGATIONS_PERCENTAGE,
40+
MonthlyUsageAttributionValues.JSON_PROPERTY_BITS_AI_INVESTIGATIONS_USAGE,
3941
MonthlyUsageAttributionValues.JSON_PROPERTY_BROWSER_PERCENTAGE,
4042
MonthlyUsageAttributionValues.JSON_PROPERTY_BROWSER_USAGE,
4143
MonthlyUsageAttributionValues.JSON_PROPERTY_CI_PIPELINE_INDEXED_SPANS_PERCENTAGE,
@@ -227,6 +229,14 @@ public class MonthlyUsageAttributionValues {
227229
"asm_serverless_traced_invocations_usage";
228230
private Double asmServerlessTracedInvocationsUsage;
229231

232+
public static final String JSON_PROPERTY_BITS_AI_INVESTIGATIONS_PERCENTAGE =
233+
"bits_ai_investigations_percentage";
234+
private Double bitsAiInvestigationsPercentage;
235+
236+
public static final String JSON_PROPERTY_BITS_AI_INVESTIGATIONS_USAGE =
237+
"bits_ai_investigations_usage";
238+
private Double bitsAiInvestigationsUsage;
239+
230240
public static final String JSON_PROPERTY_BROWSER_PERCENTAGE = "browser_percentage";
231241
private Double browserPercentage;
232242

@@ -1016,6 +1026,49 @@ public void setAsmServerlessTracedInvocationsUsage(Double asmServerlessTracedInv
10161026
this.asmServerlessTracedInvocationsUsage = asmServerlessTracedInvocationsUsage;
10171027
}
10181028

1029+
public MonthlyUsageAttributionValues bitsAiInvestigationsPercentage(
1030+
Double bitsAiInvestigationsPercentage) {
1031+
this.bitsAiInvestigationsPercentage = bitsAiInvestigationsPercentage;
1032+
return this;
1033+
}
1034+
1035+
/**
1036+
* The percentage of Bits AI <code>SRE</code> investigation usage by tag(s).
1037+
*
1038+
* @return bitsAiInvestigationsPercentage
1039+
*/
1040+
@jakarta.annotation.Nullable
1041+
@JsonProperty(JSON_PROPERTY_BITS_AI_INVESTIGATIONS_PERCENTAGE)
1042+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1043+
public Double getBitsAiInvestigationsPercentage() {
1044+
return bitsAiInvestigationsPercentage;
1045+
}
1046+
1047+
public void setBitsAiInvestigationsPercentage(Double bitsAiInvestigationsPercentage) {
1048+
this.bitsAiInvestigationsPercentage = bitsAiInvestigationsPercentage;
1049+
}
1050+
1051+
public MonthlyUsageAttributionValues bitsAiInvestigationsUsage(Double bitsAiInvestigationsUsage) {
1052+
this.bitsAiInvestigationsUsage = bitsAiInvestigationsUsage;
1053+
return this;
1054+
}
1055+
1056+
/**
1057+
* The Bits AI <code>SRE</code> investigation usage by tag(s).
1058+
*
1059+
* @return bitsAiInvestigationsUsage
1060+
*/
1061+
@jakarta.annotation.Nullable
1062+
@JsonProperty(JSON_PROPERTY_BITS_AI_INVESTIGATIONS_USAGE)
1063+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1064+
public Double getBitsAiInvestigationsUsage() {
1065+
return bitsAiInvestigationsUsage;
1066+
}
1067+
1068+
public void setBitsAiInvestigationsUsage(Double bitsAiInvestigationsUsage) {
1069+
this.bitsAiInvestigationsUsage = bitsAiInvestigationsUsage;
1070+
}
1071+
10191072
public MonthlyUsageAttributionValues browserPercentage(Double browserPercentage) {
10201073
this.browserPercentage = browserPercentage;
10211074
return this;
@@ -4126,6 +4179,11 @@ public boolean equals(Object o) {
41264179
&& Objects.equals(
41274180
this.asmServerlessTracedInvocationsUsage,
41284181
monthlyUsageAttributionValues.asmServerlessTracedInvocationsUsage)
4182+
&& Objects.equals(
4183+
this.bitsAiInvestigationsPercentage,
4184+
monthlyUsageAttributionValues.bitsAiInvestigationsPercentage)
4185+
&& Objects.equals(
4186+
this.bitsAiInvestigationsUsage, monthlyUsageAttributionValues.bitsAiInvestigationsUsage)
41294187
&& Objects.equals(this.browserPercentage, monthlyUsageAttributionValues.browserPercentage)
41304188
&& Objects.equals(this.browserUsage, monthlyUsageAttributionValues.browserUsage)
41314189
&& Objects.equals(
@@ -4448,6 +4506,8 @@ public int hashCode() {
44484506
appsecUsage,
44494507
asmServerlessTracedInvocationsPercentage,
44504508
asmServerlessTracedInvocationsUsage,
4509+
bitsAiInvestigationsPercentage,
4510+
bitsAiInvestigationsUsage,
44514511
browserPercentage,
44524512
browserUsage,
44534513
ciPipelineIndexedSpansPercentage,
@@ -4619,6 +4679,12 @@ public String toString() {
46194679
sb.append(" asmServerlessTracedInvocationsUsage: ")
46204680
.append(toIndentedString(asmServerlessTracedInvocationsUsage))
46214681
.append("\n");
4682+
sb.append(" bitsAiInvestigationsPercentage: ")
4683+
.append(toIndentedString(bitsAiInvestigationsPercentage))
4684+
.append("\n");
4685+
sb.append(" bitsAiInvestigationsUsage: ")
4686+
.append(toIndentedString(bitsAiInvestigationsUsage))
4687+
.append("\n");
46224688
sb.append(" browserPercentage: ").append(toIndentedString(browserPercentage)).append("\n");
46234689
sb.append(" browserUsage: ").append(toIndentedString(browserUsage)).append("\n");
46244690
sb.append(" ciPipelineIndexedSpansPercentage: ")

0 commit comments

Comments
 (0)