@@ -1216,6 +1216,40 @@ class AiplatformResource(googleapiclient.discovery.Resource):
12161216
12171217 def operations (self ) -> OperationsResource : ...
12181218
1219+ @typing .type_check_only
1220+ class OnlineEvaluatorsResource (googleapiclient .discovery .Resource ):
1221+ @typing .type_check_only
1222+ class OperationsResource (googleapiclient .discovery .Resource ):
1223+ def cancel (
1224+ self , * , name : str , ** kwargs : typing .Any
1225+ ) -> GoogleProtobufEmptyHttpRequest : ...
1226+ def delete (
1227+ self , * , name : str , ** kwargs : typing .Any
1228+ ) -> GoogleProtobufEmptyHttpRequest : ...
1229+ def get (
1230+ self , * , name : str , ** kwargs : typing .Any
1231+ ) -> GoogleLongrunningOperationHttpRequest : ...
1232+ def list (
1233+ self ,
1234+ * ,
1235+ name : str ,
1236+ filter : str = ...,
1237+ pageSize : int = ...,
1238+ pageToken : str = ...,
1239+ returnPartialSuccess : bool = ...,
1240+ ** kwargs : typing .Any ,
1241+ ) -> GoogleLongrunningListOperationsResponseHttpRequest : ...
1242+ def list_next (
1243+ self ,
1244+ previous_request : GoogleLongrunningListOperationsResponseHttpRequest ,
1245+ previous_response : GoogleLongrunningListOperationsResponse ,
1246+ ) -> GoogleLongrunningListOperationsResponseHttpRequest | None : ...
1247+ def wait (
1248+ self , * , name : str , timeout : str = ..., ** kwargs : typing .Any
1249+ ) -> GoogleLongrunningOperationHttpRequest : ...
1250+
1251+ def operations (self ) -> OperationsResource : ...
1252+
12191253 @typing .type_check_only
12201254 class OperationsResource (googleapiclient .discovery .Resource ):
12211255 def cancel (
@@ -2392,6 +2426,13 @@ class AiplatformResource(googleapiclient.discovery.Resource):
23922426 def get (
23932427 self , * , name : str , ** kwargs : typing .Any
23942428 ) -> GoogleCloudAiplatformV1EvaluationSetHttpRequest : ...
2429+ def import_ (
2430+ self ,
2431+ * ,
2432+ parent : str ,
2433+ body : GoogleCloudAiplatformV1ImportEvaluationSetRequest = ...,
2434+ ** kwargs : typing .Any ,
2435+ ) -> GoogleLongrunningOperationHttpRequest : ...
23952436 def list (
23962437 self ,
23972438 * ,
@@ -4612,6 +4653,93 @@ class AiplatformResource(googleapiclient.discovery.Resource):
46124653 ) -> GoogleLongrunningOperationHttpRequest : ...
46134654 def operations (self ) -> OperationsResource : ...
46144655
4656+ @typing .type_check_only
4657+ class OnlineEvaluatorsResource (googleapiclient .discovery .Resource ):
4658+ @typing .type_check_only
4659+ class OperationsResource (googleapiclient .discovery .Resource ):
4660+ def cancel (
4661+ self , * , name : str , ** kwargs : typing .Any
4662+ ) -> GoogleProtobufEmptyHttpRequest : ...
4663+ def delete (
4664+ self , * , name : str , ** kwargs : typing .Any
4665+ ) -> GoogleProtobufEmptyHttpRequest : ...
4666+ def get (
4667+ self , * , name : str , ** kwargs : typing .Any
4668+ ) -> GoogleLongrunningOperationHttpRequest : ...
4669+ def list (
4670+ self ,
4671+ * ,
4672+ name : str ,
4673+ filter : str = ...,
4674+ pageSize : int = ...,
4675+ pageToken : str = ...,
4676+ returnPartialSuccess : bool = ...,
4677+ ** kwargs : typing .Any ,
4678+ ) -> GoogleLongrunningListOperationsResponseHttpRequest : ...
4679+ def list_next (
4680+ self ,
4681+ previous_request : GoogleLongrunningListOperationsResponseHttpRequest ,
4682+ previous_response : GoogleLongrunningListOperationsResponse ,
4683+ ) -> GoogleLongrunningListOperationsResponseHttpRequest | None : ...
4684+ def wait (
4685+ self , * , name : str , timeout : str = ..., ** kwargs : typing .Any
4686+ ) -> GoogleLongrunningOperationHttpRequest : ...
4687+
4688+ def activate (
4689+ self ,
4690+ * ,
4691+ name : str ,
4692+ body : GoogleCloudAiplatformV1ActivateOnlineEvaluatorRequest = ...,
4693+ ** kwargs : typing .Any ,
4694+ ) -> GoogleLongrunningOperationHttpRequest : ...
4695+ def create (
4696+ self ,
4697+ * ,
4698+ parent : str ,
4699+ body : GoogleCloudAiplatformV1OnlineEvaluator = ...,
4700+ ** kwargs : typing .Any ,
4701+ ) -> GoogleLongrunningOperationHttpRequest : ...
4702+ def delete (
4703+ self , * , name : str , ** kwargs : typing .Any
4704+ ) -> GoogleLongrunningOperationHttpRequest : ...
4705+ def get (
4706+ self , * , name : str , ** kwargs : typing .Any
4707+ ) -> GoogleCloudAiplatformV1OnlineEvaluatorHttpRequest : ...
4708+ def list (
4709+ self ,
4710+ * ,
4711+ parent : str ,
4712+ filter : str = ...,
4713+ orderBy : str = ...,
4714+ pageSize : int = ...,
4715+ pageToken : str = ...,
4716+ ** kwargs : typing .Any ,
4717+ ) -> GoogleCloudAiplatformV1ListOnlineEvaluatorsResponseHttpRequest : ...
4718+ def list_next (
4719+ self ,
4720+ previous_request : GoogleCloudAiplatformV1ListOnlineEvaluatorsResponseHttpRequest ,
4721+ previous_response : GoogleCloudAiplatformV1ListOnlineEvaluatorsResponse ,
4722+ ) -> (
4723+ GoogleCloudAiplatformV1ListOnlineEvaluatorsResponseHttpRequest
4724+ | None
4725+ ): ...
4726+ def patch (
4727+ self ,
4728+ * ,
4729+ name : str ,
4730+ body : GoogleCloudAiplatformV1OnlineEvaluator = ...,
4731+ updateMask : str = ...,
4732+ ** kwargs : typing .Any ,
4733+ ) -> GoogleLongrunningOperationHttpRequest : ...
4734+ def suspend (
4735+ self ,
4736+ * ,
4737+ name : str ,
4738+ body : GoogleCloudAiplatformV1SuspendOnlineEvaluatorRequest = ...,
4739+ ** kwargs : typing .Any ,
4740+ ) -> GoogleLongrunningOperationHttpRequest : ...
4741+ def operations (self ) -> OperationsResource : ...
4742+
46154743 @typing .type_check_only
46164744 class OperationsResource (googleapiclient .discovery .Resource ):
46174745 def cancel (
@@ -5409,6 +5537,20 @@ class AiplatformResource(googleapiclient.discovery.Resource):
54095537 GoogleCloudAiplatformV1ListSandboxEnvironmentsResponseHttpRequest
54105538 | None
54115539 ): ...
5540+ def pause (
5541+ self ,
5542+ * ,
5543+ name : str ,
5544+ body : GoogleCloudAiplatformV1PauseSandboxEnvironmentRequest = ...,
5545+ ** kwargs : typing .Any ,
5546+ ) -> GoogleLongrunningOperationHttpRequest : ...
5547+ def resume (
5548+ self ,
5549+ * ,
5550+ name : str ,
5551+ body : GoogleCloudAiplatformV1ResumeSandboxEnvironmentRequest = ...,
5552+ ** kwargs : typing .Any ,
5553+ ) -> GoogleLongrunningOperationHttpRequest : ...
54125554 def snapshot (
54135555 self ,
54145556 * ,
@@ -5529,7 +5671,11 @@ class AiplatformResource(googleapiclient.discovery.Resource):
55295671 ** kwargs : typing .Any ,
55305672 ) -> GoogleLongrunningOperationHttpRequest : ...
55315673 def cancelAsyncQuery (
5532- self , * , name : str , operationName : str = ..., ** kwargs : typing .Any
5674+ self ,
5675+ * ,
5676+ name : str ,
5677+ body : GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest = ...,
5678+ ** kwargs : typing .Any ,
55335679 ) -> GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponseHttpRequest : ...
55345680 def create (
55355681 self ,
@@ -6587,13 +6733,27 @@ class AiplatformResource(googleapiclient.discovery.Resource):
65876733 body : GoogleCloudAiplatformV1GenerateInstanceRubricsRequest = ...,
65886734 ** kwargs : typing .Any ,
65896735 ) -> GoogleCloudAiplatformV1GenerateInstanceRubricsResponseHttpRequest : ...
6736+ def generateLossClusters (
6737+ self ,
6738+ * ,
6739+ location : str ,
6740+ body : GoogleCloudAiplatformV1GenerateLossClustersRequest = ...,
6741+ ** kwargs : typing .Any ,
6742+ ) -> GoogleLongrunningOperationHttpRequest : ...
65906743 def generateSyntheticData (
65916744 self ,
65926745 * ,
65936746 location : str ,
65946747 body : GoogleCloudAiplatformV1GenerateSyntheticDataRequest = ...,
65956748 ** kwargs : typing .Any ,
65966749 ) -> GoogleCloudAiplatformV1GenerateSyntheticDataResponseHttpRequest : ...
6750+ def generateUserScenarios (
6751+ self ,
6752+ * ,
6753+ location : str ,
6754+ body : GoogleCloudAiplatformV1GenerateUserScenariosRequest = ...,
6755+ ** kwargs : typing .Any ,
6756+ ) -> GoogleCloudAiplatformV1GenerateUserScenariosResponseHttpRequest : ...
65976757 def get (
65986758 self , * , name : str , ** kwargs : typing .Any
65996759 ) -> GoogleCloudLocationLocationHttpRequest : ...
@@ -6655,6 +6815,7 @@ class AiplatformResource(googleapiclient.discovery.Resource):
66556815 def notebookExecutionJobs (self ) -> NotebookExecutionJobsResource : ...
66566816 def notebookRuntimeTemplates (self ) -> NotebookRuntimeTemplatesResource : ...
66576817 def notebookRuntimes (self ) -> NotebookRuntimesResource : ...
6818+ def onlineEvaluators (self ) -> OnlineEvaluatorsResource : ...
66586819 def operations (self ) -> OperationsResource : ...
66596820 def persistentResources (self ) -> PersistentResourcesResource : ...
66606821 def pipelineJobs (self ) -> PipelineJobsResource : ...
@@ -7085,6 +7246,20 @@ class AiplatformResource(googleapiclient.discovery.Resource):
70857246 ) -> (
70867247 GoogleCloudAiplatformV1ListSandboxEnvironmentsResponseHttpRequest | None
70877248 ): ...
7249+ def pause (
7250+ self ,
7251+ * ,
7252+ name : str ,
7253+ body : GoogleCloudAiplatformV1PauseSandboxEnvironmentRequest = ...,
7254+ ** kwargs : typing .Any ,
7255+ ) -> GoogleLongrunningOperationHttpRequest : ...
7256+ def resume (
7257+ self ,
7258+ * ,
7259+ name : str ,
7260+ body : GoogleCloudAiplatformV1ResumeSandboxEnvironmentRequest = ...,
7261+ ** kwargs : typing .Any ,
7262+ ) -> GoogleLongrunningOperationHttpRequest : ...
70887263 def snapshot (
70897264 self ,
70907265 * ,
@@ -7136,7 +7311,11 @@ class AiplatformResource(googleapiclient.discovery.Resource):
71367311 ** kwargs : typing .Any ,
71377312 ) -> GoogleLongrunningOperationHttpRequest : ...
71387313 def cancelAsyncQuery (
7139- self , * , name : str , operationName : str = ..., ** kwargs : typing .Any
7314+ self ,
7315+ * ,
7316+ name : str ,
7317+ body : GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest = ...,
7318+ ** kwargs : typing .Any ,
71407319 ) -> (
71417320 GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponseHttpRequest
71427321 ): ...
@@ -7640,6 +7819,7 @@ class AiplatformResource(googleapiclient.discovery.Resource):
76407819 def notebookExecutionJobs (self ) -> NotebookExecutionJobsResource : ...
76417820 def notebookRuntimeTemplates (self ) -> NotebookRuntimeTemplatesResource : ...
76427821 def notebookRuntimes (self ) -> NotebookRuntimesResource : ...
7822+ def onlineEvaluators (self ) -> OnlineEvaluatorsResource : ...
76437823 def operations (self ) -> OperationsResource : ...
76447824 def persistentResources (self ) -> PersistentResourcesResource : ...
76457825 def pipelineJobs (self ) -> PipelineJobsResource : ...
@@ -8155,6 +8335,16 @@ class GoogleCloudAiplatformV1GenerateSyntheticDataResponseHttpRequest(
81558335 num_retries : int = 0 ,
81568336 ) -> GoogleCloudAiplatformV1GenerateSyntheticDataResponse : ...
81578337
8338+ @typing .type_check_only
8339+ class GoogleCloudAiplatformV1GenerateUserScenariosResponseHttpRequest (
8340+ googleapiclient .http .HttpRequest
8341+ ):
8342+ def execute (
8343+ self ,
8344+ http : httplib2 .Http | googleapiclient .http .HttpMock | None = None ,
8345+ num_retries : int = 0 ,
8346+ ) -> GoogleCloudAiplatformV1GenerateUserScenariosResponse : ...
8347+
81588348@typing .type_check_only
81598349class GoogleCloudAiplatformV1HyperparameterTuningJobHttpRequest (
81608350 googleapiclient .http .HttpRequest
@@ -8611,6 +8801,16 @@ class GoogleCloudAiplatformV1ListNotebookRuntimesResponseHttpRequest(
86118801 num_retries : int = 0 ,
86128802 ) -> GoogleCloudAiplatformV1ListNotebookRuntimesResponse : ...
86138803
8804+ @typing .type_check_only
8805+ class GoogleCloudAiplatformV1ListOnlineEvaluatorsResponseHttpRequest (
8806+ googleapiclient .http .HttpRequest
8807+ ):
8808+ def execute (
8809+ self ,
8810+ http : httplib2 .Http | googleapiclient .http .HttpMock | None = None ,
8811+ num_retries : int = 0 ,
8812+ ) -> GoogleCloudAiplatformV1ListOnlineEvaluatorsResponse : ...
8813+
86148814@typing .type_check_only
86158815class GoogleCloudAiplatformV1ListOptimalTrialsResponseHttpRequest (
86168816 googleapiclient .http .HttpRequest
@@ -8943,6 +9143,16 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplateHttpRequest(
89439143 num_retries : int = 0 ,
89449144 ) -> GoogleCloudAiplatformV1NotebookRuntimeTemplate : ...
89459145
9146+ @typing .type_check_only
9147+ class GoogleCloudAiplatformV1OnlineEvaluatorHttpRequest (
9148+ googleapiclient .http .HttpRequest
9149+ ):
9150+ def execute (
9151+ self ,
9152+ http : httplib2 .Http | googleapiclient .http .HttpMock | None = None ,
9153+ num_retries : int = 0 ,
9154+ ) -> GoogleCloudAiplatformV1OnlineEvaluator : ...
9155+
89469156@typing .type_check_only
89479157class GoogleCloudAiplatformV1PersistentResourceHttpRequest (
89489158 googleapiclient .http .HttpRequest
0 commit comments