From 9eda488e9d156affcb844a0247d2ac0ec919abb6 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 5 Jun 2026 23:46:25 +0000 Subject: [PATCH] Regenerate client from commit f10b6fd of spec repo --- .generator/schemas/v2/openapi.yaml | 5 +++++ .../client/v2/api/CloudCostManagementApi.java | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 2b0efd759c6..2c387c08db4 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/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java b/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java index 27c0d3e2f8d..c85b032b738 100644 --- a/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java @@ -7763,6 +7763,7 @@ public CompletableFuture> listCostTagKeysWithHt /** Manage optional parameters to listCostTagKeySources. */ public static class ListCostTagKeySourcesOptionalParameters { private String filterProvider; + private String filterMetric; /** * Set filterProvider. @@ -7778,6 +7779,19 @@ public ListCostTagKeySourcesOptionalParameters filterProvider(String filterProvi this.filterProvider = filterProvider; return this; } + + /** + * Set filterMetric. + * + * @param filterMetric 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. (optional) + * @return ListCostTagKeySourcesOptionalParameters + */ + public ListCostTagKeySourcesOptionalParameters filterMetric(String filterMetric) { + this.filterMetric = filterMetric; + return this; + } } /** @@ -7881,6 +7895,7 @@ public ApiResponse listCostTagKeySourcesWithHttpInfo( 400, "Missing the required parameter 'filterMonth' when calling listCostTagKeySources"); } String filterProvider = parameters.filterProvider; + String filterMetric = parameters.filterMetric; // create path and map variables String localVarPath = "/api/v2/cost/tag_metadata/tag_sources"; @@ -7889,6 +7904,7 @@ public ApiResponse listCostTagKeySourcesWithHttpInfo( localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[month]", filterMonth)); localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[provider]", filterProvider)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[metric]", filterMetric)); Invocation.Builder builder = apiClient.createBuilder( @@ -7944,6 +7960,7 @@ public ApiResponse listCostTagKeySourcesWithHttpInfo( return result; } String filterProvider = parameters.filterProvider; + String filterMetric = parameters.filterMetric; // create path and map variables String localVarPath = "/api/v2/cost/tag_metadata/tag_sources"; @@ -7952,6 +7969,7 @@ public ApiResponse listCostTagKeySourcesWithHttpInfo( localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[month]", filterMonth)); localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[provider]", filterProvider)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[metric]", filterMetric)); Invocation.Builder builder; try {