diff --git a/.apigentools-info b/.apigentools-info index f2731f7b9b4..47cd090f4c8 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-04-14 16:33:07.855657", - "spec_repo_commit": "c0287407" + "regenerated": "2025-04-15 16:46:19.961937", + "spec_repo_commit": "2d6e55b2" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-04-14 16:33:07.871722", - "spec_repo_commit": "c0287407" + "regenerated": "2025-04-15 16:46:19.979850", + "spec_repo_commit": "2d6e55b2" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index b69f15d75a3..6f7970cbbec 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -654,8 +654,9 @@ components: type: string ResourceID: description: 'Identifier, formatted as `type:id`. Supported types: `connection`, - `dashboard`, `integration-account`, `integration-webhook`, `notebook`, `reference-table`, - `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.' + `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, + `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, + `connection`, `connection-group`.' example: dashboard:abc-def-ghi in: path name: resource_id @@ -47785,6 +47786,8 @@ paths: - Integration Accounts: `integration-account` + - Integration Services: `integration-service` + - Integration Webhooks: `integration-webhook` - Notebooks: `notebook` @@ -47824,6 +47827,8 @@ paths: Integration Accounts | `viewer`, `editor` + Integration Services | `viewer`, `editor` + Integration Webhooks | `viewer`, `editor` Notebooks | `viewer`, `editor` 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 4f7a8cffe76..0d035abfebf 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,9 +52,10 @@ public void setApiClient(ApiClient apiClient) { * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @throws ApiException if fails to make API call */ public void deleteRestrictionPolicy(String resourceId) throws ApiException { @@ -68,9 +69,10 @@ public void deleteRestrictionPolicy(String resourceId) throws ApiException { * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @return CompletableFuture */ public CompletableFuture deleteRestrictionPolicyAsync(String resourceId) { @@ -86,9 +88,10 @@ public CompletableFuture deleteRestrictionPolicyAsync(String resourceId) { * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details @@ -145,9 +148,10 @@ public ApiResponse deleteRestrictionPolicyWithHttpInfo(String resourceId) * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> deleteRestrictionPolicyWithHttpInfoAsync( @@ -205,9 +209,10 @@ public CompletableFuture> deleteRestrictionPolicyWithHttpInfoA * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @return RestrictionPolicyResponse * @throws ApiException if fails to make API call */ @@ -222,9 +227,10 @@ public RestrictionPolicyResponse getRestrictionPolicy(String resourceId) throws * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @return CompletableFuture<RestrictionPolicyResponse> */ public CompletableFuture getRestrictionPolicyAsync(String resourceId) { @@ -240,9 +246,10 @@ public CompletableFuture getRestrictionPolicyAsync(St * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @return ApiResponse<RestrictionPolicyResponse> * @throws ApiException if fails to make API call * @http.response.details @@ -299,9 +306,10 @@ public ApiResponse getRestrictionPolicyWithHttpInfo(S * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @return CompletableFuture<ApiResponse<RestrictionPolicyResponse>> */ public CompletableFuture> @@ -378,9 +386,10 @@ public UpdateRestrictionPolicyOptionalParameters allowSelfLockout(Boolean allowS * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @param body Restriction policy payload (required) * @return RestrictionPolicyResponse * @throws ApiException if fails to make API call @@ -399,9 +408,10 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters()) * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @param body Restriction policy payload (required) * @return CompletableFuture<RestrictionPolicyResponse> */ @@ -422,9 +432,10 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters()) * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return RestrictionPolicyResponse @@ -445,9 +456,10 @@ public RestrictionPolicyResponse updateRestrictionPolicy( * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<RestrictionPolicyResponse> @@ -470,35 +482,37 @@ public CompletableFuture updateRestrictionPolicyAsync * *

Restriction policies can be applied to the following resources: - Dashboards: * dashboard - Integration Accounts: integration-account - Integration - * Webhooks: integration-webhook - Notebooks: notebook - Powerpacks: - * powerpack - Reference Tables: reference-table - Security Rules: - * security-rule - Service Level Objectives: slo - Synthetic Global - * Variables: synthetics-global-variable - Synthetic Tests: synthetics-test - * - Synthetic Private Locations: synthetics-private-location - Monitors: - * monitor - Workflows: workflow - App Builder Apps: - * app-builder-app - Connections: connection - Connection Groups: - * connection-group + * Services: integration-service - Integration Webhooks: integration-webhook + * - Notebooks: notebook - Powerpacks: powerpack - Reference + * Tables: reference-table - Security Rules: security-rule - Service + * Level Objectives: slo - Synthetic Global Variables: + * synthetics-global-variable - Synthetic Tests: synthetics-test - Synthetic + * Private Locations: synthetics-private-location - Monitors: monitor - + * Workflows: workflow - App Builder Apps: app-builder-app - + * Connections: connection - Connection Groups: connection-group * *

Supported relations for resources

* *

Resource Type | Supported Relations ----------------------------|-------------------------- * Dashboards | viewer, editor Integration Accounts | viewer - * , editor Integration Webhooks | viewer, editor - * Notebooks | viewer, editor Powerpacks | viewer, - * editor Security Rules | viewer, editor Service Level - * Objectives | viewer, editor Synthetic Global Variables | viewer - * , editor Synthetic Tests | viewer, editor - * Synthetic Private Locations | viewer, editor Monitors | viewer - * , editor Reference Tables | viewer, editor - * Workflows | viewer, runner, editor App Builder Apps | - * viewer, editor Connections | viewer, resolver - * , editor Connection Groups | viewer, editor + * , editor Integration Services | viewer, editor + * Integration Webhooks | viewer, editor Notebooks | viewer + * , editor Powerpacks | viewer, editor Security Rules | + * viewer, editor Service Level Objectives | viewer, + * editor Synthetic Global Variables | viewer, editor Synthetic + * Tests | viewer, editor Synthetic Private Locations | viewer + * , editor Monitors | viewer, editor Reference + * Tables | viewer, editor Workflows | viewer, runner + * , editor App Builder Apps | viewer, editor + * Connections | viewer, resolver, editor Connection Groups + * | viewer, editor * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return ApiResponse<RestrictionPolicyResponse> @@ -571,9 +585,10 @@ public ApiResponse updateRestrictionPolicyWithHttpInf * * @param resourceId Identifier, formatted as type:id. Supported types: * connection, dashboard, integration-account, - * integration-webhook, notebook, reference-table, - * security-rule, slo, workflow, app-builder-app - * , connection, connection-group. (required) + * integration-service, integration-webhook, notebook, + * reference-table, security-rule, slo, workflow + * , app-builder-app, connection, connection-group. + * (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<ApiResponse<RestrictionPolicyResponse>>