@@ -89,6 +89,19 @@ service ReasoningEngineExecutionService {
8989 metadata_type : "AsyncQueryReasoningEngineOperationMetadata"
9090 };
9191 }
92+
93+ // Cancels an AsyncQueryReasoningEngine operation.
94+ rpc CancelAsyncQueryReasoningEngine (CancelAsyncQueryReasoningEngineRequest )
95+ returns (CancelAsyncQueryReasoningEngineResponse ) {
96+ option (google.api.http ) = {
97+ post : "/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}:cancelAsyncQuery"
98+ body : "*"
99+ additional_bindings {
100+ post : "/v1beta1/{name=reasoningEngines/*}:cancelAsyncQuery"
101+ body : "*"
102+ }
103+ };
104+ }
92105}
93106
94107// Request message for [ReasoningEngineExecutionService.Query][].
@@ -172,3 +185,27 @@ message AsyncQueryReasoningEngineResponse {
172185 // Output Cloud Storage URI for the Async query.
173186 string output_gcs_uri = 1 ;
174187}
188+
189+ // Request message for
190+ // [ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngine][google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngine].
191+ message CancelAsyncQueryReasoningEngineRequest {
192+ // Required. The name of the ReasoningEngine resource to use.
193+ // Format:
194+ // `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
195+ string name = 1 [
196+ (google.api.field_behavior ) = REQUIRED ,
197+ (google.api.resource_reference ) = {
198+ type : "aiplatform.googleapis.com/ReasoningEngine"
199+ }
200+ ];
201+
202+ // Required. The name of the longrunning operation returned from
203+ // AsyncQueryReasoningEngine.
204+ // Format:
205+ // `projects/{project}/locations/{location}/operations/{operation}`
206+ string operation_name = 2 [(google.api.field_behavior ) = REQUIRED ];
207+ }
208+
209+ // Response message for
210+ // [ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngine][google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngine].
211+ message CancelAsyncQueryReasoningEngineResponse {}
0 commit comments