@google-cloud/discoveryengine 1.1.0 → 1.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.
Files changed (59) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +39 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +190 -0
  4. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +134 -0
  5. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +138 -0
  6. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +306 -0
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +98 -0
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +307 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +121 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +318 -0
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +370 -0
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +336 -0
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +343 -0
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +159 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +227 -0
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +312 -0
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +260 -0
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +874 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +152 -0
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +475 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +154 -0
  22. package/build/protos/protos.d.ts +16365 -7
  23. package/build/protos/protos.js +42499 -1945
  24. package/build/protos/protos.json +4455 -5
  25. package/build/src/index.d.ts +3 -1
  26. package/build/src/index.js +4 -1
  27. package/build/src/v1alpha/completion_service_client.d.ts +645 -0
  28. package/build/src/v1alpha/completion_service_client.js +901 -0
  29. package/build/src/v1alpha/completion_service_client_config.json +43 -0
  30. package/build/src/v1alpha/conversational_search_service_client.d.ts +1040 -0
  31. package/build/src/v1alpha/conversational_search_service_client.js +1333 -0
  32. package/build/src/v1alpha/conversational_search_service_client_config.json +68 -0
  33. package/build/src/v1alpha/data_store_service_client.d.ts +1060 -0
  34. package/build/src/v1alpha/data_store_service_client.js +1431 -0
  35. package/build/src/v1alpha/data_store_service_client_config.json +46 -0
  36. package/build/src/v1alpha/document_service_client.d.ts +1257 -0
  37. package/build/src/v1alpha/document_service_client.js +1555 -0
  38. package/build/src/v1alpha/document_service_client_config.json +82 -0
  39. package/build/src/v1alpha/engine_service_client.d.ts +1079 -0
  40. package/build/src/v1alpha/engine_service_client.js +1481 -0
  41. package/build/src/v1alpha/engine_service_client_config.json +58 -0
  42. package/build/src/v1alpha/index.d.ts +10 -0
  43. package/build/src/v1alpha/index.js +41 -0
  44. package/build/src/v1alpha/recommendation_service_client.d.ts +858 -0
  45. package/build/src/v1alpha/recommendation_service_client.js +1100 -0
  46. package/build/src/v1alpha/recommendation_service_client_config.json +43 -0
  47. package/build/src/v1alpha/schema_service_client.d.ts +977 -0
  48. package/build/src/v1alpha/schema_service_client.js +1385 -0
  49. package/build/src/v1alpha/schema_service_client_config.json +63 -0
  50. package/build/src/v1alpha/search_service_client.d.ts +1394 -0
  51. package/build/src/v1alpha/search_service_client.js +1640 -0
  52. package/build/src/v1alpha/search_service_client_config.json +43 -0
  53. package/build/src/v1alpha/site_search_engine_service_client.d.ts +821 -0
  54. package/build/src/v1alpha/site_search_engine_service_client.js +1249 -0
  55. package/build/src/v1alpha/site_search_engine_service_client_config.json +30 -0
  56. package/build/src/v1alpha/user_event_service_client.d.ts +895 -0
  57. package/build/src/v1alpha/user_event_service_client.js +1232 -0
  58. package/build/src/v1alpha/user_event_service_client_config.json +67 -0
  59. package/package.json +5 -5
