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/lib/datadog_api_client/configuration.rb b/lib/datadog_api_client/configuration.rb index 5afe995637c..0f0ea16b3e2 100644 --- a/lib/datadog_api_client/configuration.rb +++ b/lib/datadog_api_client/configuration.rb @@ -234,7 +234,6 @@ def initialize "v2.create_dataset": false, "v2.delete_dataset": false, "v2.get_all_datasets": false, - "v2.get_dataset": false, "v2.update_dataset": false, "v2.cancel_data_deletion_request": false, "v2.create_data_deletion_request": false, diff --git a/lib/datadog_api_client/v2/api/datasets_api.rb b/lib/datadog_api_client/v2/api/datasets_api.rb index 2d3c0be2fcc..1ee10998be7 100644 --- a/lib/datadog_api_client/v2/api/datasets_api.rb +++ b/lib/datadog_api_client/v2/api/datasets_api.rb @@ -249,12 +249,6 @@ def get_dataset(dataset_id, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(DatasetResponseSingle, Integer, Hash)>] DatasetResponseSingle data, response status code and response headers def get_dataset_with_http_info(dataset_id, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.get_dataset".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_dataset") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_dataset")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DatasetsAPI.get_dataset ...'