google-cloud-ai_platform-v1 1.41.0 → 1.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -147,6 +147,86 @@ module Google
147
147
  ::Gapic::Rest::TransportOperation.new response
148
148
  end
149
149
 
150
+ ##
151
+ # Baseline implementation for the async_query_reasoning_engine REST call
152
+ #
153
+ # @param request_pb [::Google::Cloud::AIPlatform::V1::AsyncQueryReasoningEngineRequest]
154
+ # A request object representing the call parameters. Required.
155
+ # @param options [::Gapic::CallOptions]
156
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
157
+ #
158
+ # @yield [result, operation] Access the result along with the TransportOperation object
159
+ # @yieldparam result [::Google::Longrunning::Operation]
160
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
161
+ #
162
+ # @return [::Google::Longrunning::Operation]
163
+ # A result object deserialized from the server's reply
164
+ def async_query_reasoning_engine request_pb, options = nil
165
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
166
+
167
+ verb, uri, query_string_params, body = ServiceStub.transcode_async_query_reasoning_engine_request request_pb
168
+ query_string_params = if query_string_params.any?
169
+ query_string_params.to_h { |p| p.split "=", 2 }
170
+ else
171
+ {}
172
+ end
173
+
174
+ response = @client_stub.make_http_request(
175
+ verb,
176
+ uri: uri,
177
+ body: body || "",
178
+ params: query_string_params,
179
+ method_name: "async_query_reasoning_engine",
180
+ options: options
181
+ )
182
+ operation = ::Gapic::Rest::TransportOperation.new response
183
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
184
+ catch :response do
185
+ yield result, operation if block_given?
186
+ result
187
+ end
188
+ end
189
+
190
+ ##
191
+ # Baseline implementation for the cancel_async_query_reasoning_engine REST call
192
+ #
193
+ # @param request_pb [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest]
194
+ # A request object representing the call parameters. Required.
195
+ # @param options [::Gapic::CallOptions]
196
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
197
+ #
198
+ # @yield [result, operation] Access the result along with the TransportOperation object
199
+ # @yieldparam result [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse]
200
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
201
+ #
202
+ # @return [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse]
203
+ # A result object deserialized from the server's reply
204
+ def cancel_async_query_reasoning_engine request_pb, options = nil
205
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
206
+
207
+ verb, uri, query_string_params, body = ServiceStub.transcode_cancel_async_query_reasoning_engine_request request_pb
208
+ query_string_params = if query_string_params.any?
209
+ query_string_params.to_h { |p| p.split "=", 2 }
210
+ else
211
+ {}
212
+ end
213
+
214
+ response = @client_stub.make_http_request(
215
+ verb,
216
+ uri: uri,
217
+ body: body || "",
218
+ params: query_string_params,
219
+ method_name: "cancel_async_query_reasoning_engine",
220
+ options: options
221
+ )
222
+ operation = ::Gapic::Rest::TransportOperation.new response
223
+ result = ::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse.decode_json response.body, ignore_unknown_fields: true
224
+ catch :response do
225
+ yield result, operation if block_given?
226
+ result
227
+ end
228
+ end
229
+
150
230
  ##
151
231
  # @private
152
232
  #
@@ -190,6 +270,66 @@ module Google
190
270
  )
191
271
  transcoder.transcode request_pb
192
272
  end
273
+
274
+ ##
275
+ # @private
276
+ #
277
+ # GRPC transcoding helper method for the async_query_reasoning_engine REST call
278
+ #
279
+ # @param request_pb [::Google::Cloud::AIPlatform::V1::AsyncQueryReasoningEngineRequest]
280
+ # A request object representing the call parameters. Required.
281
+ # @return [Array(String, [String, nil], Hash{String => String})]
282
+ # Uri, Body, Query string parameters
283
+ def self.transcode_async_query_reasoning_engine_request request_pb
284
+ transcoder = Gapic::Rest::GrpcTranscoder.new
285
+ .with_bindings(
286
+ uri_method: :post,
287
+ uri_template: "/v1/{name}:asyncQuery",
288
+ body: "*",
289
+ matches: [
290
+ ["name", %r{^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/?$}, false]
291
+ ]
292
+ )
293
+ .with_bindings(
294
+ uri_method: :post,
295
+ uri_template: "/v1/{name}:asyncQuery",
296
+ body: "*",
297
+ matches: [
298
+ ["name", %r{^reasoningEngines/[^/]+/?$}, false]
299
+ ]
300
+ )
301
+ transcoder.transcode request_pb
302
+ end
303
+
304
+ ##
305
+ # @private
306
+ #
307
+ # GRPC transcoding helper method for the cancel_async_query_reasoning_engine REST call
308
+ #
309
+ # @param request_pb [::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest]
310
+ # A request object representing the call parameters. Required.
311
+ # @return [Array(String, [String, nil], Hash{String => String})]
312
+ # Uri, Body, Query string parameters
313
+ def self.transcode_cancel_async_query_reasoning_engine_request request_pb
314
+ transcoder = Gapic::Rest::GrpcTranscoder.new
315
+ .with_bindings(
316
+ uri_method: :post,
317
+ uri_template: "/v1/{name}:cancelAsyncQuery",
318
+ body: "*",
319
+ matches: [
320
+ ["name", %r{^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/?$}, false]
321
+ ]
322
+ )
323
+ .with_bindings(
324
+ uri_method: :post,
325
+ uri_template: "/v1/{name}:cancelAsyncQuery",
326
+ body: "*",
327
+ matches: [
328
+ ["name", %r{^reasoningEngines/[^/]+/?$}, false]
329
+ ]
330
+ )
331
+ transcoder.transcode request_pb
332
+ end
193
333
  end
