@@ -97,13 +97,6 @@ public CompletableFuture<CancelDataDeletionResponseBody> cancelDataDeletionReque
9797 */
9898 public ApiResponse <CancelDataDeletionResponseBody > cancelDataDeletionRequestWithHttpInfo (
9999 String id ) throws ApiException {
100- // Check if unstable operation is enabled
101- String operationId = "cancelDataDeletionRequest" ;
102- if (apiClient .isUnstableOperationEnabled ("v2." + operationId )) {
103- apiClient .getLogger ().warning (String .format ("Using unstable operation '%s'" , operationId ));
104- } else {
105- throw new ApiException (0 , String .format ("Unstable operation '%s' is disabled" , operationId ));
106- }
107100 Object localVarPostBody = null ;
108101
109102 // verify the required parameter 'id' is set
@@ -148,17 +141,6 @@ public ApiResponse<CancelDataDeletionResponseBody> cancelDataDeletionRequestWith
148141 */
149142 public CompletableFuture <ApiResponse <CancelDataDeletionResponseBody >>
150143 cancelDataDeletionRequestWithHttpInfoAsync (String id ) {
151- // Check if unstable operation is enabled
152- String operationId = "cancelDataDeletionRequest" ;
153- if (apiClient .isUnstableOperationEnabled ("v2." + operationId )) {
154- apiClient .getLogger ().warning (String .format ("Using unstable operation '%s'" , operationId ));
155- } else {
156- CompletableFuture <ApiResponse <CancelDataDeletionResponseBody >> result =
157- new CompletableFuture <>();
158- result .completeExceptionally (
159- new ApiException (0 , String .format ("Unstable operation '%s' is disabled" , operationId )));
160- return result ;
161- }
162144 Object localVarPostBody = null ;
163145
164146 // verify the required parameter 'id' is set
@@ -210,7 +192,7 @@ public ApiResponse<CancelDataDeletionResponseBody> cancelDataDeletionRequestWith
210192 *
211193 * <p>See {@link #createDataDeletionRequestWithHttpInfo}.
212194 *
213- * @param product Name of the product to be deleted, either <code>logs</code> or <code>rum</code> .
195+ * @param product Name of the product to be deleted. Only <code>logs</code> is supported .
214196 * (required)
215197 * @param body (required)
216198 * @return CreateDataDeletionResponseBody
@@ -226,7 +208,7 @@ public CreateDataDeletionResponseBody createDataDeletionRequest(
226208 *
227209 * <p>See {@link #createDataDeletionRequestWithHttpInfoAsync}.
228210 *
229- * @param product Name of the product to be deleted, either <code>logs</code> or <code>rum</code> .
211+ * @param product Name of the product to be deleted. Only <code>logs</code> is supported .
230212 * (required)
231213 * @param body (required)
232214 * @return CompletableFuture<CreateDataDeletionResponseBody>
@@ -243,7 +225,7 @@ public CompletableFuture<CreateDataDeletionResponseBody> createDataDeletionReque
243225 /**
244226 * Creates a data deletion request by providing a query and a timeframe targeting the proper data.
245227 *
246- * @param product Name of the product to be deleted, either <code>logs</code> or <code>rum</code> .
228+ * @param product Name of the product to be deleted. Only <code>logs</code> is supported .
247229 * (required)
248230 * @param body (required)
249231 * @return ApiResponse<CreateDataDeletionResponseBody>
@@ -262,13 +244,6 @@ public CompletableFuture<CreateDataDeletionResponseBody> createDataDeletionReque
262244 */
263245 public ApiResponse <CreateDataDeletionResponseBody > createDataDeletionRequestWithHttpInfo (
264246 String product , CreateDataDeletionRequestBody body ) throws ApiException {
265- // Check if unstable operation is enabled
266- String operationId = "createDataDeletionRequest" ;
267- if (apiClient .isUnstableOperationEnabled ("v2." + operationId )) {
268- apiClient .getLogger ().warning (String .format ("Using unstable operation '%s'" , operationId ));
269- } else {
270- throw new ApiException (0 , String .format ("Unstable operation '%s' is disabled" , operationId ));
271- }
272247 Object localVarPostBody = body ;
273248
274249 // verify the required parameter 'product' is set
@@ -314,25 +289,14 @@ public ApiResponse<CreateDataDeletionResponseBody> createDataDeletionRequestWith
314289 *
315290 * <p>See {@link #createDataDeletionRequestWithHttpInfo}.
316291 *
317- * @param product Name of the product to be deleted, either <code>logs</code> or <code>rum</code> .
292+ * @param product Name of the product to be deleted. Only <code>logs</code> is supported .
318293 * (required)
319294 * @param body (required)
320295 * @return CompletableFuture<ApiResponse<CreateDataDeletionResponseBody>>
321296 */
322297 public CompletableFuture <ApiResponse <CreateDataDeletionResponseBody >>
323298 createDataDeletionRequestWithHttpInfoAsync (
324299 String product , CreateDataDeletionRequestBody body ) {
325- // Check if unstable operation is enabled
326- String operationId = "createDataDeletionRequest" ;
327- if (apiClient .isUnstableOperationEnabled ("v2." + operationId )) {
328- apiClient .getLogger ().warning (String .format ("Using unstable operation '%s'" , operationId ));
329- } else {
330- CompletableFuture <ApiResponse <CreateDataDeletionResponseBody >> result =
331- new CompletableFuture <>();
332- result .completeExceptionally (
333- new ApiException (0 , String .format ("Unstable operation '%s' is disabled" , operationId )));
334- return result ;
335- }
336300 Object localVarPostBody = body ;
337301
338302 // verify the required parameter 'product' is set
@@ -533,13 +497,6 @@ public CompletableFuture<GetDataDeletionsResponseBody> getDataDeletionRequestsAs
533497 */
534498 public ApiResponse <GetDataDeletionsResponseBody > getDataDeletionRequestsWithHttpInfo (
535499 GetDataDeletionRequestsOptionalParameters parameters ) throws ApiException {
536- // Check if unstable operation is enabled
537- String operationId = "getDataDeletionRequests" ;
538- if (apiClient .isUnstableOperationEnabled ("v2." + operationId )) {
539- apiClient .getLogger ().warning (String .format ("Using unstable operation '%s'" , operationId ));
540- } else {
541- throw new ApiException (0 , String .format ("Unstable operation '%s' is disabled" , operationId ));
542- }
543500 Object localVarPostBody = null ;
544501 String nextPage = parameters .nextPage ;
545502 String product = parameters .product ;
@@ -589,17 +546,6 @@ public ApiResponse<GetDataDeletionsResponseBody> getDataDeletionRequestsWithHttp
589546 public CompletableFuture <ApiResponse <GetDataDeletionsResponseBody >>
590547 getDataDeletionRequestsWithHttpInfoAsync (
591548 GetDataDeletionRequestsOptionalParameters parameters ) {
592- // Check if unstable operation is enabled
593- String operationId = "getDataDeletionRequests" ;
594- if (apiClient .isUnstableOperationEnabled ("v2." + operationId )) {
595- apiClient .getLogger ().warning (String .format ("Using unstable operation '%s'" , operationId ));
596- } else {
597- CompletableFuture <ApiResponse <GetDataDeletionsResponseBody >> result =
598- new CompletableFuture <>();
599- result .completeExceptionally (
600- new ApiException (0 , String .format ("Unstable operation '%s' is disabled" , operationId )));
601- return result ;
602- }
603549 Object localVarPostBody = null ;
604550 String nextPage = parameters .nextPage ;
605551 String product = parameters .product ;
0 commit comments