diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 181237b18fc..43d188a047e 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -76288,9 +76288,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 a902fb3b1b8..d01b3e6f6e5 100644 --- a/src/main/java/com/datadog/api/client/ApiClient.java +++ b/src/main/java/com/datadog/api/client/ApiClient.java @@ -807,7 +807,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