11from buf .validate import validate_pb2 as _validate_pb2
22from google .api import annotations_pb2 as _annotations_pb2
3+ from google .protobuf import duration_pb2 as _duration_pb2
34from google .protobuf import timestamp_pb2 as _timestamp_pb2
45from qdrant .cloud .common .v1 import common_pb2 as _common_pb2
56from google .protobuf .internal import containers as _containers
@@ -74,12 +75,16 @@ class GetClusterUsageMetricsResponse(_message.Message):
7475 def __init__ (self , cpu : _Optional [_Iterable [_Union [Metric , _Mapping ]]] = ..., ram : _Optional [_Iterable [_Union [Metric , _Mapping ]]] = ..., ram_cache : _Optional [_Iterable [_Union [Metric , _Mapping ]]] = ..., ram_rss : _Optional [_Iterable [_Union [Metric , _Mapping ]]] = ..., ram_qdrant_rss : _Optional [_Iterable [_Union [Metric , _Mapping ]]] = ..., disk : _Optional [_Iterable [_Union [Metric , _Mapping ]]] = ..., rps : _Optional [_Iterable [_Union [Metric , _Mapping ]]] = ..., latency : _Optional [_Iterable [_Union [Metric , _Mapping ]]] = ..., nodes : _Optional [_Iterable [_Union [ClusterNodeUsageMetrics , _Mapping ]]] = ...) -> None : ...
7576
7677class GetClusterLogsRequest (_message .Message ):
77- __slots__ = ("account_id" , "cluster_id" )
78+ __slots__ = ("account_id" , "cluster_id" , "since" , "until" )
7879 ACCOUNT_ID_FIELD_NUMBER : _ClassVar [int ]
7980 CLUSTER_ID_FIELD_NUMBER : _ClassVar [int ]
81+ SINCE_FIELD_NUMBER : _ClassVar [int ]
82+ UNTIL_FIELD_NUMBER : _ClassVar [int ]
8083 account_id : str
8184 cluster_id : str
82- def __init__ (self , account_id : _Optional [str ] = ..., cluster_id : _Optional [str ] = ...) -> None : ...
85+ since : _timestamp_pb2 .Timestamp
86+ until : _timestamp_pb2 .Timestamp
87+ def __init__ (self , account_id : _Optional [str ] = ..., cluster_id : _Optional [str ] = ..., since : _Optional [_Union [_timestamp_pb2 .Timestamp , _Mapping ]] = ..., until : _Optional [_Union [_timestamp_pb2 .Timestamp , _Mapping ]] = ...) -> None : ...
8388
8489class GetClusterLogsResponse (_message .Message ):
8590 __slots__ = ("items" ,)
@@ -88,26 +93,22 @@ class GetClusterLogsResponse(_message.Message):
8893 def __init__ (self , items : _Optional [_Iterable [_Union [LogEntry , _Mapping ]]] = ...) -> None : ...
8994
9095class GetClusterEventsRequest (_message .Message ):
91- __slots__ = ("account_id" , "cluster_id" , "since" , "until" , "limit" )
96+ __slots__ = ("account_id" , "cluster_id" , "since" , "until" )
9297 ACCOUNT_ID_FIELD_NUMBER : _ClassVar [int ]
9398 CLUSTER_ID_FIELD_NUMBER : _ClassVar [int ]
9499 SINCE_FIELD_NUMBER : _ClassVar [int ]
95100 UNTIL_FIELD_NUMBER : _ClassVar [int ]
96- LIMIT_FIELD_NUMBER : _ClassVar [int ]
97101 account_id : str
98102 cluster_id : str
99103 since : _timestamp_pb2 .Timestamp
100104 until : _timestamp_pb2 .Timestamp
101- limit : int
102- def __init__ (self , account_id : _Optional [str ] = ..., cluster_id : _Optional [str ] = ..., since : _Optional [_Union [_timestamp_pb2 .Timestamp , _Mapping ]] = ..., until : _Optional [_Union [_timestamp_pb2 .Timestamp , _Mapping ]] = ..., limit : _Optional [int ] = ...) -> None : ...
105+ def __init__ (self , account_id : _Optional [str ] = ..., cluster_id : _Optional [str ] = ..., since : _Optional [_Union [_timestamp_pb2 .Timestamp , _Mapping ]] = ..., until : _Optional [_Union [_timestamp_pb2 .Timestamp , _Mapping ]] = ...) -> None : ...
103106
104107class GetClusterEventsResponse (_message .Message ):
105- __slots__ = ("status" , "items" )
106- STATUS_FIELD_NUMBER : _ClassVar [int ]
108+ __slots__ = ("items" ,)
107109 ITEMS_FIELD_NUMBER : _ClassVar [int ]
108- status : str
109110 items : _containers .RepeatedCompositeFieldContainer [LogEntry ]
110- def __init__ (self , status : _Optional [ str ] = ..., items : _Optional [_Iterable [_Union [LogEntry , _Mapping ]]] = ...) -> None : ...
111+ def __init__ (self , items : _Optional [_Iterable [_Union [LogEntry , _Mapping ]]] = ...) -> None : ...
111112
112113class ClusterNodeMetrics (_message .Message ):
113114 __slots__ = ("node_id" , "cpu" , "ram" , "ram_cache" , "ram_rss" , "ram_qdrant_rss" , "disk" )
@@ -139,17 +140,17 @@ class IntervalAverage(_message.Message):
139140 __slots__ = ("interval" , "value" )
140141 INTERVAL_FIELD_NUMBER : _ClassVar [int ]
141142 VALUE_FIELD_NUMBER : _ClassVar [int ]
142- interval : str
143+ interval : _duration_pb2 . Duration
143144 value : float
144- def __init__ (self , interval : _Optional [str ] = ..., value : _Optional [float ] = ...) -> None : ...
145+ def __init__ (self , interval : _Optional [_Union [ _duration_pb2 . Duration , _Mapping ] ] = ..., value : _Optional [float ] = ...) -> None : ...
145146
146147class ResourceValue (_message .Message ):
147148 __slots__ = ("value" , "unit" )
148149 VALUE_FIELD_NUMBER : _ClassVar [int ]
149150 UNIT_FIELD_NUMBER : _ClassVar [int ]
150- value : str
151+ value : float
151152 unit : str
152- def __init__ (self , value : _Optional [str ] = ..., unit : _Optional [str ] = ...) -> None : ...
153+ def __init__ (self , value : _Optional [float ] = ..., unit : _Optional [str ] = ...) -> None : ...
153154
154155class ClusterNodeUsageMetrics (_message .Message ):
155156 __slots__ = ("node_id" , "cpu" , "ram" , "ram_cache" , "ram_rss" , "ram_qdrant_rss" , "disk" )
0 commit comments