From 55c023a8b6d791425c8b4dc929f7a46ed53f4067 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 18 Feb 2026 20:19:09 +0000 Subject: [PATCH] Regenerate client from commit fc320c7 of spec repo --- .generator/schemas/v2/openapi.yaml | 8 +- .../client/v2/api/RestrictionPoliciesApi.java | 196 ++++++++++-------- 2 files changed, 117 insertions(+), 87 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index a86914eb798..959f36de3b1 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -980,10 +980,12 @@ components: type: string ResourceID: description: 'Identifier, formatted as `type:id`. Supported types: `dashboard`, - `integration-service`, `integration-webhook`, `notebook`, `reference-table`, - `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, + `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`.' + `on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`, + `case-management-project`.' example: dashboard:abc-def-ghi in: path name: resource_id diff --git a/src/main/java/com/datadog/api/client/v2/api/RestrictionPoliciesApi.java b/src/main/java/com/datadog/api/client/v2/api/RestrictionPoliciesApi.java index 39a0e5fc3ea..b4fa4913f1e 100644 --- a/src/main/java/com/datadog/api/client/v2/api/RestrictionPoliciesApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/RestrictionPoliciesApi.java @@ -52,12 +52,14 @@ public void setApiClient(ApiClient apiClient) { * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @throws ApiException if fails to make API call */ public void deleteRestrictionPolicy(String resourceId) throws ApiException { @@ -71,12 +73,14 @@ public void deleteRestrictionPolicy(String resourceId) throws ApiException { * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @return CompletableFuture */ public CompletableFuture deleteRestrictionPolicyAsync(String resourceId) { @@ -92,12 +96,14 @@ public CompletableFuture deleteRestrictionPolicyAsync(String resourceId) { * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details @@ -154,12 +160,14 @@ public ApiResponse deleteRestrictionPolicyWithHttpInfo(String resourceId) * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> deleteRestrictionPolicyWithHttpInfoAsync( @@ -217,12 +225,14 @@ public CompletableFuture> deleteRestrictionPolicyWithHttpInfoA * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @return RestrictionPolicyResponse * @throws ApiException if fails to make API call */ @@ -237,12 +247,14 @@ public RestrictionPolicyResponse getRestrictionPolicy(String resourceId) throws * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @return CompletableFuture<RestrictionPolicyResponse> */ public CompletableFuture getRestrictionPolicyAsync(String resourceId) { @@ -258,12 +270,14 @@ public CompletableFuture getRestrictionPolicyAsync(St * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @return ApiResponse<RestrictionPolicyResponse> * @throws ApiException if fails to make API call * @http.response.details @@ -320,12 +334,14 @@ public ApiResponse getRestrictionPolicyWithHttpInfo(S * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @return CompletableFuture<ApiResponse<RestrictionPolicyResponse>> */ public CompletableFuture> @@ -402,12 +418,14 @@ public UpdateRestrictionPolicyOptionalParameters allowSelfLockout(Boolean allowS * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @param body Restriction policy payload (required) * @return RestrictionPolicyResponse * @throws ApiException if fails to make API call @@ -426,12 +444,14 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters()) * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @param body Restriction policy payload (required) * @return CompletableFuture<RestrictionPolicyResponse> */ @@ -452,12 +472,14 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters()) * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return RestrictionPolicyResponse @@ -478,12 +500,14 @@ public RestrictionPolicyResponse updateRestrictionPolicy( * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<RestrictionPolicyResponse> @@ -544,12 +568,14 @@ public CompletableFuture updateRestrictionPolicyAsync * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return ApiResponse<RestrictionPolicyResponse> @@ -622,12 +648,14 @@ public ApiResponse updateRestrictionPolicyWithHttpInf * * @param resourceId Identifier, formatted as type:id. Supported types: * dashboard, integration-service, integration-webhook, - * notebook, reference-table, security-rule, slo - * , 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. (required) + * 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. (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<ApiResponse<RestrictionPolicyResponse>>