194
334
  end
195
335
  end
@@ -25,6 +25,7 @@ require "google/cloud/ai_platform/v1/bindings_override"
25
25
 
26
26
  require "google/cloud/ai_platform/v1/reasoning_engine_execution_service/credentials"
27
27
  require "google/cloud/ai_platform/v1/reasoning_engine_execution_service/paths"
28
+ require "google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/operations"
28
29
  require "google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/client"
29
30
 
30
31
  module Google
@@ -24,6 +24,7 @@ require "google/cloud/ai_platform/v1/version"
24
24
 
25
25
  require "google/cloud/ai_platform/v1/reasoning_engine_execution_service/credentials"
26
26
  require "google/cloud/ai_platform/v1/reasoning_engine_execution_service/paths"
27
+ require "google/cloud/ai_platform/v1/reasoning_engine_execution_service/operations"
27
28
  require "google/cloud/ai_platform/v1/reasoning_engine_execution_service/client"
28
29
  require "google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest"
29
30
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AIPlatform
23
23
  module V1
24
- VERSION = "1.41.0"
24
+ VERSION = "1.43.0"
25
25
  end
26
26
  end
27
27
  end
@@ -9,10 +9,12 @@ require 'google/api/client_pb'
9
9
  require 'google/api/field_behavior_pb'
10
10
  require 'google/api/httpbody_pb'
11
11
  require 'google/api/resource_pb'
12
+ require 'google/cloud/aiplatform/v1/operation_pb'
13
+ require 'google/longrunning/operations_pb'
12
14
  require 'google/protobuf/struct_pb'
13
15
 
14
16
 
15
- descriptor_data = "\nCgoogle/cloud/aiplatform/v1/reasoning_engine_execution_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xa6\x01\n\x1bQueryReasoningEngineRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/ReasoningEngine\x12+\n\x05input\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x19\n\x0c\x63lass_method\x18\x03 \x01(\tB\x03\xe0\x41\x01\"F\n\x1cQueryReasoningEngineResponse\x12&\n\x06output\x18\x01 \x01(\x0b\x32\x16.google.protobuf.Value\"\xac\x01\n!StreamQueryReasoningEngineRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/ReasoningEngine\x12+\n\x05input\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x19\n\x0c\x63lass_method\x18\x03 \x01(\tB\x03\xe0\x41\x01\x32\x86\x04\n\x1fReasoningEngineExecutionService\x12\xd0\x01\n\x14QueryReasoningEngine\x12\x37.google.cloud.aiplatform.v1.QueryReasoningEngineRequest\x1a\x38.google.cloud.aiplatform.v1.QueryReasoningEngineResponse\"E\x82\xd3\xe4\x93\x02?\":/v1/{name=projects/*/locations/*/reasoningEngines/*}:query:\x01*\x12\xc0\x01\n\x1aStreamQueryReasoningEngine\x12=.google.cloud.aiplatform.v1.StreamQueryReasoningEngineRequest\x1a\x14.google.api.HttpBody\"K\x82\xd3\xe4\x93\x02\x45\"@/v1/{name=projects/*/locations/*/reasoningEngines/*}:streamQuery:\x01*0\x01\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B$ReasoningEngineExecutionServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
17
+ descriptor_data = "\nCgoogle/cloud/aiplatform/v1/reasoning_engine_execution_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xa6\x01\n\x1bQueryReasoningEngineRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/ReasoningEngine\x12+\n\x05input\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x19\n\x0c\x63lass_method\x18\x03 \x01(\tB\x03\xe0\x41\x01\"F\n\x1cQueryReasoningEngineResponse\x12&\n\x06output\x18\x01 \x01(\x0b\x32\x16.google.protobuf.Value\"\xac\x01\n!StreamQueryReasoningEngineRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/ReasoningEngine\x12+\n\x05input\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x19\n\x0c\x63lass_method\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9c\x01\n AsyncQueryReasoningEngineRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/ReasoningEngine\x12\x1a\n\rinput_gcs_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0eoutput_gcs_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\"|\n*AsyncQueryReasoningEngineOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\";\n!AsyncQueryReasoningEngineResponse\x12\x16\n\x0eoutput_gcs_uri\x18\x01 \x01(\t\"\x86\x01\n&CancelAsyncQueryReasoningEngineRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/ReasoningEngine\x12\x1b\n\x0eoperation_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\")\n\'CancelAsyncQueryReasoningEngineResponse2\x84\t\n\x1fReasoningEngineExecutionService\x12\xd0\x01\n\x14QueryReasoningEngine\x12\x37.google.cloud.aiplatform.v1.QueryReasoningEngineRequest\x1a\x38.google.cloud.aiplatform.v1.QueryReasoningEngineResponse\"E\x82\xd3\xe4\x93\x02?\":/v1/{name=projects/*/locations/*/reasoningEngines/*}:query:\x01*\x12\xc0\x01\n\x1aStreamQueryReasoningEngine\x12=.google.cloud.aiplatform.v1.StreamQueryReasoningEngineRequest\x1a\x14.google.api.HttpBody\"K\x82\xd3\xe4\x93\x02\x45\"@/v1/{name=projects/*/locations/*/reasoningEngines/*}:streamQuery:\x01*0\x01\x12\xc6\x02\n\x19\x41syncQueryReasoningEngine\x12<.google.cloud.aiplatform.v1.AsyncQueryReasoningEngineRequest\x1a\x1d.google.longrunning.Operation\"\xcb\x01\xca\x41O\n!AsyncQueryReasoningEngineResponse\x12*AsyncQueryReasoningEngineOperationMetadata\x82\xd3\xe4\x93\x02s\"?/v1/{name=projects/*/locations/*/reasoningEngines/*}:asyncQuery:\x01*Z-\"(/v1/{name=reasoningEngines/*}:asyncQuery:\x01*\x12\xb2\x02\n\x1f\x43\x61ncelAsyncQueryReasoningEngine\x12\x42.google.cloud.aiplatform.v1.CancelAsyncQueryReasoningEngineRequest\x1a\x43.google.cloud.aiplatform.v1.CancelAsyncQueryReasoningEngineResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\"E/v1/{name=projects/*/locations/*/reasoningEngines/*}:cancelAsyncQuery:\x01*Z3\"./v1/{name=reasoningEngines/*}:cancelAsyncQuery:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B$ReasoningEngineExecutionServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
16
18
 
