Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-06 14:57:02.629435",
"spec_repo_commit": "3c39fb0c"
"regenerated": "2025-02-06 17:59:36.285895",
"spec_repo_commit": "b89b292b"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-06 14:57:02.644416",
"spec_repo_commit": "3c39fb0c"
"regenerated": "2025-02-06 17:59:36.301562",
"spec_repo_commit": "b89b292b"
}
}
}
10 changes: 9 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40196,7 +40196,7 @@ paths:
required: false
schema:
type: boolean
- description: '(Beta) Filter custom metrics that have or have not been queried
- description: '(Preview) Filter custom metrics that have or have not been queried
in the specified window[seconds].

If no window is provided or the window is less than 2 hours, a default of
Expand All @@ -40217,6 +40217,14 @@ paths:
required: false
schema:
type: string
- description: (Preview) Filter metrics that are used in dashboards, monitors,
notebooks, SLOs.
example: true
in: query
name: filter[related_assets]
required: false
schema:
type: boolean
- description: 'The number of seconds of look back (from now) to apply to a
filter[tag] or filter[queried] query.

Expand Down
26 changes: 23 additions & 3 deletions src/main/java/com/datadog/api/client/v2/api/MetricsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -1452,6 +1452,7 @@ public static class ListTagConfigurationsOptionalParameters {
private Boolean filterIncludePercentiles;
private Boolean filterQueried;
private String filterTags;
private Boolean filterRelatedAssets;
private Long windowSeconds;
private Integer pageSize;
private String pageCursor;
Expand Down Expand Up @@ -1507,9 +1508,9 @@ public ListTagConfigurationsOptionalParameters filterIncludePercentiles(
/**
* Set filterQueried.
*
* @param filterQueried (Beta) Filter custom metrics that have or have not been queried in the
* specified window[seconds]. If no window is provided or the window is less than 2 hours, a
* default of 2 hours will be applied. (optional)
* @param filterQueried (Preview) Filter custom metrics that have or have not been queried in
* the specified window[seconds]. If no window is provided or the window is less than 2
* hours, a default of 2 hours will be applied. (optional)
* @return ListTagConfigurationsOptionalParameters
*/
public ListTagConfigurationsOptionalParameters filterQueried(Boolean filterQueried) {
Expand All @@ -1530,6 +1531,19 @@ public ListTagConfigurationsOptionalParameters filterTags(String filterTags) {
return this;
}

/**
* Set filterRelatedAssets.
*
* @param filterRelatedAssets (Preview) Filter metrics that are used in dashboards, monitors,
* notebooks, SLOs. (optional)
* @return ListTagConfigurationsOptionalParameters
*/
public ListTagConfigurationsOptionalParameters filterRelatedAssets(
Boolean filterRelatedAssets) {
this.filterRelatedAssets = filterRelatedAssets;
return this;
}

/**
* Set windowSeconds.
*
Expand Down Expand Up @@ -1712,6 +1726,7 @@ public ApiResponse<MetricsAndMetricTagConfigurationsResponse> listTagConfigurati
Boolean filterIncludePercentiles = parameters.filterIncludePercentiles;
Boolean filterQueried = parameters.filterQueried;
String filterTags = parameters.filterTags;
Boolean filterRelatedAssets = parameters.filterRelatedAssets;
Long windowSeconds = parameters.windowSeconds;
Integer pageSize = parameters.pageSize;
String pageCursor = parameters.pageCursor;
Expand All @@ -1731,6 +1746,8 @@ public ApiResponse<MetricsAndMetricTagConfigurationsResponse> listTagConfigurati
apiClient.parameterToPairs("", "filter[include_percentiles]", filterIncludePercentiles));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[queried]", filterQueried));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[tags]", filterTags));
localVarQueryParams.addAll(
apiClient.parameterToPairs("", "filter[related_assets]", filterRelatedAssets));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "window[seconds]", windowSeconds));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[size]", pageSize));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[cursor]", pageCursor));
Expand Down Expand Up @@ -1772,6 +1789,7 @@ public ApiResponse<MetricsAndMetricTagConfigurationsResponse> listTagConfigurati
Boolean filterIncludePercentiles = parameters.filterIncludePercentiles;
Boolean filterQueried = parameters.filterQueried;
String filterTags = parameters.filterTags;
Boolean filterRelatedAssets = parameters.filterRelatedAssets;
Long windowSeconds = parameters.windowSeconds;
Integer pageSize = parameters.pageSize;
String pageCursor = parameters.pageCursor;
Expand All @@ -1791,6 +1809,8 @@ public ApiResponse<MetricsAndMetricTagConfigurationsResponse> listTagConfigurati
apiClient.parameterToPairs("", "filter[include_percentiles]", filterIncludePercentiles));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[queried]", filterQueried));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[tags]", filterTags));
localVarQueryParams.addAll(
apiClient.parameterToPairs("", "filter[related_assets]", filterRelatedAssets));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "window[seconds]", windowSeconds));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[size]", pageSize));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[cursor]", pageCursor));
Expand Down