@google-cloud/vectorsearch 0.2.0 → 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.
- package/README.md +22 -0
- package/build/protos/google/cloud/vectorsearch/v1/common.proto +37 -0
- package/build/protos/google/cloud/vectorsearch/v1/data_object.proto +95 -0
- package/build/protos/google/cloud/vectorsearch/v1/data_object_search_service.proto +449 -0
- package/build/protos/google/cloud/vectorsearch/v1/data_object_service.proto +242 -0
- package/build/protos/google/cloud/vectorsearch/v1/embedding_config.proto +74 -0
- package/build/protos/google/cloud/vectorsearch/v1/vectorsearch_service.proto +707 -0
- package/build/protos/protos.d.ts +7118 -0
- package/build/protos/protos.js +17345 -0
- package/build/protos/protos.json +2110 -0
- package/build/src/index.d.ts +12 -10
- package/build/src/index.js +7 -5
- package/build/src/index.js.map +1 -1
- package/build/src/v1/data_object_search_service_client.d.ts +583 -0
- package/build/src/v1/data_object_search_service_client.js +855 -0
- package/build/src/v1/data_object_search_service_client.js.map +1 -0
- package/build/src/v1/data_object_search_service_client_config.json +58 -0
- package/build/src/v1/data_object_search_service_proto_list.json +8 -0
- package/build/src/v1/data_object_service_client.d.ts +490 -0
- package/build/src/v1/data_object_service_client.js +767 -0
- package/build/src/v1/data_object_service_client.js.map +1 -0
- package/build/src/v1/data_object_service_client_config.json +73 -0
- package/build/src/v1/data_object_service_proto_list.json +8 -0
- package/build/src/v1/gapic_metadata.json +277 -0
- package/build/src/v1/index.d.ts +3 -0
- package/build/src/v1/index.js +27 -0
- package/build/src/v1/index.js.map +1 -0
- package/build/src/v1/vector_search_service_client.d.ts +1021 -0
- package/build/src/v1/vector_search_service_client.js +1387 -0
- package/build/src/v1/vector_search_service_client.js.map +1 -0
- package/build/src/v1/vector_search_service_client_config.json +88 -0
- package/build/src/v1/vector_search_service_proto_list.json +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data_object_search_service_client.js","sourceR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AA,CAAC,CAAC,CAAC;YACzD,CAAC,CAAC,CAAC;QACL,CAAC;QACD,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;CACF;AA7tCD,sEA6tCC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"interfaces": {
|
|
3
|
+
"google.cloud.vectorsearch.v1.DataObjectSearchService": {
|
|
4
|
+
"retry_codes": {
|
|
5
|
+
"non_idempotent": [],
|
|
6
|
+
"idempotent": [
|
|
7
|
+
"DEADLINE_EXCEEDED",
|
|
8
|
+
"UNAVAILABLE"
|
|
9
|
+
],
|
|
10
|
+
"unavailable": [
|
|
11
|
+
"UNAVAILABLE"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"retry_params": {
|
|
15
|
+
"default": {
|
|
16
|
+
"initial_retry_delay_millis": 100,
|
|
17
|
+
"retry_delay_multiplier": 1.3,
|
|
18
|
+
"max_retry_delay_millis": 60000,
|
|
19
|
+
"initial_rpc_timeout_millis": 60000,
|
|
20
|
+
"rpc_timeout_multiplier": 1,
|
|
21
|
+
"max_rpc_timeout_millis": 60000,
|
|
22
|
+
"total_timeout_millis": 600000
|
|
23
|
+
},
|
|
24
|
+
"ce5b960a6ed052e690863808e4f0deff3dc7d49f": {
|
|
25
|
+
"initial_retry_delay_millis": 1000,
|
|
26
|
+
"retry_delay_multiplier": 1.3,
|
|
27
|
+
"max_retry_delay_millis": 10000,
|
|
28
|
+
"initial_rpc_timeout_millis": 60000,
|
|
29
|
+
"rpc_timeout_multiplier": 1,
|
|
30
|
+
"max_rpc_timeout_millis": 60000,
|
|
31
|
+
"total_timeout_millis": 600000
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"methods": {
|
|
35
|
+
"SearchDataObjects": {
|
|
36
|
+
"timeout_millis": 300000,
|
|
37
|
+
"retry_codes_name": "unavailable",
|
|
38
|
+
"retry_params_name": "ce5b960a6ed052e690863808e4f0deff3dc7d49f"
|
|
39
|
+
},
|
|
40
|
+
"QueryDataObjects": {
|
|
41
|
+
"timeout_millis": 300000,
|
|
42
|
+
"retry_codes_name": "unavailable",
|
|
43
|
+
"retry_params_name": "ce5b960a6ed052e690863808e4f0deff3dc7d49f"
|
|
44
|
+
},
|
|
45
|
+
"AggregateDataObjects": {
|
|
46
|
+
"timeout_millis": 300000,
|
|
47
|
+
"retry_codes_name": "unavailable",
|
|
48
|
+
"retry_params_name": "ce5b960a6ed052e690863808e4f0deff3dc7d49f"
|
|
49
|
+
},
|
|
50
|
+
"BatchSearchDataObjects": {
|
|
51
|
+
"timeout_millis": 300000,
|
|
52
|
+
"retry_codes_name": "unavailable",
|
|
53
|
+
"retry_params_name": "ce5b960a6ed052e690863808e4f0deff3dc7d49f"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
[
|
|
2
|
+
"../../protos/google/cloud/vectorsearch/v1/common.proto",
|
|
3
|
+
"../../protos/google/cloud/vectorsearch/v1/data_object.proto",
|
|
4
|
+
"../../protos/google/cloud/vectorsearch/v1/data_object_search_service.proto",
|
|
5
|
+
"../../protos/google/cloud/vectorsearch/v1/data_object_service.proto",
|
|
6
|
+
"../../protos/google/cloud/vectorsearch/v1/embedding_config.proto",
|
|
7
|
+
"../../protos/google/cloud/vectorsearch/v1/vectorsearch_service.proto"
|
|
8
|
+
]
|
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
import type * as gax from 'google-gax';
|
|
2
|
+
import type { Callback, CallOptions, Descriptors, ClientOptions, LocationsClient, LocationProtos } from 'google-gax';
|
|
3
|
+
import * as protos from '../../protos/protos';
|
|
4
|
+
/**
|
|
5
|
+
* Service for creating and managing data objects.
|
|
6
|
+
* @class
|
|
7
|
+
* @memberof v1
|
|
8
|
+
*/
|
|
9
|
+
export declare class DataObjectServiceClient {
|
|
10
|
+
private _terminated;
|
|
11
|
+
private _opts;
|
|
12
|
+
private _providedCustomServicePath;
|
|
13
|
+
private _gaxModule;
|
|
14
|
+
private _gaxGrpc;
|
|
15
|
+
private _protos;
|
|
16
|
+
private _defaults;
|
|
17
|
+
private _universeDomain;
|
|
18
|
+
private _servicePath;
|
|
19
|
+
private _log;
|
|
20
|
+
auth: gax.GoogleAuth;
|
|
21
|
+
descriptors: Descriptors;
|
|
22
|
+
warn: (code: string, message: string, warnType?: string) => void;
|
|
23
|
+
innerApiCalls: {
|
|
24
|
+
[name: string]: Function;
|
|
25
|
+
};
|
|
26
|
+
locationsClient: LocationsClient;
|
|
27
|
+
pathTemplates: {
|
|
28
|
+
[name: string]: gax.PathTemplate;
|
|
29
|
+
};
|
|
30
|
+
dataObjectServiceStub?: Promise<{
|
|
31
|
+
[name: string]: Function;
|
|
32
|
+
}>;
|
|
33
|
+
/**
|
|
34
|
+
* Construct an instance of DataObjectServiceClient.
|
|
35
|
+
*
|
|
36
|
+
* @param {object} [options] - The configuration object.
|
|
37
|
+
* The options accepted by the constructor are described in detail
|
|
38
|
+
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
|
|
39
|
+
* The common options are:
|
|
40
|
+
* @param {object} [options.credentials] - Credentials object.
|
|
41
|
+
* @param {string} [options.credentials.client_email]
|
|
42
|
+
* @param {string} [options.credentials.private_key]
|
|
43
|
+
* @param {string} [options.email] - Account email address. Required when
|
|
44
|
+
* using a .pem or .p12 keyFilename.
|
|
45
|
+
* @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
|
|
46
|
+
* .p12 key downloaded from the Google Developers Console. If you provide
|
|
47
|
+
* a path to a JSON file, the projectId option below is not necessary.
|
|
48
|
+
* NOTE: .pem and .p12 require you to specify options.email as well.
|
|
49
|
+
* @param {number} [options.port] - The port on which to connect to
|
|
50
|
+
* the remote host.
|
|
51
|
+
* @param {string} [options.projectId] - The project ID from the Google
|
|
52
|
+
* Developer's Console, e.g. 'grape-spaceship-123'. We will also check
|
|
53
|
+
* the environment variable GCLOUD_PROJECT for your project ID. If your
|
|
54
|
+
* app is running in an environment which supports
|
|
55
|
+
* {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
|
|
56
|
+
* your project ID will be detected automatically.
|
|
57
|
+
* @param {string} [options.apiEndpoint] - The domain name of the
|
|
58
|
+
* API remote host.
|
|
59
|
+
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
|
|
60
|
+
* Follows the structure of {@link gapicConfig}.
|
|
61
|
+
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
|
|
62
|
+
* For more information, please check the
|
|
63
|
+
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
|
|
64
|
+
* @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
|
|
65
|
+
* need to avoid loading the default gRPC version and want to use the fallback
|
|
66
|
+
* HTTP implementation. Load only fallback version and pass it to the constructor:
|
|
67
|
+
* ```
|
|
68
|
+
* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
|
|
69
|
+
* const client = new DataObjectServiceClient({fallback: true}, gax);
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
|
|
73
|
+
/**
|
|
74
|
+
* Initialize the client.
|
|
75
|
+
* Performs asynchronous operations (such as authentication) and prepares the client.
|
|
76
|
+
* This function will be called automatically when any class method is called for the
|
|
77
|
+
* first time, but if you need to initialize it before calling an actual method,
|
|
78
|
+
* feel free to call initialize() directly.
|
|
79
|
+
*
|
|
80
|
+
* You can await on this method if you want to make sure the client is initialized.
|
|
81
|
+
*
|
|
82
|
+
* @returns {Promise} A promise that resolves to an authenticated service stub.
|
|
83
|
+
*/
|
|
84
|
+
initialize(): Promise<{
|
|
85
|
+
[name: string]: Function;
|
|
86
|
+
}>;
|
|
87
|
+
/**
|
|
88
|
+
* The DNS address for this API service.
|
|
89
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
|
90
|
+
* @returns {string} The DNS address for this service.
|
|
91
|
+
*/
|
|
92
|
+
static get servicePath(): string;
|
|
93
|
+
/**
|
|
94
|
+
* The DNS address for this API service - same as servicePath.
|
|
95
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
|
96
|
+
* @returns {string} The DNS address for this service.
|
|
97
|
+
*/
|
|
98
|
+
static get apiEndpoint(): string;
|
|
99
|
+
/**
|
|
100
|
+
* The DNS address for this API service.
|
|
101
|
+
* @returns {string} The DNS address for this service.
|
|
102
|
+
*/
|
|
103
|
+
get apiEndpoint(): string;
|
|
104
|
+
get universeDomain(): string;
|
|
105
|
+
/**
|
|
106
|
+
* The port for this API service.
|
|
107
|
+
* @returns {number} The default port for this service.
|
|
108
|
+
*/
|
|
109
|
+
static get port(): number;
|
|
110
|
+
/**
|
|
111
|
+
* The scopes needed to make gRPC calls for every method defined
|
|
112
|
+
* in this service.
|
|
113
|
+
* @returns {string[]} List of default scopes.
|
|
114
|
+
*/
|
|
115
|
+
static get scopes(): string[];
|
|
116
|
+
getProjectId(): Promise<string>;
|
|
117
|
+
getProjectId(callback: Callback<string, undefined, undefined>): void;
|
|
118
|
+
/**
|
|
119
|
+
* Creates a dataObject.
|
|
120
|
+
*
|
|
121
|
+
* @param {Object} request
|
|
122
|
+
* The request object that will be sent.
|
|
123
|
+
* @param {string} request.parent
|
|
124
|
+
* Required. The resource name of the Collection to create the DataObject in.
|
|
125
|
+
* Format: `projects/{project}/locations/{location}/collections/{collection}`
|
|
126
|
+
* @param {string} request.dataObjectId
|
|
127
|
+
* Required. The id of the dataObject to create.
|
|
128
|
+
* The id must be 1-63 characters long, and comply with
|
|
129
|
+
* [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
|
|
130
|
+
* Specifically, it must be 1-63 characters long and match the regular
|
|
131
|
+
* expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`.
|
|
132
|
+
* @param {google.cloud.vectorsearch.v1.DataObject} request.dataObject
|
|
133
|
+
* Required. The DataObject to create.
|
|
134
|
+
* @param {object} [options]
|
|
135
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
136
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
137
|
+
* The first element of the array is an object representing {@link protos.google.cloud.vectorsearch.v1.DataObject|DataObject}.
|
|
138
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
139
|
+
* for more details and examples.
|
|
140
|
+
* @example <caption>include:samples/generated/v1/data_object_service.create_data_object.js</caption>
|
|
141
|
+
* region_tag:vectorsearch_v1_generated_DataObjectService_CreateDataObject_async
|
|
142
|
+
*/
|
|
143
|
+
createDataObject(request?: protos.google.cloud.vectorsearch.v1.ICreateDataObjectRequest, options?: CallOptions): Promise<[
|
|
144
|
+
protos.google.cloud.vectorsearch.v1.IDataObject,
|
|
145
|
+
protos.google.cloud.vectorsearch.v1.ICreateDataObjectRequest | undefined,
|
|
146
|
+
{} | undefined
|
|
147
|
+
]>;
|
|
148
|
+
createDataObject(request: protos.google.cloud.vectorsearch.v1.ICreateDataObjectRequest, options: CallOptions, callback: Callback<protos.google.cloud.vectorsearch.v1.IDataObject, protos.google.cloud.vectorsearch.v1.ICreateDataObjectRequest | null | undefined, {} | null | undefined>): void;
|
|
149
|
+
createDataObject(request: protos.google.cloud.vectorsearch.v1.ICreateDataObjectRequest, callback: Callback<protos.google.cloud.vectorsearch.v1.IDataObject, protos.google.cloud.vectorsearch.v1.ICreateDataObjectRequest | null | undefined, {} | null | undefined>): void;
|
|
150
|
+
/**
|
|
151
|
+
* Creates a batch of dataObjects.
|
|
152
|
+
*
|
|
153
|
+
* @param {Object} request
|
|
154
|
+
* The request object that will be sent.
|
|
155
|
+
* @param {string} request.parent
|
|
156
|
+
* Required. The resource name of the Collection to create the DataObjects in.
|
|
157
|
+
* Format: `projects/{project}/locations/{location}/collections/{collection}`.
|
|
158
|
+
* The parent field in the CreateDataObjectRequest messages must match this
|
|
159
|
+
* field.
|
|
160
|
+
* @param {number[]} request.requests
|
|
161
|
+
* Required. The request message specifying the resources to create.
|
|
162
|
+
* A maximum of 1000 DataObjects can be created in a batch.
|
|
163
|
+
* @param {object} [options]
|
|
164
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
165
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
166
|
+
* The first element of the array is an object representing {@link protos.google.cloud.vectorsearch.v1.BatchCreateDataObjectsResponse|BatchCreateDataObjectsResponse}.
|
|
167
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
168
|
+
* for more details and examples.
|
|
169
|
+
* @example <caption>include:samples/generated/v1/data_object_service.batch_create_data_objects.js</caption>
|
|
170
|
+
* region_tag:vectorsearch_v1_generated_DataObjectService_BatchCreateDataObjects_async
|
|
171
|
+
*/
|
|
172
|
+
batchCreateDataObjects(request?: protos.google.cloud.vectorsearch.v1.IBatchCreateDataObjectsRequest, options?: CallOptions): Promise<[
|
|
173
|
+
protos.google.cloud.vectorsearch.v1.IBatchCreateDataObjectsResponse,
|
|
174
|
+
protos.google.cloud.vectorsearch.v1.IBatchCreateDataObjectsRequest | undefined,
|
|
175
|
+
{} | undefined
|
|
176
|
+
]>;
|
|
177
|
+
batchCreateDataObjects(request: protos.google.cloud.vectorsearch.v1.IBatchCreateDataObjectsRequest, options: CallOptions, callback: Callback<protos.google.cloud.vectorsearch.v1.IBatchCreateDataObjectsResponse, protos.google.cloud.vectorsearch.v1.IBatchCreateDataObjectsRequest | null | undefined, {} | null | undefined>): void;
|
|
178
|
+
batchCreateDataObjects(request: protos.google.cloud.vectorsearch.v1.IBatchCreateDataObjectsRequest, callback: Callback<protos.google.cloud.vectorsearch.v1.IBatchCreateDataObjectsResponse, protos.google.cloud.vectorsearch.v1.IBatchCreateDataObjectsRequest | null | undefined, {} | null | undefined>): void;
|
|
179
|
+
/**
|
|
180
|
+
* Gets a data object.
|
|
181
|
+
*
|
|
182
|
+
* @param {Object} request
|
|
183
|
+
* The request object that will be sent.
|
|
184
|
+
* @param {string} request.name
|
|
185
|
+
* Required. The name of the DataObject resource.
|
|
186
|
+
* Format:
|
|
187
|
+
* `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`
|
|
188
|
+
* @param {object} [options]
|
|
189
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
190
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
191
|
+
* The first element of the array is an object representing {@link protos.google.cloud.vectorsearch.v1.DataObject|DataObject}.
|
|
192
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
193
|
+
* for more details and examples.
|
|
194
|
+
* @example <caption>include:samples/generated/v1/data_object_service.get_data_object.js</caption>
|
|
195
|
+
* region_tag:vectorsearch_v1_generated_DataObjectService_GetDataObject_async
|
|
196
|
+
*/
|
|
197
|
+
getDataObject(request?: protos.google.cloud.vectorsearch.v1.IGetDataObjectRequest, options?: CallOptions): Promise<[
|
|
198
|
+
protos.google.cloud.vectorsearch.v1.IDataObject,
|
|
199
|
+
protos.google.cloud.vectorsearch.v1.IGetDataObjectRequest | undefined,
|
|
200
|
+
{} | undefined
|
|
201
|
+
]>;
|
|
202
|
+
getDataObject(request: protos.google.cloud.vectorsearch.v1.IGetDataObjectRequest, options: CallOptions, callback: Callback<protos.google.cloud.vectorsearch.v1.IDataObject, protos.google.cloud.vectorsearch.v1.IGetDataObjectRequest | null | undefined, {} | null | undefined>): void;
|
|
203
|
+
getDataObject(request: protos.google.cloud.vectorsearch.v1.IGetDataObjectRequest, callback: Callback<protos.google.cloud.vectorsearch.v1.IDataObject, protos.google.cloud.vectorsearch.v1.IGetDataObjectRequest | null | undefined, {} | null | undefined>): void;
|
|
204
|
+
/**
|
|
205
|
+
* Updates a dataObject.
|
|
206
|
+
*
|
|
207
|
+
* @param {Object} request
|
|
208
|
+
* The request object that will be sent.
|
|
209
|
+
* @param {google.cloud.vectorsearch.v1.DataObject} request.dataObject
|
|
210
|
+
* Required. The DataObject which replaces the resource on the server.
|
|
211
|
+
* @param {google.protobuf.FieldMask} [request.updateMask]
|
|
212
|
+
* Optional. The update mask applies to the resource. See
|
|
213
|
+
* {@link protos.google.protobuf.FieldMask|google.protobuf.FieldMask}.
|
|
214
|
+
* @param {object} [options]
|
|
215
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
216
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
217
|
+
* The first element of the array is an object representing {@link protos.google.cloud.vectorsearch.v1.DataObject|DataObject}.
|
|
218
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
219
|
+
* for more details and examples.
|
|
220
|
+
* @example <caption>include:samples/generated/v1/data_object_service.update_data_object.js</caption>
|
|
221
|
+
* region_tag:vectorsearch_v1_generated_DataObjectService_UpdateDataObject_async
|
|
222
|
+
*/
|
|
223
|
+
updateDataObject(request?: protos.google.cloud.vectorsearch.v1.IUpdateDataObjectRequest, options?: CallOptions): Promise<[
|
|
224
|
+
protos.google.cloud.vectorsearch.v1.IDataObject,
|
|
225
|
+
protos.google.cloud.vectorsearch.v1.IUpdateDataObjectRequest | undefined,
|
|
226
|
+
{} | undefined
|
|
227
|
+
]>;
|
|
228
|
+
updateDataObject(request: protos.google.cloud.vectorsearch.v1.IUpdateDataObjectRequest, options: CallOptions, callback: Callback<protos.google.cloud.vectorsearch.v1.IDataObject, protos.google.cloud.vectorsearch.v1.IUpdateDataObjectRequest | null | undefined, {} | null | undefined>): void;
|
|
229
|
+
updateDataObject(request: protos.google.cloud.vectorsearch.v1.IUpdateDataObjectRequest, callback: Callback<protos.google.cloud.vectorsearch.v1.IDataObject, protos.google.cloud.vectorsearch.v1.IUpdateDataObjectRequest | null | undefined, {} | null | undefined>): void;
|
|
230
|
+
/**
|
|
231
|
+
* Updates dataObjects in a batch.
|
|
232
|
+
*
|
|
233
|
+
* @param {Object} request
|
|
234
|
+
* The request object that will be sent.
|
|
235
|
+
* @param {string} request.parent
|
|
236
|
+
* Required. The resource name of the Collection to update the DataObjects in.
|
|
237
|
+
* Format: `projects/{project}/locations/{location}/collections/{collection}`.
|
|
238
|
+
* The parent field in the UpdateDataObjectRequest messages must match this
|
|
239
|
+
* field.
|
|
240
|
+
* @param {number[]} request.requests
|
|
241
|
+
* Required. The request message specifying the resources to update.
|
|
242
|
+
* A maximum of 1000 DataObjects can be updated in a batch.
|
|
243
|
+
* @param {object} [options]
|
|
244
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
245
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
246
|
+
* The first element of the array is an object representing {@link protos.google.cloud.vectorsearch.v1.BatchUpdateDataObjectsResponse|BatchUpdateDataObjectsResponse}.
|
|
247
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
248
|
+
* for more details and examples.
|
|
249
|
+
* @example <caption>include:samples/generated/v1/data_object_service.batch_update_data_objects.js</caption>
|
|
250
|
+
* region_tag:vectorsearch_v1_generated_DataObjectService_BatchUpdateDataObjects_async
|
|
251
|
+
*/
|
|
252
|
+
batchUpdateDataObjects(request?: protos.google.cloud.vectorsearch.v1.IBatchUpdateDataObjectsRequest, options?: CallOptions): Promise<[
|
|
253
|
+
protos.google.cloud.vectorsearch.v1.IBatchUpdateDataObjectsResponse,
|
|
254
|
+
protos.google.cloud.vectorsearch.v1.IBatchUpdateDataObjectsRequest | undefined,
|
|
255
|
+
{} | undefined
|
|
256
|
+
]>;
|
|
257
|
+
batchUpdateDataObjects(request: protos.google.cloud.vectorsearch.v1.IBatchUpdateDataObjectsRequest, options: CallOptions, callback: Callback<protos.google.cloud.vectorsearch.v1.IBatchUpdateDataObjectsResponse, protos.google.cloud.vectorsearch.v1.IBatchUpdateDataObjectsRequest | null | undefined, {} | null | undefined>): void;
|
|
258
|
+
batchUpdateDataObjects(request: protos.google.cloud.vectorsearch.v1.IBatchUpdateDataObjectsRequest, callback: Callback<protos.google.cloud.vectorsearch.v1.IBatchUpdateDataObjectsResponse, protos.google.cloud.vectorsearch.v1.IBatchUpdateDataObjectsRequest | null | undefined, {} | null | undefined>): void;
|
|
259
|
+
/**
|
|
260
|
+
* Deletes a dataObject.
|
|
261
|
+
*
|
|
262
|
+
* @param {Object} request
|
|
263
|
+
* The request object that will be sent.
|
|
264
|
+
* @param {string} request.name
|
|
265
|
+
* Required. The name of the DataObject resource to be deleted.
|
|
266
|
+
* Format:
|
|
267
|
+
* `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`
|
|
268
|
+
* @param {string} [request.etag]
|
|
269
|
+
* Optional. The current etag of the DataObject.
|
|
270
|
+
* If an etag is provided and does not match the current etag of the
|
|
271
|
+
* DataObject, deletion will be blocked and an ABORTED error will be returned.
|
|
272
|
+
* @param {object} [options]
|
|
273
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
274
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
275
|
+
* The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
|
|
276
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
277
|
+
* for more details and examples.
|
|
278
|
+
* @example <caption>include:samples/generated/v1/data_object_service.delete_data_object.js</caption>
|
|
279
|
+
* region_tag:vectorsearch_v1_generated_DataObjectService_DeleteDataObject_async
|
|
280
|
+
*/
|
|
281
|
+
deleteDataObject(request?: protos.google.cloud.vectorsearch.v1.IDeleteDataObjectRequest, options?: CallOptions): Promise<[
|
|
282
|
+
protos.google.protobuf.IEmpty,
|
|
283
|
+
protos.google.cloud.vectorsearch.v1.IDeleteDataObjectRequest | undefined,
|
|
284
|
+
{} | undefined
|
|
285
|
+
]>;
|
|
286
|
+
deleteDataObject(request: protos.google.cloud.vectorsearch.v1.IDeleteDataObjectRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.vectorsearch.v1.IDeleteDataObjectRequest | null | undefined, {} | null | undefined>): void;
|
|
287
|
+
deleteDataObject(request: protos.google.cloud.vectorsearch.v1.IDeleteDataObjectRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.vectorsearch.v1.IDeleteDataObjectRequest | null | undefined, {} | null | undefined>): void;
|
|
288
|
+
/**
|
|
289
|
+
* Deletes dataObjects in a batch.
|
|
290
|
+
*
|
|
291
|
+
* @param {Object} request
|
|
292
|
+
* The request object that will be sent.
|
|
293
|
+
* @param {string} request.parent
|
|
294
|
+
* Required. The resource name of the Collection to delete the DataObjects in.
|
|
295
|
+
* Format: `projects/{project}/locations/{location}/collections/{collection}`.
|
|
296
|
+
* @param {number[]} request.requests
|
|
297
|
+
* Required. The request message specifying the resources to delete.
|
|
298
|
+
* A maximum of 1000 DataObjects can be deleted in a batch.
|
|
299
|
+
* @param {object} [options]
|
|
300
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
301
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
302
|
+
* The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
|
|
303
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
304
|
+
* for more details and examples.
|
|
305
|
+
* @example <caption>include:samples/generated/v1/data_object_service.batch_delete_data_objects.js</caption>
|
|
306
|
+
* region_tag:vectorsearch_v1_generated_DataObjectService_BatchDeleteDataObjects_async
|
|
307
|
+
*/
|
|
308
|
+
batchDeleteDataObjects(request?: protos.google.cloud.vectorsearch.v1.IBatchDeleteDataObjectsRequest, options?: CallOptions): Promise<[
|
|
309
|
+
protos.google.protobuf.IEmpty,
|
|
310
|
+
protos.google.cloud.vectorsearch.v1.IBatchDeleteDataObjectsRequest | undefined,
|
|
311
|
+
{} | undefined
|
|
312
|
+
]>;
|
|
313
|
+
batchDeleteDataObjects(request: protos.google.cloud.vectorsearch.v1.IBatchDeleteDataObjectsRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.vectorsearch.v1.IBatchDeleteDataObjectsRequest | null | undefined, {} | null | undefined>): void;
|
|
314
|
+
batchDeleteDataObjects(request: protos.google.cloud.vectorsearch.v1.IBatchDeleteDataObjectsRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.vectorsearch.v1.IBatchDeleteDataObjectsRequest | null | undefined, {} | null | undefined>): void;
|
|
315
|
+
/**
|
|
316
|
+
* Gets information about a location.
|
|
317
|
+
*
|
|
318
|
+
* @param {Object} request
|
|
319
|
+
* The request object that will be sent.
|
|
320
|
+
* @param {string} request.name
|
|
321
|
+
* Resource name for the location.
|
|
322
|
+
* @param {object} [options]
|
|
323
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
|
|
324
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
325
|
+
* The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
|
|
326
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
327
|
+
* for more details and examples.
|
|
328
|
+
* @example
|
|
329
|
+
* ```
|
|
330
|
+
* const [response] = await client.getLocation(request);
|
|
331
|
+
* ```
|
|
332
|
+
*/
|
|
333
|
+
getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>, callback?: Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>): Promise<LocationProtos.google.cloud.location.ILocation>;
|
|
334
|
+
/**
|
|
335
|
+
* Lists information about the supported locations for this service. Returns an iterable object.
|
|
336
|
+
*
|
|
337
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
|
338
|
+
* @param {Object} request
|
|
339
|
+
* The request object that will be sent.
|
|
340
|
+
* @param {string} request.name
|
|
341
|
+
* The resource that owns the locations collection, if applicable.
|
|
342
|
+
* @param {string} request.filter
|
|
343
|
+
* The standard list filter.
|
|
344
|
+
* @param {number} request.pageSize
|
|
345
|
+
* The standard list page size.
|
|
346
|
+
* @param {string} request.pageToken
|
|
347
|
+
* The standard list page token.
|
|
348
|
+
* @param {object} [options]
|
|
349
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
350
|
+
* @returns {Object}
|
|
351
|
+
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
|
352
|
+
* When you iterate the returned iterable, each element will be an object representing
|
|
353
|
+
* {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
|
|
354
|
+
* so you can stop the iteration when you don't need more results.
|
|
355
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
356
|
+
* for more details and examples.
|
|
357
|
+
* @example
|
|
358
|
+
* ```
|
|
359
|
+
* const iterable = client.listLocationsAsync(request);
|
|
360
|
+
* for await (const response of iterable) {
|
|
361
|
+
* // process response
|
|
362
|
+
* }
|
|
363
|
+
* ```
|
|
364
|
+
*/
|
|
365
|
+
listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
|
|
366
|
+
/**
|
|
367
|
+
* Return a fully-qualified collection resource name string.
|
|
368
|
+
*
|
|
369
|
+
* @param {string} project
|
|
370
|
+
* @param {string} location
|
|
371
|
+
* @param {string} collection
|
|
372
|
+
* @returns {string} Resource name string.
|
|
373
|
+
*/
|
|
374
|
+
collectionPath(project: string, location: string, collection: string): string;
|
|
375
|
+
/**
|
|
376
|
+
* Parse the project from Collection resource.
|
|
377
|
+
*
|
|
378
|
+
* @param {string} collectionName
|
|
379
|
+
* A fully-qualified path representing Collection resource.
|
|
380
|
+
* @returns {string} A string representing the project.
|
|
381
|
+
*/
|
|
382
|
+
matchProjectFromCollectionName(collectionName: string): string | number;
|
|
383
|
+
/**
|
|
384
|
+
* Parse the location from Collection resource.
|
|
385
|
+
*
|
|
386
|
+
* @param {string} collectionName
|
|
387
|
+
* A fully-qualified path representing Collection resource.
|
|
388
|
+
* @returns {string} A string representing the location.
|
|
389
|
+
*/
|
|
390
|
+
matchLocationFromCollectionName(collectionName: string): string | number;
|
|
391
|
+
/**
|
|
392
|
+
* Parse the collection from Collection resource.
|
|
393
|
+
*
|
|
394
|
+
* @param {string} collectionName
|
|
395
|
+
* A fully-qualified path representing Collection resource.
|
|
396
|
+
* @returns {string} A string representing the collection.
|
|
397
|
+
*/
|
|
398
|
+
matchCollectionFromCollectionName(collectionName: string): string | number;
|
|
399
|
+
/**
|
|
400
|
+
* Return a fully-qualified dataObject resource name string.
|
|
401
|
+
*
|
|
402
|
+
* @param {string} project
|
|
403
|
+
* @param {string} location
|
|
404
|
+
* @param {string} collection
|
|
405
|
+
* @param {string} dataObject
|
|
406
|
+
* @returns {string} Resource name string.
|
|
407
|
+
*/
|
|
408
|
+
dataObjectPath(project: string, location: string, collection: string, dataObject: string): string;
|
|
409
|
+
/**
|
|
410
|
+
* Parse the project from DataObject resource.
|
|
411
|
+
*
|
|
412
|
+
* @param {string} dataObjectName
|
|
413
|
+
* A fully-qualified path representing DataObject resource.
|
|
414
|
+
* @returns {string} A string representing the project.
|
|
415
|
+
*/
|
|
416
|
+
matchProjectFromDataObjectName(dataObjectName: string): string | number;
|
|
417
|
+
/**
|
|
418
|
+
* Parse the location from DataObject resource.
|
|
419
|
+
*
|
|
420
|
+
* @param {string} dataObjectName
|
|
421
|
+
* A fully-qualified path representing DataObject resource.
|
|
422
|
+
* @returns {string} A string representing the location.
|
|
423
|
+
*/
|
|
424
|
+
matchLocationFromDataObjectName(dataObjectName: string): string | number;
|
|
425
|
+
/**
|
|
426
|
+
* Parse the collection from DataObject resource.
|
|
427
|
+
*
|
|
428
|
+
* @param {string} dataObjectName
|
|
429
|
+
* A fully-qualified path representing DataObject resource.
|
|
430
|
+
* @returns {string} A string representing the collection.
|
|
431
|
+
*/
|
|
432
|
+
matchCollectionFromDataObjectName(dataObjectName: string): string | number;
|
|
433
|
+
/**
|
|
434
|
+
* Parse the dataObject from DataObject resource.
|
|
435
|
+
*
|
|
436
|
+
* @param {string} dataObjectName
|
|
437
|
+
* A fully-qualified path representing DataObject resource.
|
|
438
|
+
* @returns {string} A string representing the dataObject.
|
|
439
|
+
*/
|
|
440
|
+
matchDataObjectFromDataObjectName(dataObjectName: string): string | number;
|
|
441
|
+
/**
|
|
442
|
+
* Return a fully-qualified index resource name string.
|
|
443
|
+
*
|
|
444
|
+
* @param {string} project
|
|
445
|
+
* @param {string} location
|
|
446
|
+
* @param {string} collection
|
|
447
|
+
* @param {string} index
|
|
448
|
+
* @returns {string} Resource name string.
|
|
449
|
+
*/
|
|
450
|
+
indexPath(project: string, location: string, collection: string, index: string): string;
|
|
451
|
+
/**
|
|
452
|
+
* Parse the project from Index resource.
|
|
453
|
+
*
|
|
454
|
+
* @param {string} indexName
|
|
455
|
+
* A fully-qualified path representing Index resource.
|
|
456
|
+
* @returns {string} A string representing the project.
|
|
457
|
+
*/
|
|
458
|
+
matchProjectFromIndexName(indexName: string): string | number;
|
|
459
|
+
/**
|
|
460
|
+
* Parse the location from Index resource.
|
|
461
|
+
*
|
|
462
|
+
* @param {string} indexName
|
|
463
|
+
* A fully-qualified path representing Index resource.
|
|
464
|
+
* @returns {string} A string representing the location.
|
|
465
|
+
*/
|
|
466
|
+
matchLocationFromIndexName(indexName: string): string | number;
|
|
467
|
+
/**
|
|
468
|
+
* Parse the collection from Index resource.
|
|
469
|
+
*
|
|
470
|
+
* @param {string} indexName
|
|
471
|
+
* A fully-qualified path representing Index resource.
|
|
472
|
+
* @returns {string} A string representing the collection.
|
|
473
|
+
*/
|
|
474
|
+
matchCollectionFromIndexName(indexName: string): string | number;
|
|
475
|
+
/**
|
|
476
|
+
* Parse the index from Index resource.
|
|
477
|
+
*
|
|
478
|
+
* @param {string} indexName
|
|
479
|
+
* A fully-qualified path representing Index resource.
|
|
480
|
+
* @returns {string} A string representing the index.
|
|
481
|
+
*/
|
|
482
|
+
matchIndexFromIndexName(indexName: string): string | number;
|
|
483
|
+
/**
|
|
484
|
+
* Terminate the gRPC channel and close the client.
|
|
485
|
+
*
|
|
486
|
+
* The client will no longer be usable and all future behavior is undefined.
|
|
487
|
+
* @returns {Promise} A promise that resolves when the client is closed.
|
|
488
|
+
*/
|
|
489
|
+
close(): Promise<void>;
|
|
490
|
+
}
|