From 3592fbdc238731d9f74d7c06c5593ce7af3a02a1 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 15 Dec 2025 17:41:10 +0000 Subject: [PATCH] Regenerate client from commit 7dde747 of spec repo --- .generator/schemas/v2/openapi.yaml | 16 +--------- lib/datadog_api_client/configuration.rb | 6 +--- lib/datadog_api_client/v2/api/datasets_api.rb | 30 ------------------- 3 files changed, 2 insertions(+), 50 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 0bf5e783b1d..01701bf7e30 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -65998,9 +65998,6 @@ paths: operator: OR permissions: - user_access_read - x-unstable: '**Note: Data Access is in preview. If you have any feedback, - - contact [Datadog support](https://docs.datadoghq.com/help/).**' post: description: Create a dataset with the configurations in the request. operationId: CreateDataset @@ -66050,9 +66047,6 @@ paths: operator: OR permissions: - user_access_manage - x-unstable: '**Note: Data Access is in preview. If you have any feedback, - - contact [Datadog support](https://docs.datadoghq.com/help/).**' /api/v2/datasets/{dataset_id}: delete: description: Deletes the dataset associated with the ID. @@ -66082,9 +66076,6 @@ paths: operator: OR permissions: - user_access_manage - x-unstable: '**Note: Data Access is in preview. If you have any feedback, - - contact [Datadog support](https://docs.datadoghq.com/help/).**' get: description: Retrieves the dataset associated with the ID. operationId: GetDataset @@ -66116,9 +66107,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 @@ -66159,9 +66147,6 @@ paths: operator: OR permissions: - user_access_manage - x-unstable: '**Note: Data Access is in preview. If you have any feedback, - - contact [Datadog support](https://docs.datadoghq.com/help/).**' /api/v2/deletion/data/{product}: post: description: Creates a data deletion request by providing a query and a timeframe @@ -67941,6 +67926,7 @@ paths: - us3.datadoghq.com - us5.datadoghq.com - ap1.datadoghq.com + - ap2.datadoghq.com - datadoghq.eu - ddog-gov.com subdomain: diff --git a/lib/datadog_api_client/configuration.rb b/lib/datadog_api_client/configuration.rb index 4377c745f15..7a2a227461e 100644 --- a/lib/datadog_api_client/configuration.rb +++ b/lib/datadog_api_client/configuration.rb @@ -231,11 +231,6 @@ def initialize "v2.mute_findings": false, "v2.run_threat_hunting_job": false, "v2.search_security_monitoring_histsignals": false, - "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, "v2.get_data_deletion_requests": false, @@ -627,6 +622,7 @@ def operation_server_settings "us3.datadoghq.com", "us5.datadoghq.com", "ap1.datadoghq.com", + "ap2.datadoghq.com", "datadoghq.eu", "ddog-gov.com" ] diff --git a/lib/datadog_api_client/v2/api/datasets_api.rb b/lib/datadog_api_client/v2/api/datasets_api.rb index 2d3c0be2fcc..54ff85eef6e 100644 --- a/lib/datadog_api_client/v2/api/datasets_api.rb +++ b/lib/datadog_api_client/v2/api/datasets_api.rb @@ -39,12 +39,6 @@ def create_dataset(body, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(DatasetResponseSingle, Integer, Hash)>] DatasetResponseSingle data, response status code and response headers def create_dataset_with_http_info(body, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.create_dataset".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.create_dataset") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.create_dataset")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DatasetsAPI.create_dataset ...' @@ -112,12 +106,6 @@ def delete_dataset(dataset_id, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers def delete_dataset_with_http_info(dataset_id, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.delete_dataset".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_dataset") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.delete_dataset")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DatasetsAPI.delete_dataset ...' @@ -182,12 +170,6 @@ def get_all_datasets(opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(DatasetResponseMulti, Integer, Hash)>] DatasetResponseMulti data, response status code and response headers def get_all_datasets_with_http_info(opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.get_all_datasets".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_all_datasets") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_all_datasets")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DatasetsAPI.get_all_datasets ...' @@ -249,12 +231,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 ...' @@ -321,12 +297,6 @@ def update_dataset(dataset_id, body, opts = {}) # @param opts [Hash] the optional parameters # @return [Array<(DatasetResponseSingle, Integer, Hash)>] DatasetResponseSingle data, response status code and response headers def update_dataset_with_http_info(dataset_id, body, opts = {}) - unstable_enabled = @api_client.config.unstable_operations["v2.update_dataset".to_sym] - if unstable_enabled - @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.update_dataset") - else - raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.update_dataset")) - end if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DatasetsAPI.update_dataset ...'