Skip to content

Commit bcff98f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1211759 of spec repo
1 parent 2c45636 commit bcff98f

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "4413e63",
3-
"generated": "2025-08-19 20:28:34.170"
2+
"spec_repo_commit": "1211759",
3+
"generated": "2025-08-21 16:44:11.566"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50180,9 +50180,20 @@ paths:
5018050180
- cloud_cost_management_write
5018150181
/api/v2/cost_by_tag/active_billing_dimensions:
5018250182
get:
50183-
description: Get active billing dimensions for cost attribution. Cost data for
50184-
a given month becomes available no later than the 19th of the following month.
50183+
description: Get active billing dimensions for cost attribution in a given month.
50184+
Note that billing dimensions active in a given month may not appear in the
50185+
Monthly Cost Attribution API response until the 19th of the following month.
50186+
For the most accurate results, request the same month for both endpoints.
5018550187
operationId: GetActiveBillingDimensions
50188+
parameters:
50189+
- description: 'Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
50190+
for billing dimensions active this month. Defaults to the current month.'
50191+
in: query
50192+
name: month
50193+
required: false
50194+
schema:
50195+
format: date-time
50196+
type: string
5018650197
responses:
5018750198
'200':
5018850199
content:

features/scenarios_model_mapping.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,6 +1514,9 @@
15141514
"cloud_account_id" => "Integer",
15151515
"body" => "GCPUsageCostConfigPatchRequest",
15161516
},
1517+
"v2.GetActiveBillingDimensions" => {
1518+
"month" => "Time",
1519+
},
15171520
"v2.GetMonthlyCostAttribution" => {
15181521
"start_month" => "Time",
15191522
"end_month" => "Time",

lib/datadog_api_client/v2/api/usage_metering_api.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ def get_active_billing_dimensions(opts = {})
3333

3434
# Get active billing dimensions for cost attribution.
3535
#
36-
# Get active billing dimensions for cost attribution. Cost data for a given month becomes available no later than the 19th of the following month.
36+
# Get active billing dimensions for cost attribution in a given month. Note that billing dimensions active in a given month may not appear in the Monthly Cost Attribution API response until the 19th of the following month. For the most accurate results, request the same month for both endpoints.
3737
#
3838
# @param opts [Hash] the optional parameters
39+
# @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for billing dimensions active this month. Defaults to the current month.
3940
# @return [Array<(ActiveBillingDimensionsResponse, Integer, Hash)>] ActiveBillingDimensionsResponse data, response status code and response headers
4041
def get_active_billing_dimensions_with_http_info(opts = {})
4142

@@ -47,6 +48,7 @@ def get_active_billing_dimensions_with_http_info(opts = {})
4748

4849
# query parameters
4950
query_params = opts[:query_params] || {}
51+
query_params[:'month'] = opts[:'month'] if !opts[:'month'].nil?
5052

5153
# header parameters
5254
header_params = opts[:header_params] || {}

0 commit comments

Comments
 (0)