@google-cloud/vectorsearch 0.2.0 → 0.4.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.
Files changed (44) hide show
  1. package/README.md +22 -0
  2. package/build/protos/google/cloud/vectorsearch/v1/common.proto +37 -0
  3. package/build/protos/google/cloud/vectorsearch/v1/data_object.proto +95 -0
  4. package/build/protos/google/cloud/vectorsearch/v1/data_object_search_service.proto +409 -0
  5. package/build/protos/google/cloud/vectorsearch/v1/data_object_service.proto +242 -0
  6. package/build/protos/google/cloud/vectorsearch/v1/embedding_config.proto +74 -0
  7. package/build/protos/google/cloud/vectorsearch/v1/vectorsearch_service.proto +710 -0
  8. package/build/protos/google/cloud/vectorsearch/v1beta/common.proto +4 -1
  9. package/build/protos/google/cloud/vectorsearch/v1beta/data_object.proto +8 -3
  10. package/build/protos/google/cloud/vectorsearch/v1beta/data_object_search_service.proto +71 -40
  11. package/build/protos/google/cloud/vectorsearch/v1beta/data_object_service.proto +11 -2
  12. package/build/protos/google/cloud/vectorsearch/v1beta/embedding_config.proto +3 -0
  13. package/build/protos/google/cloud/vectorsearch/v1beta/vectorsearch_service.proto +85 -15
  14. package/build/protos/protos.d.ts +7493 -161
  15. package/build/protos/protos.js +24251 -6379
  16. package/build/protos/protos.json +2260 -56
  17. package/build/src/index.d.ts +12 -10
  18. package/build/src/index.js +7 -5
  19. package/build/src/index.js.map +1 -1
  20. package/build/src/v1/data_object_search_service_client.d.ts +583 -0
  21. package/build/src/v1/data_object_search_service_client.js +855 -0
  22. package/build/src/v1/data_object_search_service_client.js.map +1 -0
  23. package/build/src/v1/data_object_search_service_client_config.json +58 -0
  24. package/build/src/v1/data_object_search_service_proto_list.json +8 -0
  25. package/build/src/v1/data_object_service_client.d.ts +490 -0
  26. package/build/src/v1/data_object_service_client.js +767 -0
  27. package/build/src/v1/data_object_service_client.js.map +1 -0
  28. package/build/src/v1/data_object_service_client_config.json +73 -0
  29. package/build/src/v1/data_object_service_proto_list.json +8 -0
  30. package/build/src/v1/gapic_metadata.json +277 -0
  31. package/build/src/v1/index.d.ts +3 -0
  32. package/build/src/v1/index.js +27 -0
  33. package/build/src/v1/index.js.map +1 -0
  34. package/build/src/v1/vector_search_service_client.d.ts +1021 -0
  35. package/build/src/v1/vector_search_service_client.js +1387 -0
  36. package/build/src/v1/vector_search_service_client.js.map +1 -0
  37. package/build/src/v1/vector_search_service_client_config.json +88 -0
  38. package/build/src/v1/vector_search_service_proto_list.json +8 -0
  39. package/build/src/v1beta/data_object_search_service_client.d.ts +15 -6
  40. package/build/src/v1beta/data_object_search_service_client.js +10 -4
  41. package/build/src/v1beta/data_object_search_service_client.js.map +1 -1
  42. package/build/src/v1beta/data_object_service_client.d.ts +4 -0
  43. package/build/src/v1beta/data_object_service_client.js.map +1 -1
  44. package/package.json +1 -1