17
19
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
20
  pool.add_serialized_file(descriptor_data)
@@ -24,6 +26,11 @@ module Google
24
26
  QueryReasoningEngineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.QueryReasoningEngineRequest").msgclass
25
27
  QueryReasoningEngineResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.QueryReasoningEngineResponse").msgclass
26
28
  StreamQueryReasoningEngineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.StreamQueryReasoningEngineRequest").msgclass
29
+ AsyncQueryReasoningEngineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.AsyncQueryReasoningEngineRequest").msgclass
30
+ AsyncQueryReasoningEngineOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.AsyncQueryReasoningEngineOperationMetadata").msgclass
31
+ AsyncQueryReasoningEngineResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.AsyncQueryReasoningEngineResponse").msgclass
32
+ CancelAsyncQueryReasoningEngineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CancelAsyncQueryReasoningEngineRequest").msgclass
33
+ CancelAsyncQueryReasoningEngineResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CancelAsyncQueryReasoningEngineResponse").msgclass
27
34
  end
28
35
  end
29
36
  end
@@ -37,6 +37,10 @@ module Google
37
37
  rpc :QueryReasoningEngine, ::Google::Cloud::AIPlatform::V1::QueryReasoningEngineRequest, ::Google::Cloud::AIPlatform::V1::QueryReasoningEngineResponse
38
38
  # Streams queries using a reasoning engine.
39
39
  rpc :StreamQueryReasoningEngine, ::Google::Cloud::AIPlatform::V1::StreamQueryReasoningEngineRequest, stream(::Google::Api::HttpBody)
40
+ # Async query using a reasoning engine.
41
+ rpc :AsyncQueryReasoningEngine, ::Google::Cloud::AIPlatform::V1::AsyncQueryReasoningEngineRequest, ::Google::Longrunning::Operation
42
+ # Cancels an AsyncQueryReasoningEngine operation.
43
+ rpc :CancelAsyncQueryReasoningEngine, ::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineRequest, ::Google::Cloud::AIPlatform::V1::CancelAsyncQueryReasoningEngineResponse
40
44
  end
41
45
 
42
46
  Stub = Service.rpc_stub_class
