@@ -159,6 +159,49 @@ class ReadinessResponse(google.protobuf.message.Message):
159
159
160
160
global___ReadinessResponse = ReadinessResponse
161
161
162
+ @typing_extensions .final
163
+ class ModelVersion (google .protobuf .message .Message ):
164
+ """ModelVersion contains information about the version of a model."""
165
+
166
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
167
+
168
+ NAME_FIELD_NUMBER : builtins .int
169
+ ID_FIELD_NUMBER : builtins .int
170
+ DIGEST_FIELD_NUMBER : builtins .int
171
+ STATE_FIELD_NUMBER : builtins .int
172
+ UPDATE_TIME_FIELD_NUMBER : builtins .int
173
+ name : builtins .str
174
+ """The parent resource, i.e., the user that created the models.
175
+ - Format: `users/{user.id}`.
176
+ The resource name of the model, which allows its access by parent user
177
+ and ID.
178
+ - Format: `users/{user.id}/models/{model.id}`.
179
+ The name of the tag.
180
+ - Format: `users/{user.id}/models/{model.id}/versions/{version.id}`.
181
+ """
182
+ id : builtins .str
183
+ """The tag identifier."""
184
+ digest : builtins .str
185
+ """Unique identifier, computed from the manifest the tag refers to."""
186
+ state : global___State .ValueType
187
+ """Current state of this model version."""
188
+ @property
189
+ def update_time (self ) -> google .protobuf .timestamp_pb2 .Timestamp :
190
+ """Tag update time, i.e. timestamp of the last push."""
191
+ def __init__ (
192
+ self ,
193
+ * ,
194
+ name : builtins .str = ...,
195
+ id : builtins .str = ...,
196
+ digest : builtins .str = ...,
197
+ state : global___State .ValueType = ...,
198
+ update_time : google .protobuf .timestamp_pb2 .Timestamp | None = ...,
199
+ ) -> None : ...
200
+ def HasField (self , field_name : typing_extensions .Literal ["update_time" , b"update_time" ]) -> builtins .bool : ...
201
+ def ClearField (self , field_name : typing_extensions .Literal ["digest" , b"digest" , "id" , b"id" , "name" , b"name" , "state" , b"state" , "update_time" , b"update_time" ]) -> None : ...
202
+
203
+ global___ModelVersion = ModelVersion
204
+
162
205
@typing_extensions .final
163
206
class Model (google .protobuf .message .Message ):
164
207
"""Model represents an AI model, i.e. a program that performs tasks as decision
@@ -926,6 +969,77 @@ class WatchUserModelResponse(google.protobuf.message.Message):
926
969
927
970
global___WatchUserModelResponse = WatchUserModelResponse
928
971
972
+ @typing_extensions .final
973
+ class ListUserModelVersionsRequest (google .protobuf .message .Message ):
974
+ """ListUserModelVersionsRequest represents a request to list all the versions
975
+ of a model namespace of a user.
976
+ """
977
+
978
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
979
+
980
+ PAGE_SIZE_FIELD_NUMBER : builtins .int
981
+ PAGE_FIELD_NUMBER : builtins .int
982
+ NAME_FIELD_NUMBER : builtins .int
983
+ page_size : builtins .int
984
+ """The maximum number of tags to return. The default and cap values are 10
985
+ and 100, respectively.
986
+ """
987
+ page : builtins .int
988
+ """Page number."""
989
+ name : builtins .str
990
+ """The parent resource, i.e., the user that created the models.
991
+ - Format: `users/{user.id}`.
992
+ The resource name of the model, which allows its access by parent user
993
+ and ID.
994
+ - Format: `users/{user.id}/models/{model.id}`.
995
+ """
996
+ def __init__ (
997
+ self ,
998
+ * ,
999
+ page_size : builtins .int | None = ...,
1000
+ page : builtins .int | None = ...,
1001
+ name : builtins .str = ...,
1002
+ ) -> None : ...
1003
+ def HasField (self , field_name : typing_extensions .Literal ["_page" , b"_page" , "_page_size" , b"_page_size" , "page" , b"page" , "page_size" , b"page_size" ]) -> builtins .bool : ...
1004
+ def ClearField (self , field_name : typing_extensions .Literal ["_page" , b"_page" , "_page_size" , b"_page_size" , "name" , b"name" , "page" , b"page" , "page_size" , b"page_size" ]) -> None : ...
1005
+ @typing .overload
1006
+ def WhichOneof (self , oneof_group : typing_extensions .Literal ["_page" , b"_page" ]) -> typing_extensions .Literal ["page" ] | None : ...
1007
+ @typing .overload
1008
+ def WhichOneof (self , oneof_group : typing_extensions .Literal ["_page_size" , b"_page_size" ]) -> typing_extensions .Literal ["page_size" ] | None : ...
1009
+
1010
+ global___ListUserModelVersionsRequest = ListUserModelVersionsRequest
1011
+
1012
+ @typing_extensions .final
1013
+ class ListUserModelVersionsResponse (google .protobuf .message .Message ):
1014
+ """ListUserModelVersionsResponse contains a list of models."""
1015
+
1016
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1017
+
1018
+ VERSIONS_FIELD_NUMBER : builtins .int
1019
+ TOTAL_SIZE_FIELD_NUMBER : builtins .int
1020
+ PAGE_SIZE_FIELD_NUMBER : builtins .int
1021
+ PAGE_FIELD_NUMBER : builtins .int
1022
+ @property
1023
+ def versions (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [global___ModelVersion ]:
1024
+ """A list of model resources."""
1025
+ total_size : builtins .int
1026
+ """Total number of tags."""
1027
+ page_size : builtins .int
1028
+ """The requested page size."""
1029
+ page : builtins .int
1030
+ """The requested page offset."""
1031
+ def __init__ (
1032
+ self ,
1033
+ * ,
1034
+ versions : collections .abc .Iterable [global___ModelVersion ] | None = ...,
1035
+ total_size : builtins .int = ...,
1036
+ page_size : builtins .int = ...,
1037
+ page : builtins .int = ...,
1038
+ ) -> None : ...
1039
+ def ClearField (self , field_name : typing_extensions .Literal ["page" , b"page" , "page_size" , b"page_size" , "total_size" , b"total_size" , "versions" , b"versions" ]) -> None : ...
1040
+
1041
+ global___ListUserModelVersionsResponse = ListUserModelVersionsResponse
1042
+
929
1043
@typing_extensions .final
930
1044
class TaskInput (google .protobuf .message .Message ):
931
1045
"""//////////////////////////////////
@@ -1808,6 +1922,77 @@ class WatchOrganizationModelResponse(google.protobuf.message.Message):
1808
1922
1809
1923
global___WatchOrganizationModelResponse = WatchOrganizationModelResponse
1810
1924
1925
+ @typing_extensions .final
1926
+ class ListOrganizationModelVersionsRequest (google .protobuf .message .Message ):
1927
+ """ListOrganizationModelVersionsRequest represents a request to list all the versions
1928
+ of a model namespace of an organization.
1929
+ """
1930
+
1931
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1932
+
1933
+ PAGE_SIZE_FIELD_NUMBER : builtins .int
1934
+ PAGE_FIELD_NUMBER : builtins .int
1935
+ NAME_FIELD_NUMBER : builtins .int
1936
+ page_size : builtins .int
1937
+ """The maximum number of tags to return. The default and cap values are 10
1938
+ and 100, respectively.
1939
+ """
1940
+ page : builtins .int
1941
+ """Page number."""
1942
+ name : builtins .str
1943
+ """The parent resource, i.e., the user that created the models.
1944
+ - Format: `organizations/{organization.id}`.
1945
+ The resource name of the model, which allows its access by parent user
1946
+ and ID.
1947
+ - Format: `organizations/{organization.id}/models/{model.id}`.
1948
+ """
1949
+ def __init__ (
1950
+ self ,
1951
+ * ,
1952
+ page_size : builtins .int | None = ...,
1953
+ page : builtins .int | None = ...,
1954
+ name : builtins .str = ...,
1955
+ ) -> None : ...
1956
+ def HasField (self , field_name : typing_extensions .Literal ["_page" , b"_page" , "_page_size" , b"_page_size" , "page" , b"page" , "page_size" , b"page_size" ]) -> builtins .bool : ...
1957
+ def ClearField (self , field_name : typing_extensions .Literal ["_page" , b"_page" , "_page_size" , b"_page_size" , "name" , b"name" , "page" , b"page" , "page_size" , b"page_size" ]) -> None : ...
1958
+ @typing .overload
1959
+ def WhichOneof (self , oneof_group : typing_extensions .Literal ["_page" , b"_page" ]) -> typing_extensions .Literal ["page" ] | None : ...
1960
+ @typing .overload
1961
+ def WhichOneof (self , oneof_group : typing_extensions .Literal ["_page_size" , b"_page_size" ]) -> typing_extensions .Literal ["page_size" ] | None : ...
1962
+
1963
+ global___ListOrganizationModelVersionsRequest = ListOrganizationModelVersionsRequest
1964
+
1965
+ @typing_extensions .final
1966
+ class ListOrganizationModelVersionsResponse (google .protobuf .message .Message ):
1967
+ """ListOrganizationModelVersionsResponse contains a list of models."""
1968
+
1969
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1970
+
1971
+ VERSIONS_FIELD_NUMBER : builtins .int
1972
+ TOTAL_SIZE_FIELD_NUMBER : builtins .int
1973
+ PAGE_SIZE_FIELD_NUMBER : builtins .int
1974
+ PAGE_FIELD_NUMBER : builtins .int
1975
+ @property
1976
+ def versions (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [global___ModelVersion ]:
1977
+ """A list of model resources."""
1978
+ total_size : builtins .int
1979
+ """Total number of tags."""
1980
+ page_size : builtins .int
1981
+ """The requested page size."""
1982
+ page : builtins .int
1983
+ """The requested page offset."""
1984
+ def __init__ (
1985
+ self ,
1986
+ * ,
1987
+ versions : collections .abc .Iterable [global___ModelVersion ] | None = ...,
1988
+ total_size : builtins .int = ...,
1989
+ page_size : builtins .int = ...,
1990
+ page : builtins .int = ...,
1991
+ ) -> None : ...
1992
+ def ClearField (self , field_name : typing_extensions .Literal ["page" , b"page" , "page_size" , b"page_size" , "total_size" , b"total_size" , "versions" , b"versions" ]) -> None : ...
1993
+
1994
+ global___ListOrganizationModelVersionsResponse = ListOrganizationModelVersionsResponse
1995
+
1811
1996
@typing_extensions .final
1812
1997
class TriggerOrganizationModelRequest (google .protobuf .message .Message ):
1813
1998
"""TriggerOrganizationModelRequest represents a request to trigger a model inference."""
0 commit comments