Skip to content

Commit be985ad

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a603c17 of spec repo
1 parent 535fa17 commit be985ad

4 files changed

Lines changed: 82 additions & 3 deletions

File tree

‎.generator/schemas/v2/openapi.yaml‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44920,6 +44920,9 @@ components:
4492044920
description: Name of the API key.
4492144921
example: "API Key for submitting metrics"
4492244922
type: string
44923+
private_action_runner_enroll_enabled:
44924+
description: Whether the API key can enroll a Private Action Runner.
44925+
type: boolean
4492344926
remote_config_read_enabled:
4492444927
description: The remote config read enabled status.
4492544928
type: boolean
@@ -84281,6 +84284,9 @@ components:
8428184284
description: Name of the API key.
8428284285
example: "API Key for submitting metrics"
8428384286
type: string
84287+
private_action_runner_enroll_enabled:
84288+
description: Whether the API key can enroll a Private Action Runner.
84289+
type: boolean
8428484290
remote_config_read_enabled:
8428584291
description: The remote config read enabled status.
8428684292
type: boolean
@@ -136793,7 +136799,9 @@ paths:
136793136799
**Note**: This endpoint is in preview and is subject to change.
136794136800
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
136795136801
post:
136796-
description: Trigger a new Bits AI investigation based on a monitor alert.
136802+
description: |-
136803+
Trigger a new Bits AI investigation based on a monitor alert.
136804+
The `monitors_read` permission is required when the trigger type is `monitor_alert_trigger`.
136797136805
operationId: TriggerInvestigation
136798136806
requestBody:
136799136807
content:
@@ -136842,14 +136850,16 @@ paths:
136842136850
appKeyAuth: []
136843136851
- AuthZ:
136844136852
- bits_investigations_write
136853+
- monitors_read
136845136854
summary: Trigger a Bits AI investigation
136846136855
tags:
136847136856
- Bits AI
136848136857
x-codegen-request-body-name: body
136849136858
"x-permission":
136850-
operator: OR
136859+
operator: AND
136851136860
permissions:
136852136861
- bits_investigations_write
136862+
- monitors_read
136853136863
x-unstable: |-
136854136864
**Note**: This endpoint is in preview and is subject to change.
136855136865
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).

‎src/main/java/com/datadog/api/client/v2/api/BitsAiApi.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,8 @@ public CompletableFuture<TriggerInvestigationResponse> triggerInvestigationAsync
507507
}
508508