@@ -11,7 +11,7 @@ require 'google/protobuf/struct_pb'
11
11
  require 'google/type/latlng_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n%google/cloud/aiplatform/v1/tool.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/openapi.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x18google/type/latlng.proto\"\xab\n\n\x04Tool\x12S\n\x15\x66unction_declarations\x18\x01 \x03(\x0b\x32/.google.cloud.aiplatform.v1.FunctionDeclarationB\x03\xe0\x41\x01\x12=\n\tretrieval\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.RetrievalB\x03\xe0\x41\x01\x12I\n\rgoogle_search\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.Tool.GoogleSearchB\x03\xe0\x41\x01\x12W\n\x17google_search_retrieval\x18\x03 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.GoogleSearchRetrievalB\x03\xe0\x41\x01\x12@\n\x0bgoogle_maps\x18\x05 \x01(\x0b\x32&.google.cloud.aiplatform.v1.GoogleMapsB\x03\xe0\x41\x01\x12S\n\x15\x65nterprise_web_search\x18\x06 \x01(\x0b\x32/.google.cloud.aiplatform.v1.EnterpriseWebSearchB\x03\xe0\x41\x01\x12K\n\x0e\x63ode_execution\x18\x04 \x01(\x0b\x32..google.cloud.aiplatform.v1.Tool.CodeExecutionB\x03\xe0\x41\x01\x12@\n\x0burl_context\x18\n \x01(\x0b\x32&.google.cloud.aiplatform.v1.UrlContextB\x03\xe0\x41\x01\x12G\n\x0c\x63omputer_use\x18\x0b \x01(\x0b\x32,.google.cloud.aiplatform.v1.Tool.ComputerUseB\x03\xe0\x41\x01\x1a\xa1\x01\n\x0cGoogleSearch\x12\x1c\n\x0f\x65xclude_domains\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12[\n\x13\x62locking_confidence\x18\x04 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.Tool.PhishBlockThresholdB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x16\n\x14_blocking_confidence\x1a\x0f\n\rCodeExecution\x1a\xd2\x01\n\x0b\x43omputerUse\x12R\n\x0b\x65nvironment\x18\x01 \x01(\x0e\x32\x38.google.cloud.aiplatform.v1.Tool.ComputerUse.EnvironmentB\x03\xe0\x41\x02\x12*\n\x1d\x65xcluded_predefined_functions\x18\x02 \x03(\tB\x03\xe0\x41\x01\"C\n\x0b\x45nvironment\x12\x1b\n\x17\x45NVIRONMENT_UNSPECIFIED\x10\x00\x12\x17\n\x13\x45NVIRONMENT_BROWSER\x10\x01\"\xe5\x01\n\x13PhishBlockThreshold\x12%\n!PHISH_BLOCK_THRESHOLD_UNSPECIFIED\x10\x00\x12\x17\n\x13\x42LOCK_LOW_AND_ABOVE\x10\x1e\x12\x1a\n\x16\x42LOCK_MEDIUM_AND_ABOVE\x10(\x12\x18\n\x14\x42LOCK_HIGH_AND_ABOVE\x10\x32\x12\x1a\n\x16\x42LOCK_HIGHER_AND_ABOVE\x10\x37\x12\x1d\n\x19\x42LOCK_VERY_HIGH_AND_ABOVE\x10<\x12\x1d\n\x19\x42LOCK_ONLY_EXTREMELY_HIGH\x10\x64J\x04\x08\x08\x10\tJ\x04\x08\t\x10\n\"\x0c\n\nUrlContext\"\xb2\x02\n\x13\x46unctionDeclaration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12;\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12;\n\x16parameters_json_schema\x18\x05 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\x12\x39\n\x08response\x18\x04 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12\x39\n\x14response_json_schema\x18\x06 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\"\xac\x01\n\x0c\x46unctionCall\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12*\n\x04\x61rgs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x41\n\x0cpartial_args\x18\x04 \x03(\x0b\x32&.google.cloud.aiplatform.v1.PartialArgB\x03\xe0\x41\x01\x12\x1a\n\rwill_continue\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd5\x01\n\nPartialArg\x12\x35\n\nnull_value\x18\x02 \x01(\x0e\x32\x1a.google.protobuf.NullValueB\x03\xe0\x41\x01H\x00\x12\x1b\n\x0cnumber_value\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12\x1b\n\x0cstring_value\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x19\n\nbool_value\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x12\x16\n\tjson_path\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rwill_continue\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x42\x07\n\x05\x64\x65lta\"\xb2\x01\n\x14\x46unctionResponsePart\x12G\n\x0binline_data\x18\x01 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.FunctionResponseBlobH\x00\x12I\n\tfile_data\x18\x02 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.FunctionResponseFileDataH\x00\x42\x06\n\x04\x64\x61ta\"\\\n\x14\x46unctionResponseBlob\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x01\"d\n\x18\x46unctionResponseFileData\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x66ile_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9b\x01\n\x10\x46unctionResponse\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12.\n\x08response\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x02\x12\x44\n\x05parts\x18\x04 \x03(\x0b\x32\x30.google.cloud.aiplatform.v1.FunctionResponsePartB\x03\xe0\x41\x01\"\xa1\x01\n\x0e\x45xecutableCode\x12J\n\x08language\x18\x01 \x01(\x0e\x32\x33.google.cloud.aiplatform.v1.ExecutableCode.LanguageB\x03\xe0\x41\x02\x12\x11\n\x04\x63ode\x18\x02 \x01(\tB\x03\xe0\x41\x02\"0\n\x08Language\x12\x18\n\x14LANGUAGE_UNSPECIFIED\x10\x00\x12\n\n\x06PYTHON\x10\x01\"\xe0\x01\n\x13\x43odeExecutionResult\x12M\n\x07outcome\x18\x01 \x01(\x0e\x32\x37.google.cloud.aiplatform.v1.CodeExecutionResult.OutcomeB\x03\xe0\x41\x02\x12\x13\n\x06output\x18\x02 \x01(\tB\x03\xe0\x41\x01\"e\n\x07Outcome\x12\x17\n\x13OUTCOME_UNSPECIFIED\x10\x00\x12\x0e\n\nOUTCOME_OK\x10\x01\x12\x12\n\x0eOUTCOME_FAILED\x10\x02\x12\x1d\n\x19OUTCOME_DEADLINE_EXCEEDED\x10\x03\"\xc9\x01\n\tRetrieval\x12\x46\n\x10vertex_ai_search\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexAISearchH\x00\x12\x46\n\x10vertex_rag_store\x18\x04 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexRagStoreH\x00\x12\"\n\x13\x64isable_attribution\x18\x03 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x42\x08\n\x06source\"\xaa\x03\n\x0eVertexRagStore\x12R\n\rrag_resources\x18\x04 \x03(\x0b\x32\x36.google.cloud.aiplatform.v1.VertexRagStore.RagResourceB\x03\xe0\x41\x01\x12$\n\x10similarity_top_k\x18\x02 \x01(\x05\x42\x05\x18\x01\xe0\x41\x01H\x00\x88\x01\x01\x12-\n\x19vector_distance_threshold\x18\x03 \x01(\x01\x42\x05\x18\x01\xe0\x41\x01H\x01\x88\x01\x01\x12Q\n\x14rag_retrieval_config\x18\x06 \x01(\x0b\x32..google.cloud.aiplatform.v1.RagRetrievalConfigB\x03\xe0\x41\x01\x1ai\n\x0bRagResource\x12?\n\nrag_corpus\x18\x01 \x01(\tB+\xe0\x41\x01\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12\x19\n\x0crag_file_ids\x18\x02 \x03(\tB\x03\xe0\x41\x01\x42\x13\n\x11_similarity_top_kB\x1c\n\x1a_vector_distance_threshold\"\xfa\x01\n\x0eVertexAISearch\x12\x16\n\tdatastore\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x65ngine\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bmax_results\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12R\n\x10\x64\x61ta_store_specs\x18\x05 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.VertexAISearch.DataStoreSpec\x1a\x38\n\rDataStoreSpec\x12\x12\n\ndata_store\x18\x01 \x01(\t\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\"m\n\x15GoogleSearchRetrieval\x12T\n\x18\x64ynamic_retrieval_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.DynamicRetrievalConfig\"(\n\nGoogleMaps\x12\x1a\n\renable_widget\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x13\x45nterpriseWebSearch\x12\x1c\n\x0f\x65xclude_domains\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12[\n\x13\x62locking_confidence\x18\x02 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.Tool.PhishBlockThresholdB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x16\n\x14_blocking_confidence\"\xca\x01\n\x16\x44ynamicRetrievalConfig\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x37.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode\x12#\n\x11\x64ynamic_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\".\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_DYNAMIC\x10\x01\x42\x14\n\x12_dynamic_threshold\"\xb1\x01\n\nToolConfig\x12W\n\x17\x66unction_calling_config\x18\x01 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.FunctionCallingConfigB\x03\xe0\x41\x01\x12J\n\x10retrieval_config\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.RetrievalConfigB\x03\xe0\x41\x01\"\x84\x02\n\x15\x46unctionCallingConfig\x12I\n\x04mode\x18\x01 \x01(\x0e\x32\x36.google.cloud.aiplatform.v1.FunctionCallingConfig.ModeB\x03\xe0\x41\x01\x12#\n\x16\x61llowed_function_names\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12+\n\x1estream_function_call_arguments\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"N\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x41UTO\x10\x01\x12\x07\n\x03\x41NY\x10\x02\x12\x08\n\x04NONE\x10\x03\x12\r\n\tVALIDATED\x10\x05\"\x04\x08\x04\x10\x04\"v\n\x0fRetrievalConfig\x12)\n\x07lat_lng\x18\x01 \x01(\x0b\x32\x13.google.type.LatLngH\x00\x88\x01\x01\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\n\n\x08_lat_lngB\x10\n\x0e_language_code\"\xaa\x05\n\x12RagRetrievalConfig\x12\x12\n\x05top_k\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12J\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x35.google.cloud.aiplatform.v1.RagRetrievalConfig.FilterB\x03\xe0\x41\x01\x12L\n\x07ranking\x18\x04 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.RagRetrievalConfig.RankingB\x03\xe0\x41\x01\x1a\x93\x01\n\x06\x46ilter\x12(\n\x19vector_distance_threshold\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12*\n\x1bvector_similarity_threshold\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12\x1c\n\x0fmetadata_filter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\x15\n\x13vector_db_threshold\x1a\xcf\x02\n\x07Ranking\x12_\n\x0crank_service\x18\x01 \x01(\x0b\x32\x42.google.cloud.aiplatform.v1.RagRetrievalConfig.Ranking.RankServiceB\x03\xe0\x41\x01H\x00\x12[\n\nllm_ranker\x18\x03 \x01(\x0b\x32@.google.cloud.aiplatform.v1.RagRetrievalConfig.Ranking.LlmRankerB\x03\xe0\x41\x01H\x00\x1a:\n\x0bRankService\x12\x1c\n\nmodel_name\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\r\n\x0b_model_name\x1a\x38\n\tLlmRanker\x12\x1c\n\nmodel_name\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\r\n\x0b_model_nameB\x10\n\x0eranking_configB\xc7\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\tToolProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
