google-cloud-vector_search-v1 0.1.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.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/google/cloud/vector_search/v1/version.rb +1 -1
- data/lib/google/cloud/vectorsearch/v1/data_object_pb.rb +1 -1
- data/lib/google/cloud/vectorsearch/v1/data_object_search_service_pb.rb +4 -1
- data/lib/google/cloud/vectorsearch/v1/data_object_service_pb.rb +1 -1
- data/lib/google/cloud/vectorsearch/v1/embedding_config_pb.rb +1 -1
- data/lib/google/cloud/vectorsearch/v1/encryption_spec_pb.rb +1 -1
- data/lib/google/cloud/vectorsearch/v1/vectorsearch_service_pb.rb +1 -1
- data/proto_docs/google/cloud/vectorsearch/v1/data_object_search_service.rb +60 -2
- data/proto_docs/google/cloud/vectorsearch/v1/embedding_config.rb +10 -4
- data/proto_docs/google/protobuf/timestamp.rb +7 -6
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 47af1278cfd009b34483a90b90580ff3f91748dc9c39b4e5c7eb4b2056a5e1c4
|
|
4
|
+
data.tar.gz: a6480e0d4847a5b8921eb45f4985843a0b235be87d3d534bf09d6628a126e681
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ae8e31f3d07b5b022a77fd33bb1dcb737dc5541e633709ae09987b8996bbe5a7970fc3b563894805851cf1545ac6757fd270bf29b50220bf2a35aa4a51bb796
|
|
7
|
+
data.tar.gz: d5b058a3b497e8c3ad4283c1245bffea582fdea0318d5eecacf8b10d4a2a6098c8ead94cb1edc283d16647346f2030d0eaccea8eb3810b155db716365874ba2d
|
data/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
The Vector Search API provides a fully-managed, highly performant, and scalable vector database designed to power next-generation search, recommendation, and generative AI applications. It allows you to store, index, and query your data and its corresponding vector embeddings through a simple, intuitive interface. With Vector Search, you can define custom schemas for your data, insert objects with associated metadata, automatically generate embeddings from your data, and perform fast approximate nearest neighbor (ANN) searches to find semantically similar items at scale.
|
|
4
4
|
|
|
5
|
-
The Vector Search API provides a fully-managed, highly performant, and scalable vector database designed to power next-generation search, recommendation, and generative AI applications. It allows you to store, index, and query your data and its corresponding vector embeddings through a simple, intuitive interface. With Vector Search, you can define custom schemas for your data, insert objects with associated metadata, automatically generate embeddings from your data, and perform fast approximate nearest neighbor (ANN) searches to find semantically similar items at scale.
|
|
6
5
|
|
|
7
6
|
https://github.com/googleapis/google-cloud-ruby
|
|
8
7
|
|
|
@@ -10,7 +10,7 @@ require 'google/protobuf/struct_pb'
|
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n.google/cloud/vectorsearch/v1/data_object.proto\x12\x1cgoogle.cloud.vectorsearch.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
13
|
+
descriptor_data = "\n.google/cloud/vectorsearch/v1/data_object.proto\x12\x1cgoogle.cloud.vectorsearch.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb4\x04\n\nDataObject\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x1c\n\x0e\x64\x61ta_object_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12+\n\x04\x64\x61ta\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x12L\n\x07vectors\x18\x07 \x03(\x0b\x32\x35.google.cloud.vectorsearch.v1.DataObject.VectorsEntryB\x04\xe2\x41\x01\x01\x12\x12\n\x04\x65tag\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x1aT\n\x0cVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.google.cloud.vectorsearch.v1.Vector:\x02\x38\x01:\xa0\x01\xea\x41\x9c\x01\n&vectorsearch.googleapis.com/DataObject\x12Yprojects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}*\x0b\x64\x61taObjects2\ndataObject\"\x91\x01\n\x06Vector\x12:\n\x05\x64\x65nse\x18\x02 \x01(\x0b\x32).google.cloud.vectorsearch.v1.DenseVectorH\x00\x12<\n\x06sparse\x18\x03 \x01(\x0b\x32*.google.cloud.vectorsearch.v1.SparseVectorH\x00\x42\r\n\x0bvector_type\"#\n\x0b\x44\x65nseVector\x12\x14\n\x06values\x18\x01 \x03(\x02\x42\x04\xe2\x41\x01\x02\";\n\x0cSparseVector\x12\x14\n\x06values\x18\x01 \x03(\x02\x42\x04\xe2\x41\x01\x02\x12\x15\n\x07indices\x18\x02 \x03(\x05\x42\x04\xe2\x41\x01\x02\x42\xdb\x01\n com.google.cloud.vectorsearch.v1B\x0f\x44\x61taObjectProtoP\x01ZDcloud.google.com/go/vectorsearch/apiv1/vectorsearchpb;vectorsearchpb\xaa\x02\x1cGoogle.Cloud.VectorSearch.V1\xca\x02\x1cGoogle\\Cloud\\VectorSearch\\V1\xea\x02\x1fGoogle::Cloud::VectorSearch::V1b\x06proto3"
|
|
14
14
|
|
|
15
15
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -14,7 +14,7 @@ require 'google/cloud/vectorsearch/v1/embedding_config_pb'
|
|
|
14
14
|
require 'google/protobuf/struct_pb'
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
descriptor_data = "\n=google/cloud/vectorsearch/v1/data_object_search_service.proto\x12\x1cgoogle.cloud.vectorsearch.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/vectorsearch/v1/common.proto\x1a.google/cloud/vectorsearch/v1/data_object.proto\x1a\x33google/cloud/vectorsearch/v1/embedding_config.proto\x1a\x1cgoogle/protobuf/struct.proto\"
|
|
17
|
+
descriptor_data = "\n=google/cloud/vectorsearch/v1/data_object_search_service.proto\x12\x1cgoogle.cloud.vectorsearch.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/vectorsearch/v1/common.proto\x1a.google/cloud/vectorsearch/v1/data_object.proto\x1a\x33google/cloud/vectorsearch/v1/embedding_config.proto\x1a\x1cgoogle/protobuf/struct.proto\"e\n\x0cOutputFields\x12\x19\n\x0b\x64\x61ta_fields\x18\x01 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rvector_fields\x18\x02 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1d\n\x0fmetadata_fields\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\"\xc4\x03\n\nSearchHint\x12J\n\x08knn_hint\x18\x03 \x01(\x0b\x32\x30.google.cloud.vectorsearch.v1.SearchHint.KnnHintB\x04\xe2\x41\x01\x01H\x00\x12N\n\nindex_hint\x18\x04 \x01(\x0b\x32\x32.google.cloud.vectorsearch.v1.SearchHint.IndexHintB\x04\xe2\x41\x01\x01H\x00\x1a\x80\x02\n\tIndexHint\x12g\n\x12\x64\x65nse_scann_params\x18\x02 \x01(\x0b\x32\x43.google.cloud.vectorsearch.v1.SearchHint.IndexHint.DenseScannParamsB\x04\xe2\x41\x01\x01H\x00\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!vectorsearch.googleapis.com/Index\x1a\x46\n\x10\x44\x65nseScannParams\x12 \n\rtarget_recall\x18\x03 \x01(\x01\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x42\x10\n\x0e_target_recallB\x08\n\x06params\x1a\t\n\x07KnnHintB\x0c\n\nindex_type\"\xe6\x01\n\x06Search\x12\x43\n\rvector_search\x18\x01 \x01(\x0b\x32*.google.cloud.vectorsearch.v1.VectorSearchH\x00\x12G\n\x0fsemantic_search\x18\x02 \x01(\x0b\x32,.google.cloud.vectorsearch.v1.SemanticSearchH\x00\x12?\n\x0btext_search\x18\x03 \x01(\x0b\x32(.google.cloud.vectorsearch.v1.TextSearchH\x00\x42\r\n\x0bsearch_type\"\xe9\x03\n\x0cVectorSearch\x12;\n\x06vector\x18\x01 \x01(\x0b\x32).google.cloud.vectorsearch.v1.DenseVectorH\x00\x12\x43\n\rsparse_vector\x18\x02 \x01(\x0b\x32*.google.cloud.vectorsearch.v1.SparseVectorH\x00\x12\x1a\n\x0csearch_field\x18\x08 \x01(\tB\x04\xe2\x41\x01\x02\x12-\n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x12\x18\n\x05top_k\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x12G\n\routput_fields\x18\x07 \x01(\x0b\x32*.google.cloud.vectorsearch.v1.OutputFieldsB\x04\xe2\x41\x01\x01\x12\x43\n\x0bsearch_hint\x18\t \x01(\x0b\x32(.google.cloud.vectorsearch.v1.SearchHintB\x04\xe2\x41\x01\x01\x12K\n\x0f\x64istance_metric\x18\x0b \x01(\x0e\x32,.google.cloud.vectorsearch.v1.DistanceMetricB\x04\xe2\x41\x01\x01\x42\r\n\x0bvector_typeB\x08\n\x06_top_k\"\xf2\x02\n\x0eSemanticSearch\x12\x19\n\x0bsearch_text\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0csearch_field\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12H\n\ttask_type\x18\x05 \x01(\x0e\x32/.google.cloud.vectorsearch.v1.EmbeddingTaskTypeB\x04\xe2\x41\x01\x01\x12G\n\routput_fields\x18\x03 \x01(\x0b\x32*.google.cloud.vectorsearch.v1.OutputFieldsB\x04\xe2\x41\x01\x01\x12-\n\x06\x66ilter\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x12\x18\n\x05top_k\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12\x43\n\x0bsearch_hint\x18\x07 \x01(\x0b\x32(.google.cloud.vectorsearch.v1.SearchHintB\x04\xe2\x41\x01\x01\x42\x08\n\x06_top_k\"\xe3\x01\n\nTextSearch\x12\x19\n\x0bsearch_text\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1e\n\x10\x64\x61ta_field_names\x18\x02 \x03(\tB\x04\xe2\x41\x01\x01\x12G\n\routput_fields\x18\x03 \x01(\x0b\x32*.google.cloud.vectorsearch.v1.OutputFieldsB\x04\xe2\x41\x01\x01\x12\x18\n\x05top_k\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12-\n\x06\x66ilter\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x42\x08\n\x06_top_k\"\xf2\x02\n\x18SearchDataObjectsRequest\x12\x43\n\rvector_search\x18\x02 \x01(\x0b\x32*.google.cloud.vectorsearch.v1.VectorSearchH\x00\x12G\n\x0fsemantic_search\x18\x04 \x01(\x0b\x32,.google.cloud.vectorsearch.v1.SemanticSearchH\x00\x12\x45\n\x0btext_search\x18\x07 \x01(\x0b\x32(.google.cloud.vectorsearch.v1.TextSearchB\x04\xe2\x41\x01\x01H\x00\x12?\n\x06parent\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12\x17\n\tpage_size\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\x42\r\n\x0bsearch_type\"}\n\x0cSearchResult\x12\x43\n\x0b\x64\x61ta_object\x18\x01 \x01(\x0b\x32(.google.cloud.vectorsearch.v1.DataObjectB\x04\xe2\x41\x01\x03\x12\x1b\n\x08\x64istance\x18\x02 \x01(\x01\x42\x04\xe2\x41\x01\x03H\x00\x88\x01\x01\x42\x0b\n\t_distance\"}\n\x19SearchDataObjectsResponse\x12\x41\n\x07results\x18\x01 \x03(\x0b\x32*.google.cloud.vectorsearch.v1.SearchResultB\x04\xe2\x41\x01\x03\x12\x1d\n\x0fnext_page_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\xd7\x01\n\x1b\x41ggregateDataObjectsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12-\n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x12H\n\taggregate\x18\x03 \x01(\x0e\x32/.google.cloud.vectorsearch.v1.AggregationMethodB\x04\xe2\x41\x01\x02\"X\n\x1c\x41ggregateDataObjectsResponse\x12\x38\n\x11\x61ggregate_results\x18\x01 \x03(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x03\"\x85\x02\n\x17QueryDataObjectsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12-\n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x12G\n\routput_fields\x18\x07 \x01(\x0b\x32*.google.cloud.vectorsearch.v1.OutputFieldsB\x04\xe2\x41\x01\x01\x12\x17\n\tpage_size\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\"\x7f\n\x18QueryDataObjectsResponse\x12\x44\n\x0c\x64\x61ta_objects\x18\x04 \x03(\x0b\x32(.google.cloud.vectorsearch.v1.DataObjectB\x04\xe2\x41\x01\x03\x12\x1d\n\x0fnext_page_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\"\xbc\x03\n\x1d\x42\x61tchSearchDataObjectsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12<\n\x08searches\x18\x02 \x03(\x0b\x32$.google.cloud.vectorsearch.v1.SearchB\x04\xe2\x41\x01\x02\x12h\n\x07\x63ombine\x18\x03 \x01(\x0b\x32Q.google.cloud.vectorsearch.v1.BatchSearchDataObjectsRequest.CombineResultsOptionsB\x04\xe2\x41\x01\x01\x1a\xb1\x01\n\x15\x43ombineResultsOptions\x12:\n\x06ranker\x18\x01 \x01(\x0b\x32$.google.cloud.vectorsearch.v1.RankerB\x04\xe2\x41\x01\x02\x12G\n\routput_fields\x18\x02 \x01(\x0b\x32*.google.cloud.vectorsearch.v1.OutputFieldsB\x04\xe2\x41\x01\x01\x12\x13\n\x05top_k\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\"\xac\x01\n\x06Ranker\x12\x41\n\x03rrf\x18\x01 \x01(\x0b\x32\x32.google.cloud.vectorsearch.v1.ReciprocalRankFusionH\x00\x12I\n\rvertex_ranker\x18\x02 \x01(\x0b\x32*.google.cloud.vectorsearch.v1.VertexRankerB\x04\xe2\x41\x01\x01H\x01\x42\x08\n\x06rankerB\n\n\x08reranker\"-\n\x14ReciprocalRankFusion\x12\x15\n\x07weights\x18\x01 \x03(\x01\x42\x04\xe2\x41\x01\x02\"\x83\x02\n\x0cVertexRanker\x12U\n\x10text_record_spec\x18\x06 \x01(\x0b\x32\x39.google.cloud.vectorsearch.v1.VertexRanker.TextRecordSpecH\x00\x12\x13\n\x05model\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x05top_n\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x02\x1a\x63\n\x0eTextRecordSpec\x12\x13\n\x05query\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1c\n\x0etitle_template\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1e\n\x10\x63ontent_template\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x42\r\n\x0brecord_spec\"p\n\x1e\x42\x61tchSearchDataObjectsResponse\x12N\n\x07results\x18\x01 \x03(\x0b\x32\x37.google.cloud.vectorsearch.v1.SearchDataObjectsResponseB\x04\xe2\x41\x01\x03*B\n\x11\x41ggregationMethod\x12\"\n\x1e\x41GGREGATION_METHOD_UNSPECIFIED\x10\x00\x12\t\n\x05\x43OUNT\x10\x01\x32\xe6\x07\n\x17\x44\x61taObjectSearchService\x12\xd5\x01\n\x11SearchDataObjects\x12\x36.google.cloud.vectorsearch.v1.SearchDataObjectsRequest\x1a\x37.google.cloud.vectorsearch.v1.SearchDataObjectsResponse\"O\x82\xd3\xe4\x93\x02I\"D/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:search:\x01*\x12\xd1\x01\n\x10QueryDataObjects\x12\x35.google.cloud.vectorsearch.v1.QueryDataObjectsRequest\x1a\x36.google.cloud.vectorsearch.v1.QueryDataObjectsResponse\"N\x82\xd3\xe4\x93\x02H\"C/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:query:\x01*\x12\xe1\x01\n\x14\x41ggregateDataObjects\x12\x39.google.cloud.vectorsearch.v1.AggregateDataObjectsRequest\x1a:.google.cloud.vectorsearch.v1.AggregateDataObjectsResponse\"R\x82\xd3\xe4\x93\x02L\"G/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:aggregate:\x01*\x12\xe9\x01\n\x16\x42\x61tchSearchDataObjects\x12;.google.cloud.vectorsearch.v1.BatchSearchDataObjectsRequest\x1a<.google.cloud.vectorsearch.v1.BatchSearchDataObjectsResponse\"T\x82\xd3\xe4\x93\x02N\"I/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:batchSearch:\x01*\x1aO\xca\x41\x1bvectorsearch.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe8\x01\n com.google.cloud.vectorsearch.v1B\x1c\x44\x61taObjectSearchServiceProtoP\x01ZDcloud.google.com/go/vectorsearch/apiv1/vectorsearchpb;vectorsearchpb\xaa\x02\x1cGoogle.Cloud.VectorSearch.V1\xca\x02\x1cGoogle\\Cloud\\VectorSearch\\V1\xea\x02\x1fGoogle::Cloud::VectorSearch::V1b\x06proto3"
|
|
18
18
|
|
|
19
19
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
20
20
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -26,6 +26,7 @@ module Google
|
|
|
26
26
|
OutputFields = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.OutputFields").msgclass
|
|
27
27
|
SearchHint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.SearchHint").msgclass
|
|
28
28
|
SearchHint::IndexHint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.SearchHint.IndexHint").msgclass
|
|
29
|
+
SearchHint::IndexHint::DenseScannParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.SearchHint.IndexHint.DenseScannParams").msgclass
|
|
29
30
|
SearchHint::KnnHint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.SearchHint.KnnHint").msgclass
|
|
30
31
|
Search = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.Search").msgclass
|
|
31
32
|
VectorSearch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.VectorSearch").msgclass
|
|
@@ -42,6 +43,8 @@ module Google
|
|
|
42
43
|
BatchSearchDataObjectsRequest::CombineResultsOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.BatchSearchDataObjectsRequest.CombineResultsOptions").msgclass
|
|
43
44
|
Ranker = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.Ranker").msgclass
|
|
44
45
|
ReciprocalRankFusion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ReciprocalRankFusion").msgclass
|
|
46
|
+
VertexRanker = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.VertexRanker").msgclass
|
|
47
|
+
VertexRanker::TextRecordSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.VertexRanker.TextRecordSpec").msgclass
|
|
45
48
|
BatchSearchDataObjectsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.BatchSearchDataObjectsResponse").msgclass
|
|
46
49
|
AggregationMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.AggregationMethod").enummodule
|
|
47
50
|
end
|
|
@@ -13,7 +13,7 @@ require 'google/protobuf/empty_pb'
|
|
|
13
13
|
require 'google/protobuf/field_mask_pb'
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
descriptor_data = "\n6google/cloud/vectorsearch/v1/data_object_service.proto\x12\x1cgoogle.cloud.vectorsearch.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/vectorsearch/v1/data_object.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\
|
|
16
|
+
descriptor_data = "\n6google/cloud/vectorsearch/v1/data_object_service.proto\x12\x1cgoogle.cloud.vectorsearch.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/vectorsearch/v1/data_object.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xbd\x01\n\x17\x43reateDataObjectRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12\x1c\n\x0e\x64\x61ta_object_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x43\n\x0b\x64\x61ta_object\x18\x03 \x01(\x0b\x32(.google.cloud.vectorsearch.v1.DataObjectB\x04\xe2\x41\x01\x02\"\xaf\x01\n\x1d\x42\x61tchCreateDataObjectsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12M\n\x08requests\x18\x02 \x03(\x0b\x32\x35.google.cloud.vectorsearch.v1.CreateDataObjectRequestB\x04\xe2\x41\x01\x02\"f\n\x1e\x42\x61tchCreateDataObjectsResponse\x12\x44\n\x0c\x64\x61ta_objects\x18\x01 \x03(\x0b\x32(.google.cloud.vectorsearch.v1.DataObjectB\x04\xe2\x41\x01\x03\"U\n\x14GetDataObjectRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/DataObject\"\x95\x01\n\x17UpdateDataObjectRequest\x12\x43\n\x0b\x64\x61ta_object\x18\x01 \x01(\x0b\x32(.google.cloud.vectorsearch.v1.DataObjectB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\"\xaf\x01\n\x1d\x42\x61tchUpdateDataObjectsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12M\n\x08requests\x18\x02 \x03(\x0b\x32\x35.google.cloud.vectorsearch.v1.UpdateDataObjectRequestB\x04\xe2\x41\x01\x02\" \n\x1e\x42\x61tchUpdateDataObjectsResponse\"l\n\x17\x44\x65leteDataObjectRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/DataObject\x12\x12\n\x04\x65tag\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\xaf\x01\n\x1d\x42\x61tchDeleteDataObjectsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12M\n\x08requests\x18\x03 \x03(\x0b\x32\x35.google.cloud.vectorsearch.v1.DeleteDataObjectRequestB\x04\xe2\x41\x01\x02\x32\xf4\x0c\n\x11\x44\x61taObjectService\x12\xeb\x01\n\x10\x43reateDataObject\x12\x35.google.cloud.vectorsearch.v1.CreateDataObjectRequest\x1a(.google.cloud.vectorsearch.v1.DataObject\"v\xda\x41!parent,data_object,data_object_id\x82\xd3\xe4\x93\x02L\"=/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:\x0b\x64\x61ta_object\x12\xe9\x01\n\x16\x42\x61tchCreateDataObjects\x12;.google.cloud.vectorsearch.v1.BatchCreateDataObjectsRequest\x1a<.google.cloud.vectorsearch.v1.BatchCreateDataObjectsResponse\"T\x82\xd3\xe4\x93\x02N\"I/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:batchCreate:\x01*\x12\xbb\x01\n\rGetDataObject\x12\x32.google.cloud.vectorsearch.v1.GetDataObjectRequest\x1a(.google.cloud.vectorsearch.v1.DataObject\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?\x12=/v1/{name=projects/*/locations/*/collections/*/dataObjects/*}\x12\xed\x01\n\x10UpdateDataObject\x12\x35.google.cloud.vectorsearch.v1.UpdateDataObjectRequest\x1a(.google.cloud.vectorsearch.v1.DataObject\"x\xda\x41\x17\x64\x61ta_object,update_mask\x82\xd3\xe4\x93\x02X2I/v1/{data_object.name=projects/*/locations/*/collections/*/dataObjects/*}:\x0b\x64\x61ta_object\x12\xfb\x01\n\x16\x42\x61tchUpdateDataObjects\x12;.google.cloud.vectorsearch.v1.BatchUpdateDataObjectsRequest\x1a<.google.cloud.vectorsearch.v1.BatchUpdateDataObjectsResponse\"f\xda\x41\x0fparent,requests\x82\xd3\xe4\x93\x02N\"I/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:batchUpdate:\x01*\x12\xaf\x01\n\x10\x44\x65leteDataObject\x12\x35.google.cloud.vectorsearch.v1.DeleteDataObjectRequest\x1a\x16.google.protobuf.Empty\"L\xda\x41\x04name\x82\xd3\xe4\x93\x02?*=/v1/{name=projects/*/locations/*/collections/*/dataObjects/*}\x12\xd5\x01\n\x16\x42\x61tchDeleteDataObjects\x12;.google.cloud.vectorsearch.v1.BatchDeleteDataObjectsRequest\x1a\x16.google.protobuf.Empty\"f\xda\x41\x0fparent,requests\x82\xd3\xe4\x93\x02N\"I/v1/{parent=projects/*/locations/*/collections/*}/dataObjects:batchDelete:\x01*\x1aO\xca\x41\x1bvectorsearch.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe2\x01\n com.google.cloud.vectorsearch.v1B\x16\x44\x61taObjectServiceProtoP\x01ZDcloud.google.com/go/vectorsearch/apiv1/vectorsearchpb;vectorsearchpb\xaa\x02\x1cGoogle.Cloud.VectorSearch.V1\xca\x02\x1cGoogle\\Cloud\\VectorSearch\\V1\xea\x02\x1fGoogle::Cloud::VectorSearch::V1b\x06proto3"
|
|
17
17
|
|
|
18
18
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
19
19
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
descriptor_data = "\n3google/cloud/vectorsearch/v1/embedding_config.proto\x12\x1cgoogle.cloud.vectorsearch.v1\x1a\x1fgoogle/api/field_behavior.proto\"\
|
|
10
|
+
descriptor_data = "\n3google/cloud/vectorsearch/v1/embedding_config.proto\x12\x1cgoogle.cloud.vectorsearch.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x96\x01\n\x15VertexEmbeddingConfig\x12\x16\n\x08model_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rtext_template\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12H\n\ttask_type\x18\x03 \x01(\x0e\x32/.google.cloud.vectorsearch.v1.EmbeddingTaskTypeB\x04\xe2\x41\x01\x01*\xeb\x01\n\x11\x45mbeddingTaskType\x12#\n\x1f\x45MBEDDING_TASK_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fRETRIEVAL_QUERY\x10\x01\x12\x16\n\x12RETRIEVAL_DOCUMENT\x10\x02\x12\x17\n\x13SEMANTIC_SIMILARITY\x10\x03\x12\x12\n\x0e\x43LASSIFICATION\x10\x04\x12\x0e\n\nCLUSTERING\x10\x05\x12\x16\n\x12QUESTION_ANSWERING\x10\x06\x12\x15\n\x11\x46\x41\x43T_VERIFICATION\x10\x07\x12\x18\n\x14\x43ODE_RETRIEVAL_QUERY\x10\x08\x42\xe0\x01\n com.google.cloud.vectorsearch.v1B\x14\x45mbeddingConfigProtoP\x01ZDcloud.google.com/go/vectorsearch/apiv1/vectorsearchpb;vectorsearchpb\xaa\x02\x1cGoogle.Cloud.VectorSearch.V1\xca\x02\x1cGoogle\\Cloud\\VectorSearch\\V1\xea\x02\x1fGoogle::Cloud::VectorSearch::V1b\x06proto3"
|
|
11
11
|
|
|
12
12
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
|
8
8
|
require 'google/api/resource_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n2google/cloud/vectorsearch/v1/encryption_spec.proto\x12\x1cgoogle.cloud.vectorsearch.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"
|
|
11
|
+
descriptor_data = "\n2google/cloud/vectorsearch/v1/encryption_spec.proto\x12\x1cgoogle.cloud.vectorsearch.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"U\n\x0e\x45ncryptionSpec\x12\x43\n\x0f\x63rypto_key_name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!cloudkms.googleapis.com/CryptoKeyB\xda\x02\n com.google.cloud.vectorsearch.v1B\x13\x45ncryptionSpecProtoP\x01ZDcloud.google.com/go/vectorsearch/apiv1/vectorsearchpb;vectorsearchpb\xaa\x02\x1cGoogle.Cloud.VectorSearch.V1\xca\x02\x1cGoogle\\Cloud\\VectorSearch\\V1\xea\x02\x1fGoogle::Cloud::VectorSearch::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3"
|
|
12
12
|
|
|
13
13
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -20,7 +20,7 @@ require 'google/protobuf/timestamp_pb'
|
|
|
20
20
|
require 'google/rpc/status_pb'
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
descriptor_data = "\n7google/cloud/vectorsearch/v1/vectorsearch_service.proto\x12\x1cgoogle.cloud.vectorsearch.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/vectorsearch/v1/common.proto\x1a\x33google/cloud/vectorsearch/v1/embedding_config.proto\x1a\x32google/cloud/vectorsearch/v1/encryption_spec.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xfe\x05\n\nCollection\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12I\n\x06labels\x18\x04 \x03(\x0b\x32\x34.google.cloud.vectorsearch.v1.Collection.LabelsEntryB\x03\xe0\x41\x01\x12V\n\rvector_schema\x18\x07 \x03(\x0b\x32:.google.cloud.vectorsearch.v1.Collection.VectorSchemaEntryB\x03\xe0\x41\x01\x12\x31\n\x0b\x64\x61ta_schema\x18\n \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12M\n\x0f\x65ncryption_spec\x18\x0b \x01(\x0b\x32,.google.cloud.vectorsearch.v1.EncryptionSpecB\x06\xe0\x41\x05\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a^\n\x11VectorSchemaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.cloud.vectorsearch.v1.VectorField:\x02\x38\x01:\x87\x01\xea\x41\x83\x01\n&vectorsearch.googleapis.com/Collection\x12@projects/{project}/locations/{location}/collections/{collection}*\x0b\x63ollections2\ncollection\"\xb5\x01\n\x0bVectorField\x12\x46\n\x0c\x64\x65nse_vector\x18\x03 \x01(\x0b\x32..google.cloud.vectorsearch.v1.DenseVectorFieldH\x00\x12H\n\rsparse_vector\x18\x04 \x01(\x0b\x32/.google.cloud.vectorsearch.v1.SparseVectorFieldH\x00\x42\x14\n\x12vector_type_config\"\x81\x01\n\x10\x44\x65nseVectorField\x12\x12\n\ndimensions\x18\x01 \x01(\x05\x12Y\n\x17vertex_embedding_config\x18\x03 \x01(\x0b\x32\x33.google.cloud.vectorsearch.v1.VertexEmbeddingConfigB\x03\xe0\x41\x01\"\x13\n\x11SparseVectorField\"\xb5\x01\n\x16ListCollectionsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&vectorsearch.googleapis.com/Collection\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x8b\x01\n\x17ListCollectionsResponse\x12=\n\x0b\x63ollections\x18\x01 \x03(\x0b\x32(.google.cloud.vectorsearch.v1.Collection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"T\n\x14GetCollectionRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\"\xd9\x01\n\x17\x43reateCollectionRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&vectorsearch.googleapis.com/Collection\x12\x1a\n\rcollection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\ncollection\x18\x03 \x01(\x0b\x32(.google.cloud.vectorsearch.v1.CollectionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xb3\x01\n\x17UpdateCollectionRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x41\n\ncollection\x18\x02 \x01(\x0b\x32(.google.cloud.vectorsearch.v1.CollectionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x8c\x01\n\x17\x44\x65leteCollectionRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xa0\x06\n\x05Index\x12^\n\x18\x64\x65\x64icated_infrastructure\x18\x0b \x01(\x0b\x32\x35.google.cloud.vectorsearch.v1.DedicatedInfrastructureB\x03\xe0\x41\x01H\x00\x12I\n\x0b\x64\x65nse_scann\x18\x0c \x01(\x0b\x32-.google.cloud.vectorsearch.v1.DenseScannIndexB\x03\xe0\x41\x01H\x01\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x06labels\x18\n \x03(\x0b\x32/.google.cloud.vectorsearch.v1.Index.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x0f\x64istance_metric\x18\x04 \x01(\x0e\x32,.google.cloud.vectorsearch.v1.DistanceMetricB\x03\xe0\x41\x01\x12\x18\n\x0bindex_field\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rfilter_fields\x18\x06 \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x0cstore_fields\x18\x07 \x03(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x89\x01\xea\x41\x85\x01\n!vectorsearch.googleapis.com/Index\x12Pprojects/{project}/locations/{location}/collections/{collection}/indexes/{index}*\x07indexes2\x05indexB\x0c\n\ninfra_typeB\x0c\n\nindex_type\"\xc5\x01\n\x12\x43reateIndexRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12\x15\n\x08index_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x05index\x18\x03 \x01(\x0b\x32#.google.cloud.vectorsearch.v1.IndexB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa4\x01\n\x12UpdateIndexRequest\x12\x37\n\x05index\x18\x01 \x01(\x0b\x32#.google.cloud.vectorsearch.v1.IndexB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"n\n\x12\x44\x65leteIndexRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!vectorsearch.googleapis.com/Index\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xac\x01\n\x12ListIndexesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!vectorsearch.googleapis.com/Index\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"d\n\x13ListIndexesResponse\x12\x34\n\x07indexes\x18\x01 \x03(\x0b\x32#.google.cloud.vectorsearch.v1.Index\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"J\n\x0fGetIndexRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!vectorsearch.googleapis.com/Index\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\x9f\x02\n\x18ImportDataObjectsRequest\x12\\\n\ngcs_import\x18\x02 \x01(\x0b\x32\x46.google.cloud.vectorsearch.v1.ImportDataObjectsRequest.GcsImportConfigH\x00\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x1a]\n\x0fGcsImportConfig\x12\x19\n\x0c\x63ontents_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\terror_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\noutput_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\x42\x08\n\x06\x63onfig\"\xbf\x01\n\x19ImportDataObjectsMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\rsuccess_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1a\n\rfailure_count\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\"?\n\x19ImportDataObjectsResponse\x12\"\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\"\x90\x06\n\x18\x45xportDataObjectsRequest\x12\x66\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32K.google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestinationH\x00\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12]\n\x0c\x66ield_filter\x18\x03 \x01(\x0b\x32\x42.google.cloud.vectorsearch.v1.ExportDataObjectsRequest.FieldFilterB\x03\xe0\x41\x01\x1a\xc5\x01\n\x14GcsExportDestination\x12\x17\n\nexport_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12g\n\x06\x66ormat\x18\x02 \x01(\x0e\x32R.google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination.FormatB\x03\xe0\x41\x02\"+\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\t\n\x05JSONL\x10\x02\x1a\x97\x02\n\x0b\x46ieldFilter\x12l\n\x0fincluded_fields\x18\x01 \x01(\x0b\x32L.google.cloud.vectorsearch.v1.ExportDataObjectsRequest.FieldFilter.FieldListB\x03\xe0\x41\x01H\x00\x12l\n\x0f\x65xcluded_fields\x18\x02 \x01(\x0b\x32L.google.cloud.vectorsearch.v1.ExportDataObjectsRequest.FieldFilter.FieldListB\x03\xe0\x41\x01H\x00\x1a \n\tFieldList\x12\x13\n\x06\x66ields\x18\x01 \x03(\tB\x03\xe0\x41\x02\x42\n\n\x08selectorB\r\n\x0b\x64\x65stination\"\x87\x01\n\x19\x45xportDataObjectsMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x66inish_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\x1b\n\x19\x45xportDataObjectsResponse\"\xff\x02\n\x17\x44\x65\x64icatedInfrastructure\x12R\n\x04mode\x18\x01 \x01(\x0e\x32:.google.cloud.vectorsearch.v1.DedicatedInfrastructure.ModeB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x64\n\x10\x61utoscaling_spec\x18\x02 \x01(\x0b\x32\x45.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpecB\x03\xe0\x41\x01\x1aQ\n\x0f\x41utoscalingSpec\x12\x1e\n\x11min_replica_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1e\n\x11max_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\"N\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x15\n\x11STORAGE_OPTIMIZED\x10\x01\x12\x19\n\x15PERFORMANCE_OPTIMIZED\x10\x02\x42\x07\n\x05_mode\"\xc2\x01\n\x0f\x44\x65nseScannIndex\x12]\n\x11\x66\x65\x61ture_norm_type\x18\x02 \x01(\x0e\x32=.google.cloud.vectorsearch.v1.DenseScannIndex.FeatureNormTypeB\x03\xe0\x41\x01\"P\n\x0f\x46\x65\x61tureNormType\x12!\n\x1d\x46\x45\x41TURE_NORM_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x10\n\x0cUNIT_L2_NORM\x10\x02\x32\x8d\x15\n\x13VectorSearchService\x12\xc0\x01\n\x0fListCollections\x12\x34.google.cloud.vectorsearch.v1.ListCollectionsRequest\x1a\x35.google.cloud.vectorsearch.v1.ListCollectionsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/collections\x12\xad\x01\n\rGetCollection\x12\x32.google.cloud.vectorsearch.v1.GetCollectionRequest\x1a(.google.cloud.vectorsearch.v1.Collection\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/collections/*}\x12\xf2\x01\n\x10\x43reateCollection\x12\x35.google.cloud.vectorsearch.v1.CreateCollectionRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1f\n\nCollection\x12\x11OperationMetadata\xda\x41\x1fparent,collection,collection_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/collections:\ncollection\x12\xf4\x01\n\x10UpdateCollection\x12\x35.google.cloud.vectorsearch.v1.UpdateCollectionRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1f\n\nCollection\x12\x11OperationMetadata\xda\x41\x16\x63ollection,update_mask\x82\xd3\xe4\x93\x02H2:/v1/{collection.name=projects/*/locations/*/collections/*}:\ncollection\x12\xd5\x01\n\x10\x44\x65leteCollection\x12\x35.google.cloud.vectorsearch.v1.DeleteCollectionRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/collections/*}\x12\xbe\x01\n\x0bListIndexes\x12\x30.google.cloud.vectorsearch.v1.ListIndexesRequest\x1a\x31.google.cloud.vectorsearch.v1.ListIndexesResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/collections/*}/indexes\x12\xa8\x01\n\x08GetIndex\x12-.google.cloud.vectorsearch.v1.GetIndexRequest\x1a#.google.cloud.vectorsearch.v1.Index\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/collections/*/indexes/*}\x12\xdd\x01\n\x0b\x43reateIndex\x12\x30.google.cloud.vectorsearch.v1.CreateIndexRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1a\n\x05Index\x12\x11OperationMetadata\xda\x41\x15parent,index,index_id\x82\xd3\xe4\x93\x02\x42\"9/v1/{parent=projects/*/locations/*/collections/*}/indexes:\x05index\x12\xdf\x01\n\x0bUpdateIndex\x12\x30.google.cloud.vectorsearch.v1.UpdateIndexRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1a\n\x05Index\x12\x11OperationMetadata\xda\x41\x11index,update_mask\x82\xd3\xe4\x93\x02H2?/v1/{index.name=projects/*/locations/*/collections/*/indexes/*}:\x05index\x12\xd5\x01\n\x0b\x44\x65leteIndex\x12\x30.google.cloud.vectorsearch.v1.DeleteIndexRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/collections/*/indexes/*}\x12\xf2\x01\n\x11ImportDataObjects\x12\x36.google.cloud.vectorsearch.v1.ImportDataObjectsRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x36\n\x19ImportDataObjectsResponse\x12\x19ImportDataObjectsMetadata\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/collections/*}:importDataObjects:\x01*\x12\xf2\x01\n\x11\x45xportDataObjects\x12\x36.google.cloud.vectorsearch.v1.ExportDataObjectsRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x36\n\x19\x45xportDataObjectsResponse\x12\x19\x45xportDataObjectsMetadata\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/collections/*}:exportDataObjects:\x01*\x1aO\xca\x41\x1bvectorsearch.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe4\x01\n com.google.cloud.vectorsearch.v1B\x18VectorSearchServiceProtoP\x01ZDcloud.google.com/go/vectorsearch/apiv1/vectorsearchpb;vectorsearchpb\xaa\x02\x1cGoogle.Cloud.VectorSearch.V1\xca\x02\x1cGoogle\\Cloud\\VectorSearch\\V1\xea\x02\x1fGoogle::Cloud::VectorSearch::V1b\x06proto3"
|
|
23
|
+
descriptor_data = "\n7google/cloud/vectorsearch/v1/vectorsearch_service.proto\x12\x1cgoogle.cloud.vectorsearch.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/vectorsearch/v1/common.proto\x1a\x33google/cloud/vectorsearch/v1/embedding_config.proto\x1a\x32google/cloud/vectorsearch/v1/encryption_spec.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x85\x06\n\nCollection\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x1a\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12J\n\x06labels\x18\x04 \x03(\x0b\x32\x34.google.cloud.vectorsearch.v1.Collection.LabelsEntryB\x04\xe2\x41\x01\x01\x12W\n\rvector_schema\x18\x07 \x03(\x0b\x32:.google.cloud.vectorsearch.v1.Collection.VectorSchemaEntryB\x04\xe2\x41\x01\x01\x12\x32\n\x0b\x64\x61ta_schema\x18\n \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x12L\n\x0f\x65ncryption_spec\x18\x0b \x01(\x0b\x32,.google.cloud.vectorsearch.v1.EncryptionSpecB\x05\xe2\x41\x02\x05\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a^\n\x11VectorSchemaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.cloud.vectorsearch.v1.VectorField:\x02\x38\x01:\x87\x01\xea\x41\x83\x01\n&vectorsearch.googleapis.com/Collection\x12@projects/{project}/locations/{location}/collections/{collection}*\x0b\x63ollections2\ncollection\"\xb5\x01\n\x0bVectorField\x12\x46\n\x0c\x64\x65nse_vector\x18\x03 \x01(\x0b\x32..google.cloud.vectorsearch.v1.DenseVectorFieldH\x00\x12H\n\rsparse_vector\x18\x04 \x01(\x0b\x32/.google.cloud.vectorsearch.v1.SparseVectorFieldH\x00\x42\x14\n\x12vector_type_config\"\x82\x01\n\x10\x44\x65nseVectorField\x12\x12\n\ndimensions\x18\x01 \x01(\x05\x12Z\n\x17vertex_embedding_config\x18\x03 \x01(\x0b\x32\x33.google.cloud.vectorsearch.v1.VertexEmbeddingConfigB\x04\xe2\x41\x01\x01\"\x13\n\x11SparseVectorField\"\xba\x01\n\x16ListCollectionsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\x12&vectorsearch.googleapis.com/Collection\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\x8c\x01\n\x17ListCollectionsResponse\x12=\n\x0b\x63ollections\x18\x01 \x03(\x0b\x32(.google.cloud.vectorsearch.v1.Collection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x19\n\x0bunreachable\x18\x03 \x03(\tB\x04\xe2\x41\x01\x06\"U\n\x14GetCollectionRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\"\xdd\x01\n\x17\x43reateCollectionRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\x12&vectorsearch.googleapis.com/Collection\x12\x1b\n\rcollection_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x42\n\ncollection\x18\x03 \x01(\x0b\x32(.google.cloud.vectorsearch.v1.CollectionB\x04\xe2\x41\x01\x02\x12 \n\nrequest_id\x18\x04 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xb6\x01\n\x17UpdateCollectionRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12\x42\n\ncollection\x18\x02 \x01(\x0b\x32(.google.cloud.vectorsearch.v1.CollectionB\x04\xe2\x41\x01\x02\x12 \n\nrequest_id\x18\x03 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x8f\x01\n\x17\x44\x65leteCollectionRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12 \n\nrequest_id\x18\x02 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x13\n\x05\x66orce\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xac\x06\n\x05Index\x12_\n\x18\x64\x65\x64icated_infrastructure\x18\x0b \x01(\x0b\x32\x35.google.cloud.vectorsearch.v1.DedicatedInfrastructureB\x04\xe2\x41\x01\x01H\x00\x12J\n\x0b\x64\x65nse_scann\x18\x0c \x01(\x0b\x32-.google.cloud.vectorsearch.v1.DenseScannIndexB\x04\xe2\x41\x01\x01H\x01\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x1a\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x45\n\x06labels\x18\n \x03(\x0b\x32/.google.cloud.vectorsearch.v1.Index.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12K\n\x0f\x64istance_metric\x18\x04 \x01(\x0e\x32,.google.cloud.vectorsearch.v1.DistanceMetricB\x04\xe2\x41\x01\x01\x12\x19\n\x0bindex_field\x18\x05 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rfilter_fields\x18\x06 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cstore_fields\x18\x07 \x03(\tB\x04\xe2\x41\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x89\x01\xea\x41\x85\x01\n!vectorsearch.googleapis.com/Index\x12Pprojects/{project}/locations/{location}/collections/{collection}/indexes/{index}*\x07indexes2\x05indexB\x0c\n\ninfra_typeB\x0c\n\nindex_type\"\xc9\x01\n\x12\x43reateIndexRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12\x16\n\x08index_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x38\n\x05index\x18\x03 \x01(\x0b\x32#.google.cloud.vectorsearch.v1.IndexB\x04\xe2\x41\x01\x02\x12 \n\nrequest_id\x18\x04 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa7\x01\n\x12UpdateIndexRequest\x12\x38\n\x05index\x18\x01 \x01(\x0b\x32#.google.cloud.vectorsearch.v1.IndexB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12 \n\nrequest_id\x18\x03 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"p\n\x12\x44\x65leteIndexRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!vectorsearch.googleapis.com/Index\x12 \n\nrequest_id\x18\x02 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xb1\x01\n\x12ListIndexesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\x12!vectorsearch.googleapis.com/Index\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"d\n\x13ListIndexesResponse\x12\x34\n\x07indexes\x18\x01 \x03(\x0b\x32#.google.cloud.vectorsearch.v1.Index\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"K\n\x0fGetIndexRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!vectorsearch.googleapis.com/Index\"\x87\x02\n\x11OperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\"\xa3\x02\n\x18ImportDataObjectsRequest\x12\\\n\ngcs_import\x18\x02 \x01(\x0b\x32\x46.google.cloud.vectorsearch.v1.ImportDataObjectsRequest.GcsImportConfigH\x00\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x1a`\n\x0fGcsImportConfig\x12\x1a\n\x0c\x63ontents_uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x17\n\terror_uri\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x18\n\noutput_uri\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x42\x08\n\x06\x63onfig\"\xc3\x01\n\x19ImportDataObjectsMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x1b\n\rsuccess_count\x18\x03 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x1b\n\rfailure_count\x18\x04 \x01(\x03\x42\x04\xe2\x41\x01\x03\"?\n\x19ImportDataObjectsResponse\x12\"\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\"\x97\x06\n\x18\x45xportDataObjectsRequest\x12\x66\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32K.google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestinationH\x00\x12=\n\x04name\x18\x01 \x01(\tB/\xe2\x41\x01\x02\xfa\x41(\n&vectorsearch.googleapis.com/Collection\x12^\n\x0c\x66ield_filter\x18\x03 \x01(\x0b\x32\x42.google.cloud.vectorsearch.v1.ExportDataObjectsRequest.FieldFilterB\x04\xe2\x41\x01\x01\x1a\xc7\x01\n\x14GcsExportDestination\x12\x18\n\nexport_uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12h\n\x06\x66ormat\x18\x02 \x01(\x0e\x32R.google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination.FormatB\x04\xe2\x41\x01\x02\"+\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\t\n\x05JSONL\x10\x02\x1a\x9a\x02\n\x0b\x46ieldFilter\x12m\n\x0fincluded_fields\x18\x01 \x01(\x0b\x32L.google.cloud.vectorsearch.v1.ExportDataObjectsRequest.FieldFilter.FieldListB\x04\xe2\x41\x01\x01H\x00\x12m\n\x0f\x65xcluded_fields\x18\x02 \x01(\x0b\x32L.google.cloud.vectorsearch.v1.ExportDataObjectsRequest.FieldFilter.FieldListB\x04\xe2\x41\x01\x01H\x00\x1a!\n\tFieldList\x12\x14\n\x06\x66ields\x18\x01 \x03(\tB\x04\xe2\x41\x01\x02\x42\n\n\x08selectorB\r\n\x0b\x64\x65stination\"\x89\x01\n\x19\x45xportDataObjectsMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x66inish_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"\x1b\n\x19\x45xportDataObjectsResponse\"\x83\x03\n\x17\x44\x65\x64icatedInfrastructure\x12S\n\x04mode\x18\x01 \x01(\x0e\x32:.google.cloud.vectorsearch.v1.DedicatedInfrastructure.ModeB\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12\x65\n\x10\x61utoscaling_spec\x18\x02 \x01(\x0b\x32\x45.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpecB\x04\xe2\x41\x01\x01\x1aS\n\x0f\x41utoscalingSpec\x12\x1f\n\x11min_replica_count\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x1f\n\x11max_replica_count\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\"N\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x15\n\x11STORAGE_OPTIMIZED\x10\x01\x12\x19\n\x15PERFORMANCE_OPTIMIZED\x10\x02\x42\x07\n\x05_mode\"\xc3\x01\n\x0f\x44\x65nseScannIndex\x12^\n\x11\x66\x65\x61ture_norm_type\x18\x02 \x01(\x0e\x32=.google.cloud.vectorsearch.v1.DenseScannIndex.FeatureNormTypeB\x04\xe2\x41\x01\x01\"P\n\x0f\x46\x65\x61tureNormType\x12!\n\x1d\x46\x45\x41TURE_NORM_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x10\n\x0cUNIT_L2_NORM\x10\x02\x32\x8d\x15\n\x13VectorSearchService\x12\xc0\x01\n\x0fListCollections\x12\x34.google.cloud.vectorsearch.v1.ListCollectionsRequest\x1a\x35.google.cloud.vectorsearch.v1.ListCollectionsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/collections\x12\xad\x01\n\rGetCollection\x12\x32.google.cloud.vectorsearch.v1.GetCollectionRequest\x1a(.google.cloud.vectorsearch.v1.Collection\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/collections/*}\x12\xf2\x01\n\x10\x43reateCollection\x12\x35.google.cloud.vectorsearch.v1.CreateCollectionRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1f\n\nCollection\x12\x11OperationMetadata\xda\x41\x1fparent,collection,collection_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/collections:\ncollection\x12\xf4\x01\n\x10UpdateCollection\x12\x35.google.cloud.vectorsearch.v1.UpdateCollectionRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1f\n\nCollection\x12\x11OperationMetadata\xda\x41\x16\x63ollection,update_mask\x82\xd3\xe4\x93\x02H2:/v1/{collection.name=projects/*/locations/*/collections/*}:\ncollection\x12\xd5\x01\n\x10\x44\x65leteCollection\x12\x35.google.cloud.vectorsearch.v1.DeleteCollectionRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/collections/*}\x12\xbe\x01\n\x0bListIndexes\x12\x30.google.cloud.vectorsearch.v1.ListIndexesRequest\x1a\x31.google.cloud.vectorsearch.v1.ListIndexesResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/collections/*}/indexes\x12\xa8\x01\n\x08GetIndex\x12-.google.cloud.vectorsearch.v1.GetIndexRequest\x1a#.google.cloud.vectorsearch.v1.Index\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/collections/*/indexes/*}\x12\xdd\x01\n\x0b\x43reateIndex\x12\x30.google.cloud.vectorsearch.v1.CreateIndexRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1a\n\x05Index\x12\x11OperationMetadata\xda\x41\x15parent,index,index_id\x82\xd3\xe4\x93\x02\x42\"9/v1/{parent=projects/*/locations/*/collections/*}/indexes:\x05index\x12\xdf\x01\n\x0bUpdateIndex\x12\x30.google.cloud.vectorsearch.v1.UpdateIndexRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1a\n\x05Index\x12\x11OperationMetadata\xda\x41\x11index,update_mask\x82\xd3\xe4\x93\x02H2?/v1/{index.name=projects/*/locations/*/collections/*/indexes/*}:\x05index\x12\xd5\x01\n\x0b\x44\x65leteIndex\x12\x30.google.cloud.vectorsearch.v1.DeleteIndexRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/collections/*/indexes/*}\x12\xf2\x01\n\x11ImportDataObjects\x12\x36.google.cloud.vectorsearch.v1.ImportDataObjectsRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x36\n\x19ImportDataObjectsResponse\x12\x19ImportDataObjectsMetadata\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/collections/*}:importDataObjects:\x01*\x12\xf2\x01\n\x11\x45xportDataObjects\x12\x36.google.cloud.vectorsearch.v1.ExportDataObjectsRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x36\n\x19\x45xportDataObjectsResponse\x12\x19\x45xportDataObjectsMetadata\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/collections/*}:exportDataObjects:\x01*\x1aO\xca\x41\x1bvectorsearch.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe4\x01\n com.google.cloud.vectorsearch.v1B\x18VectorSearchServiceProtoP\x01ZDcloud.google.com/go/vectorsearch/apiv1/vectorsearchpb;vectorsearchpb\xaa\x02\x1cGoogle.Cloud.VectorSearch.V1\xca\x02\x1cGoogle\\Cloud\\VectorSearch\\V1\xea\x02\x1fGoogle::Cloud::VectorSearch::V1b\x06proto3"
|
|
24
24
|
|
|
25
25
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
26
26
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -53,6 +53,9 @@ module Google
|
|
|
53
53
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
54
54
|
|
|
55
55
|
# Message to specify the index to use for the search.
|
|
56
|
+
# @!attribute [rw] dense_scann_params
|
|
57
|
+
# @return [::Google::Cloud::VectorSearch::V1::SearchHint::IndexHint::DenseScannParams]
|
|
58
|
+
# Optional. Dense ScaNN parameters.
|
|
56
59
|
# @!attribute [rw] name
|
|
57
60
|
# @return [::String]
|
|
58
61
|
# Required. The resource name of the index to use for the search.
|
|
@@ -62,6 +65,17 @@ module Google
|
|
|
62
65
|
class IndexHint
|
|
63
66
|
include ::Google::Protobuf::MessageExts
|
|
64
67
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
68
|
+
|
|
69
|
+
# Parameters for dense ScaNN.
|
|
70
|
+
# @!attribute [rw] target_recall
|
|
71
|
+
# @return [::Float]
|
|
72
|
+
# Optional. The target recall for the search. Must be a double in the
|
|
73
|
+
# range [0, 1]. While the search aims to achieve this level of recall, it
|
|
74
|
+
# is not guaranteed.
|
|
75
|
+
class DenseScannParams
|
|
76
|
+
include ::Google::Protobuf::MessageExts
|
|
77
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
78
|
+
end
|
|
65
79
|
end
|
|
66
80
|
|
|
67
81
|
# KnnHint will be used if search should be explicitly done on system's
|
|
@@ -134,14 +148,20 @@ module Google
|
|
|
134
148
|
# Defines a semantic search operation.
|
|
135
149
|
# @!attribute [rw] search_text
|
|
136
150
|
# @return [::String]
|
|
137
|
-
#
|
|
151
|
+
# Optional. The query text, which is used to generate an embedding according
|
|
138
152
|
# to the embedding model specified in the collection config.
|
|
153
|
+
#
|
|
154
|
+
# Required when using the text search mode.
|
|
139
155
|
# @!attribute [rw] search_field
|
|
140
156
|
# @return [::String]
|
|
141
157
|
# Required. The vector field to search.
|
|
142
158
|
# @!attribute [rw] task_type
|
|
143
159
|
# @return [::Google::Cloud::VectorSearch::V1::EmbeddingTaskType]
|
|
144
|
-
#
|
|
160
|
+
# Optional. The task type of the query embedding. Must be specified for
|
|
161
|
+
# text-only embedding models, see
|
|
162
|
+
# <https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/embeddings/task-types>
|
|
163
|
+
# Not needed for multi modal embedding models, see
|
|
164
|
+
# <https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/embeddings/get-multimodal-embeddings#specify-task-instructions>
|
|
145
165
|
# @!attribute [rw] output_fields
|
|
146
166
|
# @return [::Google::Cloud::VectorSearch::V1::OutputFields]
|
|
147
167
|
# Optional. The fields to return in the search results.
|
|
@@ -359,6 +379,9 @@ module Google
|
|
|
359
379
|
# @!attribute [rw] rrf
|
|
360
380
|
# @return [::Google::Cloud::VectorSearch::V1::ReciprocalRankFusion]
|
|
361
381
|
# Reciprocal Rank Fusion ranking.
|
|
382
|
+
# @!attribute [rw] vertex_ranker
|
|
383
|
+
# @return [::Google::Cloud::VectorSearch::V1::VertexRanker]
|
|
384
|
+
# Optional. Vertex AI ranking.
|
|
362
385
|
class Ranker
|
|
363
386
|
include ::Google::Protobuf::MessageExts
|
|
364
387
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -373,6 +396,41 @@ module Google
|
|
|
373
396
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
374
397
|
end
|
|
375
398
|
|
|
399
|
+
# Defines a ranker using the Vertex AI ranking service.
|
|
400
|
+
# See <https://cloud.google.com/generative-ai-app-builder/docs/ranking> for
|
|
401
|
+
# details.
|
|
402
|
+
# @!attribute [rw] text_record_spec
|
|
403
|
+
# @return [::Google::Cloud::VectorSearch::V1::VertexRanker::TextRecordSpec]
|
|
404
|
+
# The record spec for text search.
|
|
405
|
+
# @!attribute [rw] model
|
|
406
|
+
# @return [::String]
|
|
407
|
+
# Required. The model used for ranking documents. The list of available
|
|
408
|
+
# models is described in
|
|
409
|
+
# <https://docs.cloud.google.com/generative-ai-app-builder/docs/ranking#models>.
|
|
410
|
+
# Currently, only `semantic-ranker-fast@latest` is supported.
|
|
411
|
+
# @!attribute [rw] top_n
|
|
412
|
+
# @return [::Integer]
|
|
413
|
+
# Required. The number of documents to be processed for ranking.
|
|
414
|
+
class VertexRanker
|
|
415
|
+
include ::Google::Protobuf::MessageExts
|
|
416
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
417
|
+
|
|
418
|
+
# The record spec for text search.
|
|
419
|
+
# @!attribute [rw] query
|
|
420
|
+
# @return [::String]
|
|
421
|
+
# Required. The query against which the records are ranked and scored.
|
|
422
|
+
# @!attribute [rw] title_template
|
|
423
|
+
# @return [::String]
|
|
424
|
+
# Optional. The template used to generate the record's title.
|
|
425
|
+
# @!attribute [rw] content_template
|
|
426
|
+
# @return [::String]
|
|
427
|
+
# Optional. The template used to generate the record's content.
|
|
428
|
+
class TextRecordSpec
|
|
429
|
+
include ::Google::Protobuf::MessageExts
|
|
430
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
431
|
+
end
|
|
432
|
+
end
|
|
433
|
+
|
|
376
434
|
# A response from a batch search operation.
|
|
377
435
|
# @!attribute [r] results
|
|
378
436
|
# @return [::Array<::Google::Cloud::VectorSearch::V1::SearchDataObjectsResponse>]
|
|
@@ -30,12 +30,18 @@ module Google
|
|
|
30
30
|
# for the list of supported models.
|
|
31
31
|
# @!attribute [rw] text_template
|
|
32
32
|
# @return [::String]
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
#
|
|
33
|
+
# Optional. Text template for the input to the model. The template must
|
|
34
|
+
# contain one or more references to fields in the DataObject, e.g.: "Movie
|
|
35
|
+
# Title: \\{title} ---- Movie Plot: \\{plot}".
|
|
36
|
+
#
|
|
37
|
+
# Required when using the text-only path.
|
|
36
38
|
# @!attribute [rw] task_type
|
|
37
39
|
# @return [::Google::Cloud::VectorSearch::V1::EmbeddingTaskType]
|
|
38
|
-
#
|
|
40
|
+
# Optional. Optional: Task type for the embeddings. Required for text-only
|
|
41
|
+
# embedding models, see
|
|
42
|
+
# https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/embeddings/task-types
|
|
43
|
+
# Not needed for multi modal embedding models, see
|
|
44
|
+
# https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/embeddings/get-multimodal-embeddings#specify-task-instructions
|
|
39
45
|
class VertexEmbeddingConfig
|
|
40
46
|
include ::Google::Protobuf::MessageExts
|
|
41
47
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-vector_search-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.6'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.6'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|