509509
/**
510-
* Trigger a new Bits AI investigation based on a monitor alert.
510+
* Trigger a new Bits AI investigation based on a monitor alert. The <code>monitors_read</code>
511+
* permission is required when the trigger type is <code>monitor_alert_trigger</code>.
511512
*
512513
* @param body Trigger investigation request body. (required)
513514
* @return ApiResponse&lt;TriggerInvestigationResponse&gt;

‎src/main/java/com/datadog/api/client/v2/model/FullAPIKeyAttributes.java‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
FullAPIKeyAttributes.JSON_PROPERTY_LAST4,
2828
FullAPIKeyAttributes.JSON_PROPERTY_MODIFIED_AT,
2929
FullAPIKeyAttributes.JSON_PROPERTY_NAME,
30+
FullAPIKeyAttributes.JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED,
3031
FullAPIKeyAttributes.JSON_PROPERTY_REMOTE_CONFIG_READ_ENABLED
3132
})
3233
@jakarta.annotation.Generated(
@@ -54,6 +55,10 @@ public class FullAPIKeyAttributes {
5455
public static final String JSON_PROPERTY_NAME = "name";
5556
private String name;
5657

58+
public static final String JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED =
59+
"private_action_runner_enroll_enabled";
60+
private Boolean privateActionRunnerEnrollEnabled;
61+
5762
public static final String JSON_PROPERTY_REMOTE_CONFIG_READ_ENABLED =
5863
"remote_config_read_enabled";
5964
private Boolean remoteConfigReadEnabled;
@@ -174,6 +179,28 @@ public void setName(String name) {
174179
this.name = name;
175180
}
176181

182+
public FullAPIKeyAttributes privateActionRunnerEnrollEnabled(
183+
Boolean privateActionRunnerEnrollEnabled) {
184+
this.privateActionRunnerEnrollEnabled = privateActionRunnerEnrollEnabled;
185+
return this;
186+
}
187+
188+
/**
189+
* Whether the API key can enroll a Private Action Runner.
190+
*
191+
* @return privateActionRunnerEnrollEnabled
192+
*/
193+
@jakarta.annotation.Nullable
194+
@JsonProperty(JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED)
195+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
196+
public Boolean getPrivateActionRunnerEnrollEnabled() {
197+
return privateActionRunnerEnrollEnabled;
198+
}
199+
200+
public void setPrivateActionRunnerEnrollEnabled(Boolean privateActionRunnerEnrollEnabled) {
201+
this.privateActionRunnerEnrollEnabled = privateActionRunnerEnrollEnabled;
202+
}
203+
177204
public FullAPIKeyAttributes remoteConfigReadEnabled(Boolean remoteConfigReadEnabled) {
178205
this.remoteConfigReadEnabled = remoteConfigReadEnabled;
179206
return this;
@@ -258,6 +285,9 @@ public boolean equals(Object o) {
258285
&& Objects.equals(this.last4, fullApiKeyAttributes.last4)
259286
&& Objects.equals(this.modifiedAt, fullApiKeyAttributes.modifiedAt)
260287
&& Objects.equals(this.name, fullApiKeyAttributes.name)
288+
&& Objects.equals(
289+
this.privateActionRunnerEnrollEnabled,
290+
fullApiKeyAttributes.privateActionRunnerEnrollEnabled)
261291
&& Objects.equals(
262292
this.remoteConfigReadEnabled, fullApiKeyAttributes.remoteConfigReadEnabled)
263293
&& Objects.equals(this.additionalProperties, fullApiKeyAttributes.additionalProperties);
@@ -273,6 +303,7 @@ public int hashCode() {
273303
last4,
274304
modifiedAt,
275305
name,
306+
privateActionRunnerEnrollEnabled,
276307
remoteConfigReadEnabled,
277308
additionalProperties);
278309
}
@@ -288,6 +319,9 @@ public String toString() {
288319
sb.append(" last4: ").append(toIndentedString(last4)).append("\n");
289320
sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n");
290321
sb.append(" name: ").append(toIndentedString(name)).append("\n");
322+
sb.append(" privateActionRunnerEnrollEnabled: ")
323+
.append(toIndentedString(privateActionRunnerEnrollEnabled))
324+
.append("\n");
291325
sb.append(" remoteConfigReadEnabled: ")
292326
.append(toIndentedString(remoteConfigReadEnabled))
293327
.append("\n");

‎src/main/java/com/datadog/api/client/v2/model/PartialAPIKeyAttributes.java‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
PartialAPIKeyAttributes.JSON_PROPERTY_LAST4,
2727
PartialAPIKeyAttributes.JSON_PROPERTY_MODIFIED_AT,
2828
PartialAPIKeyAttributes.JSON_PROPERTY_NAME,
29+
PartialAPIKeyAttributes.JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED,
2930
PartialAPIKeyAttributes.JSON_PROPERTY_REMOTE_CONFIG_READ_ENABLED
3031
})
3132
@jakarta.annotation.Generated(
@@ -50,6 +51,10 @@ public class PartialAPIKeyAttributes {
5051
public static final String JSON_PROPERTY_NAME = "name";
5152
private String name;
5253

54+
public static final String JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED =
55+
"private_action_runner_enroll_enabled";
56+
private Boolean privateActionRunnerEnrollEnabled;
57+
5358
public static final String JSON_PROPERTY_REMOTE_CONFIG_READ_ENABLED =
5459
"remote_config_read_enabled";
5560
private Boolean remoteConfigReadEnabled;
@@ -158,6 +163,28 @@ public void setName(String name) {
158163
this.name = name;
159164
}
160165

166+
public PartialAPIKeyAttributes privateActionRunnerEnrollEnabled(
167+
Boolean privateActionRunnerEnrollEnabled) {
168+
this.privateActionRunnerEnrollEnabled = privateActionRunnerEnrollEnabled;
169+
return this;
170+
}
171+
172+
/**
173+
* Whether the API key can enroll a Private Action Runner.
174+
*
175+
* @return privateActionRunnerEnrollEnabled
176+
*/
177+
@jakarta.annotation.Nullable
178+
@JsonProperty(JSON_PROPERTY_PRIVATE_ACTION_RUNNER_ENROLL_ENABLED)
179+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
180+
public Boolean getPrivateActionRunnerEnrollEnabled() {
181+
return privateActionRunnerEnrollEnabled;
182+
}
183+
184+
public void setPrivateActionRunnerEnrollEnabled(Boolean privateActionRunnerEnrollEnabled) {
185+
this.privateActionRunnerEnrollEnabled = privateActionRunnerEnrollEnabled;
186+
}
187+
161188
public PartialAPIKeyAttributes remoteConfigReadEnabled(Boolean remoteConfigReadEnabled) {
162189
this.remoteConfigReadEnabled = remoteConfigReadEnabled;
163190
return this;
@@ -241,6 +268,9 @@ public boolean equals(Object o) {
241268
&& Objects.equals(this.last4, partialApiKeyAttributes.last4)
242269
&& Objects.equals(this.modifiedAt, partialApiKeyAttributes.modifiedAt)
243270
&& Objects.equals(this.name, partialApiKeyAttributes.name)
271+
&& Objects.equals(
272+
this.privateActionRunnerEnrollEnabled,
273+
partialApiKeyAttributes.privateActionRunnerEnrollEnabled)
244274
&& Objects.equals(
245275
this.remoteConfigReadEnabled, partialApiKeyAttributes.remoteConfigReadEnabled)
246276
&& Objects.equals(this.additionalProperties, partialApiKeyAttributes.additionalProperties);
@@ -255,6 +285,7 @@ public int hashCode() {
255285
last4,
256286
modifiedAt,
257287
name,
288+
privateActionRunnerEnrollEnabled,
258289
remoteConfigReadEnabled,
259290
additionalProperties);
260291
}
@@ -269,6 +300,9 @@ public String toString() {
269300
sb.append(" last4: ").append(toIndentedString(last4)).append("\n");
270301
sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n");
271302
sb.append(" name: ").append(toIndentedString(name)).append("\n");
303+
sb.append(" privateActionRunnerEnrollEnabled: ")
304+
.append(toIndentedString(privateActionRunnerEnrollEnabled))
305+
.append("\n");
272306
sb.append(" remoteConfigReadEnabled: ")
273307
.append(toIndentedString(remoteConfigReadEnabled))
274308
.append("\n");

0 commit comments

Comments
 (0)