diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 196165112da..a039b94457e 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -66624,9 +66624,6 @@ paths: x-permission: operator: OPEN permissions: [] - x-unstable: '**Note: Data Access is in preview. If you have any feedback, - - contact [Datadog support](https://docs.datadoghq.com/help/).**' put: description: Edits the dataset associated with the ID. operationId: UpdateDataset diff --git a/src/main/java/com/datadog/api/client/ApiClient.java b/src/main/java/com/datadog/api/client/ApiClient.java index 055495902d1..4e06a518c54 100644 --- a/src/main/java/com/datadog/api/client/ApiClient.java +++ b/src/main/java/com/datadog/api/client/ApiClient.java @@ -733,7 +733,6 @@ public class ApiClient { put("v2.createDataset", false); put("v2.deleteDataset", false); put("v2.getAllDatasets", false); - put("v2.getDataset", false); put("v2.updateDataset", false); put("v2.cancelDataDeletionRequest", false); put("v2.createDataDeletionRequest", false); diff --git a/src/main/java/com/datadog/api/client/v2/api/DatasetsApi.java b/src/main/java/com/datadog/api/client/v2/api/DatasetsApi.java index 36dfd338a83..40c745d7c04 100644 --- a/src/main/java/com/datadog/api/client/v2/api/DatasetsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/DatasetsApi.java @@ -519,13 +519,6 @@ public CompletableFuture getDatasetAsync(String datasetId */ public ApiResponse getDatasetWithHttpInfo(String datasetId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "getDataset"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'datasetId' is set @@ -570,16 +563,6 @@ public ApiResponse getDatasetWithHttpInfo(String datasetI */ public CompletableFuture> getDatasetWithHttpInfoAsync( String datasetId) { - // Check if unstable operation is enabled - String operationId = "getDataset"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'datasetId' is set