From c7b99e1fd3dad7c04314192871d2492ac6ede9e9 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 5 Jun 2026 23:43:34 +0000 Subject: [PATCH] Regenerate client from commit f10b6fd of spec repo --- .generator/schemas/v2/openapi.yaml | 5 +++++ features/scenarios_model_mapping.rb | 1 + lib/datadog_api_client/v2/api/cloud_cost_management_api.rb | 2 ++ 3 files changed, 8 insertions(+) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 2b0efd759c66..2c387c08db43 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -118751,6 +118751,11 @@ paths: name: filter[provider] schema: type: string + - description: Filter results to tag keys that have data for a specific Cloud Cost Management metric (for example, `aws.cost.net.amortized`). When omitted, all tag keys for the requested period are returned. + in: query + name: filter[metric] + schema: + type: string responses: "200": content: diff --git a/features/scenarios_model_mapping.rb b/features/scenarios_model_mapping.rb index a858ad1cb5f8..a030f008c397 100644 --- a/features/scenarios_model_mapping.rb +++ b/features/scenarios_model_mapping.rb @@ -2756,6 +2756,7 @@ "v2.ListCostTagKeySources" => { "filter_month" => "String", "filter_provider" => "String", + "filter_metric" => "String", }, "v2.ListCostTags" => { "filter_metric" => "String", diff --git a/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb b/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb index 4462f1cb5a4a..f08216a7ad1b 100644 --- a/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +++ b/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb @@ -3021,6 +3021,7 @@ def list_cost_tag_key_sources(filter_month, opts = {}) # @param filter_month [String] The month to scope the query to, in `YYYY-MM` format. # @param opts [Hash] the optional parameters # @option opts [String] :filter_provider Filter results to a specific provider. Common cloud values are `aws`, `azure`, `gcp`, `Oracle` (OCI), and `custom`. SaaS billing integrations (for example, `Snowflake`, `MongoDB`, `Databricks`) are also accepted using their display-name string. Values are case-sensitive. + # @option opts [String] :filter_metric Filter results to tag keys that have data for a specific Cloud Cost Management metric (for example, `aws.cost.net.amortized`). When omitted, all tag keys for the requested period are returned. # @return [Array<(CostTagKeySourcesResponse, Integer, Hash)>] CostTagKeySourcesResponse data, response status code and response headers def list_cost_tag_key_sources_with_http_info(filter_month, opts = {}) unstable_enabled = @api_client.config.unstable_operations["v2.list_cost_tag_key_sources".to_sym] @@ -3044,6 +3045,7 @@ def list_cost_tag_key_sources_with_http_info(filter_month, opts = {}) query_params = opts[:query_params] || {} query_params[:'filter[month]'] = filter_month query_params[:'filter[provider]'] = opts[:'filter_provider'] if !opts[:'filter_provider'].nil? + query_params[:'filter[metric]'] = opts[:'filter_metric'] if !opts[:'filter_metric'].nil? # header parameters header_params = opts[:header_params] || {}