@google-cloud/discoveryengine 0.4.0 → 0.5.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 (40) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +7 -0
  3. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +40 -9
  4. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +116 -0
  5. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +45 -3
  6. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +12 -12
  7. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +26 -8
  8. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +15 -14
  9. package/build/protos/google/cloud/discoveryengine/v1beta/schema.proto +58 -0
  10. package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +259 -0
  11. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +546 -0
  12. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +14 -12
  13. package/build/protos/protos.d.ts +5625 -1874
  14. package/build/protos/protos.js +1 -30029
  15. package/build/protos/protos.json +1 -3028
  16. package/build/src/index.d.ts +10 -1
  17. package/build/src/index.js +10 -1
  18. package/build/src/v1beta/completion_service_client.d.ts +455 -0
  19. package/build/src/v1beta/completion_service_client.js +659 -0
  20. package/build/src/v1beta/completion_service_client_config.json +43 -0
  21. package/build/src/v1beta/document_service_client.d.ts +111 -18
  22. package/build/src/v1beta/document_service_client.js +134 -6
  23. package/build/src/v1beta/index.d.ts +3 -0
  24. package/build/src/v1beta/index.js +7 -1
  25. package/build/src/v1beta/recommendation_service_client.d.ts +108 -14
  26. package/build/src/v1beta/recommendation_service_client.js +128 -0
  27. package/build/src/v1beta/schema_service_client.d.ts +798 -0
  28. package/build/src/v1beta/schema_service_client.js +1122 -0
  29. package/build/src/v1beta/schema_service_client_config.json +63 -0
  30. package/build/src/v1beta/search_service_client.d.ts +851 -0
  31. package/build/src/v1beta/search_service_client.js +1070 -0
  32. package/build/src/v1beta/search_service_client_config.json +43 -0
  33. package/build/src/v1beta/user_event_service_client.d.ts +93 -0
  34. package/build/src/v1beta/user_event_service_client.js +128 -0
  35. package/package.json +5 -4
  36. package/build/src/index.js.map +0 -1
  37. package/build/src/v1beta/document_service_client.js.map +0 -1
  38. package/build/src/v1beta/index.js.map +0 -1
  39. package/build/src/v1beta/recommendation_service_client.js.map +0 -1
  40. package/build/src/v1beta/user_event_service_client.js.map +0 -1
