Skip to content

Commit 4150afe

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0f4aa5f of spec repo
1 parent 01ab389 commit 4150afe

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
@@ -118751,6 +118751,11 @@ paths:
118751118751
name: filter[provider]
118752118752
schema:
118753118753
type: string
118754+
- description: Filter results to tag keys that have data for a specific Cloud Cost Management metric (for example, `aws.cost.net.amortized`). The metric only narrows which tag keys are returned; it does not change a tag key's source attribution. When omitted, all tag keys for the requested period are returned.
118755+
in: query
118756+
name: filter[metric]
118757+
schema:
118758+
type: string
118754118759
responses:
118755118760
"200":
118756118761
content:

features/scenarios_model_mapping.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2756,6 +2756,7 @@
27562756
"v2.ListCostTagKeySources" => {
27572757
"filter_month" => "String",
27582758
"filter_provider" => "String",
2759+
"filter_metric" => "String",
27592760
},
27602761
"v2.ListCostTags" => {
27612762
"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`). The metric only narrows which tag keys are returned; it does not change a tag key's source attribution. 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)