@@ -2582,7 +2582,7 @@ global___TriggerOrganizationModelBinaryFileUploadResponse = TriggerOrganizationM
2582
2582
2583
2583
@typing_extensions .final
2584
2584
class GetModelOperationRequest (google .protobuf .message .Message ):
2585
- """GerModelOperationRequest represents a request to fetch a long-running
2585
+ """GetModelOperationRequest represents a request to fetch a long-running
2586
2586
operation performed on a model.
2587
2587
"""
2588
2588
@@ -2630,6 +2630,133 @@ class GetModelOperationResponse(google.protobuf.message.Message):
2630
2630
2631
2631
global___GetModelOperationResponse = GetModelOperationResponse
2632
2632
2633
+ @typing_extensions .final
2634
+ class LatestOperation (google .protobuf .message .Message ):
2635
+ """LatestOperation represents an internal message for GetLatestModelOperation Response"""
2636
+
2637
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
2638
+
2639
+ REQUEST_FIELD_NUMBER : builtins .int
2640
+ RESPONSE_FIELD_NUMBER : builtins .int
2641
+ @property
2642
+ def request (self ) -> global___TriggerUserModelRequest :
2643
+ """Input request"""
2644
+ @property
2645
+ def response (self ) -> global___TriggerUserModelResponse :
2646
+ """Output response"""
2647
+ def __init__ (
2648
+ self ,
2649
+ * ,
2650
+ request : global___TriggerUserModelRequest | None = ...,
2651
+ response : global___TriggerUserModelResponse | None = ...,
2652
+ ) -> None : ...
2653
+ def HasField (self , field_name : typing_extensions .Literal ["request" , b"request" , "response" , b"response" ]) -> builtins .bool : ...
2654
+ def ClearField (self , field_name : typing_extensions .Literal ["request" , b"request" , "response" , b"response" ]) -> None : ...
2655
+
2656
+ global___LatestOperation = LatestOperation
2657
+
2658
+ @typing_extensions .final
2659
+ class GetUserLatestModelOperationRequest (google .protobuf .message .Message ):
2660
+ """GetUserLatestModelOperationRequest represents a request to fetch the latest long-running
2661
+ operation performed on a model for a user.
2662
+ """
2663
+
2664
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
2665
+
2666
+ NAME_FIELD_NUMBER : builtins .int
2667
+ VIEW_FIELD_NUMBER : builtins .int
2668
+ name : builtins .str
2669
+ """The resource name of the model, which allows its access by parent user
2670
+ and ID.
2671
+ - Format: `users/{user.id}/models/{model.id}`.
2672
+ """
2673
+ view : model .model .v1alpha .model_definition_pb2 .View .ValueType
2674
+ """View allows clients to specify the desired operation result in the response."""
2675
+ def __init__ (
2676
+ self ,
2677
+ * ,
2678
+ name : builtins .str = ...,
2679
+ view : model .model .v1alpha .model_definition_pb2 .View .ValueType | None = ...,
2680
+ ) -> None : ...
2681
+ def HasField (self , field_name : typing_extensions .Literal ["_view" , b"_view" , "view" , b"view" ]) -> builtins .bool : ...
2682
+ def ClearField (self , field_name : typing_extensions .Literal ["_view" , b"_view" , "name" , b"name" , "view" , b"view" ]) -> None : ...
2683
+ def WhichOneof (self , oneof_group : typing_extensions .Literal ["_view" , b"_view" ]) -> typing_extensions .Literal ["view" ] | None : ...
2684
+
2685
+ global___GetUserLatestModelOperationRequest = GetUserLatestModelOperationRequest
2686
+
2687
+ @typing_extensions .final
2688
+ class GetUserLatestModelOperationResponse (google .protobuf .message .Message ):
2689
+ """GetUserLatestModelOperationRequest represents a request to query a long-running
2690
+ operation.
2691
+ """
2692
+
2693
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
2694
+
2695
+ OPERATION_FIELD_NUMBER : builtins .int
2696
+ @property
2697
+ def operation (self ) -> google .longrunning .operations_pb2 .Operation :
2698
+ """The long-running operation."""
2699
+ def __init__ (
2700
+ self ,
2701
+ * ,
2702
+ operation : google .longrunning .operations_pb2 .Operation | None = ...,
2703
+ ) -> None : ...
2704
+ def HasField (self , field_name : typing_extensions .Literal ["operation" , b"operation" ]) -> builtins .bool : ...
2705
+ def ClearField (self , field_name : typing_extensions .Literal ["operation" , b"operation" ]) -> None : ...
2706
+
2707
+ global___GetUserLatestModelOperationResponse = GetUserLatestModelOperationResponse
2708
+
2709
+ @typing_extensions .final
2710
+ class GetOrganizationLatestModelOperationRequest (google .protobuf .message .Message ):
2711
+ """GetOrganizationLatestModelOperationRequest represents a request to fetch the latest long-running
2712
+ operation performed on a model for a user.
2713
+ """
2714
+
2715
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
2716
+
2717
+ NAME_FIELD_NUMBER : builtins .int
2718
+ VIEW_FIELD_NUMBER : builtins .int
2719
+ name : builtins .str
2720
+ """The resource name of the model, which allows its access by parent organization
2721
+ and ID.
2722
+ - Format: `organizations/{organization.id}/models/{model.id}`.
2723
+ """
2724
+ view : model .model .v1alpha .model_definition_pb2 .View .ValueType
2725
+ """View allows clients to specify the desired operation result in the response."""
2726
+ def __init__ (
2727
+ self ,
2728
+ * ,
2729
+ name : builtins .str = ...,
2730
+ view : model .model .v1alpha .model_definition_pb2 .View .ValueType | None = ...,
2731
+ ) -> None : ...
2732
+ def HasField (self , field_name : typing_extensions .Literal ["_view" , b"_view" , "view" , b"view" ]) -> builtins .bool : ...
2733
+ def ClearField (self , field_name : typing_extensions .Literal ["_view" , b"_view" , "name" , b"name" , "view" , b"view" ]) -> None : ...
2734
+ def WhichOneof (self , oneof_group : typing_extensions .Literal ["_view" , b"_view" ]) -> typing_extensions .Literal ["view" ] | None : ...
2735
+
2736
+ global___GetOrganizationLatestModelOperationRequest = GetOrganizationLatestModelOperationRequest
2737
+
2738
+ @typing_extensions .final
2739
+ class GetOrganizationLatestModelOperationResponse (google .protobuf .message .Message ):
2740
+ """GetOrganizationLatestModelOperationRequest represents a request to query a long-running
2741
+ operation.
2742
+ """
2743
+
2744
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
2745
+
2746
+ OPERATION_FIELD_NUMBER : builtins .int
2747
+ @property
2748
+ def operation (self ) -> google .longrunning .operations_pb2 .Operation :
2749
+ """The long-running operation."""
2750
+ def __init__ (
2751
+ self ,
2752
+ * ,
2753
+ operation : google .longrunning .operations_pb2 .Operation | None = ...,
2754
+ ) -> None : ...
2755
+ def HasField (self , field_name : typing_extensions .Literal ["operation" , b"operation" ]) -> builtins .bool : ...
2756
+ def ClearField (self , field_name : typing_extensions .Literal ["operation" , b"operation" ]) -> None : ...
2757
+
2758
+ global___GetOrganizationLatestModelOperationResponse = GetOrganizationLatestModelOperationResponse
2759
+
2633
2760
@typing_extensions .final
2634
2761
class ListAvailableRegionsRequest (google .protobuf .message .Message ):
2635
2762
"""ListAvailableRegionsRequest represents a request to fetch a list
0 commit comments