Skip to content

Commit 73bb1ed

Browse files
Google APIscopybara-github
authored andcommitted
fix!: remove VertexAISearch.engine option
PiperOrigin-RevId: 733027838
1 parent 50cbb15 commit 73bb1ed

2 files changed

Lines changed: 6 additions & 18 deletions

File tree

google/cloud/aiplatform/v1/tool.proto

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -261,19 +261,13 @@ message VertexRagStore {
261261
[(google.api.field_behavior) = OPTIONAL];
262262
}
263263

264-
// Retrieve from Vertex AI Search datastore or engine for grounding.
265-
// datastore and engine are mutually exclusive.
264+
// Retrieve from Vertex AI Search datastore for grounding.
266265
// See https://cloud.google.com/products/agent-builder
267266
message VertexAISearch {
268-
// Optional. Fully-qualified Vertex AI Search data store resource ID.
267+
// Required. Fully-qualified Vertex AI Search data store resource ID.
269268
// Format:
270269
// `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
271-
string datastore = 1 [(google.api.field_behavior) = OPTIONAL];
272-
273-
// Optional. Fully-qualified Vertex AI Search engine resource ID.
274-
// Format:
275-
// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`
276-
string engine = 2 [(google.api.field_behavior) = OPTIONAL];
270+
string datastore = 1 [(google.api.field_behavior) = REQUIRED];
277271
}
278272

279273
// Tool to retrieve public web data for grounding, powered by Google.

google/cloud/aiplatform/v1beta1/tool.proto

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -309,19 +309,13 @@ message VertexRagStore {
309309
[(google.api.field_behavior) = OPTIONAL];
310310
}
311311

312-
// Retrieve from Vertex AI Search datastore or engine for grounding.
313-
// datastore and engine are mutually exclusive.
312+
// Retrieve from Vertex AI Search datastore for grounding.
314313
// See https://cloud.google.com/products/agent-builder
315314
message VertexAISearch {
316-
// Optional. Fully-qualified Vertex AI Search data store resource ID.
315+
// Required. Fully-qualified Vertex AI Search data store resource ID.
317316
// Format:
318317
// `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
319-
string datastore = 1 [(google.api.field_behavior) = OPTIONAL];
320-
321-
// Optional. Fully-qualified Vertex AI Search engine resource ID.
322-
// Format:
323-
// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`
324-
string engine = 2 [(google.api.field_behavior) = OPTIONAL];
318+
string datastore = 1 [(google.api.field_behavior) = REQUIRED];
325319
}
326320

327321
// Tool to retrieve public web data for grounding, powered by Google.

0 commit comments

Comments
 (0)