Skip to content

Commit 2c2a335

Browse files
Google APIscopybara-github
authored andcommitted
feat: add VertexAISearch.engine option
PiperOrigin-RevId: 736952567
1 parent 1e6cb62 commit 2c2a335

3 files changed

Lines changed: 18 additions & 7 deletions

File tree

.github/workflows/diregapic.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
git config --global --add safe.directory /__w/googleapis/googleapis
2525
bazelisk build --experimental_convenience_symlinks=normal //google/cloud/compute/v1:compute_gen
2626
cp bazel-bin/google/cloud/compute/v1/compute_gen.proto google/cloud/compute/v1/compute.proto
27-
cp bazel-bin/google/cloud/compute/v1/compute_gen.config.out.json google/cloud/compute/v1/compute.config.json
2827
bazelisk build --experimental_convenience_symlinks=normal //google/cloud/compute/v1:compute_grpc_service_config_gen
2928
cp bazel-bin/google/cloud/compute/v1/compute_grpc_service_config_gen.json google/cloud/compute/v1/compute_grpc_service_config.json
3029
bazelisk build --experimental_convenience_symlinks=normal //google/cloud/compute/v1:compute_gapic_gen

google/cloud/aiplatform/v1/tool.proto

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

264-
// Retrieve from Vertex AI Search datastore for grounding.
264+
// Retrieve from Vertex AI Search datastore or engine for grounding.
265+
// datastore and engine are mutually exclusive.
265266
// See https://cloud.google.com/products/agent-builder
266267
message VertexAISearch {
267-
// Required. Fully-qualified Vertex AI Search data store resource ID.
268+
// Optional. Fully-qualified Vertex AI Search data store resource ID.
268269
// Format:
269270
// `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
270-
string datastore = 1 [(google.api.field_behavior) = REQUIRED];
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];
271277
}
272278

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

google/cloud/aiplatform/v1beta1/tool.proto

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

320-
// Retrieve from Vertex AI Search datastore for grounding.
320+
// Retrieve from Vertex AI Search datastore or engine for grounding.
321+
// datastore and engine are mutually exclusive.
321322
// See https://cloud.google.com/products/agent-builder
322323
message VertexAISearch {
323-
// Required. Fully-qualified Vertex AI Search data store resource ID.
324+
// Optional. Fully-qualified Vertex AI Search data store resource ID.
324325
// Format:
325326
// `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
326-
string datastore = 1 [(google.api.field_behavior) = REQUIRED];
327+
string datastore = 1 [(google.api.field_behavior) = OPTIONAL];
328+
329+
// Optional. Fully-qualified Vertex AI Search engine resource ID.
330+
// Format:
331+
// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`
332+
string engine = 2 [(google.api.field_behavior) = OPTIONAL];
327333
}
328334

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

0 commit comments

Comments
 (0)