14
+ descriptor_data = "\n%google/cloud/aiplatform/v1/tool.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/openapi.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x18google/type/latlng.proto\"\xdf\x0b\n\x04Tool\x12S\n\x15\x66unction_declarations\x18\x01 \x03(\x0b\x32/.google.cloud.aiplatform.v1.FunctionDeclarationB\x03\xe0\x41\x01\x12=\n\tretrieval\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.RetrievalB\x03\xe0\x41\x01\x12I\n\rgoogle_search\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.Tool.GoogleSearchB\x03\xe0\x41\x01\x12W\n\x17google_search_retrieval\x18\x03 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.GoogleSearchRetrievalB\x03\xe0\x41\x01\x12@\n\x0bgoogle_maps\x18\x05 \x01(\x0b\x32&.google.cloud.aiplatform.v1.GoogleMapsB\x03\xe0\x41\x01\x12S\n\x15\x65nterprise_web_search\x18\x06 \x01(\x0b\x32/.google.cloud.aiplatform.v1.EnterpriseWebSearchB\x03\xe0\x41\x01\x12R\n\x12parallel_ai_search\x18\r \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.Tool.ParallelAiSearchB\x03\xe0\x41\x01\x12K\n\x0e\x63ode_execution\x18\x04 \x01(\x0b\x32..google.cloud.aiplatform.v1.Tool.CodeExecutionB\x03\xe0\x41\x01\x12@\n\x0burl_context\x18\n \x01(\x0b\x32&.google.cloud.aiplatform.v1.UrlContextB\x03\xe0\x41\x01\x12G\n\x0c\x63omputer_use\x18\x0b \x01(\x0b\x32,.google.cloud.aiplatform.v1.Tool.ComputerUseB\x03\xe0\x41\x01\x1a\xa1\x01\n\x0cGoogleSearch\x12\x1c\n\x0f\x65xclude_domains\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12[\n\x13\x62locking_confidence\x18\x04 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.Tool.PhishBlockThresholdB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x16\n\x14_blocking_confidence\x1a^\n\x10ParallelAiSearch\x12\x14\n\x07\x61pi_key\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0e\x63ustom_configs\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x1a\x0f\n\rCodeExecution\x1a\xd2\x01\n\x0b\x43omputerUse\x12R\n\x0b\x65nvironment\x18\x01 \x01(\x0e\x32\x38.google.cloud.aiplatform.v1.Tool.ComputerUse.EnvironmentB\x03\xe0\x41\x02\x12*\n\x1d\x65xcluded_predefined_functions\x18\x02 \x03(\tB\x03\xe0\x41\x01\"C\n\x0b\x45nvironment\x12\x1b\n\x17\x45NVIRONMENT_UNSPECIFIED\x10\x00\x12\x17\n\x13\x45NVIRONMENT_BROWSER\x10\x01\"\xe5\x01\n\x13PhishBlockThreshold\x12%\n!PHISH_BLOCK_THRESHOLD_UNSPECIFIED\x10\x00\x12\x17\n\x13\x42LOCK_LOW_AND_ABOVE\x10\x1e\x12\x1a\n\x16\x42LOCK_MEDIUM_AND_ABOVE\x10(\x12\x18\n\x14\x42LOCK_HIGH_AND_ABOVE\x10\x32\x12\x1a\n\x16\x42LOCK_HIGHER_AND_ABOVE\x10\x37\x12\x1d\n\x19\x42LOCK_VERY_HIGH_AND_ABOVE\x10<\x12\x1d\n\x19\x42LOCK_ONLY_EXTREMELY_HIGH\x10\x64J\x04\x08\x08\x10\tJ\x04\x08\t\x10\n\"\x0c\n\nUrlContext\"\xb2\x02\n\x13\x46unctionDeclaration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12;\n\nparameters\x18\x03 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12;\n\x16parameters_json_schema\x18\x05 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\x12\x39\n\x08response\x18\x04 \x01(\x0b\x32\".google.cloud.aiplatform.v1.SchemaB\x03\xe0\x41\x01\x12\x39\n\x14response_json_schema\x18\x06 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x01\"\xac\x01\n\x0c\x46unctionCall\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12*\n\x04\x61rgs\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x41\n\x0cpartial_args\x18\x04 \x03(\x0b\x32&.google.cloud.aiplatform.v1.PartialArgB\x03\xe0\x41\x01\x12\x1a\n\rwill_continue\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xd5\x01\n\nPartialArg\x12\x35\n\nnull_value\x18\x02 \x01(\x0e\x32\x1a.google.protobuf.NullValueB\x03\xe0\x41\x01H\x00\x12\x1b\n\x0cnumber_value\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12\x1b\n\x0cstring_value\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x19\n\nbool_value\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x12\x16\n\tjson_path\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rwill_continue\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x42\x07\n\x05\x64\x65lta\"\xb2\x01\n\x14\x46unctionResponsePart\x12G\n\x0binline_data\x18\x01 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.FunctionResponseBlobH\x00\x12I\n\tfile_data\x18\x02 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.FunctionResponseFileDataH\x00\x42\x06\n\x04\x64\x61ta\"\\\n\x14\x46unctionResponseBlob\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x01\"d\n\x18\x46unctionResponseFileData\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x66ile_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9b\x01\n\x10\x46unctionResponse\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12.\n\x08response\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x02\x12\x44\n\x05parts\x18\x04 \x03(\x0b\x32\x30.google.cloud.aiplatform.v1.FunctionResponsePartB\x03\xe0\x41\x01\"\xa1\x01\n\x0e\x45xecutableCode\x12J\n\x08language\x18\x01 \x01(\x0e\x32\x33.google.cloud.aiplatform.v1.ExecutableCode.LanguageB\x03\xe0\x41\x02\x12\x11\n\x04\x63ode\x18\x02 \x01(\tB\x03\xe0\x41\x02\"0\n\x08Language\x12\x18\n\x14LANGUAGE_UNSPECIFIED\x10\x00\x12\n\n\x06PYTHON\x10\x01\"\xe0\x01\n\x13\x43odeExecutionResult\x12M\n\x07outcome\x18\x01 \x01(\x0e\x32\x37.google.cloud.aiplatform.v1.CodeExecutionResult.OutcomeB\x03\xe0\x41\x02\x12\x13\n\x06output\x18\x02 \x01(\tB\x03\xe0\x41\x01\"e\n\x07Outcome\x12\x17\n\x13OUTCOME_UNSPECIFIED\x10\x00\x12\x0e\n\nOUTCOME_OK\x10\x01\x12\x12\n\x0eOUTCOME_FAILED\x10\x02\x12\x1d\n\x19OUTCOME_DEADLINE_EXCEEDED\x10\x03\"\xc9\x01\n\tRetrieval\x12\x46\n\x10vertex_ai_search\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexAISearchH\x00\x12\x46\n\x10vertex_rag_store\x18\x04 \x01(\x0b\x32*.google.cloud.aiplatform.v1.VertexRagStoreH\x00\x12\"\n\x13\x64isable_attribution\x18\x03 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x42\x08\n\x06source\"\xaa\x03\n\x0eVertexRagStore\x12R\n\rrag_resources\x18\x04 \x03(\x0b\x32\x36.google.cloud.aiplatform.v1.VertexRagStore.RagResourceB\x03\xe0\x41\x01\x12$\n\x10similarity_top_k\x18\x02 \x01(\x05\x42\x05\x18\x01\xe0\x41\x01H\x00\x88\x01\x01\x12-\n\x19vector_distance_threshold\x18\x03 \x01(\x01\x42\x05\x18\x01\xe0\x41\x01H\x01\x88\x01\x01\x12Q\n\x14rag_retrieval_config\x18\x06 \x01(\x0b\x32..google.cloud.aiplatform.v1.RagRetrievalConfigB\x03\xe0\x41\x01\x1ai\n\x0bRagResource\x12?\n\nrag_corpus\x18\x01 \x01(\tB+\xe0\x41\x01\xfa\x41%\n#aiplatform.googleapis.com/RagCorpus\x12\x19\n\x0crag_file_ids\x18\x02 \x03(\tB\x03\xe0\x41\x01\x42\x13\n\x11_similarity_top_kB\x1c\n\x1a_vector_distance_threshold\"\xfa\x01\n\x0eVertexAISearch\x12\x16\n\tdatastore\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x65ngine\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bmax_results\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12R\n\x10\x64\x61ta_store_specs\x18\x05 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.VertexAISearch.DataStoreSpec\x1a\x38\n\rDataStoreSpec\x12\x12\n\ndata_store\x18\x01 \x01(\t\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\"m\n\x15GoogleSearchRetrieval\x12T\n\x18\x64ynamic_retrieval_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.DynamicRetrievalConfig\"(\n\nGoogleMaps\x12\x1a\n\renable_widget\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x13\x45nterpriseWebSearch\x12\x1c\n\x0f\x65xclude_domains\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12[\n\x13\x62locking_confidence\x18\x02 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.Tool.PhishBlockThresholdB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x16\n\x14_blocking_confidence\"\xca\x01\n\x16\x44ynamicRetrievalConfig\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x37.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode\x12#\n\x11\x64ynamic_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\".\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODE_DYNAMIC\x10\x01\x42\x14\n\x12_dynamic_threshold\"\xb1\x01\n\nToolConfig\x12W\n\x17\x66unction_calling_config\x18\x01 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.FunctionCallingConfigB\x03\xe0\x41\x01\x12J\n\x10retrieval_config\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.RetrievalConfigB\x03\xe0\x41\x01\"\x84\x02\n\x15\x46unctionCallingConfig\x12I\n\x04mode\x18\x01 \x01(\x0e\x32\x36.google.cloud.aiplatform.v1.FunctionCallingConfig.ModeB\x03\xe0\x41\x01\x12#\n\x16\x61llowed_function_names\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12+\n\x1estream_function_call_arguments\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"N\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x41UTO\x10\x01\x12\x07\n\x03\x41NY\x10\x02\x12\x08\n\x04NONE\x10\x03\x12\r\n\tVALIDATED\x10\x05\"\x04\x08\x04\x10\x04\"v\n\x0fRetrievalConfig\x12)\n\x07lat_lng\x18\x01 \x01(\x0b\x32\x13.google.type.LatLngH\x00\x88\x01\x01\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\n\n\x08_lat_lngB\x10\n\x0e_language_code\"\xaa\x05\n\x12RagRetrievalConfig\x12\x12\n\x05top_k\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12J\n\x06\x66ilter\x18\x03 \x01(\x0b\x32\x35.google.cloud.aiplatform.v1.RagRetrievalConfig.FilterB\x03\xe0\x41\x01\x12L\n\x07ranking\x18\x04 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.RagRetrievalConfig.RankingB\x03\xe0\x41\x01\x1a\x93\x01\n\x06\x46ilter\x12(\n\x19vector_distance_threshold\x18\x03 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12*\n\x1bvector_similarity_threshold\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x12\x1c\n\x0fmetadata_filter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\x15\n\x13vector_db_threshold\x1a\xcf\x02\n\x07Ranking\x12_\n\x0crank_service\x18\x01 \x01(\x0b\x32\x42.google.cloud.aiplatform.v1.RagRetrievalConfig.Ranking.RankServiceB\x03\xe0\x41\x01H\x00\x12[\n\nllm_ranker\x18\x03 \x01(\x0b\x32@.google.cloud.aiplatform.v1.RagRetrievalConfig.Ranking.LlmRankerB\x03\xe0\x41\x01H\x00\x1a:\n\x0bRankService\x12\x1c\n\nmodel_name\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\r\n\x0b_model_name\x1a\x38\n\tLlmRanker\x12\x1c\n\nmodel_name\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\r\n\x0b_model_nameB\x10\n\x0eranking_configB\xc7\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\tToolProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
15
15
 
