Skip to content

Commit 19ed7da

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 7c67677 of spec repo (#3965)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 3e3e026 commit 19ed7da

2 files changed

Lines changed: 23 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:

src/main/java/com/datadog/api/client/v2/api/CloudCostManagementApi.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7763,6 +7763,7 @@ public CompletableFuture<ApiResponse<CostTagKeysResponse>> listCostTagKeysWithHt
77637763
/** Manage optional parameters to listCostTagKeySources. */
77647764
public static class ListCostTagKeySourcesOptionalParameters {
77657765
private String filterProvider;
7766+
private String filterMetric;
77667767

77677768
/**
77687769
* Set filterProvider.
@@ -7778,6 +7779,19 @@ public ListCostTagKeySourcesOptionalParameters filterProvider(String filterProvi
77787779
this.filterProvider = filterProvider;
77797780
return this;
77807781
}
7782+
7783+
/**
7784+
* Set filterMetric.
7785+
*
7786+
* @param filterMetric Filter results to tag keys that have data for a specific Cloud Cost
7787+
* Management metric (for example, <code>aws.cost.net.amortized</code>). When omitted, all
7788+
* tag keys for the requested period are returned. (optional)
7789+
* @return ListCostTagKeySourcesOptionalParameters
7790+
*/
7791+
public ListCostTagKeySourcesOptionalParameters filterMetric(String filterMetric) {
7792+
this.filterMetric = filterMetric;
7793+
return this;
7794+
}
77817795
}
77827796

77837797
/**
@@ -7881,6 +7895,7 @@ public ApiResponse<CostTagKeySourcesResponse> listCostTagKeySourcesWithHttpInfo(
78817895
400, "Missing the required parameter 'filterMonth' when calling listCostTagKeySources");
78827896
}
78837897
String filterProvider = parameters.filterProvider;
7898+
String filterMetric = parameters.filterMetric;
78847899
// create path and map variables
78857900
String localVarPath = "/api/v2/cost/tag_metadata/tag_sources";
78867901

@@ -7889,6 +7904,7 @@ public ApiResponse<CostTagKeySourcesResponse> listCostTagKeySourcesWithHttpInfo(
78897904

78907905
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[month]", filterMonth));
78917906
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[provider]", filterProvider));
7907+
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[metric]", filterMetric));
78927908

78937909
Invocation.Builder builder =
78947910
apiClient.createBuilder(
@@ -7944,6 +7960,7 @@ public ApiResponse<CostTagKeySourcesResponse> listCostTagKeySourcesWithHttpInfo(
79447960
return result;
79457961
}
79467962
String filterProvider = parameters.filterProvider;
7963+
String filterMetric = parameters.filterMetric;
79477964
// create path and map variables
79487965
String localVarPath = "/api/v2/cost/tag_metadata/tag_sources";
79497966

@@ -7952,6 +7969,7 @@ public ApiResponse<CostTagKeySourcesResponse> listCostTagKeySourcesWithHttpInfo(
79527969

79537970
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[month]", filterMonth));
79547971
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[provider]", filterProvider));
7972+
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[metric]", filterMetric));
79557973

79567974
Invocation.Builder builder;
79577975
try {

0 commit comments

Comments
 (0)