@@ -6,12 +6,2054 @@
6
6
  "nested": {
7
7
  "vectorsearch": {
8
8
  "nested": {
9
+ "v1": {
10
+ "options": {
11
+ "csharp_namespace": "Google.Cloud.VectorSearch.V1",
12
+ "go_package": "cloud.google.com/go/vectorsearch/apiv1/vectorsearchpb;vectorsearchpb",
13
+ "java_multiple_files": true,
14
+ "java_outer_classname": "VectorSearchServiceProto",
15
+ "java_package": "com.google.cloud.vectorsearch.v1",
16
+ "php_namespace": "Google\\Cloud\\VectorSearch\\V1",
17
+ "ruby_package": "Google::Cloud::VectorSearch::V1"
18
+ },
19
+ "nested": {
20
+ "DistanceMetric": {
21
+ "values": {
22
+ "DISTANCE_METRIC_UNSPECIFIED": 0,
23
+ "DOT_PRODUCT": 1,
24
+ "COSINE_DISTANCE": 2
25
+ }
26
+ },
27
+ "DataObject": {
28
+ "options": {
29
+ "(google.api.resource).type": "vectorsearch.googleapis.com/DataObject",
30
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}",
31
+ "(google.api.resource).plural": "dataObjects",
32
+ "(google.api.resource).singular": "dataObject"
33
+ },
34
+ "fields": {
35
+ "name": {
36
+ "type": "string",
37
+ "id": 1,
38
+ "options": {
39
+ "(google.api.field_behavior)": "IDENTIFIER"
40
+ }
41
+ },
42
+ "dataObjectId": {
43
+ "type": "string",
44
+ "id": 2,
45
+ "options": {
46
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
47
+ }
48
+ },
49
+ "createTime": {
50
+ "type": "google.protobuf.Timestamp",
51
+ "id": 4,
52
+ "options": {
53
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
54
+ }
55
+ },
56
+ "updateTime": {
57
+ "type": "google.protobuf.Timestamp",
58
+ "id": 5,
59
+ "options": {
60
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
61
+ }
62
+ },
63
+ "data": {
64
+ "type": "google.protobuf.Struct",
65
+ "id": 6,
66
+ "options": {
67
+ "(google.api.field_behavior)": "OPTIONAL"
68
+ }
69
+ },
70
+ "vectors": {
71
+ "keyType": "string",
72
+ "type": "Vector",
73
+ "id": 7,
74
+ "options": {
75
+ "(google.api.field_behavior)": "OPTIONAL"
76
+ }
77
+ },
78
+ "etag": {
79
+ "type": "string",
80
+ "id": 8,
81
+ "options": {
82
+ "(google.api.field_behavior)": "OPTIONAL"
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "Vector": {
88
+ "oneofs": {
89
+ "vectorType": {
90
+ "oneof": [
91
+ "dense",
92
+ "sparse"
93
+ ]
94
+ }
95
+ },
96
+ "fields": {
97
+ "dense": {
98
+ "type": "DenseVector",
99
+ "id": 2
100
+ },
101
+ "sparse": {
102
+ "type": "SparseVector",
103
+ "id": 3
104
+ }
105
+ }
106
+ },
107
+ "DenseVector": {
108
+ "fields": {
109
+ "values": {
110
+ "rule": "repeated",
111
+ "type": "float",
112
+ "id": 1,
113
+ "options": {
114
+ "(google.api.field_behavior)": "REQUIRED"
115
+ }
116
+ }
117
+ }
118
+ },
119
+ "SparseVector": {
120
+ "fields": {
121
+ "values": {
122
+ "rule": "repeated",
123
+ "type": "float",
124
+ "id": 1,
125
+ "options": {
126
+ "(google.api.field_behavior)": "REQUIRED"
127
+ }
128
+ },
129
+ "indices": {
130
+ "rule": "repeated",
131
+ "type": "int32",
132
+ "id": 2,
133
+ "options": {
134
+ "(google.api.field_behavior)": "REQUIRED"
135
+ }
136
+ }
137
+ }
138
+ },
139
+ "DataObjectSearchService": {
140
+ "options": {
141
+ "(google.api.default_host)": "vectorsearch.googleapis.com",
142
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
143
+ },
144
+ "methods": {
145
+ "SearchDataObjects": {
146
+ "requestType": "SearchDataObjectsRequest",
147
+ "responseType": "SearchDataObjectsResponse",
148
+ "options": {
149
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:search",
150
+ "(google.api.http).body": "*"
151
+ },
152
+ "parsedOptions": [
153
+ {
154
+ "(google.api.http)": {
155
+ "post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:search",
156
+ "body": "*"
157
+ }
158
+ }
159
+ ]
160
+ },
161
+ "QueryDataObjects": {
162
+ "requestType": "QueryDataObjectsRequest",
163
+ "responseType": "QueryDataObjectsResponse",
164
+ "options": {
165
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:query",
166
+ "(google.api.http).body": "*"
167
+ },
168
+ "parsedOptions": [
169
+ {
170
+ "(google.api.http)": {
171
+ "post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:query",
172
+ "body": "*"
173
+ }
174
+ }
175
+ ]
176
+ },
177
+ "AggregateDataObjects": {
178
+ "requestType": "AggregateDataObjectsRequest",
179
+ "responseType": "AggregateDataObjectsResponse",
180
+ "options": {
181
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:aggregate",
182
+ "(google.api.http).body": "*"
183
+ },
184
+ "parsedOptions": [
185
+ {
186
+ "(google.api.http)": {
187
+ "post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:aggregate",
188
+ "body": "*"
189
+ }
190
+ }
191
+ ]
192
+ },
193
+ "BatchSearchDataObjects": {
194
+ "requestType": "BatchSearchDataObjectsRequest",
195
+ "responseType": "BatchSearchDataObjectsResponse",
196
+ "options": {
197
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:batchSearch",
198
+ "(google.api.http).body": "*"
199
+ },
200
+ "parsedOptions": [
201
+ {
202
+ "(google.api.http)": {
203
+ "post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:batchSearch",
204
+ "body": "*"
205
+ }
206
+ }
207
+ ]
208
+ }
209
+ }
210
+ },
211
+ "AggregationMethod": {
212
+ "values": {
213
+ "AGGREGATION_METHOD_UNSPECIFIED": 0,
214
+ "COUNT": 1
215
+ }
216
+ },
217
+ "OutputFields": {
218
+ "fields": {
219
+ "dataFields": {
220
+ "rule": "repeated",
221
+ "type": "string",
222
+ "id": 1,
223
+ "options": {
224
+ "(google.api.field_behavior)": "OPTIONAL"
225
+ }
226
+ },
227
+ "vectorFields": {
228
+ "rule": "repeated",
229
+ "type": "string",
230
+ "id": 2,
231
+ "options": {
232
+ "(google.api.field_behavior)": "OPTIONAL"
233
+ }
234
+ },
235
+ "metadataFields": {
236
+ "rule": "repeated",
237
+ "type": "string",
238
+ "id": 3,
239
+ "options": {
240
+ "(google.api.field_behavior)": "OPTIONAL"
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "SearchHint": {
246
+ "oneofs": {
247
+ "indexType": {
248
+ "oneof": [
249
+ "knnHint",
250
+ "indexHint"
251
+ ]
252
+ }
253
+ },
254
+ "fields": {
255
+ "knnHint": {
256
+ "type": "KnnHint",
257
+ "id": 3,
258
+ "options": {
259
+ "(google.api.field_behavior)": "OPTIONAL"
260
+ }
261
+ },
262
+ "indexHint": {
263
+ "type": "IndexHint",
264
+ "id": 4,
265
+ "options": {
266
+ "(google.api.field_behavior)": "OPTIONAL"
267
+ }
268
+ }
269
+ },
270
+ "nested": {
271
+ "IndexHint": {
272
+ "fields": {
273
+ "name": {
274
+ "type": "string",
275
+ "id": 1,
276
+ "options": {
277
+ "(google.api.field_behavior)": "REQUIRED",
278
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Index"
279
+ }
280
+ }
281
+ }
282
+ },
283
+ "KnnHint": {
284
+ "fields": {}
285
+ }
286
+ }
287
+ },
288
+ "Search": {
289
+ "oneofs": {
290
+ "searchType": {
291
+ "oneof": [
292
+ "vectorSearch",
293
+ "semanticSearch",
294
+ "textSearch"
295
+ ]
296
+ }
297
+ },
298
+ "fields": {
299
+ "vectorSearch": {
300
+ "type": "VectorSearch",
301
+ "id": 1
302
+ },
303
+ "semanticSearch": {
304
+ "type": "SemanticSearch",
305
+ "id": 2
306
+ },
307
+ "textSearch": {
308
+ "type": "TextSearch",
309
+ "id": 3
310
+ }
311
+ }
312
+ },
313
+ "VectorSearch": {
314
+ "oneofs": {
315
+ "vectorType": {
316
+ "oneof": [
317
+ "vector",
318
+ "sparseVector"
319
+ ]
320
+ },
321
+ "_topK": {
322
+ "oneof": [
323
+ "topK"
324
+ ]
325
+ }
326
+ },
327
+ "fields": {
328
+ "vector": {
329
+ "type": "DenseVector",
330
+ "id": 1
331
+ },
332
+ "sparseVector": {
333
+ "type": "SparseVector",
334
+ "id": 2
335
+ },
336
+ "searchField": {
337
+ "type": "string",
338
+ "id": 8,
339
+ "options": {
340
+ "(google.api.field_behavior)": "REQUIRED"
341
+ }
342
+ },
343
+ "filter": {
344
+ "type": "google.protobuf.Struct",
345
+ "id": 4,
346
+ "options": {
347
+ "(google.api.field_behavior)": "OPTIONAL"
348
+ }
349
+ },
350
+ "topK": {
351
+ "type": "int32",
352
+ "id": 5,
353
+ "options": {
354
+ "(google.api.field_behavior)": "OPTIONAL",
355
+ "proto3_optional": true
356
+ }
357
+ },
358
+ "outputFields": {
359
+ "type": "OutputFields",
360
+ "id": 7,
361
+ "options": {
362
+ "(google.api.field_behavior)": "OPTIONAL"
363
+ }
364
+ },
365
+ "searchHint": {
366
+ "type": "SearchHint",
367
+ "id": 9,
368
+ "options": {
369
+ "(google.api.field_behavior)": "OPTIONAL"
370
+ }
371
+ },
372
+ "distanceMetric": {
373
+ "type": "DistanceMetric",
374
+ "id": 11,
375
+ "options": {
376
+ "(google.api.field_behavior)": "OPTIONAL"
377
+ }
378
+ }
379
+ }
380
+ },
381
+ "SemanticSearch": {
382
+ "oneofs": {
383
+ "_topK": {
384
+ "oneof": [
385
+ "topK"
386
+ ]
387
+ }
388
+ },
389
+ "fields": {
390
+ "searchText": {
391
+ "type": "string",
392
+ "id": 1,
393
+ "options": {
394
+ "(google.api.field_behavior)": "REQUIRED"
395
+ }
396
+ },
397
+ "searchField": {
398
+ "type": "string",
399
+ "id": 2,
400
+ "options": {
401
+ "(google.api.field_behavior)": "REQUIRED"
402
+ }
403
+ },
404
+ "taskType": {
405
+ "type": "EmbeddingTaskType",
406
+ "id": 5,
407
+ "options": {
408
+ "(google.api.field_behavior)": "REQUIRED"
409
+ }
410
+ },
411
+ "outputFields": {
412
+ "type": "OutputFields",
413
+ "id": 3,
414
+ "options": {
415
+ "(google.api.field_behavior)": "OPTIONAL"
416
+ }
417
+ },
418
+ "filter": {
419
+ "type": "google.protobuf.Struct",
420
+ "id": 6,
421
+ "options": {
422
+ "(google.api.field_behavior)": "OPTIONAL"
423
+ }
424
+ },
425
+ "topK": {
426
+ "type": "int32",
427
+ "id": 4,
428
+ "options": {
429
+ "(google.api.field_behavior)": "OPTIONAL",
430
+ "proto3_optional": true
431
+ }
432
+ },
433
+ "searchHint": {
434
+ "type": "SearchHint",
435
+ "id": 7,
436
+ "options": {
437
+ "(google.api.field_behavior)": "OPTIONAL"
438
+ }
439
+ }
440
+ }
441
+ },
442
+ "TextSearch": {
443
+ "oneofs": {
444
+ "_topK": {
445
+ "oneof": [
446
+ "topK"
447
+ ]
448
+ }
449
+ },
450
+ "fields": {
451
+ "searchText": {
452
+ "type": "string",
453
+ "id": 1,
454
+ "options": {
455
+ "(google.api.field_behavior)": "REQUIRED"
456
+ }
457
+ },
458
+ "dataFieldNames": {
459
+ "rule": "repeated",
460
+ "type": "string",
461
+ "id": 2,
462
+ "options": {
463
+ "(google.api.field_behavior)": "REQUIRED"
464
+ }
465
+ },
466
+ "outputFields": {
467
+ "type": "OutputFields",
468
+ "id": 3,
469
+ "options": {
470
+ "(google.api.field_behavior)": "OPTIONAL"
471
+ }
472
+ },
473
+ "topK": {
474
+ "type": "int32",
475
+ "id": 4,
476
+ "options": {
477
+ "(google.api.field_behavior)": "OPTIONAL",
478
+ "proto3_optional": true
479
+ }
480
+ },
481
+ "filter": {
482
+ "type": "google.protobuf.Struct",
483
+ "id": 5,
484
+ "options": {
485
+ "(google.api.field_behavior)": "OPTIONAL"
486
+ }
487
+ }
488
+ }
489
+ },
490
+ "SearchDataObjectsRequest": {
491
+ "oneofs": {
492
+ "searchType": {
493
+ "oneof": [
494
+ "vectorSearch",
495
+ "semanticSearch",
496
+ "textSearch"
497
+ ]
498
+ }
499
+ },
500
+ "fields": {
501
+ "vectorSearch": {
502
+ "type": "VectorSearch",
503
+ "id": 2
504
+ },
505
+ "semanticSearch": {
506
+ "type": "SemanticSearch",
507
+ "id": 4
508
+ },
509
+ "textSearch": {
510
+ "type": "TextSearch",
511
+ "id": 7,
512
+ "options": {
513
+ "(google.api.field_behavior)": "OPTIONAL"
514
+ }
515
+ },
516
+ "parent": {
517
+ "type": "string",
518
+ "id": 1,
519
+ "options": {
520
+ "(google.api.field_behavior)": "REQUIRED",
521
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Collection"
522
+ }
523
+ },
524
+ "pageSize": {
525
+ "type": "int32",
526
+ "id": 5,
527
+ "options": {
528
+ "(google.api.field_behavior)": "OPTIONAL"
529
+ }
530
+ },
531
+ "pageToken": {
532
+ "type": "string",
533
+ "id": 6,
534
+ "options": {
535
+ "(google.api.field_behavior)": "OPTIONAL"
536
+ }
537
+ }
538
+ }
539
+ },
540
+ "SearchResult": {
541
+ "oneofs": {
542
+ "_distance": {
543
+ "oneof": [
544
+ "distance"
545
+ ]
546
+ }
547
+ },
548
+ "fields": {
549
+ "dataObject": {
550
+ "type": "DataObject",
551
+ "id": 1,
552
+ "options": {
553
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
554
+ }
555
+ },
556
+ "distance": {
557
+ "type": "double",
558
+ "id": 2,
559
+ "options": {
560
+ "(google.api.field_behavior)": "OUTPUT_ONLY",
561
+ "proto3_optional": true
562
+ }
563
+ }
564
+ }
565
+ },
566
+ "SearchDataObjectsResponse": {
567
+ "fields": {
568
+ "results": {
569
+ "rule": "repeated",
570
+ "type": "SearchResult",
571
+ "id": 1,
572
+ "options": {
573
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
574
+ }
575
+ },
576
+ "nextPageToken": {
577
+ "type": "string",
578
+ "id": 2,
579
+ "options": {
580
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
581
+ }
582
+ }
583
+ }
584
+ },
585
+ "AggregateDataObjectsRequest": {
586
+ "fields": {
587
+ "parent": {
588
+ "type": "string",
589
+ "id": 1,
590
+ "options": {
591
+ "(google.api.field_behavior)": "REQUIRED",
592
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Collection"
593
+ }
594
+ },
595
+ "filter": {
596
+ "type": "google.protobuf.Struct",
597
+ "id": 2,
598
+ "options": {
599
+ "(google.api.field_behavior)": "OPTIONAL"
600
+ }
601
+ },
602
+ "aggregate": {
603
+ "type": "AggregationMethod",
604
+ "id": 3,
605
+ "options": {
606
+ "(google.api.field_behavior)": "REQUIRED"
607
+ }
608
+ }
609
+ }
610
+ },
611
+ "AggregateDataObjectsResponse": {
612
+ "fields": {
613
+ "aggregateResults": {
614
+ "rule": "repeated",
615
+ "type": "google.protobuf.Struct",
616
+ "id": 1,
617
+ "options": {
618
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
619
+ }
620
+ }
621
+ }
622
+ },
623
+ "QueryDataObjectsRequest": {
624
+ "fields": {
625
+ "parent": {
626
+ "type": "string",
627
+ "id": 1,
628
+ "options": {
629
+ "(google.api.field_behavior)": "REQUIRED",
630
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Collection"
631
+ }
632
+ },
633
+ "filter": {
634
+ "type": "google.protobuf.Struct",
635
+ "id": 2,
636
+ "options": {
637
+ "(google.api.field_behavior)": "OPTIONAL"
638
+ }
639
+ },
640
+ "outputFields": {
641
+ "type": "OutputFields",
642
+ "id": 7,
643
+ "options": {
644
+ "(google.api.field_behavior)": "OPTIONAL"
645
+ }
646
+ },
647
+ "pageSize": {
648
+ "type": "int32",
649
+ "id": 5,
650
+ "options": {
651
+ "(google.api.field_behavior)": "OPTIONAL"
652
+ }
653
+ },
654
+ "pageToken": {
655
+ "type": "string",
656
+ "id": 6,
657
+ "options": {
658
+ "(google.api.field_behavior)": "OPTIONAL"
659
+ }
660
+ }
661
+ }
662
+ },
663
+ "QueryDataObjectsResponse": {
664
+ "fields": {
665
+ "dataObjects": {
666
+ "rule": "repeated",
667
+ "type": "DataObject",
668
+ "id": 4,
669
+ "options": {
670
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
671
+ }
672
+ },
673
+ "nextPageToken": {
674
+ "type": "string",
675
+ "id": 3,
676
+ "options": {
677
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
678
+ }
679
+ }
680
+ }
681
+ },
682
+ "BatchSearchDataObjectsRequest": {
683
+ "fields": {
684
+ "parent": {
685
+ "type": "string",
686
+ "id": 1,
687
+ "options": {
688
+ "(google.api.field_behavior)": "REQUIRED",
689
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Collection"
690
+ }
691
+ },
692
+ "searches": {
693
+ "rule": "repeated",
694
+ "type": "Search",
695
+ "id": 2,
696
+ "options": {
697
+ "(google.api.field_behavior)": "REQUIRED"
698
+ }
699
+ },
700
+ "combine": {
701
+ "type": "CombineResultsOptions",
702
+ "id": 3,
703
+ "options": {
704
+ "(google.api.field_behavior)": "OPTIONAL"
705
+ }
706
+ }
707
+ },
708
+ "nested": {
709
+ "CombineResultsOptions": {
710
+ "fields": {
711
+ "ranker": {
712
+ "type": "Ranker",
713
+ "id": 1,
714
+ "options": {
715
+ "(google.api.field_behavior)": "REQUIRED"
716
+ }
717
+ },
718
+ "outputFields": {
719
+ "type": "OutputFields",
720
+ "id": 2,
721
+ "options": {
722
+ "(google.api.field_behavior)": "OPTIONAL"
723
+ }
724
+ },
725
+ "topK": {
726
+ "type": "int32",
727
+ "id": 3,
728
+ "options": {
729
+ "(google.api.field_behavior)": "OPTIONAL"
730
+ }
731
+ }
732
+ }
733
+ }
734
+ }
735
+ },
736
+ "Ranker": {
737
+ "oneofs": {
738
+ "ranker": {
739
+ "oneof": [
740
+ "rrf"
741
+ ]
742
+ }
743
+ },
744
+ "fields": {
745
+ "rrf": {
746
+ "type": "ReciprocalRankFusion",
747
+ "id": 1
748
+ }
749
+ }
750
+ },
751
+ "ReciprocalRankFusion": {
752
+ "fields": {
753
+ "weights": {
754
+ "rule": "repeated",
755
+ "type": "double",
756
+ "id": 1,
757
+ "options": {
758
+ "(google.api.field_behavior)": "REQUIRED"
759
+ }
760
+ }
761
+ }
762
+ },
763
+ "BatchSearchDataObjectsResponse": {
764
+ "fields": {
765
+ "results": {
766
+ "rule": "repeated",
767
+ "type": "SearchDataObjectsResponse",
768
+ "id": 1,
769
+ "options": {
770
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
771
+ }
772
+ }
773
+ }
774
+ },
775
+ "EmbeddingTaskType": {
776
+ "values": {
777
+ "EMBEDDING_TASK_TYPE_UNSPECIFIED": 0,
778
+ "RETRIEVAL_QUERY": 1,
779
+ "RETRIEVAL_DOCUMENT": 2,
780
+ "SEMANTIC_SIMILARITY": 3,
781
+ "CLASSIFICATION": 4,
782
+ "CLUSTERING": 5,
783
+ "QUESTION_ANSWERING": 6,
784
+ "FACT_VERIFICATION": 7,
785
+ "CODE_RETRIEVAL_QUERY": 8
786
+ }
787
+ },
788
+ "VertexEmbeddingConfig": {
789
+ "fields": {
790
+ "modelId": {
791
+ "type": "string",
792
+ "id": 1,
793
+ "options": {
794
+ "(google.api.field_behavior)": "REQUIRED"
795
+ }
796
+ },
797
+ "textTemplate": {
798
+ "type": "string",
799
+ "id": 2,
800
+ "options": {
801
+ "(google.api.field_behavior)": "REQUIRED"
802
+ }
803
+ },
804
+ "taskType": {
805
+ "type": "EmbeddingTaskType",
806
+ "id": 3,
807
+ "options": {
808
+ "(google.api.field_behavior)": "REQUIRED"
809
+ }
810
+ }
811
+ }
812
+ },
813
+ "DataObjectService": {
814
+ "options": {
815
+ "(google.api.default_host)": "vectorsearch.googleapis.com",
816
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
817
+ },
818
+ "methods": {
819
+ "CreateDataObject": {
820
+ "requestType": "CreateDataObjectRequest",
821
+ "responseType": "DataObject",
822
+ "options": {
823
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects",
824
+ "(google.api.http).body": "data_object",
825
+ "(google.api.method_signature)": "parent,data_object,data_object_id"
826
+ },
827
+ "parsedOptions": [
828
+ {
829
+ "(google.api.http)": {
830
+ "post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects",
831
+ "body": "data_object"
832
+ }
833
+ },
834
+ {
835
+ "(google.api.method_signature)": "parent,data_object,data_object_id"
836
+ }
837
+ ]
838
+ },
839
+ "BatchCreateDataObjects": {
840
+ "requestType": "BatchCreateDataObjectsRequest",
841
+ "responseType": "BatchCreateDataObjectsResponse",
842
+ "options": {
843
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:batchCreate",
844
+ "(google.api.http).body": "*"
845
+ },
846
+ "parsedOptions": [
847
+ {
848
+ "(google.api.http)": {
849
+ "post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:batchCreate",
850
+ "body": "*"
851
+ }
852
+ }
853
+ ]
854
+ },
855
+ "GetDataObject": {
856
+ "requestType": "GetDataObjectRequest",
857
+ "responseType": "DataObject",
858
+ "options": {
859
+ "(google.api.http).get": "/v1/{name=projects/*/locations/*/collections/*/dataObjects/*}",
860
+ "(google.api.method_signature)": "name"
861
+ },
862
+ "parsedOptions": [
863
+ {
864
+ "(google.api.http)": {
865
+ "get": "/v1/{name=projects/*/locations/*/collections/*/dataObjects/*}"
866
+ }
867
+ },
868
+ {
869
+ "(google.api.method_signature)": "name"
870
+ }
871
+ ]
872
+ },
873
+ "UpdateDataObject": {
874
+ "requestType": "UpdateDataObjectRequest",
875
+ "responseType": "DataObject",
876
+ "options": {
877
+ "(google.api.http).patch": "/v1/{data_object.name=projects/*/locations/*/collections/*/dataObjects/*}",
878
+ "(google.api.http).body": "data_object",
879
+ "(google.api.method_signature)": "data_object,update_mask"
880
+ },
881
+ "parsedOptions": [
882
+ {
883
+ "(google.api.http)": {
884
+ "patch": "/v1/{data_object.name=projects/*/locations/*/collections/*/dataObjects/*}",
885
+ "body": "data_object"
886
+ }
887
+ },
888
+ {
889
+ "(google.api.method_signature)": "data_object,update_mask"
890
+ }
891
+ ]
892
+ },
893
+ "BatchUpdateDataObjects": {
894
+ "requestType": "BatchUpdateDataObjectsRequest",
895
+ "responseType": "BatchUpdateDataObjectsResponse",
896
+ "options": {
897
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:batchUpdate",
898
+ "(google.api.http).body": "*",
899
+ "(google.api.method_signature)": "parent,requests"
900
+ },
901
+ "parsedOptions": [
902
+ {
903
+ "(google.api.http)": {
904
+ "post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:batchUpdate",
905
+ "body": "*"
906
+ }
907
+ },
908
+ {
909
+ "(google.api.method_signature)": "parent,requests"
910
+ }
911
+ ]
912
+ },
913
+ "DeleteDataObject": {
914
+ "requestType": "DeleteDataObjectRequest",
915
+ "responseType": "google.protobuf.Empty",
916
+ "options": {
917
+ "(google.api.http).delete": "/v1/{name=projects/*/locations/*/collections/*/dataObjects/*}",
918
+ "(google.api.method_signature)": "name"
919
+ },
920
+ "parsedOptions": [
921
+ {
922
+ "(google.api.http)": {
923
+ "delete": "/v1/{name=projects/*/locations/*/collections/*/dataObjects/*}"
924
+ }
925
+ },
926
+ {
927
+ "(google.api.method_signature)": "name"
928
+ }
929
+ ]
930
+ },
931
+ "BatchDeleteDataObjects": {
932
+ "requestType": "BatchDeleteDataObjectsRequest",
933
+ "responseType": "google.protobuf.Empty",
934
+ "options": {
935
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:batchDelete",
936
+ "(google.api.http).body": "*",
937
+ "(google.api.method_signature)": "parent,requests"
938
+ },
939
+ "parsedOptions": [
940
+ {
941
+ "(google.api.http)": {
942
+ "post": "/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:batchDelete",
943
+ "body": "*"
944
+ }
945
+ },
946
+ {
947
+ "(google.api.method_signature)": "parent,requests"
948
+ }
949
+ ]
950
+ }
951
+ }
952
+ },
953
+ "CreateDataObjectRequest": {
954
+ "fields": {
955
+ "parent": {
956
+ "type": "string",
957
+ "id": 1,
958
+ "options": {
959
+ "(google.api.field_behavior)": "REQUIRED",
960
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Collection"
961
+ }
962
+ },
963
+ "dataObjectId": {
964
+ "type": "string",
965
+ "id": 2,
966
+ "options": {
967
+ "(google.api.field_behavior)": "REQUIRED"
968
+ }
969
+ },
970
+ "dataObject": {
971
+ "type": "DataObject",
972
+ "id": 3,
973
+ "options": {
974
+ "(google.api.field_behavior)": "REQUIRED"
975
+ }
976
+ }
977
+ }
978
+ },
979
+ "BatchCreateDataObjectsRequest": {
980
+ "fields": {
981
+ "parent": {
982
+ "type": "string",
983
+ "id": 1,
984
+ "options": {
985
+ "(google.api.field_behavior)": "REQUIRED",
986
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Collection"
987
+ }
988
+ },
989
+ "requests": {
990
+ "rule": "repeated",
991
+ "type": "CreateDataObjectRequest",
992
+ "id": 2,
993
+ "options": {
994
+ "(google.api.field_behavior)": "REQUIRED"
995
+ }
996
+ }
997
+ }
998
+ },
999
+ "BatchCreateDataObjectsResponse": {
1000
+ "fields": {
1001
+ "dataObjects": {
1002
+ "rule": "repeated",
1003
+ "type": "DataObject",
1004
+ "id": 1,
1005
+ "options": {
1006
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1007
+ }
1008
+ }
1009
+ }
1010
+ },
1011
+ "GetDataObjectRequest": {
1012
+ "fields": {
1013
+ "name": {
1014
+ "type": "string",
1015
+ "id": 1,
1016
+ "options": {
1017
+ "(google.api.field_behavior)": "REQUIRED",
1018
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/DataObject"
1019
+ }
1020
+ }
1021
+ }
1022
+ },
1023
+ "UpdateDataObjectRequest": {
1024
+ "fields": {
1025
+ "dataObject": {
1026
+ "type": "DataObject",
1027
+ "id": 1,
1028
+ "options": {
1029
+ "(google.api.field_behavior)": "REQUIRED"
1030
+ }
1031
+ },
1032
+ "updateMask": {
1033
+ "type": "google.protobuf.FieldMask",
1034
+ "id": 2,
1035
+ "options": {
1036
+ "(google.api.field_behavior)": "OPTIONAL"
1037
+ }
1038
+ }
1039
+ }
1040
+ },
1041
+ "BatchUpdateDataObjectsRequest": {
1042
+ "fields": {
1043
+ "parent": {
1044
+ "type": "string",
1045
+ "id": 1,
1046
+ "options": {
1047
+ "(google.api.field_behavior)": "REQUIRED",
1048
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Collection"
1049
+ }
1050
+ },
1051
+ "requests": {
1052
+ "rule": "repeated",
1053
+ "type": "UpdateDataObjectRequest",
1054
+ "id": 2,
1055
+ "options": {
1056
+ "(google.api.field_behavior)": "REQUIRED"
1057
+ }
1058
+ }
1059
+ }
1060
+ },
1061
+ "BatchUpdateDataObjectsResponse": {
1062
+ "fields": {}
1063
+ },
1064
+ "DeleteDataObjectRequest": {
1065
+ "fields": {
1066
+ "name": {
1067
+ "type": "string",
1068
+ "id": 1,
1069
+ "options": {
1070
+ "(google.api.field_behavior)": "REQUIRED",
1071
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/DataObject"
1072
+ }
1073
+ },
1074
+ "etag": {
1075
+ "type": "string",
1076
+ "id": 2,
1077
+ "options": {
1078
+ "(google.api.field_behavior)": "OPTIONAL"
1079
+ }
1080
+ }
1081
+ }
1082
+ },
1083
+ "BatchDeleteDataObjectsRequest": {
1084
+ "fields": {
1085
+ "parent": {
1086
+ "type": "string",
1087
+ "id": 1,
1088
+ "options": {
1089
+ "(google.api.field_behavior)": "REQUIRED",
1090
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Collection"
1091
+ }
1092
+ },
1093
+ "requests": {
1094
+ "rule": "repeated",
1095
+ "type": "DeleteDataObjectRequest",
1096
+ "id": 3,
1097
+ "options": {
1098
+ "(google.api.field_behavior)": "REQUIRED"
1099
+ }
1100
+ }
1101
+ }
1102
+ },
1103
+ "VectorSearchService": {
1104
+ "options": {
1105
+ "(google.api.default_host)": "vectorsearch.googleapis.com",
1106
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
1107
+ },
1108
+ "methods": {
1109
+ "ListCollections": {
1110
+ "requestType": "ListCollectionsRequest",
1111
+ "responseType": "ListCollectionsResponse",
1112
+ "options": {
1113
+ "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/collections",
1114
+ "(google.api.method_signature)": "parent"
1115
+ },
1116
+ "parsedOptions": [
1117
+ {
1118
+ "(google.api.http)": {
1119
+ "get": "/v1/{parent=projects/*/locations/*}/collections"
1120
+ }
1121
+ },
1122
+ {
1123
+ "(google.api.method_signature)": "parent"
1124
+ }
1125
+ ]
1126
+ },
1127
+ "GetCollection": {
1128
+ "requestType": "GetCollectionRequest",
1129
+ "responseType": "Collection",
1130
+ "options": {
1131
+ "(google.api.http).get": "/v1/{name=projects/*/locations/*/collections/*}",
1132
+ "(google.api.method_signature)": "name"
1133
+ },
1134
+ "parsedOptions": [
1135
+ {
1136
+ "(google.api.http)": {
1137
+ "get": "/v1/{name=projects/*/locations/*/collections/*}"
1138
+ }
1139
+ },
1140
+ {
1141
+ "(google.api.method_signature)": "name"
1142
+ }
1143
+ ]
1144
+ },
1145
+ "CreateCollection": {
1146
+ "requestType": "CreateCollectionRequest",
1147
+ "responseType": "google.longrunning.Operation",
1148
+ "options": {
1149
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/collections",
1150
+ "(google.api.http).body": "collection",
1151
+ "(google.api.method_signature)": "parent,collection,collection_id",
1152
+ "(google.longrunning.operation_info).response_type": "Collection",
1153
+ "(google.longrunning.operation_info).metadata_type": "OperationMetadata"
1154
+ },
1155
+ "parsedOptions": [
1156
+ {
1157
+ "(google.api.http)": {
1158
+ "post": "/v1/{parent=projects/*/locations/*}/collections",
1159
+ "body": "collection"
1160
+ }
1161
+ },
1162
+ {
1163
+ "(google.api.method_signature)": "parent,collection,collection_id"
1164
+ },
1165
+ {
1166
+ "(google.longrunning.operation_info)": {
1167
+ "response_type": "Collection",
1168
+ "metadata_type": "OperationMetadata"
1169
+ }
1170
+ }
1171
+ ]
1172
+ },
1173
+ "UpdateCollection": {
1174
+ "requestType": "UpdateCollectionRequest",
1175
+ "responseType": "google.longrunning.Operation",
1176
+ "options": {
1177
+ "(google.api.http).patch": "/v1/{collection.name=projects/*/locations/*/collections/*}",
1178
+ "(google.api.http).body": "collection",
1179
+ "(google.api.method_signature)": "collection,update_mask",
1180
+ "(google.longrunning.operation_info).response_type": "Collection",
1181
+ "(google.longrunning.operation_info).metadata_type": "OperationMetadata"
1182
+ },
1183
+ "parsedOptions": [
1184
+ {
1185
+ "(google.api.http)": {
1186
+ "patch": "/v1/{collection.name=projects/*/locations/*/collections/*}",
1187
+ "body": "collection"
1188
+ }
1189
+ },
1190
+ {
1191
+ "(google.api.method_signature)": "collection,update_mask"
1192
+ },
1193
+ {
1194
+ "(google.longrunning.operation_info)": {
1195
+ "response_type": "Collection",
1196
+ "metadata_type": "OperationMetadata"
1197
+ }
1198
+ }
1199
+ ]
1200
+ },
1201
+ "DeleteCollection": {
1202
+ "requestType": "DeleteCollectionRequest",
1203
+ "responseType": "google.longrunning.Operation",
1204
+ "options": {
1205
+ "(google.api.http).delete": "/v1/{name=projects/*/locations/*/collections/*}",
1206
+ "(google.api.method_signature)": "name",
1207
+ "(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
1208
+ "(google.longrunning.operation_info).metadata_type": "OperationMetadata"
1209
+ },
1210
+ "parsedOptions": [
1211
+ {
1212
+ "(google.api.http)": {
1213
+ "delete": "/v1/{name=projects/*/locations/*/collections/*}"
1214
+ }
1215
+ },
1216
+ {
1217
+ "(google.api.method_signature)": "name"
1218
+ },
1219
+ {
1220
+ "(google.longrunning.operation_info)": {
1221
+ "response_type": "google.protobuf.Empty",
1222
+ "metadata_type": "OperationMetadata"
1223
+ }
1224
+ }
1225
+ ]
1226
+ },
1227
+ "ListIndexes": {
1228
+ "requestType": "ListIndexesRequest",
1229
+ "responseType": "ListIndexesResponse",
1230
+ "options": {
1231
+ "(google.api.http).get": "/v1/{parent=projects/*/locations/*/collections/*}/indexes",
1232
+ "(google.api.method_signature)": "parent"
1233
+ },
1234
+ "parsedOptions": [
1235
+ {
1236
+ "(google.api.http)": {
1237
+ "get": "/v1/{parent=projects/*/locations/*/collections/*}/indexes"
1238
+ }
1239
+ },
1240
+ {
1241
+ "(google.api.method_signature)": "parent"
1242
+ }
1243
+ ]
1244
+ },
1245
+ "GetIndex": {
1246
+ "requestType": "GetIndexRequest",
1247
+ "responseType": "Index",
1248
+ "options": {
1249
+ "(google.api.http).get": "/v1/{name=projects/*/locations/*/collections/*/indexes/*}",
1250
+ "(google.api.method_signature)": "name"
1251
+ },
1252
+ "parsedOptions": [
1253
+ {
1254
+ "(google.api.http)": {
1255
+ "get": "/v1/{name=projects/*/locations/*/collections/*/indexes/*}"
1256
+ }
1257
+ },
1258
+ {
1259
+ "(google.api.method_signature)": "name"
1260
+ }
1261
+ ]
1262
+ },
1263
+ "CreateIndex": {
1264
+ "requestType": "CreateIndexRequest",
1265
+ "responseType": "google.longrunning.Operation",
1266
+ "options": {
1267
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/collections/*}/indexes",
1268
+ "(google.api.http).body": "index",
1269
+ "(google.api.method_signature)": "parent,index,index_id",
1270
+ "(google.longrunning.operation_info).response_type": "Index",
1271
+ "(google.longrunning.operation_info).metadata_type": "OperationMetadata"
1272
+ },
1273
+ "parsedOptions": [
1274
+ {
1275
+ "(google.api.http)": {
1276
+ "post": "/v1/{parent=projects/*/locations/*/collections/*}/indexes",
1277
+ "body": "index"
1278
+ }
1279
+ },
1280
+ {
1281
+ "(google.api.method_signature)": "parent,index,index_id"
1282
+ },
1283
+ {
1284
+ "(google.longrunning.operation_info)": {
1285
+ "response_type": "Index",
1286
+ "metadata_type": "OperationMetadata"
1287
+ }
1288
+ }
1289
+ ]
1290
+ },
1291
+ "DeleteIndex": {
1292
+ "requestType": "DeleteIndexRequest",
1293
+ "responseType": "google.longrunning.Operation",
1294
+ "options": {
1295
+ "(google.api.http).delete": "/v1/{name=projects/*/locations/*/collections/*/indexes/*}",
1296
+ "(google.api.method_signature)": "name",
1297
+ "(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
1298
+ "(google.longrunning.operation_info).metadata_type": "OperationMetadata"
1299
+ },
1300
+ "parsedOptions": [
1301
+ {
1302
+ "(google.api.http)": {
1303
+ "delete": "/v1/{name=projects/*/locations/*/collections/*/indexes/*}"
1304
+ }
1305
+ },
1306
+ {
1307
+ "(google.api.method_signature)": "name"
1308
+ },
1309
+ {
1310
+ "(google.longrunning.operation_info)": {
1311
+ "response_type": "google.protobuf.Empty",
1312
+ "metadata_type": "OperationMetadata"
1313
+ }
1314
+ }
1315
+ ]
1316
+ },
1317
+ "ImportDataObjects": {
1318
+ "requestType": "ImportDataObjectsRequest",
1319
+ "responseType": "google.longrunning.Operation",
1320
+ "options": {
1321
+ "(google.api.http).post": "/v1/{name=projects/*/locations/*/collections/*}:importDataObjects",
1322
+ "(google.api.http).body": "*",
1323
+ "(google.longrunning.operation_info).response_type": "ImportDataObjectsResponse",
1324
+ "(google.longrunning.operation_info).metadata_type": "ImportDataObjectsMetadata"
1325
+ },
1326
+ "parsedOptions": [
1327
+ {
1328
+ "(google.api.http)": {
1329
+ "post": "/v1/{name=projects/*/locations/*/collections/*}:importDataObjects",
1330
+ "body": "*"
1331
+ }
1332
+ },
1333
+ {
1334
+ "(google.longrunning.operation_info)": {
1335
+ "response_type": "ImportDataObjectsResponse",
1336
+ "metadata_type": "ImportDataObjectsMetadata"
1337
+ }
1338
+ }
1339
+ ]
1340
+ }
1341
+ }
1342
+ },
1343
+ "Collection": {
1344
+ "options": {
1345
+ "(google.api.resource).type": "vectorsearch.googleapis.com/Collection",
1346
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}",
1347
+ "(google.api.resource).plural": "collections",
1348
+ "(google.api.resource).singular": "collection"
1349
+ },
1350
+ "fields": {
1351
+ "name": {
1352
+ "type": "string",
1353
+ "id": 1,
1354
+ "options": {
1355
+ "(google.api.field_behavior)": "IDENTIFIER"
1356
+ }
1357
+ },
1358
+ "displayName": {
1359
+ "type": "string",
1360
+ "id": 8,
1361
+ "options": {
1362
+ "(google.api.field_behavior)": "OPTIONAL"
1363
+ }
1364
+ },
1365
+ "description": {
1366
+ "type": "string",
1367
+ "id": 9,
1368
+ "options": {
1369
+ "(google.api.field_behavior)": "OPTIONAL"
1370
+ }
1371
+ },
1372
+ "createTime": {
1373
+ "type": "google.protobuf.Timestamp",
1374
+ "id": 2,
1375
+ "options": {
1376
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1377
+ }
1378
+ },
1379
+ "updateTime": {
1380
+ "type": "google.protobuf.Timestamp",
1381
+ "id": 3,
1382
+ "options": {
1383
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1384
+ }
1385
+ },
1386
+ "labels": {
1387
+ "keyType": "string",
1388
+ "type": "string",
1389
+ "id": 4,
1390
+ "options": {
1391
+ "(google.api.field_behavior)": "OPTIONAL"
1392
+ }
1393
+ },
1394
+ "vectorSchema": {
1395
+ "keyType": "string",
1396
+ "type": "VectorField",
1397
+ "id": 7,
1398
+ "options": {
1399
+ "(google.api.field_behavior)": "OPTIONAL"
1400
+ }
1401
+ },
1402
+ "dataSchema": {
1403
+ "type": "google.protobuf.Struct",
1404
+ "id": 10,
1405
+ "options": {
1406
+ "(google.api.field_behavior)": "OPTIONAL"
1407
+ }
1408
+ }
1409
+ }
1410
+ },
1411
+ "VectorField": {
1412
+ "oneofs": {
1413
+ "vectorTypeConfig": {
1414
+ "oneof": [
1415
+ "denseVector",
1416
+ "sparseVector"
1417
+ ]
1418
+ }
1419
+ },
1420
+ "fields": {
1421
+ "denseVector": {
1422
+ "type": "DenseVectorField",
1423
+ "id": 3
1424
+ },
1425
+ "sparseVector": {
1426
+ "type": "SparseVectorField",
1427
+ "id": 4
1428
+ }
1429
+ }
1430
+ },
1431
+ "DenseVectorField": {
1432
+ "fields": {
1433
+ "dimensions": {
1434
+ "type": "int32",
1435
+ "id": 1
1436
+ },
1437
+ "vertexEmbeddingConfig": {
1438
+ "type": "VertexEmbeddingConfig",
1439
+ "id": 3,
1440
+ "options": {
1441
+ "(google.api.field_behavior)": "OPTIONAL"
1442
+ }
1443
+ }
1444
+ }
1445
+ },
1446
+ "SparseVectorField": {
1447
+ "fields": {}
1448
+ },
1449
+ "ListCollectionsRequest": {
1450
+ "fields": {
1451
+ "parent": {
1452
+ "type": "string",
1453
+ "id": 1,
1454
+ "options": {
1455
+ "(google.api.field_behavior)": "REQUIRED",
1456
+ "(google.api.resource_reference).child_type": "vectorsearch.googleapis.com/Collection"
1457
+ }
1458
+ },
1459
+ "pageSize": {
1460
+ "type": "int32",
1461
+ "id": 2,
1462
+ "options": {
1463
+ "(google.api.field_behavior)": "OPTIONAL"
1464
+ }
1465
+ },
1466
+ "pageToken": {
1467
+ "type": "string",
1468
+ "id": 3,
1469
+ "options": {
1470
+ "(google.api.field_behavior)": "OPTIONAL"
1471
+ }
1472
+ },
1473
+ "filter": {
1474
+ "type": "string",
1475
+ "id": 4,
1476
+ "options": {
1477
+ "(google.api.field_behavior)": "OPTIONAL"
1478
+ }
1479
+ },
1480
+ "orderBy": {
1481
+ "type": "string",
1482
+ "id": 5,
1483
+ "options": {
1484
+ "(google.api.field_behavior)": "OPTIONAL"
1485
+ }
1486
+ }
1487
+ }
1488
+ },
1489
+ "ListCollectionsResponse": {
1490
+ "fields": {
1491
+ "collections": {
1492
+ "rule": "repeated",
1493
+ "type": "Collection",
1494
+ "id": 1
1495
+ },
1496
+ "nextPageToken": {
1497
+ "type": "string",
1498
+ "id": 2
1499
+ },
1500
+ "unreachable": {
1501
+ "rule": "repeated",
1502
+ "type": "string",
1503
+ "id": 3,
1504
+ "options": {
1505
+ "(google.api.field_behavior)": "UNORDERED_LIST"
1506
+ }
1507
+ }
1508
+ }
1509
+ },
1510
+ "GetCollectionRequest": {
1511
+ "fields": {
1512
+ "name": {
1513
+ "type": "string",
1514
+ "id": 1,
1515
+ "options": {
1516
+ "(google.api.field_behavior)": "REQUIRED",
1517
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Collection"
1518
+ }
1519
+ }
1520
+ }
1521
+ },
1522
+ "CreateCollectionRequest": {
1523
+ "fields": {
1524
+ "parent": {
1525
+ "type": "string",
1526
+ "id": 1,
1527
+ "options": {
1528
+ "(google.api.field_behavior)": "REQUIRED",
1529
+ "(google.api.resource_reference).child_type": "vectorsearch.googleapis.com/Collection"
1530
+ }
1531
+ },
1532
+ "collectionId": {
1533
+ "type": "string",
1534
+ "id": 2,
1535
+ "options": {
1536
+ "(google.api.field_behavior)": "REQUIRED"
1537
+ }
1538
+ },
1539
+ "collection": {
1540
+ "type": "Collection",
1541
+ "id": 3,
1542
+ "options": {
1543
+ "(google.api.field_behavior)": "REQUIRED"
1544
+ }
1545
+ },
1546
+ "requestId": {
1547
+ "type": "string",
1548
+ "id": 4,
1549
+ "options": {
1550
+ "(google.api.field_info).format": "UUID4",
1551
+ "(google.api.field_behavior)": "OPTIONAL"
1552
+ }
1553
+ }
1554
+ }
1555
+ },
1556
+ "UpdateCollectionRequest": {
1557
+ "fields": {
1558
+ "updateMask": {
1559
+ "type": "google.protobuf.FieldMask",
1560
+ "id": 1,
1561
+ "options": {
1562
+ "(google.api.field_behavior)": "OPTIONAL"
1563
+ }
1564
+ },
1565
+ "collection": {
1566
+ "type": "Collection",
1567
+ "id": 2,
1568
+ "options": {
1569
+ "(google.api.field_behavior)": "REQUIRED"
1570
+ }
1571
+ },
1572
+ "requestId": {
1573
+ "type": "string",
1574
+ "id": 3,
1575
+ "options": {
1576
+ "(google.api.field_info).format": "UUID4",
1577
+ "(google.api.field_behavior)": "OPTIONAL"
1578
+ }
1579
+ }
1580
+ }
1581
+ },
1582
+ "DeleteCollectionRequest": {
1583
+ "fields": {
1584
+ "name": {
1585
+ "type": "string",
1586
+ "id": 1,
1587
+ "options": {
1588
+ "(google.api.field_behavior)": "REQUIRED",
1589
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Collection"
1590
+ }
1591
+ },
1592
+ "requestId": {
1593
+ "type": "string",
1594
+ "id": 2,
1595
+ "options": {
1596
+ "(google.api.field_info).format": "UUID4",
1597
+ "(google.api.field_behavior)": "OPTIONAL"
1598
+ }
1599
+ }
1600
+ }
1601
+ },
1602
+ "Index": {
1603
+ "options": {
1604
+ "(google.api.resource).type": "vectorsearch.googleapis.com/Index",
1605
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/indexes/{index}",
1606
+ "(google.api.resource).plural": "indexes",
1607
+ "(google.api.resource).singular": "index"
1608
+ },
1609
+ "oneofs": {
1610
+ "infraType": {
1611
+ "oneof": [
1612
+ "dedicatedInfrastructure"
1613
+ ]
1614
+ },
1615
+ "indexType": {
1616
+ "oneof": [
1617
+ "denseScann"
1618
+ ]
1619
+ }
1620
+ },
1621
+ "fields": {
1622
+ "dedicatedInfrastructure": {
1623
+ "type": "DedicatedInfrastructure",
1624
+ "id": 11,
1625
+ "options": {
1626
+ "(google.api.field_behavior)": "OPTIONAL"
1627
+ }
1628
+ },
1629
+ "denseScann": {
1630
+ "type": "DenseScannIndex",
1631
+ "id": 12,
1632
+ "options": {
1633
+ "(google.api.field_behavior)": "OPTIONAL"
1634
+ }
1635
+ },
1636
+ "name": {
1637
+ "type": "string",
1638
+ "id": 1,
1639
+ "options": {
1640
+ "(google.api.field_behavior)": "IDENTIFIER"
1641
+ }
1642
+ },
1643
+ "displayName": {
1644
+ "type": "string",
1645
+ "id": 8,
1646
+ "options": {
1647
+ "(google.api.field_behavior)": "OPTIONAL"
1648
+ }
1649
+ },
1650
+ "description": {
1651
+ "type": "string",
1652
+ "id": 9,
1653
+ "options": {
1654
+ "(google.api.field_behavior)": "OPTIONAL"
1655
+ }
1656
+ },
1657
+ "labels": {
1658
+ "keyType": "string",
1659
+ "type": "string",
1660
+ "id": 10,
1661
+ "options": {
1662
+ "(google.api.field_behavior)": "OPTIONAL"
1663
+ }
1664
+ },
1665
+ "createTime": {
1666
+ "type": "google.protobuf.Timestamp",
1667
+ "id": 2,
1668
+ "options": {
1669
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1670
+ }
1671
+ },
1672
+ "updateTime": {
1673
+ "type": "google.protobuf.Timestamp",
1674
+ "id": 3,
1675
+ "options": {
1676
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1677
+ }
1678
+ },
1679
+ "distanceMetric": {
1680
+ "type": "DistanceMetric",
1681
+ "id": 4,
1682
+ "options": {
1683
+ "(google.api.field_behavior)": "OPTIONAL"
1684
+ }
1685
+ },
1686
+ "indexField": {
1687
+ "type": "string",
1688
+ "id": 5,
1689
+ "options": {
1690
+ "(google.api.field_behavior)": "REQUIRED"
1691
+ }
1692
+ },
1693
+ "filterFields": {
1694
+ "rule": "repeated",
1695
+ "type": "string",
1696
+ "id": 6,
1697
+ "options": {
1698
+ "(google.api.field_behavior)": "OPTIONAL"
1699
+ }
1700
+ },
1701
+ "storeFields": {
1702
+ "rule": "repeated",
1703
+ "type": "string",
1704
+ "id": 7,
1705
+ "options": {
1706
+ "(google.api.field_behavior)": "OPTIONAL"
1707
+ }
1708
+ }
1709
+ }
1710
+ },
1711
+ "CreateIndexRequest": {
1712
+ "fields": {
1713
+ "parent": {
1714
+ "type": "string",
1715
+ "id": 1,
1716
+ "options": {
1717
+ "(google.api.field_behavior)": "REQUIRED",
1718
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Collection"
1719
+ }
1720
+ },
1721
+ "indexId": {
1722
+ "type": "string",
1723
+ "id": 2,
1724
+ "options": {
1725
+ "(google.api.field_behavior)": "REQUIRED"
1726
+ }
1727
+ },
1728
+ "index": {
1729
+ "type": "Index",
1730
+ "id": 3,
1731
+ "options": {
1732
+ "(google.api.field_behavior)": "REQUIRED"
1733
+ }
1734
+ },
1735
+ "requestId": {
1736
+ "type": "string",
1737
+ "id": 4,
1738
+ "options": {
1739
+ "(google.api.field_info).format": "UUID4",
1740
+ "(google.api.field_behavior)": "OPTIONAL"
1741
+ }
1742
+ }
1743
+ }
1744
+ },
1745
+ "DeleteIndexRequest": {
1746
+ "fields": {
1747
+ "name": {
1748
+ "type": "string",
1749
+ "id": 1,
1750
+ "options": {
1751
+ "(google.api.field_behavior)": "REQUIRED",
1752
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Index"
1753
+ }
1754
+ },
1755
+ "requestId": {
1756
+ "type": "string",
1757
+ "id": 2,
1758
+ "options": {
1759
+ "(google.api.field_info).format": "UUID4",
1760
+ "(google.api.field_behavior)": "OPTIONAL"
1761
+ }
1762
+ }
1763
+ }
1764
+ },
1765
+ "ListIndexesRequest": {
1766
+ "fields": {
1767
+ "parent": {
1768
+ "type": "string",
1769
+ "id": 1,
1770
+ "options": {
1771
+ "(google.api.field_behavior)": "REQUIRED",
1772
+ "(google.api.resource_reference).child_type": "vectorsearch.googleapis.com/Index"
1773
+ }
1774
+ },
1775
+ "pageSize": {
1776
+ "type": "int32",
1777
+ "id": 2,
1778
+ "options": {
1779
+ "(google.api.field_behavior)": "OPTIONAL"
1780
+ }
1781
+ },
1782
+ "pageToken": {
1783
+ "type": "string",
1784
+ "id": 3,
1785
+ "options": {
1786
+ "(google.api.field_behavior)": "OPTIONAL"
1787
+ }
1788
+ },
1789
+ "filter": {
1790
+ "type": "string",
1791
+ "id": 4,
1792
+ "options": {
1793
+ "(google.api.field_behavior)": "OPTIONAL"
1794
+ }
1795
+ },
1796
+ "orderBy": {
1797
+ "type": "string",
1798
+ "id": 5,
1799
+ "options": {
1800
+ "(google.api.field_behavior)": "OPTIONAL"
1801
+ }
1802
+ }
1803
+ }
1804
+ },
1805
+ "ListIndexesResponse": {
1806
+ "fields": {
1807
+ "indexes": {
1808
+ "rule": "repeated",
1809
+ "type": "Index",
1810
+ "id": 1
1811
+ },
1812
+ "nextPageToken": {
1813
+ "type": "string",
1814
+ "id": 2
1815
+ }
1816
+ }
1817
+ },
1818
+ "GetIndexRequest": {
1819
+ "fields": {
1820
+ "name": {
1821
+ "type": "string",
1822
+ "id": 1,
1823
+ "options": {
1824
+ "(google.api.field_behavior)": "REQUIRED",
1825
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Index"
1826
+ }
1827
+ }
1828
+ }
1829
+ },
1830
+ "OperationMetadata": {
1831
+ "fields": {
1832
+ "createTime": {
1833
+ "type": "google.protobuf.Timestamp",
1834
+ "id": 1,
1835
+ "options": {
1836
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1837
+ }
1838
+ },
1839
+ "endTime": {
1840
+ "type": "google.protobuf.Timestamp",
1841
+ "id": 2,
1842
+ "options": {
1843
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1844
+ }
1845
+ },
1846
+ "target": {
1847
+ "type": "string",
1848
+ "id": 3,
1849
+ "options": {
1850
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1851
+ }
1852
+ },
1853
+ "verb": {
1854
+ "type": "string",
1855
+ "id": 4,
1856
+ "options": {
1857
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1858
+ }
1859
+ },
1860
+ "statusMessage": {
1861
+ "type": "string",
1862
+ "id": 5,
1863
+ "options": {
1864
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1865
+ }
1866
+ },
1867
+ "requestedCancellation": {
1868
+ "type": "bool",
1869
+ "id": 6,
1870
+ "options": {
1871
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1872
+ }
1873
+ },
1874
+ "apiVersion": {
1875
+ "type": "string",
1876
+ "id": 7,
1877
+ "options": {
1878
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1879
+ }
1880
+ }
1881
+ }
1882
+ },
1883
+ "ImportDataObjectsRequest": {
1884
+ "oneofs": {
1885
+ "config": {
1886
+ "oneof": [
1887
+ "gcsImport"
1888
+ ]
1889
+ }
1890
+ },
1891
+ "fields": {
1892
+ "gcsImport": {
1893
+ "type": "GcsImportConfig",
1894
+ "id": 2
1895
+ },
1896
+ "name": {
1897
+ "type": "string",
1898
+ "id": 1,
1899
+ "options": {
1900
+ "(google.api.field_behavior)": "REQUIRED",
1901
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Collection"
1902
+ }
1903
+ }
1904
+ },
1905
+ "nested": {
1906
+ "GcsImportConfig": {
1907
+ "fields": {
1908
+ "contentsUri": {
1909
+ "type": "string",
1910
+ "id": 1,
1911
+ "options": {
1912
+ "(google.api.field_behavior)": "REQUIRED"
1913
+ }
1914
+ },
1915
+ "errorUri": {
1916
+ "type": "string",
1917
+ "id": 2,
1918
+ "options": {
1919
+ "(google.api.field_behavior)": "REQUIRED"
1920
+ }
1921
+ },
1922
+ "outputUri": {
1923
+ "type": "string",
1924
+ "id": 3,
1925
+ "options": {
1926
+ "(google.api.field_behavior)": "OPTIONAL"
1927
+ }
1928
+ }
1929
+ }
1930
+ }
1931
+ }
1932
+ },
1933
+ "ImportDataObjectsMetadata": {
1934
+ "fields": {
1935
+ "createTime": {
1936
+ "type": "google.protobuf.Timestamp",
1937
+ "id": 1,
1938
+ "options": {
1939
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1940
+ }
1941
+ },
1942
+ "updateTime": {
1943
+ "type": "google.protobuf.Timestamp",
1944
+ "id": 2,
1945
+ "options": {
1946
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1947
+ }
1948
+ },
1949
+ "successCount": {
1950
+ "type": "int64",
1951
+ "id": 3,
1952
+ "options": {
1953
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1954
+ }
1955
+ },
1956
+ "failureCount": {
1957
+ "type": "int64",
1958
+ "id": 4,
1959
+ "options": {
1960
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1961
+ }
1962
+ }
1963
+ }
1964
+ },
1965
+ "ImportDataObjectsResponse": {
1966
+ "fields": {
1967
+ "status": {
1968
+ "type": "google.rpc.Status",
1969
+ "id": 1
1970
+ }
1971
+ }
1972
+ },
1973
+ "DedicatedInfrastructure": {
1974
+ "oneofs": {
1975
+ "_mode": {
1976
+ "oneof": [
1977
+ "mode"
1978
+ ]
1979
+ }
1980
+ },
1981
+ "fields": {
1982
+ "mode": {
1983
+ "type": "Mode",
1984
+ "id": 1,
1985
+ "options": {
1986
+ "(google.api.field_behavior)": "OPTIONAL",
1987
+ "proto3_optional": true
1988
+ }
1989
+ },
1990
+ "autoscalingSpec": {
1991
+ "type": "AutoscalingSpec",
1992
+ "id": 2,
1993
+ "options": {
1994
+ "(google.api.field_behavior)": "OPTIONAL"
1995
+ }
1996
+ }
1997
+ },
1998
+ "nested": {
1999
+ "AutoscalingSpec": {
2000
+ "fields": {
2001
+ "minReplicaCount": {
2002
+ "type": "int32",
2003
+ "id": 1,
2004
+ "options": {
2005
+ "(google.api.field_behavior)": "OPTIONAL"
2006
+ }
2007
+ },
2008
+ "maxReplicaCount": {
2009
+ "type": "int32",
2010
+ "id": 2,
2011
+ "options": {
2012
+ "(google.api.field_behavior)": "OPTIONAL"
2013
+ }
2014
+ }
2015
+ }
2016
+ },
2017
+ "Mode": {
2018
+ "values": {
2019
+ "MODE_UNSPECIFIED": 0,
2020
+ "STORAGE_OPTIMIZED": 1,
2021
+ "PERFORMANCE_OPTIMIZED": 2
2022
+ }
2023
+ }
2024
+ }
2025
+ },
2026
+ "DenseScannIndex": {
2027
+ "fields": {
2028
+ "featureNormType": {
2029
+ "type": "FeatureNormType",
2030
+ "id": 2,
2031
+ "options": {
2032
+ "(google.api.field_behavior)": "OPTIONAL"
2033
+ }
2034
+ }
2035
+ },
2036
+ "nested": {
2037
+ "FeatureNormType": {
2038
+ "values": {
2039
+ "FEATURE_NORM_TYPE_UNSPECIFIED": 0,
2040
+ "NONE": 1,
2041
+ "UNIT_L2_NORM": 2
2042
+ }
2043
+ }
2044
+ }
2045
+ }
2046
+ }
2047
+ },
9
2048
  "v1beta": {
10
2049
  "options": {
2050
+ "csharp_namespace": "Google.Cloud.VectorSearch.V1Beta",
11
2051
  "go_package": "cloud.google.com/go/vectorsearch/apiv1beta/vectorsearchpb;vectorsearchpb",
12
2052
  "java_multiple_files": true,
13
2053
  "java_outer_classname": "VectorSearchServiceProto",
14
- "java_package": "com.google.cloud.vectorsearch.v1beta"
2054
+ "java_package": "com.google.cloud.vectorsearch.v1beta",
2055
+ "php_namespace": "Google\\Cloud\\VectorSearch\\V1beta",
2056
+ "ruby_package": "Google::Cloud::VectorSearch::V1beta"
15
2057
  },
16
2058
  "nested": {
17
2059
  "DistanceMetric": {
@@ -40,7 +2082,6 @@
40
2082
  "type": "string",
41
2083
  "id": 2,
42
2084
  "options": {
43
- "deprecated": true,
44
2085
  "(google.api.field_behavior)": "OUTPUT_ONLY"
45
2086
  }
46
2087
  },
@@ -72,6 +2113,13 @@
72
2113
  "options": {
73
2114
  "(google.api.field_behavior)": "OPTIONAL"
74
2115
  }
2116
+ },
2117
+ "etag": {
2118
+ "type": "string",
2119
+ "id": 8,
2120
+ "options": {
2121
+ "(google.api.field_behavior)": "OPTIONAL"
2122
+ }
75
2123
  }
76
2124
  }
77
2125
  },
@@ -246,7 +2294,9 @@
246
2294
  "indexType": {
247
2295
  "oneof": [
248
2296
  "useIndex",
249
- "useKnn"
2297
+ "useKnn",
2298
+ "knnHint",
2299
+ "indexHint"
250
2300
  ]
251
2301
  }
252
2302
  },
@@ -255,12 +2305,28 @@
255
2305
  "type": "IndexHint",
256
2306
  "id": 1,
257
2307
  "options": {
2308
+ "deprecated": true,
258
2309
  "(google.api.field_behavior)": "OPTIONAL"
259
2310
  }
260
2311
  },
261
2312
  "useKnn": {
262
2313
  "type": "bool",
263
2314
  "id": 2,
2315
+ "options": {
2316
+ "deprecated": true,
2317
+ "(google.api.field_behavior)": "OPTIONAL"
2318
+ }
2319
+ },
2320
+ "knnHint": {
2321
+ "type": "KnnHint",
2322
+ "id": 3,
2323
+ "options": {
2324
+ "(google.api.field_behavior)": "OPTIONAL"
2325
+ }
2326
+ },
2327
+ "indexHint": {
2328
+ "type": "IndexHint",
2329
+ "id": 4,
264
2330
  "options": {
265
2331
  "(google.api.field_behavior)": "OPTIONAL"
266
2332
  }
@@ -268,15 +2334,53 @@
268
2334
  },
269
2335
  "nested": {
270
2336
  "IndexHint": {
2337
+ "oneofs": {
2338
+ "params": {
2339
+ "oneof": [
2340
+ "denseScannParams"
2341
+ ]
2342
+ }
2343
+ },
271
2344
  "fields": {
2345
+ "denseScannParams": {
2346
+ "type": "DenseScannParams",
2347
+ "id": 2,
2348
+ "options": {
2349
+ "(google.api.field_behavior)": "OPTIONAL"
2350
+ }
2351
+ },
272
2352
  "name": {
273
2353
  "type": "string",
274
2354
  "id": 1,
275
2355
  "options": {
276
- "(google.api.field_behavior)": "REQUIRED"
2356
+ "(google.api.field_behavior)": "REQUIRED",
2357
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Index"
2358
+ }
2359
+ }
2360
+ },
2361
+ "nested": {
2362
+ "DenseScannParams": {
2363
+ "fields": {
2364
+ "searchLeavesPct": {
2365
+ "type": "int32",
2366
+ "id": 1,
2367
+ "options": {
2368
+ "(google.api.field_behavior)": "OPTIONAL"
2369
+ }
2370
+ },
2371
+ "initialCandidateCount": {
2372
+ "type": "int32",
2373
+ "id": 2,
2374
+ "options": {
2375
+ "(google.api.field_behavior)": "OPTIONAL"
2376
+ }
2377
+ }
277
2378
  }
278
2379
  }
279
2380
  }
2381
+ },
2382
+ "KnnHint": {
2383
+ "fields": {}
280
2384
  }
281
2385
  }
282
2386
  },
@@ -365,7 +2469,7 @@
365
2469
  }
366
2470
  },
367
2471
  "distanceMetric": {
368
- "type": "google.cloud.vectorsearch.v1beta.DistanceMetric",
2472
+ "type": "DistanceMetric",
369
2473
  "id": 11,
370
2474
  "options": {
371
2475
  "(google.api.field_behavior)": "OPTIONAL"
@@ -400,7 +2504,7 @@
400
2504
  "type": "EmbeddingTaskType",
401
2505
  "id": 5,
402
2506
  "options": {
403
- "(google.api.field_behavior)": "OPTIONAL"
2507
+ "(google.api.field_behavior)": "REQUIRED"
404
2508
  }
405
2509
  },
406
2510
  "outputFields": {
@@ -587,7 +2691,8 @@
587
2691
  "type": "string",
588
2692
  "id": 1,
589
2693
  "options": {
590
- "(google.api.field_behavior)": "OUTPUT_ONLY"
2694
+ "(google.api.field_behavior)": "OUTPUT_ONLY",
2695
+ "(google.api.resource_reference).type": "vectorsearch.googleapis.com/Index"
591
2696
  }
592
2697
  }
593
2698
  }
@@ -651,7 +2756,10 @@
651
2756
  "aggregateResults": {
652
2757
  "rule": "repeated",
653
2758
  "type": "google.protobuf.Struct",
654
- "id": 1
2759
+ "id": 1,
2760
+ "options": {
2761
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2762
+ }
655
2763
  }
656
2764
  }
657
2765
  },
@@ -700,11 +2808,17 @@
700
2808
  "dataObjects": {
701
2809
  "rule": "repeated",
702
2810
  "type": "DataObject",
703
- "id": 4
2811
+ "id": 4,
2812
+ "options": {
2813
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2814
+ }
704
2815
  },
705
2816
  "nextPageToken": {
706
2817
  "type": "string",
707
- "id": 3
2818
+ "id": 3,
2819
+ "options": {
2820
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2821
+ }
708
2822
  }
709
2823
  }
710
2824
  },
@@ -766,8 +2880,7 @@
766
2880
  "oneofs": {
767
2881
  "ranker": {
768
2882
  "oneof": [
769
- "rrf",
770
- "vertex"
2883
+ "rrf"
771
2884
  ]
772
2885
  }
773
2886
  },
@@ -775,10 +2888,6 @@
775
2888
  "rrf": {
776
2889
  "type": "ReciprocalRankFusion",
777
2890
  "id": 1
778
- },
779
- "vertex": {
780
- "type": "VertexRanker",
781
- "id": 2
782
2891
  }
783
2892
  }
784
2893
  },
@@ -794,38 +2903,6 @@
794
2903
  }
795
2904
  }
796
2905
  },
797
- "VertexRanker": {
798
- "fields": {
799
- "query": {
800
- "type": "string",
801
- "id": 1,
802
- "options": {
803
- "(google.api.field_behavior)": "REQUIRED"
804
- }
805
- },
806
- "titleTemplate": {
807
- "type": "string",
808
- "id": 2,
809
- "options": {
810
- "(google.api.field_behavior)": "OPTIONAL"
811
- }
812
- },
813
- "contentTemplate": {
814
- "type": "string",
815
- "id": 3,
816
- "options": {
817
- "(google.api.field_behavior)": "OPTIONAL"
818
- }
819
- },
820
- "model": {
821
- "type": "string",
822
- "id": 4,
823
- "options": {
824
- "(google.api.field_behavior)": "REQUIRED"
825
- }
826
- }
827
- }
828
- },
829
2906
  "BatchSearchDataObjectsResponse": {
830
2907
  "fields": {
831
2908
  "results": {
@@ -1067,7 +3144,10 @@
1067
3144
  "dataObjects": {
1068
3145
  "rule": "repeated",
1069
3146
  "type": "DataObject",
1070
- "id": 1
3147
+ "id": 1,
3148
+ "options": {
3149
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3150
+ }
1071
3151
  }
1072
3152
  }
1073
3153
  },
@@ -1133,6 +3213,13 @@
1133
3213
  "(google.api.field_behavior)": "REQUIRED",
1134
3214
  "(google.api.resource_reference).type": "vectorsearch.googleapis.com/DataObject"
1135
3215
  }
3216
+ },
3217
+ "etag": {
3218
+ "type": "string",
3219
+ "id": 2,
3220
+ "options": {
3221
+ "(google.api.field_behavior)": "OPTIONAL"
3222
+ }
1136
3223
  }
1137
3224
  }
1138
3225
  },
@@ -1694,7 +3781,33 @@
1694
3781
  "(google.api.resource).plural": "indexes",
1695
3782
  "(google.api.resource).singular": "index"
1696
3783
  },
3784
+ "oneofs": {
3785
+ "infraType": {
3786
+ "oneof": [
3787
+ "dedicatedInfrastructure"
3788
+ ]
3789
+ },
3790
+ "indexType": {
3791
+ "oneof": [
3792
+ "denseScann"
3793
+ ]
3794
+ }
3795
+ },
1697
3796
  "fields": {
3797
+ "dedicatedInfrastructure": {
3798
+ "type": "DedicatedInfrastructure",
3799
+ "id": 11,
3800
+ "options": {
3801
+ "(google.api.field_behavior)": "OPTIONAL"
3802
+ }
3803
+ },
3804
+ "denseScann": {
3805
+ "type": "DenseScannIndex",
3806
+ "id": 12,
3807
+ "options": {
3808
+ "(google.api.field_behavior)": "OPTIONAL"
3809
+ }
3810
+ },
1698
3811
  "name": {
1699
3812
  "type": "string",
1700
3813
  "id": 1,
@@ -1739,7 +3852,7 @@
1739
3852
  }
1740
3853
  },
1741
3854
  "distanceMetric": {
1742
- "type": "google.cloud.vectorsearch.v1beta.DistanceMetric",
3855
+ "type": "DistanceMetric",
1743
3856
  "id": 4,
1744
3857
  "options": {
1745
3858
  "(google.api.field_behavior)": "OPTIONAL"
@@ -1996,19 +4109,31 @@
1996
4109
  "fields": {
1997
4110
  "createTime": {
1998
4111
  "type": "google.protobuf.Timestamp",
1999
- "id": 1
4112
+ "id": 1,
4113
+ "options": {
4114
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
4115
+ }
2000
4116
  },
2001
4117
  "updateTime": {
2002
4118
  "type": "google.protobuf.Timestamp",
2003
- "id": 2
4119
+ "id": 2,
4120
+ "options": {
4121
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
4122
+ }
2004
4123
  },
2005
4124
  "successCount": {
2006
4125
  "type": "int64",
2007
- "id": 3
4126
+ "id": 3,
4127
+ "options": {
4128
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
4129
+ }
2008
4130
  },
2009
4131
  "failureCount": {
2010
4132
  "type": "int64",
2011
- "id": 4
4133
+ "id": 4,
4134
+ "options": {
4135
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
4136
+ }
2012
4137
  }
2013
4138
  }
2014
4139
  },
@@ -2075,16 +4200,95 @@
2075
4200
  "fields": {
2076
4201
  "createTime": {
2077
4202
  "type": "google.protobuf.Timestamp",
2078
- "id": 1
4203
+ "id": 1,
4204
+ "options": {
4205
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
4206
+ }
2079
4207
  },
2080
4208
  "finishTime": {
2081
4209
  "type": "google.protobuf.Timestamp",
2082
- "id": 2
4210
+ "id": 2,
4211
+ "options": {
4212
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
4213
+ }
2083
4214
  }
2084
4215
  }
2085
4216
  },
2086
4217
  "ExportDataObjectsResponse": {
2087
4218
  "fields": {}
4219
+ },
4220
+ "DedicatedInfrastructure": {
4221
+ "oneofs": {
4222
+ "_mode": {
4223
+ "oneof": [
4224
+ "mode"
4225
+ ]
4226
+ }
4227
+ },
4228
+ "fields": {
4229
+ "mode": {
4230
+ "type": "Mode",
4231
+ "id": 1,
4232
+ "options": {
4233
+ "(google.api.field_behavior)": "OPTIONAL",
4234
+ "proto3_optional": true
4235
+ }
4236
+ },
4237
+ "autoscalingSpec": {
4238
+ "type": "AutoscalingSpec",
4239
+ "id": 2,
4240
+ "options": {
4241
+ "(google.api.field_behavior)": "OPTIONAL"
4242
+ }
4243
+ }
4244
+ },
4245
+ "nested": {
4246
+ "AutoscalingSpec": {
4247
+ "fields": {
4248
+ "minReplicaCount": {
4249
+ "type": "int32",
4250
+ "id": 1,
4251
+ "options": {
4252
+ "(google.api.field_behavior)": "OPTIONAL"
4253
+ }
4254
+ },
4255
+ "maxReplicaCount": {
4256
+ "type": "int32",
4257
+ "id": 2,
4258
+ "options": {
4259
+ "(google.api.field_behavior)": "OPTIONAL"
4260
+ }
4261
+ }
4262
+ }
4263
+ },
4264
+ "Mode": {
4265
+ "values": {
4266
+ "MODE_UNSPECIFIED": 0,
4267
+ "STORAGE_OPTIMIZED": 1,
4268
+ "PERFORMANCE_OPTIMIZED": 2
4269
+ }
4270
+ }
4271
+ }
4272
+ },
4273
+ "DenseScannIndex": {
4274
+ "fields": {
4275
+ "featureNormType": {
4276
+ "type": "FeatureNormType",
4277
+ "id": 2,
4278
+ "options": {
4279
+ "(google.api.field_behavior)": "OPTIONAL"
4280
+ }
4281
+ }
4282
+ },
4283
+ "nested": {
4284
+ "FeatureNormType": {
4285
+ "values": {
4286
+ "FEATURE_NORM_TYPE_UNSPECIFIED": 0,
4287
+ "NONE": 1,
4288
+ "UNIT_L2_NORM": 2
4289
+ }
4290
+ }
4291
+ }
2088
4292
  }
2089
4293
  }
2090
4294
  }