From ee28fbeffdf8749284376f9f0d55be36b07d9835 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 24 Mar 2025 15:11:07 +0000 Subject: [PATCH] Regenerate client from commit f532b3e9 of spec repo --- .apigentools-info | 8 ++-- .generator/schemas/v2/openapi.yaml | 8 +++- .../client/v2/api/RestrictionPoliciesApi.java | 47 ++++++++++++------- 3 files changed, 41 insertions(+), 22 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 6fa74c740d5..cb12615a31d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-03-20 15:01:18.145313", - "spec_repo_commit": "0f5c928e" + "regenerated": "2025-03-24 15:09:12.625074", + "spec_repo_commit": "f532b3e9" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-03-20 15:01:18.161824", - "spec_repo_commit": "0f5c928e" + "regenerated": "2025-03-24 15:09:12.640616", + "spec_repo_commit": "f532b3e9" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index aa344b25b5e..fdcb8b812d5 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -655,7 +655,7 @@ components: ResourceID: description: 'Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, - `app-builder-app`, `connection`, `connection-group`.' + `app-builder-app`, `connection`, `connection-group`, `rum-application`.' example: dashboard:abc-def-ghi in: path name: resource_id @@ -45481,6 +45481,8 @@ paths: - Connection Groups: `connection-group` + - RUM Applications: `rum-application` + #### Supported relations for resources @@ -45514,7 +45516,9 @@ paths: Connections | `viewer`, `resolver`, `editor` - Connection Groups | `viewer`, `editor`' + Connection Groups | `viewer`, `editor` + + RUM Application | `viewer`, `editor`' operationId: UpdateRestrictionPolicy parameters: - $ref: '#/components/parameters/ResourceID' 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..cca6aba2e2b 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 @@ -53,7 +53,8 @@ public void setApiClient(ApiClient apiClient) { * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @throws ApiException if fails to make API call */ public void deleteRestrictionPolicy(String resourceId) throws ApiException { @@ -68,7 +69,8 @@ public void deleteRestrictionPolicy(String resourceId) throws ApiException { * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @return CompletableFuture */ public CompletableFuture deleteRestrictionPolicyAsync(String resourceId) { @@ -85,7 +87,8 @@ public CompletableFuture deleteRestrictionPolicyAsync(String resourceId) { * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details @@ -143,7 +146,8 @@ public ApiResponse deleteRestrictionPolicyWithHttpInfo(String resourceId) * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> deleteRestrictionPolicyWithHttpInfoAsync( @@ -202,7 +206,8 @@ public CompletableFuture> deleteRestrictionPolicyWithHttpInfoA * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @return RestrictionPolicyResponse * @throws ApiException if fails to make API call */ @@ -218,7 +223,8 @@ public RestrictionPolicyResponse getRestrictionPolicy(String resourceId) throws * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @return CompletableFuture<RestrictionPolicyResponse> */ public CompletableFuture getRestrictionPolicyAsync(String resourceId) { @@ -235,7 +241,8 @@ public CompletableFuture getRestrictionPolicyAsync(St * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @return ApiResponse<RestrictionPolicyResponse> * @throws ApiException if fails to make API call * @http.response.details @@ -293,7 +300,8 @@ public ApiResponse getRestrictionPolicyWithHttpInfo(S * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @return CompletableFuture<ApiResponse<RestrictionPolicyResponse>> */ public CompletableFuture> @@ -371,7 +379,8 @@ public UpdateRestrictionPolicyOptionalParameters allowSelfLockout(Boolean allowS * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @param body Restriction policy payload (required) * @return RestrictionPolicyResponse * @throws ApiException if fails to make API call @@ -391,7 +400,8 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters()) * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @param body Restriction policy payload (required) * @return CompletableFuture<RestrictionPolicyResponse> */ @@ -413,7 +423,8 @@ resourceId, body, new UpdateRestrictionPolicyOptionalParameters()) * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return RestrictionPolicyResponse @@ -435,7 +446,8 @@ public RestrictionPolicyResponse updateRestrictionPolicy( * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<RestrictionPolicyResponse> @@ -463,7 +475,8 @@ public CompletableFuture updateRestrictionPolicyAsync * 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 + * Connections: connection - Connection Groups: connection-group - RUM + * Applications: rum-application * *

Supported relations for resources

* @@ -477,12 +490,13 @@ public CompletableFuture updateRestrictionPolicyAsync * viewer, editor Workflows | viewer, runner, * editor App Builder Apps | viewer, editor Connections | * viewer, resolver, editor Connection Groups | - * viewer, editor + * viewer, editor RUM Application | 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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return ApiResponse<RestrictionPolicyResponse> @@ -556,7 +570,8 @@ public ApiResponse updateRestrictionPolicyWithHttpInf * @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) + * app-builder-app, connection, connection-group, + * rum-application. (required) * @param body Restriction policy payload (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<ApiResponse<RestrictionPolicyResponse>>