From 350c6a6c8b75f5e55d62e1bbad1f543c033bef02 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 12 Mar 2026 19:14:21 +0000 Subject: [PATCH] Regenerate client from commit 898cb1a of spec repo --- .generator/schemas/v2/openapi.yaml | 6 +++--- src/datadog_api_client/v2/api/metrics_api.py | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 81b1f9b3a2..438bd367db 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -91489,8 +91489,8 @@ paths: If `filter[queried]` is not provided, sending this parameter returns a 400. - For example: `GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=7776000`.' - example: 7776000 + For example: `GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=15552000`.' + example: 15552000 in: query name: filter[queried][window][seconds] required: false @@ -91518,7 +91518,7 @@ paths: schema: type: boolean - description: 'The number of seconds of look back (from now) to apply to a - filter[tag] or filter[queried] query. + filter[tag] query. Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days).' example: 3600 diff --git a/src/datadog_api_client/v2/api/metrics_api.py b/src/datadog_api_client/v2/api/metrics_api.py index 95d7e0b53c..a872e87af3 100644 --- a/src/datadog_api_client/v2/api/metrics_api.py +++ b/src/datadog_api_client/v2/api/metrics_api.py @@ -809,14 +809,14 @@ def list_tag_configurations( Must be sent with ``filter[queried]`` and is only applied when ``filter[queried]=true``. If ``filter[queried]=false`` , this parameter is ignored and default queried-window behavior applies. If ``filter[queried]`` is not provided, sending this parameter returns a 400. - For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=7776000``. + For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=15552000``. :type filter_queried_window_seconds: int, optional :param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions. Can only be combined with the filter[queried] filter. :type filter_tags: str, optional :param filter_related_assets: (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs. :type filter_related_assets: bool, optional - :param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query. + :param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] query. Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days). :type window_seconds: int, optional :param page_size: Maximum number of results returned. @@ -898,14 +898,14 @@ def list_tag_configurations_with_pagination( Must be sent with ``filter[queried]`` and is only applied when ``filter[queried]=true``. If ``filter[queried]=false`` , this parameter is ignored and default queried-window behavior applies. If ``filter[queried]`` is not provided, sending this parameter returns a 400. - For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=7776000``. + For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=15552000``. :type filter_queried_window_seconds: int, optional :param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions. Can only be combined with the filter[queried] filter. :type filter_tags: str, optional :param filter_related_assets: (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs. :type filter_related_assets: bool, optional - :param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query. + :param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] query. Default value is 3600 (1 hour), maximum value is 5,184,000 (60 days). :type window_seconds: int, optional :param page_size: Maximum number of results returned.