Skip to content

Commit 42f6bd8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit b89b292b of spec repo (#2664)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 7027741 commit 42f6bd8

File tree

3 files changed

+36
-8
lines changed

3 files changed

+36
-8
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-02-06 14:57:02.629435",
8-
"spec_repo_commit": "3c39fb0c"
7+
"regenerated": "2025-02-06 17:59:36.285895",
8+
"spec_repo_commit": "b89b292b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-06 14:57:02.644416",
13-
"spec_repo_commit": "3c39fb0c"
12+
"regenerated": "2025-02-06 17:59:36.301562",
13+
"spec_repo_commit": "b89b292b"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40196,7 +40196,7 @@ paths:
4019640196
required: false
4019740197
schema:
4019840198
type: boolean
40199-
- description: '(Beta) Filter custom metrics that have or have not been queried
40199+
- description: '(Preview) Filter custom metrics that have or have not been queried
4020040200
in the specified window[seconds].
4020140201

4020240202
If no window is provided or the window is less than 2 hours, a default of
@@ -40217,6 +40217,14 @@ paths:
4021740217
required: false
4021840218
schema:
4021940219
type: string
40220+
- description: (Preview) Filter metrics that are used in dashboards, monitors,
40221+
notebooks, SLOs.
40222+
example: true
40223+
in: query
40224+
name: filter[related_assets]
40225+
required: false
40226+
schema:
40227+
type: boolean
4022040228
- description: 'The number of seconds of look back (from now) to apply to a
4022140229
filter[tag] or filter[queried] query.
4022240230

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

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,6 +1452,7 @@ public static class ListTagConfigurationsOptionalParameters {
14521452
private Boolean filterIncludePercentiles;
14531453
private Boolean filterQueried;
14541454
private String filterTags;
1455+
private Boolean filterRelatedAssets;
14551456
private Long windowSeconds;
14561457
private Integer pageSize;
14571458
private String pageCursor;
@@ -1507,9 +1508,9 @@ public ListTagConfigurationsOptionalParameters filterIncludePercentiles(
15071508
/**
15081509
* Set filterQueried.
15091510
*
1510-
* @param filterQueried (Beta) Filter custom metrics that have or have not been queried in the
1511-
* specified window[seconds]. If no window is provided or the window is less than 2 hours, a
1512-
* default of 2 hours will be applied. (optional)
1511+
* @param filterQueried (Preview) Filter custom metrics that have or have not been queried in
1512+
* the specified window[seconds]. If no window is provided or the window is less than 2
1513+
* hours, a default of 2 hours will be applied. (optional)
15131514
* @return ListTagConfigurationsOptionalParameters
15141515
*/
15151516
public ListTagConfigurationsOptionalParameters filterQueried(Boolean filterQueried) {
@@ -1530,6 +1531,19 @@ public ListTagConfigurationsOptionalParameters filterTags(String filterTags) {
15301531
return this;
15311532
}
15321533

1534+
/**
1535+
* Set filterRelatedAssets.
1536+
*
1537+
* @param filterRelatedAssets (Preview) Filter metrics that are used in dashboards, monitors,
1538+
* notebooks, SLOs. (optional)
1539+
* @return ListTagConfigurationsOptionalParameters
1540+
*/
1541+
public ListTagConfigurationsOptionalParameters filterRelatedAssets(
1542+
Boolean filterRelatedAssets) {
1543+
this.filterRelatedAssets = filterRelatedAssets;
1544+
return this;
1545+
}
1546+
15331547
/**
15341548
* Set windowSeconds.
15351549
*
@@ -1712,6 +1726,7 @@ public ApiResponse<MetricsAndMetricTagConfigurationsResponse> listTagConfigurati
17121726
Boolean filterIncludePercentiles = parameters.filterIncludePercentiles;
17131727
Boolean filterQueried = parameters.filterQueried;
17141728
String filterTags = parameters.filterTags;
1729+
Boolean filterRelatedAssets = parameters.filterRelatedAssets;
17151730
Long windowSeconds = parameters.windowSeconds;
17161731
Integer pageSize = parameters.pageSize;
17171732
String pageCursor = parameters.pageCursor;
@@ -1731,6 +1746,8 @@ public ApiResponse<MetricsAndMetricTagConfigurationsResponse> listTagConfigurati
17311746
apiClient.parameterToPairs("", "filter[include_percentiles]", filterIncludePercentiles));
17321747
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[queried]", filterQueried));
17331748
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[tags]", filterTags));
1749+
localVarQueryParams.addAll(
1750+
apiClient.parameterToPairs("", "filter[related_assets]", filterRelatedAssets));
17341751
localVarQueryParams.addAll(apiClient.parameterToPairs("", "window[seconds]", windowSeconds));
17351752
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[size]", pageSize));
17361753
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[cursor]", pageCursor));
@@ -1772,6 +1789,7 @@ public ApiResponse<MetricsAndMetricTagConfigurationsResponse> listTagConfigurati
17721789
Boolean filterIncludePercentiles = parameters.filterIncludePercentiles;
17731790
Boolean filterQueried = parameters.filterQueried;
17741791
String filterTags = parameters.filterTags;
1792+
Boolean filterRelatedAssets = parameters.filterRelatedAssets;
17751793
Long windowSeconds = parameters.windowSeconds;
17761794
Integer pageSize = parameters.pageSize;
17771795
String pageCursor = parameters.pageCursor;
@@ -1791,6 +1809,8 @@ public ApiResponse<MetricsAndMetricTagConfigurationsResponse> listTagConfigurati
17911809
apiClient.parameterToPairs("", "filter[include_percentiles]", filterIncludePercentiles));
17921810
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[queried]", filterQueried));
17931811
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[tags]", filterTags));
1812+
localVarQueryParams.addAll(
1813+
apiClient.parameterToPairs("", "filter[related_assets]", filterRelatedAssets));
17941814
localVarQueryParams.addAll(apiClient.parameterToPairs("", "window[seconds]", windowSeconds));
17951815
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[size]", pageSize));
17961816
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[cursor]", pageCursor));

0 commit comments

Comments
 (0)