google-cloud-vector_search-v1 0.a → 0.3.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/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +153 -8
- data/lib/google/cloud/vector_search/v1/bindings_override.rb +75 -0
- data/lib/google/cloud/vector_search/v1/data_object_search_service/client.rb +851 -0
- data/lib/google/cloud/vector_search/v1/data_object_search_service/credentials.rb +47 -0
- data/lib/google/cloud/vector_search/v1/data_object_search_service/paths.rb +73 -0
- data/lib/google/cloud/vector_search/v1/data_object_search_service/rest/client.rb +788 -0
- data/lib/google/cloud/vector_search/v1/data_object_search_service/rest/service_stub.rb +329 -0
- data/lib/google/cloud/vector_search/v1/data_object_search_service/rest.rb +53 -0
- data/lib/google/cloud/vector_search/v1/data_object_search_service.rb +55 -0
- data/lib/google/cloud/vector_search/v1/data_object_service/client.rb +1115 -0
- data/lib/google/cloud/vector_search/v1/data_object_service/credentials.rb +47 -0
- data/lib/google/cloud/vector_search/v1/data_object_service/paths.rb +73 -0
- data/lib/google/cloud/vector_search/v1/data_object_service/rest/client.rb +1031 -0
- data/lib/google/cloud/vector_search/v1/data_object_service/rest/service_stub.rb +513 -0
- data/lib/google/cloud/vector_search/v1/data_object_service/rest.rb +53 -0
- data/lib/google/cloud/vector_search/v1/data_object_service.rb +55 -0
- data/lib/google/cloud/vector_search/v1/rest.rb +40 -0
- data/lib/google/cloud/vector_search/v1/vector_search_service/client.rb +1831 -0
- data/lib/google/cloud/vector_search/v1/vector_search_service/credentials.rb +47 -0
- data/lib/google/cloud/vector_search/v1/vector_search_service/operations.rb +843 -0
- data/lib/google/cloud/vector_search/v1/vector_search_service/paths.rb +111 -0
- data/lib/google/cloud/vector_search/v1/vector_search_service/rest/client.rb +1712 -0
- data/lib/google/cloud/vector_search/v1/vector_search_service/rest/operations.rb +927 -0
- data/lib/google/cloud/vector_search/v1/vector_search_service/rest/service_stub.rb +819 -0
- data/lib/google/cloud/vector_search/v1/vector_search_service/rest.rb +58 -0
- data/lib/google/cloud/vector_search/v1/vector_search_service.rb +60 -0
- data/lib/google/cloud/vector_search/v1/version.rb +7 -2
- data/lib/google/cloud/vector_search/v1.rb +47 -0
- data/lib/google/cloud/vectorsearch/v1/common_pb.rb +21 -0
- data/lib/google/cloud/vectorsearch/v1/data_object_pb.rb +29 -0
- data/lib/google/cloud/vectorsearch/v1/data_object_search_service_pb.rb +53 -0
- data/lib/google/cloud/vectorsearch/v1/data_object_search_service_services_pb.rb +51 -0
- data/lib/google/cloud/vectorsearch/v1/data_object_service_pb.rb +37 -0
- data/lib/google/cloud/vectorsearch/v1/data_object_service_services_pb.rb +57 -0
- data/lib/google/cloud/vectorsearch/v1/embedding_config_pb.rb +24 -0
- data/lib/google/cloud/vectorsearch/v1/encryption_spec_pb.rb +24 -0
- data/lib/google/cloud/vectorsearch/v1/vectorsearch_service_pb.rb +69 -0
- data/lib/google/cloud/vectorsearch/v1/vectorsearch_service_services_pb.rb +71 -0
- data/lib/google-cloud-vector_search-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/vectorsearch/v1/common.rb +38 -0
- data/proto_docs/google/cloud/vectorsearch/v1/data_object.rb +104 -0
- data/proto_docs/google/cloud/vectorsearch/v1/data_object_search_service.rb +455 -0
- data/proto_docs/google/cloud/vectorsearch/v1/data_object_service.rb +156 -0
- data/proto_docs/google/cloud/vectorsearch/v1/embedding_config.rb +82 -0
- data/proto_docs/google/cloud/vectorsearch/v1/encryption_spec.rb +40 -0
- data/proto_docs/google/cloud/vectorsearch/v1/vectorsearch_service.rb +723 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- data/proto_docs/google/protobuf/timestamp.rb +128 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +122 -9
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/vectorsearch/v1/vectorsearch_service.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/annotations_pb'
|
|
8
|
+
require 'google/api/client_pb'
|
|
9
|
+
require 'google/api/field_behavior_pb'
|
|
10
|
+
require 'google/api/field_info_pb'
|
|
11
|
+
require 'google/api/resource_pb'
|
|
12
|
+
require 'google/cloud/vectorsearch/v1/common_pb'
|
|
13
|
+
require 'google/cloud/vectorsearch/v1/embedding_config_pb'
|
|
14
|
+
require 'google/cloud/vectorsearch/v1/encryption_spec_pb'
|
|
15
|
+
require 'google/longrunning/operations_pb'
|
|
16
|
+
require 'google/protobuf/empty_pb'
|
|
17
|
+
require 'google/protobuf/field_mask_pb'
|
|
18
|
+
require 'google/protobuf/struct_pb'
|
|
19
|
+
require 'google/protobuf/timestamp_pb'
|
|
20
|
+
require 'google/rpc/status_pb'
|
|
21
|
+
|
|
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"
|
|
24
|
+
|
|
25
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
26
|
+
pool.add_serialized_file(descriptor_data)
|
|
27
|
+
|
|
28
|
+
module Google
|
|
29
|
+
module Cloud
|
|
30
|
+
module VectorSearch
|
|
31
|
+
module V1
|
|
32
|
+
Collection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.Collection").msgclass
|
|
33
|
+
VectorField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.VectorField").msgclass
|
|
34
|
+
DenseVectorField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.DenseVectorField").msgclass
|
|
35
|
+
SparseVectorField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.SparseVectorField").msgclass
|
|
36
|
+
ListCollectionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ListCollectionsRequest").msgclass
|
|
37
|
+
ListCollectionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ListCollectionsResponse").msgclass
|
|
38
|
+
GetCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.GetCollectionRequest").msgclass
|
|
39
|
+
CreateCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.CreateCollectionRequest").msgclass
|
|
40
|
+
UpdateCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.UpdateCollectionRequest").msgclass
|
|
41
|
+
DeleteCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.DeleteCollectionRequest").msgclass
|
|
42
|
+
Index = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.Index").msgclass
|
|
43
|
+
CreateIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.CreateIndexRequest").msgclass
|
|
44
|
+
UpdateIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.UpdateIndexRequest").msgclass
|
|
45
|
+
DeleteIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.DeleteIndexRequest").msgclass
|
|
46
|
+
ListIndexesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ListIndexesRequest").msgclass
|
|
47
|
+
ListIndexesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ListIndexesResponse").msgclass
|
|
48
|
+
GetIndexRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.GetIndexRequest").msgclass
|
|
49
|
+
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.OperationMetadata").msgclass
|
|
50
|
+
ImportDataObjectsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ImportDataObjectsRequest").msgclass
|
|
51
|
+
ImportDataObjectsRequest::GcsImportConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ImportDataObjectsRequest.GcsImportConfig").msgclass
|
|
52
|
+
ImportDataObjectsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ImportDataObjectsMetadata").msgclass
|
|
53
|
+
ImportDataObjectsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ImportDataObjectsResponse").msgclass
|
|
54
|
+
ExportDataObjectsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ExportDataObjectsRequest").msgclass
|
|
55
|
+
ExportDataObjectsRequest::GcsExportDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination").msgclass
|
|
56
|
+
ExportDataObjectsRequest::GcsExportDestination::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ExportDataObjectsRequest.GcsExportDestination.Format").enummodule
|
|
57
|
+
ExportDataObjectsRequest::FieldFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ExportDataObjectsRequest.FieldFilter").msgclass
|
|
58
|
+
ExportDataObjectsRequest::FieldFilter::FieldList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ExportDataObjectsRequest.FieldFilter.FieldList").msgclass
|
|
59
|
+
ExportDataObjectsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ExportDataObjectsMetadata").msgclass
|
|
60
|
+
ExportDataObjectsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.ExportDataObjectsResponse").msgclass
|
|
61
|
+
DedicatedInfrastructure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.DedicatedInfrastructure").msgclass
|
|
62
|
+
DedicatedInfrastructure::AutoscalingSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec").msgclass
|
|
63
|
+
DedicatedInfrastructure::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode").enummodule
|
|
64
|
+
DenseScannIndex = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.DenseScannIndex").msgclass
|
|
65
|
+
DenseScannIndex::FeatureNormType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.vectorsearch.v1.DenseScannIndex.FeatureNormType").enummodule
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: google/cloud/vectorsearch/v1/vectorsearch_service.proto for package 'Google.Cloud.VectorSearch.V1'
|
|
3
|
+
# Original file comments:
|
|
4
|
+
# Copyright 2026 Google LLC
|
|
5
|
+
#
|
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
# you may not use this file except in compliance with the License.
|
|
8
|
+
# You may obtain a copy of the License at
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
# See the License for the specific language governing permissions and
|
|
16
|
+
# limitations under the License.
|
|
17
|
+
#
|
|
18
|
+
|
|
19
|
+
require 'grpc'
|
|
20
|
+
require 'google/cloud/vectorsearch/v1/vectorsearch_service_pb'
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module VectorSearch
|
|
25
|
+
module V1
|
|
26
|
+
module VectorSearchService
|
|
27
|
+
# VectorSearchService provides methods for managing Collection resources, and
|
|
28
|
+
# Collection Index resources. The primary resources offered by this service are
|
|
29
|
+
# Collections which are a container for a set of related JSON data objects, and
|
|
30
|
+
# Collection Indexes which enable efficient ANN search across data objects
|
|
31
|
+
# within a Collection.
|
|
32
|
+
class Service
|
|
33
|
+
|
|
34
|
+
include ::GRPC::GenericService
|
|
35
|
+
|
|
36
|
+
self.marshal_class_method = :encode
|
|
37
|
+
self.unmarshal_class_method = :decode
|
|
38
|
+
self.service_name = 'google.cloud.vectorsearch.v1.VectorSearchService'
|
|
39
|
+
|
|
40
|
+
# Lists Collections in a given project and location.
|
|
41
|
+
rpc :ListCollections, ::Google::Cloud::VectorSearch::V1::ListCollectionsRequest, ::Google::Cloud::VectorSearch::V1::ListCollectionsResponse
|
|
42
|
+
# Gets details of a single Collection.
|
|
43
|
+
rpc :GetCollection, ::Google::Cloud::VectorSearch::V1::GetCollectionRequest, ::Google::Cloud::VectorSearch::V1::Collection
|
|
44
|
+
# Creates a new Collection in a given project and location.
|
|
45
|
+
rpc :CreateCollection, ::Google::Cloud::VectorSearch::V1::CreateCollectionRequest, ::Google::Longrunning::Operation
|
|
46
|
+
# Updates the parameters of a single Collection.
|
|
47
|
+
rpc :UpdateCollection, ::Google::Cloud::VectorSearch::V1::UpdateCollectionRequest, ::Google::Longrunning::Operation
|
|
48
|
+
# Deletes a single Collection.
|
|
49
|
+
rpc :DeleteCollection, ::Google::Cloud::VectorSearch::V1::DeleteCollectionRequest, ::Google::Longrunning::Operation
|
|
50
|
+
# Lists Indexes in a given project and location.
|
|
51
|
+
rpc :ListIndexes, ::Google::Cloud::VectorSearch::V1::ListIndexesRequest, ::Google::Cloud::VectorSearch::V1::ListIndexesResponse
|
|
52
|
+
# Gets details of a single Index.
|
|
53
|
+
rpc :GetIndex, ::Google::Cloud::VectorSearch::V1::GetIndexRequest, ::Google::Cloud::VectorSearch::V1::Index
|
|
54
|
+
# Creates a new Index in a given project and location.
|
|
55
|
+
rpc :CreateIndex, ::Google::Cloud::VectorSearch::V1::CreateIndexRequest, ::Google::Longrunning::Operation
|
|
56
|
+
# Updates the parameters of a single Index.
|
|
57
|
+
rpc :UpdateIndex, ::Google::Cloud::VectorSearch::V1::UpdateIndexRequest, ::Google::Longrunning::Operation
|
|
58
|
+
# Deletes a single Index.
|
|
59
|
+
rpc :DeleteIndex, ::Google::Cloud::VectorSearch::V1::DeleteIndexRequest, ::Google::Longrunning::Operation
|
|
60
|
+
# Initiates a Long-Running Operation to import DataObjects into a Collection.
|
|
61
|
+
rpc :ImportDataObjects, ::Google::Cloud::VectorSearch::V1::ImportDataObjectsRequest, ::Google::Longrunning::Operation
|
|
62
|
+
# Initiates a Long-Running Operation to export DataObjects from a Collection.
|
|
63
|
+
rpc :ExportDataObjects, ::Google::Cloud::VectorSearch::V1::ExportDataObjectsRequest, ::Google::Longrunning::Operation
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
Stub = Service.rpc_stub_class
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
|
21
|
+
# require "google/cloud/vector_search/v1"
|