@@ -347,6 +347,15 @@ def __init__(self, api_client=None):
347347 "attribute" : "filter[queried]" ,
348348 "location" : "query" ,
349349 },
350+ "filter_queried_window_seconds" : {
351+ "validation" : {
352+ "inclusive_maximum" : 15552000 ,
353+ "inclusive_minimum" : 0 ,
354+ },
355+ "openapi_types" : (int ,),
356+ "attribute" : "filter[queried][window][seconds]" ,
357+ "location" : "query" ,
358+ },
350359 "filter_tags" : {
351360 "openapi_types" : (str ,),
352361 "attribute" : "filter[tags]" ,
@@ -770,6 +779,7 @@ def list_tag_configurations(
770779 filter_metric_type : Union [MetricTagConfigurationMetricTypeCategory , UnsetType ] = unset ,
771780 filter_include_percentiles : Union [bool , UnsetType ] = unset ,
772781 filter_queried : Union [bool , UnsetType ] = unset ,
782+ filter_queried_window_seconds : Union [int , UnsetType ] = unset ,
773783 filter_tags : Union [str , UnsetType ] = unset ,
774784 filter_related_assets : Union [bool , UnsetType ] = unset ,
775785 window_seconds : Union [int , UnsetType ] = unset ,
@@ -795,6 +805,12 @@ def list_tag_configurations(
795805 :param filter_queried: (Preview) Filter custom metrics that have or have not been queried in the specified window[seconds].
796806 If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
797807 :type filter_queried: bool, optional
808+ :param filter_queried_window_seconds: The number of seconds of look back (from now) used by the ``filter[queried]`` filter logic.
809+ Must be sent with ``filter[queried]`` and is only applied when ``filter[queried]=true``.
810+ If ``filter[queried]=false`` , this parameter is ignored and default queried-window behavior applies.
811+ If ``filter[queried]`` is not provided, sending this parameter returns a 400.
812+ For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=7776000``.
813+ :type filter_queried_window_seconds: int, optional
798814 :param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
799815 Can only be combined with the filter[queried] filter.
800816 :type filter_tags: str, optional
@@ -827,6 +843,9 @@ def list_tag_configurations(
827843 if filter_queried is not unset :
828844 kwargs ["filter_queried" ] = filter_queried
829845
846+ if filter_queried_window_seconds is not unset :
847+ kwargs ["filter_queried_window_seconds" ] = filter_queried_window_seconds
848+
830849 if filter_tags is not unset :
831850 kwargs ["filter_tags" ] = filter_tags
832851
@@ -852,6 +871,7 @@ def list_tag_configurations_with_pagination(
852871 filter_metric_type : Union [MetricTagConfigurationMetricTypeCategory , UnsetType ] = unset ,
853872 filter_include_percentiles : Union [bool , UnsetType ] = unset ,
854873 filter_queried : Union [bool , UnsetType ] = unset ,
874+ filter_queried_window_seconds : Union [int , UnsetType ] = unset ,
855875 filter_tags : Union [str , UnsetType ] = unset ,
856876 filter_related_assets : Union [bool , UnsetType ] = unset ,
857877 window_seconds : Union [int , UnsetType ] = unset ,
@@ -874,6 +894,12 @@ def list_tag_configurations_with_pagination(
874894 :param filter_queried: (Preview) Filter custom metrics that have or have not been queried in the specified window[seconds].
875895 If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
876896 :type filter_queried: bool, optional
897+ :param filter_queried_window_seconds: The number of seconds of look back (from now) used by the ``filter[queried]`` filter logic.
898+ Must be sent with ``filter[queried]`` and is only applied when ``filter[queried]=true``.
899+ If ``filter[queried]=false`` , this parameter is ignored and default queried-window behavior applies.
900+ If ``filter[queried]`` is not provided, sending this parameter returns a 400.
901+ For example: ``GET /api/v2/metrics?filter[queried]=true&filter[queried][window][seconds]=7776000``.
902+ :type filter_queried_window_seconds: int, optional
877903 :param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
878904 Can only be combined with the filter[queried] filter.
879905 :type filter_tags: str, optional
@@ -908,6 +934,9 @@ def list_tag_configurations_with_pagination(
908934 if filter_queried is not unset :
909935 kwargs ["filter_queried" ] = filter_queried
910936
937+ if filter_queried_window_seconds is not unset :
938+ kwargs ["filter_queried_window_seconds" ] = filter_queried_window_seconds
939+
911940 if filter_tags is not unset :
912941 kwargs ["filter_tags" ] = filter_tags
913942
0 commit comments