@@ -0,0 +1,821 @@
1
+ import type * as gax from 'google-gax';
2
+ import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, LocationsClient, LocationProtos } from 'google-gax';
3
+ import * as protos from '../../protos/protos';
4
+ /**
5
+ * Service for managing site search related resources.
6
+ * @class
7
+ * @memberof v1alpha
8
+ */
9
+ export declare class SiteSearchEngineServiceClient {
10
+ private _terminated;
11
+ private _opts;
12
+ private _providedCustomServicePath;
13
+ private _gaxModule;
14
+ private _gaxGrpc;
15
+ private _protos;
16
+ private _defaults;
17
+ auth: gax.GoogleAuth;
18
+ descriptors: Descriptors;
19
+ warn: (code: string, message: string, warnType?: string) => void;
20
+ innerApiCalls: {
21
+ [name: string]: Function;
22
+ };
23
+ locationsClient: LocationsClient;
24
+ pathTemplates: {
25
+ [name: string]: gax.PathTemplate;
26
+ };
27
+ operationsClient: gax.OperationsClient;
28
+ siteSearchEngineServiceStub?: Promise<{
29
+ [name: string]: Function;
30
+ }>;
31
+ /**
32
+ * Construct an instance of SiteSearchEngineServiceClient.
33
+ *
34
+ * @param {object} [options] - The configuration object.
35
+ * The options accepted by the constructor are described in detail
36
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
37
+ * The common options are:
38
+ * @param {object} [options.credentials] - Credentials object.
39
+ * @param {string} [options.credentials.client_email]
40
+ * @param {string} [options.credentials.private_key]
41
+ * @param {string} [options.email] - Account email address. Required when
42
+ * using a .pem or .p12 keyFilename.
43
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
44
+ * .p12 key downloaded from the Google Developers Console. If you provide
45
+ * a path to a JSON file, the projectId option below is not necessary.
46
+ * NOTE: .pem and .p12 require you to specify options.email as well.
47
+ * @param {number} [options.port] - The port on which to connect to
48
+ * the remote host.
49
+ * @param {string} [options.projectId] - The project ID from the Google
50
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
51
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
52
+ * app is running in an environment which supports
53
+ * {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
54
+ * your project ID will be detected automatically.
55
+ * @param {string} [options.apiEndpoint] - The domain name of the
56
+ * API remote host.
57
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
58
+ * Follows the structure of {@link gapicConfig}.
59
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
60
+ * For more information, please check the
61
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
62
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
63
+ * need to avoid loading the default gRPC version and want to use the fallback
64
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
65
+ * ```
66
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
67
+ * const client = new SiteSearchEngineServiceClient({fallback: true}, gax);
68
+ * ```
69
+ */
70
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
71
+ /**
72
+ * Initialize the client.
73
+ * Performs asynchronous operations (such as authentication) and prepares the client.
74
+ * This function will be called automatically when any class method is called for the
75
+ * first time, but if you need to initialize it before calling an actual method,
76
+ * feel free to call initialize() directly.
77
+ *
78
+ * You can await on this method if you want to make sure the client is initialized.
79
+ *
80
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
81
+ */
82
+ initialize(): Promise<{
83
+ [name: string]: Function;
84
+ }>;
85
+ /**
86
+ * The DNS address for this API service.
87
+ * @returns {string} The DNS address for this service.
88
+ */
89
+ static get servicePath(): string;
90
+ /**
91
+ * The DNS address for this API service - same as servicePath(),
92
+ * exists for compatibility reasons.
93
+ * @returns {string} The DNS address for this service.
94
+ */
95
+ static get apiEndpoint(): string;
96
+ /**
97
+ * The port for this API service.
98
+ * @returns {number} The default port for this service.
99
+ */
100
+ static get port(): number;
101
+ /**
102
+ * The scopes needed to make gRPC calls for every method defined
103
+ * in this service.
104
+ * @returns {string[]} List of default scopes.
105
+ */
106
+ static get scopes(): string[];
107
+ getProjectId(): Promise<string>;
108
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
109
+ /**
110
+ * Request on-demand recrawl for a list of URIs.
111
+ *
112
+ * @param {Object} request
113
+ * The request object that will be sent.
114
+ * @param {string} request.siteSearchEngine
115
+ * Required. Full resource name of the
116
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SiteSearchEngine|SiteSearchEngine},
117
+ * such as
118
+ * `projects/* /locations/* /collections/* /dataStores/* /siteSearchEngine`.
119
+ * @param {string[]} request.uris
120
+ * Required. List of URIs to crawl. At most 10K URIs are supported, otherwise
121
+ * an INVALID_ARGUMENT error is thrown. Each URI should match at least one
122
+ * {@link protos.google.cloud.discoveryengine.v1alpha.TargetSite|TargetSite} in
123
+ * `site_search_engine`.
124
+ * @param {object} [options]
125
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
126
+ * @returns {Promise} - The promise which resolves to an array.
127
+ * The first element of the array is an object representing
128
+ * a long running operation. Its `promise()` method returns a promise
129
+ * you can `await` for.
130
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
131
+ * for more details and examples.
132
+ * @example <caption>include:samples/generated/v1alpha/site_search_engine_service.recrawl_uris.js</caption>
133
+ * region_tag:discoveryengine_v1alpha_generated_SiteSearchEngineService_RecrawlUris_async
134
+ */
135
+ recrawlUris(request?: protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisRequest, options?: CallOptions): Promise<[
136
+ LROperation<protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisResponse, protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisMetadata>,
137
+ protos.google.longrunning.IOperation | undefined,
138
+ {} | undefined
139
+ ]>;
140
+ recrawlUris(request: protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisResponse, protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
141
+ recrawlUris(request: protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisResponse, protos.google.cloud.discoveryengine.v1alpha.IRecrawlUrisMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
142
+ /**
143
+ * Check the status of the long running operation returned by `recrawlUris()`.
144
+ * @param {String} name
145
+ * The operation name that will be passed.
146
+ * @returns {Promise} - The promise which resolves to an object.
147
+ * The decoded operation object has result and metadata field to get information from.
148
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
149
+ * for more details and examples.
150
+ * @example <caption>include:samples/generated/v1alpha/site_search_engine_service.recrawl_uris.js</caption>
151
+ * region_tag:discoveryengine_v1alpha_generated_SiteSearchEngineService_RecrawlUris_async
152
+ */
153
+ checkRecrawlUrisProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse, protos.google.cloud.discoveryengine.v1alpha.RecrawlUrisMetadata>>;
154
+ /**
155
+ * Gets information about a location.
156
+ *
157
+ * @param {Object} request
158
+ * The request object that will be sent.
159
+ * @param {string} request.name
160
+ * Resource name for the location.
161
+ * @param {object} [options]
162
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
163
+ * @returns {Promise} - The promise which resolves to an array.
164
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
165
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
166
+ * for more details and examples.
167
+ * @example
168
+ * ```
169
+ * const [response] = await client.getLocation(request);
170
+ * ```
171
+ */
172
+ 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>;
173
+ /**
174
+ * Lists information about the supported locations for this service. Returns an iterable object.
175
+ *
176
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
177
+ * @param {Object} request
178
+ * The request object that will be sent.
179
+ * @param {string} request.name
180
+ * The resource that owns the locations collection, if applicable.
181
+ * @param {string} request.filter
182
+ * The standard list filter.
183
+ * @param {number} request.pageSize
184
+ * The standard list page size.
185
+ * @param {string} request.pageToken
186
+ * The standard list page token.
187
+ * @param {object} [options]
188
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
189
+ * @returns {Object}
190
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
191
+ * When you iterate the returned iterable, each element will be an object representing
192
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
193
+ * so you can stop the iteration when you don't need more results.
194
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
195
+ * for more details and examples.
196
+ * @example
197
+ * ```
198
+ * const iterable = client.listLocationsAsync(request);
199
+ * for await (const response of iterable) {
200
+ * // process response
201
+ * }
202
+ * ```
203
+ */
204
+ listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
205
+ /**
206
+ * Gets the latest state of a long-running operation. Clients can use this
207
+ * method to poll the operation result at intervals as recommended by the API
208
+ * service.
209
+ *
210
+ * @param {Object} request - The request object that will be sent.
211
+ * @param {string} request.name - The name of the operation resource.
212
+ * @param {Object=} options
213
+ * Optional parameters. You can override the default settings for this call,
214
+ * e.g, timeout, retries, paginations, etc. See {@link
215
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
216
+ * for the details.
217
+ * @param {function(?Error, ?Object)=} callback
218
+ * The function which will be called with the result of the API call.
219
+ *
220
+ * The second parameter to the callback is an object representing
221
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
222
+ * @return {Promise} - The promise which resolves to an array.
223
+ * The first element of the array is an object representing
224
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
225
+ * The promise has a method named "cancel" which cancels the ongoing API call.
226
+ *
227
+ * @example
228
+ * ```
229
+ * const client = longrunning.operationsClient();
230
+ * const name = '';
231
+ * const [response] = await client.getOperation({name});
232
+ * // doThingsWith(response)
233
+ * ```
234
+ */
235
+ getOperation(request: protos.google.longrunning.GetOperationRequest, options?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;
236
+ /**
237
+ * Lists operations that match the specified filter in the request. If the
238
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
239
+ *
240
+ * For-await-of syntax is used with the iterable to recursively get response element on-demand.
241
+ *
242
+ * @param {Object} request - The request object that will be sent.
243
+ * @param {string} request.name - The name of the operation collection.
244
+ * @param {string} request.filter - The standard list filter.
245
+ * @param {number=} request.pageSize -
246
+ * The maximum number of resources contained in the underlying API
247
+ * response. If page streaming is performed per-resource, this
248
+ * parameter does not affect the return value. If page streaming is
249
+ * performed per-page, this determines the maximum number of
250
+ * resources in a page.
251
+ * @param {Object=} options
252
+ * Optional parameters. You can override the default settings for this call,
253
+ * e.g, timeout, retries, paginations, etc. See {@link
254
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
255
+ * details.
256
+ * @returns {Object}
257
+ * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
258
+ *
259
+ * @example
260
+ * ```
261
+ * const client = longrunning.operationsClient();
262
+ * for await (const response of client.listOperationsAsync(request));
263
+ * // doThingsWith(response)
264
+ * ```
265
+ */
266
+ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
267
+ /**
268
+ * Starts asynchronous cancellation on a long-running operation. The server
269
+ * makes a best effort to cancel the operation, but success is not
270
+ * guaranteed. If the server doesn't support this method, it returns
271
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
272
+ * {@link Operations.GetOperation} or
273
+ * other methods to check whether the cancellation succeeded or whether the
274
+ * operation completed despite cancellation. On successful cancellation,
275
+ * the operation is not deleted; instead, it becomes an operation with
276
+ * an {@link Operation.error} value with a {@link google.rpc.Status.code} of
277
+ * 1, corresponding to `Code.CANCELLED`.
278
+ *
279
+ * @param {Object} request - The request object that will be sent.
280
+ * @param {string} request.name - The name of the operation resource to be cancelled.
281
+ * @param {Object=} options
282
+ * Optional parameters. You can override the default settings for this call,
283
+ * e.g, timeout, retries, paginations, etc. See {@link
284
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
285
+ * details.
286
+ * @param {function(?Error)=} callback
287
+ * The function which will be called with the result of the API call.
288
+ * @return {Promise} - The promise which resolves when API call finishes.
289
+ * The promise has a method named "cancel" which cancels the ongoing API
290
+ * call.
291
+ *
292
+ * @example
293
+ * ```
294
+ * const client = longrunning.operationsClient();
295
+ * await client.cancelOperation({name: ''});
296
+ * ```
297
+ */
298
+ cancelOperation(request: protos.google.longrunning.CancelOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.CancelOperationRequest, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;
299
+ /**
300
+ * Deletes a long-running operation. This method indicates that the client is
301
+ * no longer interested in the operation result. It does not cancel the
302
+ * operation. If the server doesn't support this method, it returns
303
+ * `google.rpc.Code.UNIMPLEMENTED`.
304
+ *
305
+ * @param {Object} request - The request object that will be sent.
306
+ * @param {string} request.name - The name of the operation resource to be deleted.
307
+ * @param {Object=} options
308
+ * Optional parameters. You can override the default settings for this call,
309
+ * e.g, timeout, retries, paginations, etc. See {@link
310
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
311
+ * for the details.
312
+ * @param {function(?Error)=} callback
313
+ * The function which will be called with the result of the API call.
314
+ * @return {Promise} - The promise which resolves when API call finishes.
315
+ * The promise has a method named "cancel" which cancels the ongoing API
316
+ * call.
317
+ *
318
+ * @example
319
+ * ```
320
+ * const client = longrunning.operationsClient();
321
+ * await client.deleteOperation({name: ''});
322
+ * ```
323
+ */
324
+ deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>): Promise<protos.google.protobuf.Empty>;
325
+ /**
326
+ * Return a fully-qualified engine resource name string.
327
+ *
328
+ * @param {string} project
329
+ * @param {string} location
330
+ * @param {string} collection
331
+ * @param {string} engine
332
+ * @returns {string} Resource name string.
333
+ */
334
+ enginePath(project: string, location: string, collection: string, engine: string): string;
335
+ /**
336
+ * Parse the project from Engine resource.
337
+ *
338
+ * @param {string} engineName
339
+ * A fully-qualified path representing Engine resource.
340
+ * @returns {string} A string representing the project.
341
+ */
342
+ matchProjectFromEngineName(engineName: string): string | number;
343
+ /**
344
+ * Parse the location from Engine resource.
345
+ *
346
+ * @param {string} engineName
347
+ * A fully-qualified path representing Engine resource.
348
+ * @returns {string} A string representing the location.
349
+ */
350
+ matchLocationFromEngineName(engineName: string): string | number;
351
+ /**
352
+ * Parse the collection from Engine resource.
353
+ *
354
+ * @param {string} engineName
355
+ * A fully-qualified path representing Engine resource.
356
+ * @returns {string} A string representing the collection.
357
+ */
358
+ matchCollectionFromEngineName(engineName: string): string | number;
359
+ /**
360
+ * Parse the engine from Engine resource.
361
+ *
362
+ * @param {string} engineName
363
+ * A fully-qualified path representing Engine resource.
364
+ * @returns {string} A string representing the engine.
365
+ */
366
+ matchEngineFromEngineName(engineName: string): string | number;
367
+ /**
368
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
369
+ *
370
+ * @param {string} project
371
+ * @param {string} location
372
+ * @param {string} collection
373
+ * @param {string} data_store
374
+ * @returns {string} Resource name string.
375
+ */
376
+ projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
377
+ /**
378
+ * Parse the project from ProjectLocationCollectionDataStore resource.
379
+ *
380
+ * @param {string} projectLocationCollectionDataStoreName
381
+ * A fully-qualified path representing project_location_collection_data_store resource.
382
+ * @returns {string} A string representing the project.
383
+ */
384
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
385
+ /**
386
+ * Parse the location from ProjectLocationCollectionDataStore resource.
387
+ *
388
+ * @param {string} projectLocationCollectionDataStoreName
389
+ * A fully-qualified path representing project_location_collection_data_store resource.
390
+ * @returns {string} A string representing the location.
391
+ */
392
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
393
+ /**
394
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
395
+ *
396
+ * @param {string} projectLocationCollectionDataStoreName
397
+ * A fully-qualified path representing project_location_collection_data_store resource.
398
+ * @returns {string} A string representing the collection.
399
+ */
400
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
401
+ /**
402
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
403
+ *
404
+ * @param {string} projectLocationCollectionDataStoreName
405
+ * A fully-qualified path representing project_location_collection_data_store resource.
406
+ * @returns {string} A string representing the data_store.
407
+ */
408
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
409
+ /**
410
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
411
+ *
412
+ * @param {string} project
413
+ * @param {string} location
414
+ * @param {string} collection
415
+ * @param {string} data_store
416
+ * @param {string} branch
417
+ * @param {string} document
418
+ * @returns {string} Resource name string.
419
+ */
420
+ projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
421
+ /**
422
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
423
+ *
424
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
425
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
426
+ * @returns {string} A string representing the project.
427
+ */
428
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
429
+ /**
430
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
431
+ *
432
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
433
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
434
+ * @returns {string} A string representing the location.
435
+ */
436
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
437
+ /**
438
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
439
+ *
440
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
441
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
442
+ * @returns {string} A string representing the collection.
443
+ */
444
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
445
+ /**
446
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
447
+ *
448
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
449
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
450
+ * @returns {string} A string representing the data_store.
451
+ */
452
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
453
+ /**
454
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
455
+ *
456
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
457
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
458
+ * @returns {string} A string representing the branch.
459
+ */
460
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
461
+ /**
462
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
463
+ *
464
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
465
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
466
+ * @returns {string} A string representing the document.
467
+ */
468
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
469
+ /**
470
+ * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
471
+ *
472
+ * @param {string} project
473
+ * @param {string} location
474
+ * @param {string} collection
475
+ * @param {string} data_store
476
+ * @param {string} conversation
477
+ * @returns {string} Resource name string.
478
+ */
479
+ projectLocationCollectionDataStoreConversationPath(project: string, location: string, collection: string, dataStore: string, conversation: string): string;
480
+ /**
481
+ * Parse the project from ProjectLocationCollectionDataStoreConversation resource.
482
+ *
483
+ * @param {string} projectLocationCollectionDataStoreConversationName
484
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
485
+ * @returns {string} A string representing the project.
486
+ */
487
+ matchProjectFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
488
+ /**
489
+ * Parse the location from ProjectLocationCollectionDataStoreConversation resource.
490
+ *
491
+ * @param {string} projectLocationCollectionDataStoreConversationName
492
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
493
+ * @returns {string} A string representing the location.
494
+ */
495
+ matchLocationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
496
+ /**
497
+ * Parse the collection from ProjectLocationCollectionDataStoreConversation resource.
498
+ *
499
+ * @param {string} projectLocationCollectionDataStoreConversationName
500
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
501
+ * @returns {string} A string representing the collection.
502
+ */
503
+ matchCollectionFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
504
+ /**
505
+ * Parse the data_store from ProjectLocationCollectionDataStoreConversation resource.
506
+ *
507
+ * @param {string} projectLocationCollectionDataStoreConversationName
508
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
509
+ * @returns {string} A string representing the data_store.
510
+ */
511
+ matchDataStoreFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
512
+ /**
513
+ * Parse the conversation from ProjectLocationCollectionDataStoreConversation resource.
514
+ *
515
+ * @param {string} projectLocationCollectionDataStoreConversationName
516
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
517
+ * @returns {string} A string representing the conversation.
518
+ */
519
+ matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
520
+ /**
521
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
522
+ *
523
+ * @param {string} project
524
+ * @param {string} location
525
+ * @param {string} collection
526
+ * @param {string} data_store
527
+ * @param {string} schema
528
+ * @returns {string} Resource name string.
529
+ */
530
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
531
+ /**
532
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
533
+ *
534
+ * @param {string} projectLocationCollectionDataStoreSchemaName
535
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
536
+ * @returns {string} A string representing the project.
537
+ */
538
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
539
+ /**
540
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
541
+ *
542
+ * @param {string} projectLocationCollectionDataStoreSchemaName
543
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
544
+ * @returns {string} A string representing the location.
545
+ */
546
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
547
+ /**
548
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
549
+ *
550
+ * @param {string} projectLocationCollectionDataStoreSchemaName
551
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
552
+ * @returns {string} A string representing the collection.
553
+ */
554
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
555
+ /**
556
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
557
+ *
558
+ * @param {string} projectLocationCollectionDataStoreSchemaName
559
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
560
+ * @returns {string} A string representing the data_store.
561
+ */
562
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
563
+ /**
564
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
565
+ *
566
+ * @param {string} projectLocationCollectionDataStoreSchemaName
567
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
568
+ * @returns {string} A string representing the schema.
569
+ */
570
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
571
+ /**
572
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
573
+ *
574
+ * @param {string} project
575
+ * @param {string} location
576
+ * @param {string} collection
577
+ * @param {string} data_store
578
+ * @returns {string} Resource name string.
579
+ */
580
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
581
+ /**
582
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
583
+ *
584
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
585
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
586
+ * @returns {string} A string representing the project.
587
+ */
588
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
589
+ /**
590
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
591
+ *
592
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
593
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
594
+ * @returns {string} A string representing the location.
595
+ */
596
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
597
+ /**
598
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
599
+ *
600
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
601
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
602
+ * @returns {string} A string representing the collection.
603
+ */
604
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
605
+ /**
606
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
607
+ *
608
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
609
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
610
+ * @returns {string} A string representing the data_store.
611
+ */
612
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
613
+ /**
614
+ * Return a fully-qualified projectLocationDataStore resource name string.
615
+ *
616
+ * @param {string} project
617
+ * @param {string} location
618
+ * @param {string} data_store
619
+ * @returns {string} Resource name string.
620
+ */
621
+ projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
622
+ /**
623
+ * Parse the project from ProjectLocationDataStore resource.
624
+ *
625
+ * @param {string} projectLocationDataStoreName
626
+ * A fully-qualified path representing project_location_data_store resource.
627
+ * @returns {string} A string representing the project.
628
+ */
629
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
630
+ /**
631
+ * Parse the location from ProjectLocationDataStore resource.
632
+ *
633
+ * @param {string} projectLocationDataStoreName
634
+ * A fully-qualified path representing project_location_data_store resource.
635
+ * @returns {string} A string representing the location.
636
+ */
637
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
638
+ /**
639
+ * Parse the data_store from ProjectLocationDataStore resource.
640
+ *
641
+ * @param {string} projectLocationDataStoreName
642
+ * A fully-qualified path representing project_location_data_store resource.
643
+ * @returns {string} A string representing the data_store.
644
+ */
645
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
646
+ /**
647
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
648
+ *
649
+ * @param {string} project
650
+ * @param {string} location
651
+ * @param {string} data_store
652
+ * @param {string} branch
653
+ * @param {string} document
654
+ * @returns {string} Resource name string.
655
+ */
656
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
657
+ /**
658
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
659
+ *
660
+ * @param {string} projectLocationDataStoreBranchDocumentName
661
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
662
+ * @returns {string} A string representing the project.
663
+ */
664
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
665
+ /**
666
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
667
+ *
668
+ * @param {string} projectLocationDataStoreBranchDocumentName
669
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
670
+ * @returns {string} A string representing the location.
671
+ */
672
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
673
+ /**
674
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
675
+ *
676
+ * @param {string} projectLocationDataStoreBranchDocumentName
677
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
678
+ * @returns {string} A string representing the data_store.
679
+ */
680
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
681
+ /**
682
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
683
+ *
684
+ * @param {string} projectLocationDataStoreBranchDocumentName
685
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
686
+ * @returns {string} A string representing the branch.
687
+ */
688
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
689
+ /**
690
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
691
+ *
692
+ * @param {string} projectLocationDataStoreBranchDocumentName
693
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
694
+ * @returns {string} A string representing the document.
695
+ */
696
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
697
+ /**
698
+ * Return a fully-qualified projectLocationDataStoreConversation resource name string.
699
+ *
700
+ * @param {string} project
701
+ * @param {string} location
702
+ * @param {string} data_store
703
+ * @param {string} conversation
704
+ * @returns {string} Resource name string.
705
+ */
706
+ projectLocationDataStoreConversationPath(project: string, location: string, dataStore: string, conversation: string): string;
707
+ /**
708
+ * Parse the project from ProjectLocationDataStoreConversation resource.
709
+ *
710
+ * @param {string} projectLocationDataStoreConversationName
711
+ * A fully-qualified path representing project_location_data_store_conversation resource.
712
+ * @returns {string} A string representing the project.
713
+ */
714
+ matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
715
+ /**
716
+ * Parse the location from ProjectLocationDataStoreConversation resource.
717
+ *
718
+ * @param {string} projectLocationDataStoreConversationName
719
+ * A fully-qualified path representing project_location_data_store_conversation resource.
720
+ * @returns {string} A string representing the location.
721
+ */
722
+ matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
723
+ /**
724
+ * Parse the data_store from ProjectLocationDataStoreConversation resource.
725
+ *
726
+ * @param {string} projectLocationDataStoreConversationName
727
+ * A fully-qualified path representing project_location_data_store_conversation resource.
728
+ * @returns {string} A string representing the data_store.
729
+ */
730
+ matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
731
+ /**
732
+ * Parse the conversation from ProjectLocationDataStoreConversation resource.
733
+ *
734
+ * @param {string} projectLocationDataStoreConversationName
735
+ * A fully-qualified path representing project_location_data_store_conversation resource.
736
+ * @returns {string} A string representing the conversation.
737
+ */
738
+ matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
739
+ /**
740
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
741
+ *
742
+ * @param {string} project
743
+ * @param {string} location
744
+ * @param {string} data_store
745
+ * @param {string} schema
746
+ * @returns {string} Resource name string.
747
+ */
748
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
749
+ /**
750
+ * Parse the project from ProjectLocationDataStoreSchema resource.
751
+ *
752
+ * @param {string} projectLocationDataStoreSchemaName
753
+ * A fully-qualified path representing project_location_data_store_schema resource.
754
+ * @returns {string} A string representing the project.
755
+ */
756
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
757
+ /**
758
+ * Parse the location from ProjectLocationDataStoreSchema resource.
759
+ *
760
+ * @param {string} projectLocationDataStoreSchemaName
761
+ * A fully-qualified path representing project_location_data_store_schema resource.
762
+ * @returns {string} A string representing the location.
763
+ */
764
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
765
+ /**
766
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
767
+ *
768
+ * @param {string} projectLocationDataStoreSchemaName
769
+ * A fully-qualified path representing project_location_data_store_schema resource.
770
+ * @returns {string} A string representing the data_store.
771
+ */
772
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
773
+ /**
774
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
775
+ *
776
+ * @param {string} projectLocationDataStoreSchemaName
777
+ * A fully-qualified path representing project_location_data_store_schema resource.
778
+ * @returns {string} A string representing the schema.
779
+ */
780
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
781
+ /**
782
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
783
+ *
784
+ * @param {string} project
785
+ * @param {string} location
786
+ * @param {string} data_store
787
+ * @returns {string} Resource name string.
788
+ */
789
+ projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
790
+ /**
791
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
792
+ *
793
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
794
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
795
+ * @returns {string} A string representing the project.
796
+ */
797
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
798
+ /**
799
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
800
+ *
801
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
802
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
803
+ * @returns {string} A string representing the location.
804
+ */
805
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
806
+ /**
807
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
808
+ *
809
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
810
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
811
+ * @returns {string} A string representing the data_store.
812
+ */
813
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
814
+ /**
815
+ * Terminate the gRPC channel and close the client.
816
+ *
817
+ * The client will no longer be usable and all future behavior is undefined.
818
+ * @returns {Promise} A promise that resolves when the client is closed.
819
+ */
820
+ close(): Promise<void>;
821
+ }