16
16
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
17
  pool.add_serialized_file(descriptor_data)
@@ -22,6 +22,7 @@ module Google
22
22
  module V1
23
23
  Tool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Tool").msgclass
24
24
  Tool::GoogleSearch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Tool.GoogleSearch").msgclass
25
+ Tool::ParallelAiSearch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Tool.ParallelAiSearch").msgclass
25
26
  Tool::CodeExecution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Tool.CodeExecution").msgclass
26
27
  Tool::ComputerUse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Tool.ComputerUse").msgclass
27
28
  Tool::ComputerUse::Environment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Tool.ComputerUse.Environment").enummodule
@@ -67,6 +67,69 @@ module Google
67
67
  include ::Google::Protobuf::MessageExts
68
68
  extend ::Google::Protobuf::MessageExts::ClassMethods
69
69
  end
70
+
71
+ # Request message for
72
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineExecutionService::Client#async_query_reasoning_engine ReasoningEngineExecutionService.AsyncQueryReasoningEngine}.
73
+ # @!attribute [rw] name
74
+ # @return [::String]
75
+ # Required. The name of the ReasoningEngine resource to use.
76
+ # Format:
77
+ # `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
78
+ # @!attribute [rw] input_gcs_uri
79
+ # @return [::String]
80
+ # Optional. Input Cloud Storage URI for the Async query.
81
+ # @!attribute [rw] output_gcs_uri
82
+ # @return [::String]
83
+ # Optional. Output Cloud Storage URI for the Async query.
84
+ class AsyncQueryReasoningEngineRequest
85
+ include ::Google::Protobuf::MessageExts
86
+ extend ::Google::Protobuf::MessageExts::ClassMethods
87
+ end
88
+
89
+ # Operation metadata message for
90
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineExecutionService::Client#async_query_reasoning_engine ReasoningEngineExecutionService.AsyncQueryReasoningEngine}.
91
+ # @!attribute [rw] generic_metadata
92
+ # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
93
+ # The common part of the operation metadata.
94
+ class AsyncQueryReasoningEngineOperationMetadata
95
+ include ::Google::Protobuf::MessageExts
96
+ extend ::Google::Protobuf::MessageExts::ClassMethods
97
+ end
98
+
99
+ # Response message for
100
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineExecutionService::Client#async_query_reasoning_engine ReasoningEngineExecutionService.AsyncQueryReasoningEngine}.
101
+ # @!attribute [rw] output_gcs_uri
102
+ # @return [::String]
103
+ # Output Cloud Storage URI for the Async query.
104
+ class AsyncQueryReasoningEngineResponse
105
+ include ::Google::Protobuf::MessageExts
106
+ extend ::Google::Protobuf::MessageExts::ClassMethods
107
+ end
108
+
109
+ # Request message for
110
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineExecutionService::Client#cancel_async_query_reasoning_engine ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngine}.
111
+ # @!attribute [rw] name
112
+ # @return [::String]
113
+ # Required. The name of the ReasoningEngine resource to use.
114
+ # Format:
115
+ # `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
116
+ # @!attribute [rw] operation_name
117
+ # @return [::String]
118
+ # Required. The name of the longrunning operation returned from
119
+ # AsyncQueryReasoningEngine.
120
+ # Format:
121
+ # `projects/{project}/locations/{location}/operations/{operation}`
122
+ class CancelAsyncQueryReasoningEngineRequest
123
+ include ::Google::Protobuf::MessageExts
124
+ extend ::Google::Protobuf::MessageExts::ClassMethods
125
+ end
126
+
127
+ # Response message for
128
+ # {::Google::Cloud::AIPlatform::V1::ReasoningEngineExecutionService::Client#cancel_async_query_reasoning_engine ReasoningEngineExecutionService.CancelAsyncQueryReasoningEngine}.
129
+ class CancelAsyncQueryReasoningEngineResponse
130
+ include ::Google::Protobuf::MessageExts
131
+ extend ::Google::Protobuf::MessageExts::ClassMethods
132
+ end
70
133
  end
