From 4cc1a37bbc184e03797924dd4b702745356283b7 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 10 Dec 2024 21:06:41 +0000 Subject: [PATCH] Regenerate client from commit 1c4c91d4 of spec repo --- .apigentools-info | 8 +-- .generator/schemas/v2/openapi.yaml | 8 ++- .../client/v2/api/RestrictionPoliciesApi.java | 59 ++++++++++--------- 3 files changed, 40 insertions(+), 35 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 8c1dbb00915..b982b327dbc 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-10 19:50:18.230257", - "spec_repo_commit": "5da0cd35" + "regenerated": "2024-12-10 21:05:03.161482", + "spec_repo_commit": "1c4c91d4" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-10 19:50:18.249357", - "spec_repo_commit": "5da0cd35" + "regenerated": "2024-12-10 21:05:03.180223", + "spec_repo_commit": "1c4c91d4" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index a21342f7d18..d765d01bf04 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -597,7 +597,7 @@ components: type: string ResourceID: description: 'Identifier, formatted as `type:id`. Supported types: `connection`, - `dashboard`, `notebook`, `security-rule`, `slo`.' + `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.' example: dashboard:abc-def-ghi in: path name: resource_id @@ -37844,6 +37844,8 @@ paths: - Powerpacks: `powerpack` + - Reference Tables: `reference-table` + - Security Rules: `security-rule` - Service Level Objectives: `slo` @@ -37879,7 +37881,9 @@ paths: Synthetic Private Locations | `viewer`, `editor` - Monitors | `viewer`, `editor`' + Monitors | `viewer`, `editor` + + Reference Tables | `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 02992fcb981..e816e1ec5c7 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 @@ -50,8 +50,8 @@ public void setApiClient(ApiClient apiClient) { *

See {@link #deleteRestrictionPolicyWithHttpInfo}. * * @param resourceId Identifier, formatted as type:id. Supported types: - * connection, dashboard, notebook, security-rule - * , slo. (required) + * connection, dashboard, notebook, reference-table + * , security-rule, slo. (required) * @throws ApiException if fails to make API call */ public void deleteRestrictionPolicy(String resourceId) throws ApiException { @@ -64,8 +64,8 @@ public void deleteRestrictionPolicy(String resourceId) throws ApiException { *

See {@link #deleteRestrictionPolicyWithHttpInfoAsync}. * * @param resourceId Identifier, formatted as type:id. Supported types: - * connection, dashboard, notebook, security-rule - * , slo. (required) + * connection, dashboard, notebook, reference-table + * , security-rule, slo. (required) * @return CompletableFuture */ public CompletableFuture deleteRestrictionPolicyAsync(String resourceId) { @@ -80,8 +80,8 @@ public CompletableFuture deleteRestrictionPolicyAsync(String resourceId) { * Deletes the restriction policy associated with a specified resource. * * @param resourceId Identifier, formatted as type:id. Supported types: - * connection, dashboard, notebook, security-rule - * , slo. (required) + * connection, dashboard, notebook, reference-table + * , security-rule, slo. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details @@ -137,8 +137,8 @@ public ApiResponse deleteRestrictionPolicyWithHttpInfo(String resourceId) *

See {@link #deleteRestrictionPolicyWithHttpInfo}. * * @param resourceId Identifier, formatted as type:id. Supported types: - * connection, dashboard, notebook, security-rule - * , slo. (required) + * connection, dashboard, notebook, reference-table + * , security-rule, slo. (required) * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> deleteRestrictionPolicyWithHttpInfoAsync( @@ -195,8 +195,8 @@ public CompletableFuture> deleteRestrictionPolicyWithHttpInfoA *

See {@link #getRestrictionPolicyWithHttpInfo}. * * @param resourceId Identifier, formatted as type:id. Supported types: - * connection, dashboard, notebook, security-rule - * , slo. (required) + * connection, dashboard, notebook, reference-table + * , security-rule, slo. (required) * @return RestrictionPolicyResponse * @throws ApiException if fails to make API call */ @@ -210,8 +210,8 @@ public RestrictionPolicyResponse getRestrictionPolicy(String resourceId) throws *

See {@link #getRestrictionPolicyWithHttpInfoAsync}. * * @param resourceId Identifier, formatted as type:id. Supported types: - * connection, dashboard, notebook, security-rule - * , slo. (required) + * connection, dashboard, notebook, reference-table + * , security-rule, slo. (required) * @return CompletableFuture<RestrictionPolicyResponse> */ public CompletableFuture getRestrictionPolicyAsync(String resourceId) { @@ -226,8 +226,8 @@ public CompletableFuture getRestrictionPolicyAsync(St * Retrieves the restriction policy associated with a specified resource. * * @param resourceId Identifier, formatted as type:id. Supported types: - * connection, dashboard, notebook, security-rule - * , slo. (required) + * connection, dashboard, notebook, reference-table + * , security-rule, slo. (required) * @return ApiResponse<RestrictionPolicyResponse> * @throws ApiException if fails to make API call * @http.response.details @@ -283,8 +283,8 @@ public ApiResponse getRestrictionPolicyWithHttpInfo(S *

See {@link #getRestrictionPolicyWithHttpInfo}. * * @param resourceId Identifier, formatted as type:id. Supported types: - * connection, dashboard, notebook, security-rule - * , slo. (required) + * connection, dashboard, notebook, reference-table + * , security-rule, slo. (required) * @return CompletableFuture<ApiResponse<RestrictionPolicyResponse>> */ public CompletableFuture> @@ -341,8 +341,8 @@ public ApiResponse getRestrictionPolicyWithHttpInfo(S *

See {@link #updateRestrictionPolicyWithHttpInfo}. * * @param resourceId Identifier, formatted as type:id. Supported types: - * connection, dashboard, notebook, security-rule - * , slo. (required) + * connection, dashboard, notebook, reference-table + * , security-rule, slo. (required) * @param body Restriction policy payload (required) * @return RestrictionPolicyResponse * @throws ApiException if fails to make API call @@ -358,8 +358,8 @@ public RestrictionPolicyResponse updateRestrictionPolicy( *

See {@link #updateRestrictionPolicyWithHttpInfoAsync}. * * @param resourceId Identifier, formatted as type:id. Supported types: - * connection, dashboard, notebook, security-rule - * , slo. (required) + * connection, dashboard, notebook, reference-table + * , security-rule, slo. (required) * @param body Restriction policy payload (required) * @return CompletableFuture<RestrictionPolicyResponse> */ @@ -379,10 +379,10 @@ public CompletableFuture updateRestrictionPolicyAsync * *

Restriction policies can be applied to the following resources: - Dashboards: * dashboard - Notebooks: notebook - Powerpacks: powerpack - - * 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 + * 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 * *

Supported relations for resources

* @@ -392,11 +392,12 @@ public CompletableFuture updateRestrictionPolicyAsync * viewer, editor Service Level Objectives | viewer, editor * Synthetic Global Variables | viewer, editor Synthetic Tests | * viewer, editor Synthetic Private Locations | viewer, - * editor Monitors | viewer, editor + * editor Monitors | viewer, editor Reference Tables | + * viewer, editor * * @param resourceId Identifier, formatted as type:id. Supported types: - * connection, dashboard, notebook, security-rule - * , slo. (required) + * connection, dashboard, notebook, reference-table + * , security-rule, slo. (required) * @param body Restriction policy payload (required) * @return ApiResponse<RestrictionPolicyResponse> * @throws ApiException if fails to make API call @@ -459,8 +460,8 @@ public ApiResponse updateRestrictionPolicyWithHttpInf *

See {@link #updateRestrictionPolicyWithHttpInfo}. * * @param resourceId Identifier, formatted as type:id. Supported types: - * connection, dashboard, notebook, security-rule - * , slo. (required) + * connection, dashboard, notebook, reference-table + * , security-rule, slo. (required) * @param body Restriction policy payload (required) * @return CompletableFuture<ApiResponse<RestrictionPolicyResponse>> */