Skip to content

Commit 2ac0f1c

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f985f8bc of spec repo
1 parent ee547c1 commit 2ac0f1c

File tree

6 files changed

+6
-21
lines changed

6 files changed

+6
-21
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-01-22 15:54:16.616972",
8-
"spec_repo_commit": "7a8ea4b1"
7+
"regenerated": "2025-01-23 20:01:34.168001",
8+
"spec_repo_commit": "f985f8bc"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-22 15:54:16.633227",
13-
"spec_repo_commit": "7a8ea4b1"
12+
"regenerated": "2025-01-23 20:01:34.184805",
13+
"spec_repo_commit": "f985f8bc"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47793,9 +47793,6 @@ paths:
4779347793
operator: OR
4779447794
permissions:
4779547795
- usage_read
47796-
x-unstable: '**Note**: This endpoint is in Preview.
47797-
47798-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
4779947796
/api/v2/usage/cost_by_org:
4780047797
get:
4780147798
deprecated: true
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Get billing dimension mapping for usage endpoints returns "OK" response
22

33
require "datadog_api_client"
4-
DatadogAPIClient.configure do |config|
5-
config.unstable_operations["v2.get_billing_dimension_mapping".to_sym] = true
6-
end
74
api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
85
p api_instance.get_billing_dimension_mapping()

features/v2/usage_metering.feature

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,13 @@ Feature: Usage Metering
5050

5151
@team:DataDog/revenue-query
5252
Scenario: Get billing dimension mapping for usage endpoints returns "Bad Request" response
53-
Given operation "GetBillingDimensionMapping" enabled
54-
And new "GetBillingDimensionMapping" request
53+
Given new "GetBillingDimensionMapping" request
5554
When the request is sent
5655
Then the response status is 400 Bad Request
5756

5857
@skip @team:DataDog/revenue-query
5958
Scenario: Get billing dimension mapping for usage endpoints returns "OK" response
60-
Given operation "GetBillingDimensionMapping" enabled
61-
And new "GetBillingDimensionMapping" request
59+
Given new "GetBillingDimensionMapping" request
6260
When the request is sent
6361
Then the response status is 200 OK
6462

lib/datadog_api_client/configuration.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ def initialize
203203
"v2.list_apps": false,
204204
"v2.update_app": false,
205205
"v2.get_active_billing_dimensions": false,
206-
"v2.get_billing_dimension_mapping": false,
207206
"v2.get_monthly_cost_attribution": false,
208207
"v2.cancel_data_deletion_request": false,
209208
"v2.create_data_deletion_request": false,

lib/datadog_api_client/v2/api/usage_metering_api.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,6 @@ def get_billing_dimension_mapping(opts = {})
109109
# @option opts [String] :filter_view String to specify whether to retrieve active billing dimension mappings for the contract or for all available mappings. Allowed views have the string `active` or `all`. Defaults to `active`.
110110
# @return [Array<(BillingDimensionsMappingResponse, Integer, Hash)>] BillingDimensionsMappingResponse data, response status code and response headers
111111
def get_billing_dimension_mapping_with_http_info(opts = {})
112-
unstable_enabled = @api_client.config.unstable_operations["v2.get_billing_dimension_mapping".to_sym]
113-
if unstable_enabled
114-
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_billing_dimension_mapping")
115-
else
116-
raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.get_billing_dimension_mapping"))
117-
end
118112

119113
if @api_client.config.debugging
120114
@api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_billing_dimension_mapping ...'

0 commit comments

Comments
 (0)