Skip to content

Commit 2d7455e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 44b3dea of spec repo (#3920)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 2664ad6 commit 2d7455e

2 files changed

Lines changed: 33 additions & 17 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,7 @@ components:
14261426
type: string
14271427
ResourceID:
14281428
description: |-
1429-
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`.
1429+
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`.
14301430
example: "dashboard:abc-def-ghi"
14311431
in: path
14321432
name: resource_id
@@ -145701,6 +145701,7 @@ paths:
145701145701
- Logs Pipelines: `logs-pipeline`
145702145702
- Case Management Projects: `case-management-project`
145703145703
- Monitor Notification Rules: `monitor-notification-rule`
145704+
- Status Pages: `status-page`
145704145705

145705145706
#### Supported relations for resources
145706145707
Resource Type | Supported Relations
@@ -145730,6 +145731,7 @@ paths:
145730145731
Logs Pipelines | `viewer`, `processors_editor`, `editor`
145731145732
Case Management Projects | `viewer`, `contributor`, `manager`
145732145733
Monitor Notification Rules | `viewer`, `editor`
145734+
Status Pages | `viewer`, `responder`, `manager`
145733145735
operationId: UpdateRestrictionPolicy
145734145736
parameters:
145735145737
- $ref: "#/components/parameters/ResourceID"

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

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ public void setApiClient(ApiClient apiClient) {
5959
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
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>
62-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
62+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
63+
* </code>. (required)
6364
* @throws ApiException if fails to make API call
6465
*/
6566
public void deleteRestrictionPolicy(String resourceId) throws ApiException {
@@ -80,7 +81,8 @@ public void deleteRestrictionPolicy(String resourceId) throws ApiException {
8081
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
8182
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
8283
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
83-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
84+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
85+
* </code>. (required)
8486
* @return CompletableFuture
8587
*/
8688
public CompletableFuture<Void> deleteRestrictionPolicyAsync(String resourceId) {
@@ -103,7 +105,8 @@ public CompletableFuture<Void> deleteRestrictionPolicyAsync(String resourceId) {
103105
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
104106
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
105107
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
106-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
108+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
109+
* </code>. (required)
107110
* @return ApiResponse&lt;Void&gt;
108111
* @throws ApiException if fails to make API call
109112
* @http.response.details
@@ -167,7 +170,8 @@ public ApiResponse<Void> deleteRestrictionPolicyWithHttpInfo(String resourceId)
167170
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
168171
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
169172
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
170-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
173+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
174+
* </code>. (required)
171175
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
172176
*/
173177
public CompletableFuture<ApiResponse<Void>> deleteRestrictionPolicyWithHttpInfoAsync(
@@ -232,7 +236,8 @@ public CompletableFuture<ApiResponse<Void>> deleteRestrictionPolicyWithHttpInfoA
232236
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
233237
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
234238
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
235-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
239+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
240+
* </code>. (required)
236241
* @return RestrictionPolicyResponse
237242
* @throws ApiException if fails to make API call
238243
*/
@@ -254,7 +259,8 @@ public RestrictionPolicyResponse getRestrictionPolicy(String resourceId) throws
254259
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
255260
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
256261
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
257-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
262+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
263+
* </code>. (required)
258264
* @return CompletableFuture&lt;RestrictionPolicyResponse&gt;
259265
*/
260266
public CompletableFuture<RestrictionPolicyResponse> getRestrictionPolicyAsync(String resourceId) {
@@ -277,7 +283,8 @@ public CompletableFuture<RestrictionPolicyResponse> getRestrictionPolicyAsync(St
277283
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
278284
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
279285
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
280-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
286+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
287+
* </code>. (required)
281288
* @return ApiResponse&lt;RestrictionPolicyResponse&gt;
282289
* @throws ApiException if fails to make API call
283290
* @http.response.details
@@ -341,7 +348,8 @@ public ApiResponse<RestrictionPolicyResponse> getRestrictionPolicyWithHttpInfo(S
341348
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
342349
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
343350
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
344-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
351+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
352+
* </code>. (required)
345353
* @return CompletableFuture&lt;ApiResponse&lt;RestrictionPolicyResponse&gt;&gt;
346354
*/
347355
public CompletableFuture<ApiResponse<RestrictionPolicyResponse>>
@@ -425,7 +433,8 @@ public UpdateRestrictionPolicyOptionalParameters allowSelfLockout(Boolean allowS
425433
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
426434
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
427435
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
428-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
436+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
437+
* </code>. (required)
429438
* @param body Restriction policy payload (required)
430439
* @return RestrictionPolicyResponse
431440
* @throws ApiException if fails to make API call
@@ -451,7 +460,8 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters())
451460
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
452461
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
453462
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
454-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
463+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
464+
* </code>. (required)
455465
* @param body Restriction policy payload (required)
456466
* @return CompletableFuture&lt;RestrictionPolicyResponse&gt;
457467
*/
@@ -479,7 +489,8 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters())
479489
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
480490
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
481491
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
482-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
492+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
493+
* </code>. (required)
483494
* @param body Restriction policy payload (required)
484495
* @param parameters Optional parameters for the request.
485496
* @return RestrictionPolicyResponse
@@ -507,7 +518,8 @@ public RestrictionPolicyResponse updateRestrictionPolicy(
507518
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
508519
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
509520
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
510-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
521+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
522+
* </code>. (required)
511523
* @param body Restriction policy payload (required)
512524
* @param parameters Optional parameters for the request.
513525
* @return CompletableFuture&lt;RestrictionPolicyResponse&gt;
@@ -543,7 +555,7 @@ public CompletableFuture<RestrictionPolicyResponse> updateRestrictionPolicyAsync
543555
* on-call-escalation-policy</code> - On-Call Team Routing Rules: <code>on-call-team-routing-rules
544556
* </code> - Logs Pipelines: <code>logs-pipeline</code> - Case Management Projects: <code>
545557
* case-management-project</code> - Monitor Notification Rules: <code>monitor-notification-rule
546-
* </code>
558+
* </code> - Status Pages: <code>status-page</code>
547559
*
548560
* <h3>Supported relations for resources</h3>
549561
*
@@ -566,7 +578,7 @@ public CompletableFuture<RestrictionPolicyResponse> updateRestrictionPolicyAsync
566578
* </code>, <code>editor</code> Logs Pipelines | <code>viewer</code>, <code>processors_editor
567579
* </code>, <code>editor</code> Case Management Projects | <code>viewer</code>, <code>contributor
568580
* </code>, <code>manager</code> Monitor Notification Rules | <code>viewer</code>, <code>editor
569-
* </code>
581+
* </code> Status Pages | <code>viewer</code>, <code>responder</code>, <code>manager</code>
570582
*
571583
* @param resourceId Identifier, formatted as <code>type:id</code>. Supported types: <code>
572584
* dashboard</code>, <code>integration-service</code>, <code>integration-webhook</code>,
@@ -577,7 +589,8 @@ public CompletableFuture<RestrictionPolicyResponse> updateRestrictionPolicyAsync
577589
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
578590
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
579591
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
580-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
592+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
593+
* </code>. (required)
581594
* @param body Restriction policy payload (required)
582595
* @param parameters Optional parameters for the request.
583596
* @return ApiResponse&lt;RestrictionPolicyResponse&gt;
@@ -657,7 +670,8 @@ public ApiResponse<RestrictionPolicyResponse> updateRestrictionPolicyWithHttpInf
657670
* connection-group</code>, <code>rum-application</code>, <code>cross-org-connection</code>,
658671
* <code>spreadsheet</code>, <code>on-call-schedule</code>, <code>on-call-escalation-policy
659672
* </code>, <code>on-call-team-routing-rules</code>, <code>logs-pipeline</code>, <code>
660-
* case-management-project</code>, <code>monitor-notification-rule</code>. (required)
673+
* case-management-project</code>, <code>monitor-notification-rule</code>, <code>status-page
674+
* </code>. (required)
661675
* @param body Restriction policy payload (required)
662676
* @param parameters Optional parameters for the request.
663677
* @return CompletableFuture&lt;ApiResponse&lt;RestrictionPolicyResponse&gt;&gt;

0 commit comments

Comments
 (0)