Skip to content

Commit fb42017

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit bff4edc of spec repo (#4092)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent e3b3a8f commit fb42017

2 files changed

Lines changed: 19 additions & 16 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ components:
15531553
type: string
15541554
ResourceID:
15551555
description: |-
1556-
Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `powerpack`, `reference-table`, `security-rule`, `slo`, `synthetics-global-variable`, `synthetics-test`, `synthetics-private-location`, `monitor`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, `on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`, `case-management-project`, `monitor-notification-rule`, `status-page`.
1556+
Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `powerpack`, `reference-table`, `security-rule`, `slo`, `synthetics-global-variable`, `synthetics-test`, `synthetics-private-location`, `monitor`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, `on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`, `case-management-project`, `monitor-notification-rule`, `status-page`, `feature-flag`.
15571557
example: "dashboard:abc-def-ghi"
15581558
in: path
15591559
name: resource_id
@@ -173255,6 +173255,7 @@ paths:
173255173255
- Case Management Projects: `case-management-project`
173256173256
- Monitor Notification Rules: `monitor-notification-rule`
173257173257
- Status Pages: `status-page`
173258+
- Feature Flags: `feature-flag`
173258173259

173259173260
#### Supported relations for resources
173260173261
Resource Type | Supported Relations
@@ -173285,6 +173286,7 @@ paths:
173285173286
Case Management Projects | `viewer`, `contributor`, `manager`
173286173287
Monitor Notification Rules | `viewer`, `editor`
173287173288
Status Pages | `viewer`, `responder`, `manager`
173289+
Feature Flags | `viewer`, `contributor`, `editor`
173288173290
operationId: UpdateRestrictionPolicy
173289173291
parameters:
173290173292
- $ref: "#/components/parameters/ResourceID"

src/main/java/com/datadog/api/client/v2/api/RestrictionPoliciesApi.java

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void setApiClient(ApiClient apiClient) {
6060
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
6161
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
6262
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
63-
* </code>. (required)
63+
* </code>, <code>feature-flag</code>. (required)
6464
* @throws ApiException if fails to make API call
6565
*/
6666
public void deleteRestrictionPolicy(String resourceId) throws ApiException {
@@ -82,7 +82,7 @@ public void deleteRestrictionPolicy(String resourceId) throws ApiException {
8282
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
8383
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
8484
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
85-
* </code>. (required)
85+
* </code>, <code>feature-flag</code>. (required)
8686
* @return CompletableFuture
8787
*/
8888
public CompletableFuture<Void> deleteRestrictionPolicyAsync(String resourceId) {
@@ -106,7 +106,7 @@ public CompletableFuture<Void> deleteRestrictionPolicyAsync(String resourceId) {
106106
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
107107
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
108108
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
109-
* </code>. (required)
109+
* </code>, <code>feature-flag</code>. (required)
110110
* @return ApiResponse&lt;Void&gt;
111111
* @throws ApiException if fails to make API call
112112
* @http.response.details
@@ -171,7 +171,7 @@ public ApiResponse<Void> deleteRestrictionPolicyWithHttpInfo(String resourceId)
171171
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
172172
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
173173
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
174-
* </code>. (required)
174+
* </code>, <code>feature-flag</code>. (required)
175175
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
176176
*/
177177
public CompletableFuture<ApiResponse<Void>> deleteRestrictionPolicyWithHttpInfoAsync(
@@ -237,7 +237,7 @@ public CompletableFuture<ApiResponse<Void>> deleteRestrictionPolicyWithHttpInfoA
237237
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
238238
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
239239
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
240-
* </code>. (required)
240+
* </code>, <code>feature-flag</code>. (required)
241241
* @return RestrictionPolicyResponse
242242
* @throws ApiException if fails to make API call
243243
*/
@@ -260,7 +260,7 @@ public RestrictionPolicyResponse getRestrictionPolicy(String resourceId) throws
260260
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
261261
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
262262
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
263-
* </code>. (required)
263+
* </code>, <code>feature-flag</code>. (required)
264264
* @return CompletableFuture&lt;RestrictionPolicyResponse&gt;
265265
*/
266266
public CompletableFuture<RestrictionPolicyResponse> getRestrictionPolicyAsync(String resourceId) {
@@ -284,7 +284,7 @@ public CompletableFuture<RestrictionPolicyResponse> getRestrictionPolicyAsync(St
284284
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
285285
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
286286
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
287-
* </code>. (required)
287+
* </code>, <code>feature-flag</code>. (required)
288288
* @return ApiResponse&lt;RestrictionPolicyResponse&gt;
289289
* @throws ApiException if fails to make API call
290290
* @http.response.details
@@ -349,7 +349,7 @@ public ApiResponse<RestrictionPolicyResponse> getRestrictionPolicyWithHttpInfo(S
349349
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
350350
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
351351
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
352-
* </code>. (required)
352+
* </code>, <code>feature-flag</code>. (required)
353353
* @return CompletableFuture&lt;ApiResponse&lt;RestrictionPolicyResponse&gt;&gt;
354354
*/
355355
public CompletableFuture<ApiResponse<RestrictionPolicyResponse>>
@@ -434,7 +434,7 @@ public UpdateRestrictionPolicyOptionalParameters allowSelfLockout(Boolean allowS
434434
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
435435
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
436436
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
437-
* </code>. (required)
437+
* </code>, <code>feature-flag</code>. (required)
438438
* @param body Restriction policy payload (required)
439439
* @return RestrictionPolicyResponse
440440
* @throws ApiException if fails to make API call
@@ -461,7 +461,7 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters())
461461
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
462462
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
463463
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
464-
* </code>. (required)
464+
* </code>, <code>feature-flag</code>. (required)
465465
* @param body Restriction policy payload (required)
466466
* @return CompletableFuture&lt;RestrictionPolicyResponse&gt;
467467
*/
@@ -490,7 +490,7 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters())
490490
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
491491
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
492492
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
493-
* </code>. (required)
493+
* </code>, <code>feature-flag</code>. (required)
494494
* @param body Restriction policy payload (required)
495495
* @param parameters Optional parameters for the request.
496496
* @return RestrictionPolicyResponse
@@ -519,7 +519,7 @@ public RestrictionPolicyResponse updateRestrictionPolicy(
519519
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
520520
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
521521
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
522-
* </code>. (required)
522+
* </code>, <code>feature-flag</code>. (required)
523523
* @param body Restriction policy payload (required)
524524
* @param parameters Optional parameters for the request.
525525
* @return CompletableFuture&lt;RestrictionPolicyResponse&gt;
@@ -555,7 +555,7 @@ public CompletableFuture<RestrictionPolicyResponse> updateRestrictionPolicyAsync
555555
* on-call-escalation-policy</code> - On-Call Team Routing Rules: <code>on-call-team-routing-rules
556556
* </code> - Logs Pipelines: <code>logs-pipeline</code> - Case Management Projects: <code>
557557
* case-management-project</code> - Monitor Notification Rules: <code>monitor-notification-rule
558-
* </code> - Status Pages: <code>status-page</code>
558+
* </code> - Status Pages: <code>status-page</code> - Feature Flags: <code>feature-flag</code>
559559
*
560560
* <h3>Supported relations for resources</h3>
561561
*
@@ -579,6 +579,7 @@ public CompletableFuture<RestrictionPolicyResponse> updateRestrictionPolicyAsync
579579
* </code>, <code>editor</code> Case Management Projects | <code>viewer</code>, <code>contributor
580580
* </code>, <code>manager</code> Monitor Notification Rules | <code>viewer</code>, <code>editor
581581
* </code> Status Pages | <code>viewer</code>, <code>responder</code>, <code>manager</code>
582+
* Feature Flags | <code>viewer</code>, <code>contributor</code>, <code>editor</code>
582583
*
583584
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
584585
* dashboard</code>, <code>integration-service</code>, <code>integration-webhook</code>,
@@ -590,7 +591,7 @@ public CompletableFuture<RestrictionPolicyResponse> updateRestrictionPolicyAsync
590591
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
591592
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
592593
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
593-
* </code>. (required)
594+
* </code>, <code>feature-flag</code>. (required)
594595
* @param body Restriction policy payload (required)
595596
* @param parameters Optional parameters for the request.
596597
* @return ApiResponse&lt;RestrictionPolicyResponse&gt;
@@ -671,7 +672,7 @@ public ApiResponse<RestrictionPolicyResponse> updateRestrictionPolicyWithHttpInf
671672
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
672673
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
673674
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
674-
* </code>. (required)
675+
* </code>, <code>feature-flag</code>. (required)
675676
* @param body Restriction policy payload (required)
676677
* @param parameters Optional parameters for the request.
677678
* @return CompletableFuture&lt;ApiResponse&lt;RestrictionPolicyResponse&gt;&gt;

0 commit comments

Comments
 (0)