71
134
  end
72
135
  end
@@ -61,6 +61,11 @@ module Google
61
61
  # @return [::Google::Cloud::AIPlatform::V1::EnterpriseWebSearch]
62
62
  # Optional. Tool to support searching public web data, powered by Vertex AI
63
63
  # Search and Sec4 compliance.
64
+ # @!attribute [rw] parallel_ai_search
65
+ # @return [::Google::Cloud::AIPlatform::V1::Tool::ParallelAiSearch]
66
+ # Optional. If specified, Vertex AI will use Parallel.ai to search for
67
+ # information to answer user queries. The search results will be grounded on
68
+ # Parallel.ai and presented to the model for response generation
64
69
  # @!attribute [rw] code_execution
65
70
  # @return [::Google::Cloud::AIPlatform::V1::Tool::CodeExecution]
66
71
  # Optional. CodeExecution tool type.
@@ -93,6 +98,39 @@ module Google
93
98
  extend ::Google::Protobuf::MessageExts::ClassMethods
94
99
  end
95
100
 
101
+ # ParallelAiSearch tool type.
102
+ # A tool that uses the Parallel.ai search engine for grounding.
103
+ # @!attribute [rw] api_key
104
+ # @return [::String]
105
+ # Optional. The API key for ParallelAiSearch.
106
+ # If an API key is not provided, the system will attempt to verify access
107
+ # by checking for an active Parallel.ai subscription through the Google
108
+ # Cloud Marketplace.
109
+ # See https://docs.parallel.ai/search/search-quickstart for more details.
110
+ # @!attribute [rw] custom_configs
111
+ # @return [::Google::Protobuf::Struct]
112
+ # Optional. Custom configs for ParallelAiSearch.
113
+ # This field can be used to pass any parameter from the Parallel.ai
114
+ # Search API.
115
+ # See the Parallel.ai documentation for the full list of available
116
+ # parameters and their usage:
117
+ # https://docs.parallel.ai/api-reference/search-beta/search
118
+ # Currently only `source_policy`, `excerpts`, `max_results`, `mode`,
119
+ # `fetch_policy` can be set via this field. For example:
120
+ # {
121
+ # "source_policy": {
122
+ # "include_domains": ["google.com", "wikipedia.org"],
123
+ # "exclude_domains": ["example.com"]
124
+ # },
125
+ # "fetch_policy": {
126
+ # "max_age_seconds": 3600
127
+ # }
128
+ # }
129
+ class ParallelAiSearch
130
+ include ::Google::Protobuf::MessageExts
131
+ extend ::Google::Protobuf::MessageExts::ClassMethods
132
+ end
133
+
96
134
  # Tool that executes code generated by the model, and automatically returns
97
135
  # the result to the model.
98
136
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-ai_platform-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.41.0
4
+ version: 1.43.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -294,9 +294,11 @@ files:
294
294
  - lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service.rb
295
295
  - lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/client.rb
296
296
  - lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/credentials.rb
297
+ - lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/operations.rb
297
298
  - lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/paths.rb
298
299
  - lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest.rb
299
300
  - lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/client.rb
301
+ - lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/operations.rb
300
302
  - lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/service_stub.rb
301
303
  - lib/google/cloud/ai_platform/v1/reasoning_engine_service.rb
302
304
  - lib/google/cloud/ai_platform/v1/reasoning_engine_service/client.rb