Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -67941,6 +67926,7 @@ paths:
- us3.datadoghq.com
- us5.datadoghq.com
- ap1.datadoghq.com
- ap2.datadoghq.com
- datadoghq.eu
- ddog-gov.com
subdomain:
Expand Down
6 changes: 1 addition & 5 deletions lib/datadog_api_client/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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"
]
Expand Down
30 changes: 0 additions & 30 deletions lib/datadog_api_client/v2/api/datasets_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 ...'
Expand Down Expand Up @@ -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 ...'
Expand Down Expand Up @@ -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 ...'
Expand Down Expand Up @@ -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 ...'
Expand Down Expand Up @@ -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 ...'
Expand Down
Loading