diff --git a/.apigentools-info b/.apigentools-info index 21473e9d43a..f50525e68cf 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-04-04 16:55:47.238517", - "spec_repo_commit": "da94868e" + "regenerated": "2025-04-04 20:19:28.929107", + "spec_repo_commit": "3909ab62" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-04-04 16:55:47.254022", - "spec_repo_commit": "da94868e" + "regenerated": "2025-04-04 20:19:28.944541", + "spec_repo_commit": "3909ab62" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 65222d02bfa..87935c5f60b 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -654,8 +654,8 @@ components: type: string ResourceID: description: 'Identifier, formatted as `type:id`. Supported types: `connection`, - `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, - `app-builder-app`, `connection`, `connection-group`.' + `dashboard`, `integration-account`, `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 @@ -45734,6 +45734,10 @@ paths: - Dashboards: `dashboard` + - Integration Accounts: `integration-account` + + - Integration Webhooks: `integration-webhook` + - Notebooks: `notebook` - Powerpacks: `powerpack` @@ -45769,6 +45773,10 @@ paths: Dashboards | `viewer`, `editor` + Integration Accounts | `viewer`, `editor` + + Integration Webhooks | `viewer`, `editor` + Notebooks | `viewer`, `editor` Powerpacks | `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 6be6a7cd374..4f7a8cffe76 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 @@ -51,9 +51,10 @@ public void setApiClient(ApiClient apiClient) { *
See {@link #deleteRestrictionPolicyWithHttpInfo}.
*
* @param resourceId Identifier, formatted as type:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * 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 {
@@ -66,9 +67,10 @@ public void deleteRestrictionPolicy(String resourceId) throws ApiException {
*
See {@link #deleteRestrictionPolicyWithHttpInfoAsync}.
*
* @param resourceId Identifier, formatted as See {@link #deleteRestrictionPolicyWithHttpInfo}.
*
* @param resourceId Identifier, formatted as See {@link #getRestrictionPolicyWithHttpInfo}.
*
* @param resourceId Identifier, formatted as See {@link #getRestrictionPolicyWithHttpInfoAsync}.
*
* @param resourceId Identifier, formatted as See {@link #getRestrictionPolicyWithHttpInfo}.
*
* @param resourceId Identifier, formatted as See {@link #updateRestrictionPolicyWithHttpInfo}.
*
* @param resourceId Identifier, formatted as See {@link #updateRestrictionPolicyWithHttpInfoAsync}.
*
* @param resourceId Identifier, formatted as See {@link #updateRestrictionPolicyWithHttpInfo}.
*
* @param resourceId Identifier, formatted as See {@link #updateRestrictionPolicyWithHttpInfoAsync}.
*
* @param resourceId Identifier, formatted as Restriction policies can be applied to the following resources: - Dashboards: Resource Type | Supported Relations ----------------------------|--------------------------
- * Dashboards | See {@link #updateRestrictionPolicyWithHttpInfo}.
*
* @param resourceId Identifier, formatted as type:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * integration-webhook, notebook, reference-table,
+ * security-rule, slo, workflow, app-builder-app
+ * , connection, connection-group. (required)
* @return CompletableFuture
*/
public CompletableFuturetype:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * 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
@@ -141,9 +144,10 @@ public ApiResponsetype:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * integration-webhook, notebook, reference-table,
+ * security-rule, slo, workflow, app-builder-app
+ * , connection, connection-group. (required)
* @return CompletableFuture<ApiResponse<Void>>
*/
public CompletableFuturetype:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * 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
*/
@@ -216,9 +221,10 @@ public RestrictionPolicyResponse getRestrictionPolicy(String resourceId) throws
* type:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * integration-webhook, notebook, reference-table,
+ * security-rule, slo, workflow, app-builder-app
+ * , connection, connection-group. (required)
* @return CompletableFuture<RestrictionPolicyResponse>
*/
public CompletableFuturetype:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * 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
@@ -291,9 +298,10 @@ public ApiResponsetype:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * integration-webhook, notebook, reference-table,
+ * security-rule, slo, workflow, app-builder-app
+ * , connection, connection-group. (required)
* @return CompletableFuture<ApiResponse<RestrictionPolicyResponse>>
*/
public CompletableFuturetype:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * 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
@@ -389,9 +398,10 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters())
* type:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * 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>
*/
@@ -411,9 +421,10 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters())
* type:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * 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
@@ -433,9 +444,10 @@ public RestrictionPolicyResponse updateRestrictionPolicy(
* type:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * 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>
@@ -457,32 +469,36 @@ public CompletableFutureSupported resources
*
*
- * dashboard - 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
+ * 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
*
* Supported relations for resources
*
* 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
+ * 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
*
* @param resourceId Identifier, formatted as type:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * 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>
@@ -554,9 +570,10 @@ public ApiResponsetype:id. Supported types:
- * connection, dashboard, notebook, reference-table
- * , security-rule, slo, workflow,
- * app-builder-app, connection, connection-group. (required)
+ * connection, dashboard, integration-account,
+ * 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>>