@@ -328,6 +328,11 @@ def __init__(self, api_client=None):
328
328
"attribute" : "filter[tags]" ,
329
329
"location" : "query" ,
330
330
},
331
+ "filter_related_assets" : {
332
+ "openapi_types" : (bool ,),
333
+ "attribute" : "filter[related_assets]" ,
334
+ "location" : "query" ,
335
+ },
331
336
"window_seconds" : {
332
337
"openapi_types" : (int ,),
333
338
"attribute" : "window[seconds]" ,
@@ -691,6 +696,7 @@ def list_tag_configurations(
691
696
filter_include_percentiles : Union [bool , UnsetType ] = unset ,
692
697
filter_queried : Union [bool , UnsetType ] = unset ,
693
698
filter_tags : Union [str , UnsetType ] = unset ,
699
+ filter_related_assets : Union [bool , UnsetType ] = unset ,
694
700
window_seconds : Union [int , UnsetType ] = unset ,
695
701
page_size : Union [int , UnsetType ] = unset ,
696
702
page_cursor : Union [str , UnsetType ] = unset ,
@@ -711,12 +717,14 @@ def list_tag_configurations(
711
717
:param filter_include_percentiles: Filter distributions with additional percentile
712
718
aggregations enabled or disabled.
713
719
:type filter_include_percentiles: bool, optional
714
- :param filter_queried: (Beta ) Filter custom metrics that have or have not been queried in the specified window[seconds].
720
+ :param filter_queried: (Preview ) Filter custom metrics that have or have not been queried in the specified window[seconds].
715
721
If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
716
722
:type filter_queried: bool, optional
717
723
:param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
718
724
Can only be combined with the filter[queried] filter.
719
725
:type filter_tags: str, optional
726
+ :param filter_related_assets: (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
727
+ :type filter_related_assets: bool, optional
720
728
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query.
721
729
Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days).
722
730
:type window_seconds: int, optional
@@ -747,6 +755,9 @@ def list_tag_configurations(
747
755
if filter_tags is not unset :
748
756
kwargs ["filter_tags" ] = filter_tags
749
757
758
+ if filter_related_assets is not unset :
759
+ kwargs ["filter_related_assets" ] = filter_related_assets
760
+
750
761
if window_seconds is not unset :
751
762
kwargs ["window_seconds" ] = window_seconds
752
763
@@ -767,6 +778,7 @@ def list_tag_configurations_with_pagination(
767
778
filter_include_percentiles : Union [bool , UnsetType ] = unset ,
768
779
filter_queried : Union [bool , UnsetType ] = unset ,
769
780
filter_tags : Union [str , UnsetType ] = unset ,
781
+ filter_related_assets : Union [bool , UnsetType ] = unset ,
770
782
window_seconds : Union [int , UnsetType ] = unset ,
771
783
page_size : Union [int , UnsetType ] = unset ,
772
784
page_cursor : Union [str , UnsetType ] = unset ,
@@ -784,12 +796,14 @@ def list_tag_configurations_with_pagination(
784
796
:param filter_include_percentiles: Filter distributions with additional percentile
785
797
aggregations enabled or disabled.
786
798
:type filter_include_percentiles: bool, optional
787
- :param filter_queried: (Beta ) Filter custom metrics that have or have not been queried in the specified window[seconds].
799
+ :param filter_queried: (Preview ) Filter custom metrics that have or have not been queried in the specified window[seconds].
788
800
If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
789
801
:type filter_queried: bool, optional
790
802
:param filter_tags: Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
791
803
Can only be combined with the filter[queried] filter.
792
804
:type filter_tags: str, optional
805
+ :param filter_related_assets: (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
806
+ :type filter_related_assets: bool, optional
793
807
:param window_seconds: The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query.
794
808
Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days).
795
809
:type window_seconds: int, optional
@@ -822,6 +836,9 @@ def list_tag_configurations_with_pagination(
822
836
if filter_tags is not unset :
823
837
kwargs ["filter_tags" ] = filter_tags
824
838
839
+ if filter_related_assets is not unset :
840
+ kwargs ["filter_related_assets" ] = filter_related_assets
841
+
825
842
if window_seconds is not unset :
826
843
kwargs ["window_seconds" ] = window_seconds
827
844
0 commit comments