@@ -0,0 +1,851 @@
1
+ /// <reference types="node" />
2
+ import type * as gax from 'google-gax';
3
+ import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback } from 'google-gax';
4
+ import { Transform } from 'stream';
5
+ import * as protos from '../../protos/protos';
6
+ /**
7
+ * Service for search.
8
+ * @class
9
+ * @memberof v1beta
10
+ */
11
+ export declare class SearchServiceClient {
12
+ private _terminated;
13
+ private _opts;
14
+ private _providedCustomServicePath;
15
+ private _gaxModule;
16
+ private _gaxGrpc;
17
+ private _protos;
18
+ private _defaults;
19
+ auth: gax.GoogleAuth;
20
+ descriptors: Descriptors;
21
+ warn: (code: string, message: string, warnType?: string) => void;
22
+ innerApiCalls: {
23
+ [name: string]: Function;
24
+ };
25
+ pathTemplates: {
26
+ [name: string]: gax.PathTemplate;
27
+ };
28
+ searchServiceStub?: Promise<{
29
+ [name: string]: Function;
30
+ }>;
31
+ /**
32
+ * Construct an instance of SearchServiceClient.
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 | "rest"} [options.fallback] - Use HTTP fallback mode.
60
+ * Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
61
+ * For more information, please check the
62
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
63
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
64
+ * need to avoid loading the default gRPC version and want to use the fallback
65
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
66
+ * ```
67
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
68
+ * const client = new SearchServiceClient({fallback: 'rest'}, gax);
69
+ * ```
70
+ */
71
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
72
+ /**
73
+ * Initialize the client.
74
+ * Performs asynchronous operations (such as authentication) and prepares the client.
75
+ * This function will be called automatically when any class method is called for the
76
+ * first time, but if you need to initialize it before calling an actual method,
77
+ * feel free to call initialize() directly.
78
+ *
79
+ * You can await on this method if you want to make sure the client is initialized.
80
+ *
81
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
82
+ */
83
+ initialize(): Promise<{
84
+ [name: string]: Function;
85
+ }>;
86
+ /**
87
+ * The DNS address for this API service.
88
+ * @returns {string} The DNS address for this service.
89
+ */
90
+ static get servicePath(): string;
91
+ /**
92
+ * The DNS address for this API service - same as servicePath(),
93
+ * exists for compatibility reasons.
94
+ * @returns {string} The DNS address for this service.
95
+ */
96
+ static get apiEndpoint(): string;
97
+ /**
98
+ * The port for this API service.
99
+ * @returns {number} The default port for this service.
100
+ */
101
+ static get port(): number;
102
+ /**
103
+ * The scopes needed to make gRPC calls for every method defined
104
+ * in this service.
105
+ * @returns {string[]} List of default scopes.
106
+ */
107
+ static get scopes(): string[];
108
+ getProjectId(): Promise<string>;
109
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
110
+ /**
111
+ * Performs a search.
112
+ *
113
+ * @param {Object} request
114
+ * The request object that will be sent.
115
+ * @param {string} request.servingConfig
116
+ * Required. The resource name of the Search serving config, such as
117
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
118
+ * This field is used to identify the serving configuration name, set
119
+ * of models used to make the search.
120
+ * @param {string} request.branch
121
+ * The branch resource name, such as
122
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/branches/0`.
123
+ *
124
+ * Use `default_branch` as the branch ID or leave this field empty, to search
125
+ * documents under the default branch.
126
+ * @param {string} request.query
127
+ * Raw search query.
128
+ * @param {number} request.pageSize
129
+ * Maximum number of {@link google.cloud.discoveryengine.v1beta.Document|Document}s
130
+ * to return. If unspecified, defaults to a reasonable value. The maximum
131
+ * allowed value is 100. Values above 100 will be coerced to 100.
132
+ *
133
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
134
+ * @param {string} request.pageToken
135
+ * A page token received from a previous
136
+ * {@link google.cloud.discoveryengine.v1beta.SearchService.Search|SearchService.Search}
137
+ * call. Provide this to retrieve the subsequent page.
138
+ *
139
+ * When paginating, all other parameters provided to
140
+ * {@link google.cloud.discoveryengine.v1beta.SearchService.Search|SearchService.Search}
141
+ * must match the call that provided the page token. Otherwise, an
142
+ * `INVALID_ARGUMENT` error is returned.
143
+ * @param {number} request.offset
144
+ * A 0-indexed integer that specifies the current offset (that is, starting
145
+ * result location, amongst the
146
+ * {@link google.cloud.discoveryengine.v1beta.Document|Document}s deemed by the API
147
+ * as relevant) in search results. This field is only considered if
148
+ * {@link google.cloud.discoveryengine.v1beta.SearchRequest.page_token|page_token}
149
+ * is unset.
150
+ *
151
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
152
+ * @param {string} request.filter
153
+ * The filter syntax consists of an expression language for constructing a
154
+ * predicate from one or more fields of the documents being filtered. Filter
155
+ * expression is case-sensitive.
156
+ *
157
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
158
+ * @param {string} request.orderBy
159
+ * The order in which documents are returned. Document can be ordered by
160
+ * a field in an {@link google.cloud.discoveryengine.v1beta.Document|Document}
161
+ * object. Leave it unset if ordered by relevance. OrderBy expression is
162
+ * case-sensitive.
163
+ *
164
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
165
+ * @param {number[]} request.facetSpecs
166
+ * Facet specifications for faceted search. If empty, no facets are returned.
167
+ *
168
+ * A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT`
169
+ * error is returned.
170
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
171
+ * Boost specification to boost certain documents.
172
+ * @param {number[]} request.params
173
+ * Additional search parameters.
174
+ *
175
+ * For
176
+ * {@link google.cloud.discoveryengine.v1beta.IndustryVertical.SITE_SEARCH|IndustryVertical.SITE_SEARCH}
177
+ * vertical, supported values are:
178
+ *
179
+ * * `user_country_code`: string. Default empty. If set to non-empty, results
180
+ * are restricted or boosted based on the location provided.
181
+ * * `search_type`: double. Default empty. Enables non-webpage searching
182
+ * depending on the value. The only valid non-default value is 1,
183
+ * which enables image searching.
184
+ * This field is ignored for other verticals.
185
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
186
+ * The query expansion specification that specifies the conditions under which
187
+ * query expansion will occur.
188
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.SpellCorrectionSpec} request.spellCorrectionSpec
189
+ * The spell correction specification that specifies the mode under
190
+ * which spell correction will take effect.
191
+ * @param {string} request.userPseudoId
192
+ * A unique identifier for tracking visitors. For example, this could be
193
+ * implemented with an HTTP cookie, which should be able to uniquely identify
194
+ * a visitor on a single device. This unique identifier should not change if
195
+ * the visitor logs in or out of the website.
196
+ *
197
+ * This field should NOT have a fixed value such as `unknown_visitor`.
198
+ *
199
+ * This should be the same identifier as
200
+ * {@link google.cloud.discoveryengine.v1beta.UserEvent.user_pseudo_id|UserEvent.user_pseudo_id}
201
+ * and
202
+ * {@link google.cloud.discoveryengine.v1beta.CompleteQueryRequest.user_pseudo_id|CompleteQueryRequest.user_pseudo_id}
203
+ *
204
+ * The field must be a UTF-8 encoded string with a length limit of 128
205
+ * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
206
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec} request.contentSearchSpec
207
+ * The content search spec that configs the desired behavior of content
208
+ * search.
209
+ * @param {object} [options]
210
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
211
+ * @returns {Promise} - The promise which resolves to an array.
212
+ * The first element of the array is Array of {@link google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult | SearchResult}.
213
+ * The client library will perform auto-pagination by default: it will call the API as many
214
+ * times as needed and will merge results from all the pages into this array.
215
+ * Note that it can affect your quota.
216
+ * We recommend using `searchAsync()`
217
+ * method described below for async iteration which you can stop as needed.
218
+ * Please see the
219
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
220
+ * for more details and examples.
221
+ */
222
+ search(request?: protos.google.cloud.discoveryengine.v1beta.ISearchRequest, options?: CallOptions): Promise<[
223
+ protos.google.cloud.discoveryengine.v1beta.SearchResponse.ISearchResult[],
224
+ protos.google.cloud.discoveryengine.v1beta.ISearchRequest | null,
225
+ protos.google.cloud.discoveryengine.v1beta.ISearchResponse
226
+ ]>;
227
+ search(request: protos.google.cloud.discoveryengine.v1beta.ISearchRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1beta.ISearchRequest, protos.google.cloud.discoveryengine.v1beta.ISearchResponse | null | undefined, protos.google.cloud.discoveryengine.v1beta.SearchResponse.ISearchResult>): void;
228
+ search(request: protos.google.cloud.discoveryengine.v1beta.ISearchRequest, callback: PaginationCallback<protos.google.cloud.discoveryengine.v1beta.ISearchRequest, protos.google.cloud.discoveryengine.v1beta.ISearchResponse | null | undefined, protos.google.cloud.discoveryengine.v1beta.SearchResponse.ISearchResult>): void;
229
+ /**
230
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
231
+ * @param {Object} request
232
+ * The request object that will be sent.
233
+ * @param {string} request.servingConfig
234
+ * Required. The resource name of the Search serving config, such as
235
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
236
+ * This field is used to identify the serving configuration name, set
237
+ * of models used to make the search.
238
+ * @param {string} request.branch
239
+ * The branch resource name, such as
240
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/branches/0`.
241
+ *
242
+ * Use `default_branch` as the branch ID or leave this field empty, to search
243
+ * documents under the default branch.
244
+ * @param {string} request.query
245
+ * Raw search query.
246
+ * @param {number} request.pageSize
247
+ * Maximum number of {@link google.cloud.discoveryengine.v1beta.Document|Document}s
248
+ * to return. If unspecified, defaults to a reasonable value. The maximum
249
+ * allowed value is 100. Values above 100 will be coerced to 100.
250
+ *
251
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
252
+ * @param {string} request.pageToken
253
+ * A page token received from a previous
254
+ * {@link google.cloud.discoveryengine.v1beta.SearchService.Search|SearchService.Search}
255
+ * call. Provide this to retrieve the subsequent page.
256
+ *
257
+ * When paginating, all other parameters provided to
258
+ * {@link google.cloud.discoveryengine.v1beta.SearchService.Search|SearchService.Search}
259
+ * must match the call that provided the page token. Otherwise, an
260
+ * `INVALID_ARGUMENT` error is returned.
261
+ * @param {number} request.offset
262
+ * A 0-indexed integer that specifies the current offset (that is, starting
263
+ * result location, amongst the
264
+ * {@link google.cloud.discoveryengine.v1beta.Document|Document}s deemed by the API
265
+ * as relevant) in search results. This field is only considered if
266
+ * {@link google.cloud.discoveryengine.v1beta.SearchRequest.page_token|page_token}
267
+ * is unset.
268
+ *
269
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
270
+ * @param {string} request.filter
271
+ * The filter syntax consists of an expression language for constructing a
272
+ * predicate from one or more fields of the documents being filtered. Filter
273
+ * expression is case-sensitive.
274
+ *
275
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
276
+ * @param {string} request.orderBy
277
+ * The order in which documents are returned. Document can be ordered by
278
+ * a field in an {@link google.cloud.discoveryengine.v1beta.Document|Document}
279
+ * object. Leave it unset if ordered by relevance. OrderBy expression is
280
+ * case-sensitive.
281
+ *
282
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
283
+ * @param {number[]} request.facetSpecs
284
+ * Facet specifications for faceted search. If empty, no facets are returned.
285
+ *
286
+ * A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT`
287
+ * error is returned.
288
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
289
+ * Boost specification to boost certain documents.
290
+ * @param {number[]} request.params
291
+ * Additional search parameters.
292
+ *
293
+ * For
294
+ * {@link google.cloud.discoveryengine.v1beta.IndustryVertical.SITE_SEARCH|IndustryVertical.SITE_SEARCH}
295
+ * vertical, supported values are:
296
+ *
297
+ * * `user_country_code`: string. Default empty. If set to non-empty, results
298
+ * are restricted or boosted based on the location provided.
299
+ * * `search_type`: double. Default empty. Enables non-webpage searching
300
+ * depending on the value. The only valid non-default value is 1,
301
+ * which enables image searching.
302
+ * This field is ignored for other verticals.
303
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
304
+ * The query expansion specification that specifies the conditions under which
305
+ * query expansion will occur.
306
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.SpellCorrectionSpec} request.spellCorrectionSpec
307
+ * The spell correction specification that specifies the mode under
308
+ * which spell correction will take effect.
309
+ * @param {string} request.userPseudoId
310
+ * A unique identifier for tracking visitors. For example, this could be
311
+ * implemented with an HTTP cookie, which should be able to uniquely identify
312
+ * a visitor on a single device. This unique identifier should not change if
313
+ * the visitor logs in or out of the website.
314
+ *
315
+ * This field should NOT have a fixed value such as `unknown_visitor`.
316
+ *
317
+ * This should be the same identifier as
318
+ * {@link google.cloud.discoveryengine.v1beta.UserEvent.user_pseudo_id|UserEvent.user_pseudo_id}
319
+ * and
320
+ * {@link google.cloud.discoveryengine.v1beta.CompleteQueryRequest.user_pseudo_id|CompleteQueryRequest.user_pseudo_id}
321
+ *
322
+ * The field must be a UTF-8 encoded string with a length limit of 128
323
+ * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
324
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec} request.contentSearchSpec
325
+ * The content search spec that configs the desired behavior of content
326
+ * search.
327
+ * @param {object} [options]
328
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
329
+ * @returns {Stream}
330
+ * An object stream which emits an object representing {@link google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult | SearchResult} on 'data' event.
331
+ * The client library will perform auto-pagination by default: it will call the API as many
332
+ * times as needed. Note that it can affect your quota.
333
+ * We recommend using `searchAsync()`
334
+ * method described below for async iteration which you can stop as needed.
335
+ * Please see the
336
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
337
+ * for more details and examples.
338
+ */
339
+ searchStream(request?: protos.google.cloud.discoveryengine.v1beta.ISearchRequest, options?: CallOptions): Transform;
340
+ /**
341
+ * Equivalent to `search`, but returns an iterable object.
342
+ *
343
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
344
+ * @param {Object} request
345
+ * The request object that will be sent.
346
+ * @param {string} request.servingConfig
347
+ * Required. The resource name of the Search serving config, such as
348
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
349
+ * This field is used to identify the serving configuration name, set
350
+ * of models used to make the search.
351
+ * @param {string} request.branch
352
+ * The branch resource name, such as
353
+ * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/branches/0`.
354
+ *
355
+ * Use `default_branch` as the branch ID or leave this field empty, to search
356
+ * documents under the default branch.
357
+ * @param {string} request.query
358
+ * Raw search query.
359
+ * @param {number} request.pageSize
360
+ * Maximum number of {@link google.cloud.discoveryengine.v1beta.Document|Document}s
361
+ * to return. If unspecified, defaults to a reasonable value. The maximum
362
+ * allowed value is 100. Values above 100 will be coerced to 100.
363
+ *
364
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
365
+ * @param {string} request.pageToken
366
+ * A page token received from a previous
367
+ * {@link google.cloud.discoveryengine.v1beta.SearchService.Search|SearchService.Search}
368
+ * call. Provide this to retrieve the subsequent page.
369
+ *
370
+ * When paginating, all other parameters provided to
371
+ * {@link google.cloud.discoveryengine.v1beta.SearchService.Search|SearchService.Search}
372
+ * must match the call that provided the page token. Otherwise, an
373
+ * `INVALID_ARGUMENT` error is returned.
374
+ * @param {number} request.offset
375
+ * A 0-indexed integer that specifies the current offset (that is, starting
376
+ * result location, amongst the
377
+ * {@link google.cloud.discoveryengine.v1beta.Document|Document}s deemed by the API
378
+ * as relevant) in search results. This field is only considered if
379
+ * {@link google.cloud.discoveryengine.v1beta.SearchRequest.page_token|page_token}
380
+ * is unset.
381
+ *
382
+ * If this field is negative, an `INVALID_ARGUMENT` is returned.
383
+ * @param {string} request.filter
384
+ * The filter syntax consists of an expression language for constructing a
385
+ * predicate from one or more fields of the documents being filtered. Filter
386
+ * expression is case-sensitive.
387
+ *
388
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
389
+ * @param {string} request.orderBy
390
+ * The order in which documents are returned. Document can be ordered by
391
+ * a field in an {@link google.cloud.discoveryengine.v1beta.Document|Document}
392
+ * object. Leave it unset if ordered by relevance. OrderBy expression is
393
+ * case-sensitive.
394
+ *
395
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
396
+ * @param {number[]} request.facetSpecs
397
+ * Facet specifications for faceted search. If empty, no facets are returned.
398
+ *
399
+ * A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT`
400
+ * error is returned.
401
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
402
+ * Boost specification to boost certain documents.
403
+ * @param {number[]} request.params
404
+ * Additional search parameters.
405
+ *
406
+ * For
407
+ * {@link google.cloud.discoveryengine.v1beta.IndustryVertical.SITE_SEARCH|IndustryVertical.SITE_SEARCH}
408
+ * vertical, supported values are:
409
+ *
410
+ * * `user_country_code`: string. Default empty. If set to non-empty, results
411
+ * are restricted or boosted based on the location provided.
412
+ * * `search_type`: double. Default empty. Enables non-webpage searching
413
+ * depending on the value. The only valid non-default value is 1,
414
+ * which enables image searching.
415
+ * This field is ignored for other verticals.
416
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
417
+ * The query expansion specification that specifies the conditions under which
418
+ * query expansion will occur.
419
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.SpellCorrectionSpec} request.spellCorrectionSpec
420
+ * The spell correction specification that specifies the mode under
421
+ * which spell correction will take effect.
422
+ * @param {string} request.userPseudoId
423
+ * A unique identifier for tracking visitors. For example, this could be
424
+ * implemented with an HTTP cookie, which should be able to uniquely identify
425
+ * a visitor on a single device. This unique identifier should not change if
426
+ * the visitor logs in or out of the website.
427
+ *
428
+ * This field should NOT have a fixed value such as `unknown_visitor`.
429
+ *
430
+ * This should be the same identifier as
431
+ * {@link google.cloud.discoveryengine.v1beta.UserEvent.user_pseudo_id|UserEvent.user_pseudo_id}
432
+ * and
433
+ * {@link google.cloud.discoveryengine.v1beta.CompleteQueryRequest.user_pseudo_id|CompleteQueryRequest.user_pseudo_id}
434
+ *
435
+ * The field must be a UTF-8 encoded string with a length limit of 128
436
+ * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
437
+ * @param {google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec} request.contentSearchSpec
438
+ * The content search spec that configs the desired behavior of content
439
+ * search.
440
+ * @param {object} [options]
441
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
442
+ * @returns {Object}
443
+ * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
444
+ * When you iterate the returned iterable, each element will be an object representing
445
+ * {@link google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult | SearchResult}. The API will be called under the hood as needed, once per the page,
446
+ * so you can stop the iteration when you don't need more results.
447
+ * Please see the
448
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
449
+ * for more details and examples.
450
+ * @example <caption>include:samples/generated/v1beta/search_service.search.js</caption>
451
+ * region_tag:discoveryengine_v1beta_generated_SearchService_Search_async
452
+ */
453
+ searchAsync(request?: protos.google.cloud.discoveryengine.v1beta.ISearchRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1beta.SearchResponse.ISearchResult>;
454
+ /**
455
+ * Return a fully-qualified projectLocationCollectionDataStoreBranch resource name string.
456
+ *
457
+ * @param {string} project
458
+ * @param {string} location
459
+ * @param {string} collection
460
+ * @param {string} data_store
461
+ * @param {string} branch
462
+ * @returns {string} Resource name string.
463
+ */
464
+ projectLocationCollectionDataStoreBranchPath(project: string, location: string, collection: string, dataStore: string, branch: string): string;
465
+ /**
466
+ * Parse the project from ProjectLocationCollectionDataStoreBranch resource.
467
+ *
468
+ * @param {string} projectLocationCollectionDataStoreBranchName
469
+ * A fully-qualified path representing project_location_collection_data_store_branch resource.
470
+ * @returns {string} A string representing the project.
471
+ */
472
+ matchProjectFromProjectLocationCollectionDataStoreBranchName(projectLocationCollectionDataStoreBranchName: string): string | number;
473
+ /**
474
+ * Parse the location from ProjectLocationCollectionDataStoreBranch resource.
475
+ *
476
+ * @param {string} projectLocationCollectionDataStoreBranchName
477
+ * A fully-qualified path representing project_location_collection_data_store_branch resource.
478
+ * @returns {string} A string representing the location.
479
+ */
480
+ matchLocationFromProjectLocationCollectionDataStoreBranchName(projectLocationCollectionDataStoreBranchName: string): string | number;
481
+ /**
482
+ * Parse the collection from ProjectLocationCollectionDataStoreBranch resource.
483
+ *
484
+ * @param {string} projectLocationCollectionDataStoreBranchName
485
+ * A fully-qualified path representing project_location_collection_data_store_branch resource.
486
+ * @returns {string} A string representing the collection.
487
+ */
488
+ matchCollectionFromProjectLocationCollectionDataStoreBranchName(projectLocationCollectionDataStoreBranchName: string): string | number;
489
+ /**
490
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranch resource.
491
+ *
492
+ * @param {string} projectLocationCollectionDataStoreBranchName
493
+ * A fully-qualified path representing project_location_collection_data_store_branch resource.
494
+ * @returns {string} A string representing the data_store.
495
+ */
496
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchName(projectLocationCollectionDataStoreBranchName: string): string | number;
497
+ /**
498
+ * Parse the branch from ProjectLocationCollectionDataStoreBranch resource.
499
+ *
500
+ * @param {string} projectLocationCollectionDataStoreBranchName
501
+ * A fully-qualified path representing project_location_collection_data_store_branch resource.
502
+ * @returns {string} A string representing the branch.
503
+ */
504
+ matchBranchFromProjectLocationCollectionDataStoreBranchName(projectLocationCollectionDataStoreBranchName: string): string | number;
505
+ /**
506
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
507
+ *
508
+ * @param {string} project
509
+ * @param {string} location
510
+ * @param {string} collection
511
+ * @param {string} data_store
512
+ * @param {string} branch
513
+ * @param {string} document
514
+ * @returns {string} Resource name string.
515
+ */
516
+ projectLocationCollectionDataStoreBranchDocumentPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string): string;
517
+ /**
518
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocument resource.
519
+ *
520
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
521
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
522
+ * @returns {string} A string representing the project.
523
+ */
524
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
525
+ /**
526
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocument resource.
527
+ *
528
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
529
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
530
+ * @returns {string} A string representing the location.
531
+ */
532
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
533
+ /**
534
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocument resource.
535
+ *
536
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
537
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
538
+ * @returns {string} A string representing the collection.
539
+ */
540
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
541
+ /**
542
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocument resource.
543
+ *
544
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
545
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
546
+ * @returns {string} A string representing the data_store.
547
+ */
548
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
549
+ /**
550
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocument resource.
551
+ *
552
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
553
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
554
+ * @returns {string} A string representing the branch.
555
+ */
556
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
557
+ /**
558
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocument resource.
559
+ *
560
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentName
561
+ * A fully-qualified path representing project_location_collection_data_store_branch_document resource.
562
+ * @returns {string} A string representing the document.
563
+ */
564
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
565
+ /**
566
+ * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
567
+ *
568
+ * @param {string} project
569
+ * @param {string} location
570
+ * @param {string} collection
571
+ * @param {string} data_store
572
+ * @param {string} schema
573
+ * @returns {string} Resource name string.
574
+ */
575
+ projectLocationCollectionDataStoreSchemaPath(project: string, location: string, collection: string, dataStore: string, schema: string): string;
576
+ /**
577
+ * Parse the project from ProjectLocationCollectionDataStoreSchema resource.
578
+ *
579
+ * @param {string} projectLocationCollectionDataStoreSchemaName
580
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
581
+ * @returns {string} A string representing the project.
582
+ */
583
+ matchProjectFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
584
+ /**
585
+ * Parse the location from ProjectLocationCollectionDataStoreSchema resource.
586
+ *
587
+ * @param {string} projectLocationCollectionDataStoreSchemaName
588
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
589
+ * @returns {string} A string representing the location.
590
+ */
591
+ matchLocationFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
592
+ /**
593
+ * Parse the collection from ProjectLocationCollectionDataStoreSchema resource.
594
+ *
595
+ * @param {string} projectLocationCollectionDataStoreSchemaName
596
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
597
+ * @returns {string} A string representing the collection.
598
+ */
599
+ matchCollectionFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
600
+ /**
601
+ * Parse the data_store from ProjectLocationCollectionDataStoreSchema resource.
602
+ *
603
+ * @param {string} projectLocationCollectionDataStoreSchemaName
604
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
605
+ * @returns {string} A string representing the data_store.
606
+ */
607
+ matchDataStoreFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
608
+ /**
609
+ * Parse the schema from ProjectLocationCollectionDataStoreSchema resource.
610
+ *
611
+ * @param {string} projectLocationCollectionDataStoreSchemaName
612
+ * A fully-qualified path representing project_location_collection_data_store_schema resource.
613
+ * @returns {string} A string representing the schema.
614
+ */
615
+ matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
616
+ /**
617
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
618
+ *
619
+ * @param {string} project
620
+ * @param {string} location
621
+ * @param {string} collection
622
+ * @param {string} data_store
623
+ * @param {string} serving_config
624
+ * @returns {string} Resource name string.
625
+ */
626
+ projectLocationCollectionDataStoreServingConfigPath(project: string, location: string, collection: string, dataStore: string, servingConfig: string): string;
627
+ /**
628
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
629
+ *
630
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
631
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
632
+ * @returns {string} A string representing the project.
633
+ */
634
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
635
+ /**
636
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
637
+ *
638
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
639
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
640
+ * @returns {string} A string representing the location.
641
+ */
642
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
643
+ /**
644
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
645
+ *
646
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
647
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
648
+ * @returns {string} A string representing the collection.
649
+ */
650
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
651
+ /**
652
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
653
+ *
654
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
655
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
656
+ * @returns {string} A string representing the data_store.
657
+ */
658
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
659
+ /**
660
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
661
+ *
662
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
663
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
664
+ * @returns {string} A string representing the serving_config.
665
+ */
666
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
667
+ /**
668
+ * Return a fully-qualified projectLocationDataStoreBranch resource name string.
669
+ *
670
+ * @param {string} project
671
+ * @param {string} location
672
+ * @param {string} data_store
673
+ * @param {string} branch
674
+ * @returns {string} Resource name string.
675
+ */
676
+ projectLocationDataStoreBranchPath(project: string, location: string, dataStore: string, branch: string): string;
677
+ /**
678
+ * Parse the project from ProjectLocationDataStoreBranch resource.
679
+ *
680
+ * @param {string} projectLocationDataStoreBranchName
681
+ * A fully-qualified path representing project_location_data_store_branch resource.
682
+ * @returns {string} A string representing the project.
683
+ */
684
+ matchProjectFromProjectLocationDataStoreBranchName(projectLocationDataStoreBranchName: string): string | number;
685
+ /**
686
+ * Parse the location from ProjectLocationDataStoreBranch resource.
687
+ *
688
+ * @param {string} projectLocationDataStoreBranchName
689
+ * A fully-qualified path representing project_location_data_store_branch resource.
690
+ * @returns {string} A string representing the location.
691
+ */
692
+ matchLocationFromProjectLocationDataStoreBranchName(projectLocationDataStoreBranchName: string): string | number;
693
+ /**
694
+ * Parse the data_store from ProjectLocationDataStoreBranch resource.
695
+ *
696
+ * @param {string} projectLocationDataStoreBranchName
697
+ * A fully-qualified path representing project_location_data_store_branch resource.
698
+ * @returns {string} A string representing the data_store.
699
+ */
700
+ matchDataStoreFromProjectLocationDataStoreBranchName(projectLocationDataStoreBranchName: string): string | number;
701
+ /**
702
+ * Parse the branch from ProjectLocationDataStoreBranch resource.
703
+ *
704
+ * @param {string} projectLocationDataStoreBranchName
705
+ * A fully-qualified path representing project_location_data_store_branch resource.
706
+ * @returns {string} A string representing the branch.
707
+ */
708
+ matchBranchFromProjectLocationDataStoreBranchName(projectLocationDataStoreBranchName: string): string | number;
709
+ /**
710
+ * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
711
+ *
712
+ * @param {string} project
713
+ * @param {string} location
714
+ * @param {string} data_store
715
+ * @param {string} branch
716
+ * @param {string} document
717
+ * @returns {string} Resource name string.
718
+ */
719
+ projectLocationDataStoreBranchDocumentPath(project: string, location: string, dataStore: string, branch: string, document: string): string;
720
+ /**
721
+ * Parse the project from ProjectLocationDataStoreBranchDocument resource.
722
+ *
723
+ * @param {string} projectLocationDataStoreBranchDocumentName
724
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
725
+ * @returns {string} A string representing the project.
726
+ */
727
+ matchProjectFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
728
+ /**
729
+ * Parse the location from ProjectLocationDataStoreBranchDocument resource.
730
+ *
731
+ * @param {string} projectLocationDataStoreBranchDocumentName
732
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
733
+ * @returns {string} A string representing the location.
734
+ */
735
+ matchLocationFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
736
+ /**
737
+ * Parse the data_store from ProjectLocationDataStoreBranchDocument resource.
738
+ *
739
+ * @param {string} projectLocationDataStoreBranchDocumentName
740
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
741
+ * @returns {string} A string representing the data_store.
742
+ */
743
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
744
+ /**
745
+ * Parse the branch from ProjectLocationDataStoreBranchDocument resource.
746
+ *
747
+ * @param {string} projectLocationDataStoreBranchDocumentName
748
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
749
+ * @returns {string} A string representing the branch.
750
+ */
751
+ matchBranchFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
752
+ /**
753
+ * Parse the document from ProjectLocationDataStoreBranchDocument resource.
754
+ *
755
+ * @param {string} projectLocationDataStoreBranchDocumentName
756
+ * A fully-qualified path representing project_location_data_store_branch_document resource.
757
+ * @returns {string} A string representing the document.
758
+ */
759
+ matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
760
+ /**
761
+ * Return a fully-qualified projectLocationDataStoreSchema resource name string.
762
+ *
763
+ * @param {string} project
764
+ * @param {string} location
765
+ * @param {string} data_store
766
+ * @param {string} schema
767
+ * @returns {string} Resource name string.
768
+ */
769
+ projectLocationDataStoreSchemaPath(project: string, location: string, dataStore: string, schema: string): string;
770
+ /**
771
+ * Parse the project from ProjectLocationDataStoreSchema resource.
772
+ *
773
+ * @param {string} projectLocationDataStoreSchemaName
774
+ * A fully-qualified path representing project_location_data_store_schema resource.
775
+ * @returns {string} A string representing the project.
776
+ */
777
+ matchProjectFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
778
+ /**
779
+ * Parse the location from ProjectLocationDataStoreSchema resource.
780
+ *
781
+ * @param {string} projectLocationDataStoreSchemaName
782
+ * A fully-qualified path representing project_location_data_store_schema resource.
783
+ * @returns {string} A string representing the location.
784
+ */
785
+ matchLocationFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
786
+ /**
787
+ * Parse the data_store from ProjectLocationDataStoreSchema resource.
788
+ *
789
+ * @param {string} projectLocationDataStoreSchemaName
790
+ * A fully-qualified path representing project_location_data_store_schema resource.
791
+ * @returns {string} A string representing the data_store.
792
+ */
793
+ matchDataStoreFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
794
+ /**
795
+ * Parse the schema from ProjectLocationDataStoreSchema resource.
796
+ *
797
+ * @param {string} projectLocationDataStoreSchemaName
798
+ * A fully-qualified path representing project_location_data_store_schema resource.
799
+ * @returns {string} A string representing the schema.
800
+ */
801
+ matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
802
+ /**
803
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
804
+ *
805
+ * @param {string} project
806
+ * @param {string} location
807
+ * @param {string} data_store
808
+ * @param {string} serving_config
809
+ * @returns {string} Resource name string.
810
+ */
811
+ projectLocationDataStoreServingConfigPath(project: string, location: string, dataStore: string, servingConfig: string): string;
812
+ /**
813
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
814
+ *
815
+ * @param {string} projectLocationDataStoreServingConfigName
816
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
817
+ * @returns {string} A string representing the project.
818
+ */
819
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
820
+ /**
821
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
822
+ *
823
+ * @param {string} projectLocationDataStoreServingConfigName
824
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
825
+ * @returns {string} A string representing the location.
826
+ */
827
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
828
+ /**
829
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
830
+ *
831
+ * @param {string} projectLocationDataStoreServingConfigName
832
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
833
+ * @returns {string} A string representing the data_store.
834
+ */
835
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
836
+ /**
837
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
838
+ *
839
+ * @param {string} projectLocationDataStoreServingConfigName
840
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
841
+ * @returns {string} A string representing the serving_config.
842
+ */
843
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
844
+ /**
845
+ * Terminate the gRPC channel and close the client.
846
+ *
847
+ * The client will no longer be usable and all future behavior is undefined.
848
+ * @returns {Promise} A promise that resolves when the client is closed.
849
+ */
850
+ close(): Promise<void>;
851
+ }