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