Skip to content

Commit a5b777a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 7c67677 of spec repo
1 parent 85e485a commit a5b777a

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122198,6 +122198,11 @@ paths:
122198122198
name: filter[provider]
122199122199
schema:
122200122200
type: string
122201+
- 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.
122202+
in: query
122203+
name: filter[metric]
122204+
schema:
122205+
type: string
122201122206
responses:
122202122207
"200":
122203122208
content:

features/scenarios_model_mapping.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2754,6 +2754,7 @@
27542754
"v2.ListCostTagKeySources" => {
27552755
"filter_month" => "String",
27562756
"filter_provider" => "String",
2757+
"filter_metric" => "String",
27572758
},
27582759
"v2.ListCostTags" => {
27592760
"filter_metric" => "String",

lib/datadog_api_client/v2/api/cloud_cost_management_api.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3021,6 +3021,7 @@ def list_cost_tag_key_sources(filter_month, opts = {})
30213021
# @param filter_month [String] The month to scope the query to, in `YYYY-MM` format.
30223022
# @param opts [Hash] the optional parameters
30233023
# @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.
3024+
# @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.
30243025
# @return [Array<(CostTagKeySourcesResponse, Integer, Hash)>] CostTagKeySourcesResponse data, response status code and response headers
30253026
def list_cost_tag_key_sources_with_http_info(filter_month, opts = {})
30263027
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 = {})
30443045
query_params = opts[:query_params] || {}
30453046
query_params[:'filter[month]'] = filter_month
30463047
query_params[:'filter[provider]'] = opts[:'filter_provider'] if !opts[:'filter_provider'].nil?
3048+
query_params[:'filter[metric]'] = opts[:'filter_metric'] if !opts[:'filter_metric'].nil?
30473049

30483050
# header parameters
30493051
header_params = opts[:header_params] || {}

0 commit comments

Comments
 (0)