@google-cloud/discoveryengine 1.0.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +33 -1
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +30 -2
  4. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +15 -2
  5. package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +114 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +303 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/document.proto +8 -5
  8. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +4 -3
  9. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +27 -23
  10. package/build/protos/google/cloud/discoveryengine/v1/schema.proto +1 -1
  11. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +428 -20
  12. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +48 -39
  13. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +2 -2
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +155 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +134 -0
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +138 -0
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +306 -0
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +121 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +318 -0
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +343 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +159 -0
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +221 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +312 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +260 -0
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +851 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +152 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +475 -0
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +154 -0
  29. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +6 -0
  30. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +9 -2
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +25 -0
  32. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +115 -3
  33. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -0
  34. package/build/protos/protos.d.ts +22864 -6680
  35. package/build/protos/protos.js +57205 -16191
  36. package/build/protos/protos.json +5548 -1224
  37. package/build/src/index.d.ts +6 -1
  38. package/build/src/index.js +7 -1
  39. package/build/src/v1/completion_service_client.d.ts +156 -6
  40. package/build/src/v1/completion_service_client.js +188 -4
  41. package/build/src/v1/conversational_search_service_client.d.ts +947 -0
  42. package/build/src/v1/conversational_search_service_client.js +1205 -0
  43. package/build/src/v1/conversational_search_service_client_config.json +68 -0
  44. package/build/src/v1/document_service_client.d.ts +165 -18
  45. package/build/src/v1/document_service_client.js +215 -11
  46. package/build/src/v1/index.d.ts +1 -0
  47. package/build/src/v1/index.js +3 -1
  48. package/build/src/v1/schema_service_client.d.ts +148 -4
  49. package/build/src/v1/schema_service_client.js +207 -5
  50. package/build/src/v1/search_service_client.d.ts +238 -28
  51. package/build/src/v1/search_service_client.js +248 -20
  52. package/build/src/v1/user_event_service_client.d.ts +153 -9
  53. package/build/src/v1/user_event_service_client.js +207 -5
  54. package/build/src/v1alpha/completion_service_client.d.ts +603 -0
  55. package/build/src/v1alpha/completion_service_client.js +843 -0
  56. package/build/src/v1alpha/completion_service_client_config.json +43 -0
  57. package/build/src/v1alpha/conversational_search_service_client.d.ts +998 -0
  58. package/build/src/v1alpha/conversational_search_service_client.js +1275 -0
  59. package/build/src/v1alpha/conversational_search_service_client_config.json +68 -0
  60. package/build/src/v1alpha/document_service_client.d.ts +1140 -0
  61. package/build/src/v1alpha/document_service_client.js +1393 -0
  62. package/build/src/v1alpha/document_service_client_config.json +82 -0
  63. package/build/src/v1alpha/index.d.ts +8 -0
  64. package/build/src/v1alpha/index.js +37 -0
  65. package/build/src/v1alpha/recommendation_service_client.d.ts +735 -0
  66. package/build/src/v1alpha/recommendation_service_client.js +938 -0
  67. package/build/src/v1alpha/recommendation_service_client_config.json +43 -0
  68. package/build/src/v1alpha/schema_service_client.d.ts +935 -0
  69. package/build/src/v1alpha/schema_service_client.js +1327 -0
  70. package/build/src/v1alpha/schema_service_client_config.json +63 -0
  71. package/build/src/v1alpha/search_service_client.d.ts +1208 -0
  72. package/build/src/v1alpha/search_service_client.js +1432 -0
  73. package/build/src/v1alpha/search_service_client_config.json +43 -0
  74. package/build/src/v1alpha/site_search_engine_service_client.d.ts +704 -0
  75. package/build/src/v1alpha/site_search_engine_service_client.js +1087 -0
  76. package/build/src/v1alpha/site_search_engine_service_client_config.json +30 -0
  77. package/build/src/v1alpha/user_event_service_client.d.ts +853 -0
  78. package/build/src/v1alpha/user_event_service_client.js +1174 -0
  79. package/build/src/v1alpha/user_event_service_client_config.json +67 -0
  80. package/build/src/v1beta/completion_service_client.d.ts +55 -4
  81. package/build/src/v1beta/completion_service_client.js +60 -4
  82. package/build/src/v1beta/conversational_search_service_client.d.ts +75 -4
  83. package/build/src/v1beta/conversational_search_service_client.js +60 -4
  84. package/build/src/v1beta/document_service_client.d.ts +55 -4
  85. package/build/src/v1beta/document_service_client.js +61 -5
  86. package/build/src/v1beta/recommendation_service_client.d.ts +55 -4
  87. package/build/src/v1beta/recommendation_service_client.js +60 -4
  88. package/build/src/v1beta/schema_service_client.d.ts +55 -4
  89. package/build/src/v1beta/schema_service_client.js +61 -5
  90. package/build/src/v1beta/search_service_client.d.ts +142 -4
  91. package/build/src/v1beta/search_service_client.js +118 -4
  92. package/build/src/v1beta/user_event_service_client.d.ts +55 -4
  93. package/build/src/v1beta/user_event_service_client.js +61 -5
  94. package/package.json +5 -5
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import type * as gax from 'google-gax';
3
- import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback } from 'google-gax';
3
+ import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback, LocationsClient, LocationProtos } from 'google-gax';
4
4
  import { Transform } from 'stream';
5
5
  import * as protos from '../../protos/protos';
6
6
  /**
@@ -22,6 +22,7 @@ export declare class SearchServiceClient {
22
22
  innerApiCalls: {
23
23
  [name: string]: Function;
24
24
  };
25
+ locationsClient: LocationsClient;
25
26
  pathTemplates: {
26
27
  [name: string]: gax.PathTemplate;
27
28
  };
@@ -56,8 +57,7 @@ export declare class SearchServiceClient {
56
57
  * API remote host.
57
58
  * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
58
59
  * 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.
60
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
61
61
  * For more information, please check the
62
62
  * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
63
63
  * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
@@ -65,7 +65,7 @@ export declare class SearchServiceClient {
65
65
  * HTTP implementation. Load only fallback version and pass it to the constructor:
66
66
  * ```
67
67
  * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
68
- * const client = new SearchServiceClient({fallback: 'rest'}, gax);
68
+ * const client = new SearchServiceClient({fallback: true}, gax);
69
69
  * ```
70
70
  */
71
71
  constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
@@ -125,10 +125,12 @@ export declare class SearchServiceClient {
125
125
  * documents under the default branch.
126
126
  * @param {string} request.query
127
127
  * Raw search query.
128
+ * @param {google.cloud.discoveryengine.v1.SearchRequest.ImageQuery} request.imageQuery
129
+ * Raw image query.
128
130
  * @param {number} request.pageSize
129
131
  * Maximum number of {@link protos.google.cloud.discoveryengine.v1.Document|Document}s to
130
132
  * return. If unspecified, defaults to a reasonable value. The maximum allowed
131
- * value is 100. Values above 100 will be coerced to 100.
133
+ * value is 100. Values above 100 are coerced to 100.
132
134
  *
133
135
  * If this field is negative, an `INVALID_ARGUMENT` is returned.
134
136
  * @param {string} request.pageToken
@@ -149,10 +151,31 @@ export declare class SearchServiceClient {
149
151
  * unset.
150
152
  *
151
153
  * If this field is negative, an `INVALID_ARGUMENT` is returned.
154
+ * @param {string} request.filter
155
+ * The filter syntax consists of an expression language for constructing a
156
+ * predicate from one or more fields of the documents being filtered. Filter
157
+ * expression is case-sensitive.
158
+ *
159
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
160
+ * @param {string} request.orderBy
161
+ * The order in which documents are returned. Documents can be ordered by
162
+ * a field in an {@link protos.google.cloud.discoveryengine.v1.Document|Document} object.
163
+ * Leave it unset if ordered by relevance. `order_by` expression is
164
+ * case-sensitive.
165
+ *
166
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
152
167
  * @param {google.cloud.discoveryengine.v1.UserInfo} request.userInfo
153
168
  * 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.
169
+ * Highly recommended for analytics.
170
+ * {@link protos.google.cloud.discoveryengine.v1.UserInfo.user_agent|UserInfo.user_agent}
171
+ * is used to deduce `device_type` for analytics.
172
+ * @param {number[]} request.facetSpecs
173
+ * Facet specifications for faceted search. If empty, no facets are returned.
174
+ *
175
+ * A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT`
176
+ * error is returned.
177
+ * @param {google.cloud.discoveryengine.v1.SearchRequest.BoostSpec} request.boostSpec
178
+ * Boost specification to boost certain documents.
156
179
  * @param {number[]} request.params
157
180
  * Additional search parameters.
158
181
  *
@@ -165,10 +188,10 @@ export declare class SearchServiceClient {
165
188
  * which enables image searching.
166
189
  * @param {google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
167
190
  * The query expansion specification that specifies the conditions under which
168
- * query expansion will occur.
191
+ * query expansion occurs.
169
192
  * @param {google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec} request.spellCorrectionSpec
170
193
  * The spell correction specification that specifies the mode under
171
- * which spell correction will take effect.
194
+ * which spell correction takes effect.
172
195
  * @param {string} request.userPseudoId
173
196
  * A unique identifier for tracking visitors. For example, this could be
174
197
  * implemented with an HTTP cookie, which should be able to uniquely identify
@@ -185,11 +208,10 @@ export declare class SearchServiceClient {
185
208
  * The field must be a UTF-8 encoded string with a length limit of 128
186
209
  * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
187
210
  * @param {google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec} request.contentSearchSpec
188
- * The content search spec that configs the desired behavior of content
189
- * search.
211
+ * A specification for configuring the behavior of content search.
190
212
  * @param {boolean} request.safeSearch
191
213
  * Whether to turn on safe search. This is only supported for
192
- * {@link protos.|ContentConfig.PUBLIC_WEBSITE}.
214
+ * website search.
193
215
  * @param {number[]} request.userLabels
194
216
  * The user labels applied to a resource must meet the following requirements:
195
217
  *
@@ -244,10 +266,12 @@ export declare class SearchServiceClient {
244
266
  * documents under the default branch.
245
267
  * @param {string} request.query
246
268
  * Raw search query.
269
+ * @param {google.cloud.discoveryengine.v1.SearchRequest.ImageQuery} request.imageQuery
270
+ * Raw image query.
247
271
  * @param {number} request.pageSize
248
272
  * Maximum number of {@link protos.google.cloud.discoveryengine.v1.Document|Document}s to
249
273
  * return. If unspecified, defaults to a reasonable value. The maximum allowed
250
- * value is 100. Values above 100 will be coerced to 100.
274
+ * value is 100. Values above 100 are coerced to 100.
251
275
  *
252
276
  * If this field is negative, an `INVALID_ARGUMENT` is returned.
253
277
  * @param {string} request.pageToken
@@ -268,10 +292,31 @@ export declare class SearchServiceClient {
268
292
  * unset.
269
293
  *
270
294
  * If this field is negative, an `INVALID_ARGUMENT` is returned.
295
+ * @param {string} request.filter
296
+ * The filter syntax consists of an expression language for constructing a
297
+ * predicate from one or more fields of the documents being filtered. Filter
298
+ * expression is case-sensitive.
299
+ *
300
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
301
+ * @param {string} request.orderBy
302
+ * The order in which documents are returned. Documents can be ordered by
303
+ * a field in an {@link protos.google.cloud.discoveryengine.v1.Document|Document} object.
304
+ * Leave it unset if ordered by relevance. `order_by` expression is
305
+ * case-sensitive.
306
+ *
307
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
271
308
  * @param {google.cloud.discoveryengine.v1.UserInfo} request.userInfo
272
309
  * Information about the end user.
273
- * Highly recommended for analytics. The user_agent string in UserInfo will
274
- * be used to deduce device_type for analytics.
310
+ * Highly recommended for analytics.
311
+ * {@link protos.google.cloud.discoveryengine.v1.UserInfo.user_agent|UserInfo.user_agent}
312
+ * is used to deduce `device_type` for analytics.
313
+ * @param {number[]} request.facetSpecs
314
+ * Facet specifications for faceted search. If empty, no facets are returned.
315
+ *
316
+ * A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT`
317
+ * error is returned.
318
+ * @param {google.cloud.discoveryengine.v1.SearchRequest.BoostSpec} request.boostSpec
319
+ * Boost specification to boost certain documents.
275
320
  * @param {number[]} request.params
276
321
  * Additional search parameters.
277
322
  *
@@ -284,10 +329,10 @@ export declare class SearchServiceClient {
284
329
  * which enables image searching.
285
330
  * @param {google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
286
331
  * The query expansion specification that specifies the conditions under which
287
- * query expansion will occur.
332
+ * query expansion occurs.
288
333
  * @param {google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec} request.spellCorrectionSpec
289
334
  * The spell correction specification that specifies the mode under
290
- * which spell correction will take effect.
335
+ * which spell correction takes effect.
291
336
  * @param {string} request.userPseudoId
292
337
  * A unique identifier for tracking visitors. For example, this could be
293
338
  * implemented with an HTTP cookie, which should be able to uniquely identify
@@ -304,11 +349,10 @@ export declare class SearchServiceClient {
304
349
  * The field must be a UTF-8 encoded string with a length limit of 128
305
350
  * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
306
351
  * @param {google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec} request.contentSearchSpec
307
- * The content search spec that configs the desired behavior of content
308
- * search.
352
+ * A specification for configuring the behavior of content search.
309
353
  * @param {boolean} request.safeSearch
310
354
  * Whether to turn on safe search. This is only supported for
311
- * {@link protos.|ContentConfig.PUBLIC_WEBSITE}.
355
+ * website search.
312
356
  * @param {number[]} request.userLabels
313
357
  * The user labels applied to a resource must meet the following requirements:
314
358
  *
@@ -358,10 +402,12 @@ export declare class SearchServiceClient {
358
402
  * documents under the default branch.
359
403
  * @param {string} request.query
360
404
  * Raw search query.
405
+ * @param {google.cloud.discoveryengine.v1.SearchRequest.ImageQuery} request.imageQuery
406
+ * Raw image query.
361
407
  * @param {number} request.pageSize
362
408
  * Maximum number of {@link protos.google.cloud.discoveryengine.v1.Document|Document}s to
363
409
  * return. If unspecified, defaults to a reasonable value. The maximum allowed
364
- * value is 100. Values above 100 will be coerced to 100.
410
+ * value is 100. Values above 100 are coerced to 100.
365
411
  *
366
412
  * If this field is negative, an `INVALID_ARGUMENT` is returned.
367
413
  * @param {string} request.pageToken
@@ -382,10 +428,31 @@ export declare class SearchServiceClient {
382
428
  * unset.
383
429
  *
384
430
  * If this field is negative, an `INVALID_ARGUMENT` is returned.
431
+ * @param {string} request.filter
432
+ * The filter syntax consists of an expression language for constructing a
433
+ * predicate from one or more fields of the documents being filtered. Filter
434
+ * expression is case-sensitive.
435
+ *
436
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
437
+ * @param {string} request.orderBy
438
+ * The order in which documents are returned. Documents can be ordered by
439
+ * a field in an {@link protos.google.cloud.discoveryengine.v1.Document|Document} object.
440
+ * Leave it unset if ordered by relevance. `order_by` expression is
441
+ * case-sensitive.
442
+ *
443
+ * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
385
444
  * @param {google.cloud.discoveryengine.v1.UserInfo} request.userInfo
386
445
  * Information about the end user.
387
- * Highly recommended for analytics. The user_agent string in UserInfo will
388
- * be used to deduce device_type for analytics.
446
+ * Highly recommended for analytics.
447
+ * {@link protos.google.cloud.discoveryengine.v1.UserInfo.user_agent|UserInfo.user_agent}
448
+ * is used to deduce `device_type` for analytics.
449
+ * @param {number[]} request.facetSpecs
450
+ * Facet specifications for faceted search. If empty, no facets are returned.
451
+ *
452
+ * A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT`
453
+ * error is returned.
454
+ * @param {google.cloud.discoveryengine.v1.SearchRequest.BoostSpec} request.boostSpec
455
+ * Boost specification to boost certain documents.
389
456
  * @param {number[]} request.params
390
457
  * Additional search parameters.
391
458
  *
@@ -398,10 +465,10 @@ export declare class SearchServiceClient {
398
465
  * which enables image searching.
399
466
  * @param {google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
400
467
  * The query expansion specification that specifies the conditions under which
401
- * query expansion will occur.
468
+ * query expansion occurs.
402
469
  * @param {google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec} request.spellCorrectionSpec
403
470
  * The spell correction specification that specifies the mode under
404
- * which spell correction will take effect.
471
+ * which spell correction takes effect.
405
472
  * @param {string} request.userPseudoId
406
473
  * A unique identifier for tracking visitors. For example, this could be
407
474
  * implemented with an HTTP cookie, which should be able to uniquely identify
@@ -418,11 +485,10 @@ export declare class SearchServiceClient {
418
485
  * The field must be a UTF-8 encoded string with a length limit of 128
419
486
  * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
420
487
  * @param {google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec} request.contentSearchSpec
421
- * The content search spec that configs the desired behavior of content
422
- * search.
488
+ * A specification for configuring the behavior of content search.
423
489
  * @param {boolean} request.safeSearch
424
490
  * Whether to turn on safe search. This is only supported for
425
- * {@link protos.|ContentConfig.PUBLIC_WEBSITE}.
491
+ * website search.
426
492
  * @param {number[]} request.userLabels
427
493
  * The user labels applied to a resource must meet the following requirements:
428
494
  *
@@ -454,6 +520,57 @@ export declare class SearchServiceClient {
454
520
  * region_tag:discoveryengine_v1_generated_SearchService_Search_async
455
521
  */
456
522
  searchAsync(request?: protos.google.cloud.discoveryengine.v1.ISearchRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.discoveryengine.v1.SearchResponse.ISearchResult>;
523
+ /**
524
+ * Gets information about a location.
525
+ *
526
+ * @param {Object} request
527
+ * The request object that will be sent.
528
+ * @param {string} request.name
529
+ * Resource name for the location.
530
+ * @param {object} [options]
531
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
532
+ * @returns {Promise} - The promise which resolves to an array.
533
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
534
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
535
+ * for more details and examples.
536
+ * @example
537
+ * ```
538
+ * const [response] = await client.getLocation(request);
539
+ * ```
540
+ */
541
+ getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>, callback?: Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>): Promise<LocationProtos.google.cloud.location.ILocation>;
542
+ /**
543
+ * Lists information about the supported locations for this service. Returns an iterable object.
544
+ *
545
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
546
+ * @param {Object} request
547
+ * The request object that will be sent.
548
+ * @param {string} request.name
549
+ * The resource that owns the locations collection, if applicable.
550
+ * @param {string} request.filter
551
+ * The standard list filter.
552
+ * @param {number} request.pageSize
553
+ * The standard list page size.
554
+ * @param {string} request.pageToken
555
+ * The standard list page token.
556
+ * @param {object} [options]
557
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
558
+ * @returns {Object}
559
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
560
+ * When you iterate the returned iterable, each element will be an object representing
561
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
562
+ * so you can stop the iteration when you don't need more results.
563
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
564
+ * for more details and examples.
565
+ * @example
566
+ * ```
567
+ * const iterable = client.listLocationsAsync(request);
568
+ * for await (const response of iterable) {
569
+ * // process response
570
+ * }
571
+ * ```
572
+ */
573
+ listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
457
574
  /**
458
575
  * Return a fully-qualified projectLocationCollectionDataStoreBranch resource name string.
459
576
  *
@@ -565,6 +682,57 @@ export declare class SearchServiceClient {
565
682
  * @returns {string} A string representing the document.
566
683
  */
567
684
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
685
+ /**
686
+ * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
687
+ *
688
+ * @param {string} project
689
+ * @param {string} location
690
+ * @param {string} collection
691
+ * @param {string} data_store
692
+ * @param {string} conversation
693
+ * @returns {string} Resource name string.
694
+ */
695
+ projectLocationCollectionDataStoreConversationPath(project: string, location: string, collection: string, dataStore: string, conversation: string): string;
696
+ /**
697
+ * Parse the project from ProjectLocationCollectionDataStoreConversation resource.
698
+ *
699
+ * @param {string} projectLocationCollectionDataStoreConversationName
700
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
701
+ * @returns {string} A string representing the project.
702
+ */
703
+ matchProjectFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
704
+ /**
705
+ * Parse the location from ProjectLocationCollectionDataStoreConversation resource.
706
+ *
707
+ * @param {string} projectLocationCollectionDataStoreConversationName
708
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
709
+ * @returns {string} A string representing the location.
710
+ */
711
+ matchLocationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
712
+ /**
713
+ * Parse the collection from ProjectLocationCollectionDataStoreConversation resource.
714
+ *
715
+ * @param {string} projectLocationCollectionDataStoreConversationName
716
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
717
+ * @returns {string} A string representing the collection.
718
+ */
719
+ matchCollectionFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
720
+ /**
721
+ * Parse the data_store from ProjectLocationCollectionDataStoreConversation resource.
722
+ *
723
+ * @param {string} projectLocationCollectionDataStoreConversationName
724
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
725
+ * @returns {string} A string representing the data_store.
726
+ */
727
+ matchDataStoreFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
728
+ /**
729
+ * Parse the conversation from ProjectLocationCollectionDataStoreConversation resource.
730
+ *
731
+ * @param {string} projectLocationCollectionDataStoreConversationName
732
+ * A fully-qualified path representing project_location_collection_data_store_conversation resource.
733
+ * @returns {string} A string representing the conversation.
734
+ */
735
+ matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
568
736
  /**
569
737
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
570
738
  *
@@ -760,6 +928,48 @@ export declare class SearchServiceClient {
760
928
  * @returns {string} A string representing the document.
761
929
  */
762
930
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
931
+ /**
932
+ * Return a fully-qualified projectLocationDataStoreConversation resource name string.
933
+ *
934
+ * @param {string} project
935
+ * @param {string} location
936
+ * @param {string} data_store
937
+ * @param {string} conversation
938
+ * @returns {string} Resource name string.
939
+ */
940
+ projectLocationDataStoreConversationPath(project: string, location: string, dataStore: string, conversation: string): string;
941
+ /**
942
+ * Parse the project from ProjectLocationDataStoreConversation resource.
943
+ *
944
+ * @param {string} projectLocationDataStoreConversationName
945
+ * A fully-qualified path representing project_location_data_store_conversation resource.
946
+ * @returns {string} A string representing the project.
947
+ */
948
+ matchProjectFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
949
+ /**
950
+ * Parse the location from ProjectLocationDataStoreConversation resource.
951
+ *
952
+ * @param {string} projectLocationDataStoreConversationName
953
+ * A fully-qualified path representing project_location_data_store_conversation resource.
954
+ * @returns {string} A string representing the location.
955
+ */
956
+ matchLocationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
957
+ /**
958
+ * Parse the data_store from ProjectLocationDataStoreConversation resource.
959
+ *
960
+ * @param {string} projectLocationDataStoreConversationName
961
+ * A fully-qualified path representing project_location_data_store_conversation resource.
962
+ * @returns {string} A string representing the data_store.
963
+ */
964
+ matchDataStoreFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
965
+ /**
966
+ * Parse the conversation from ProjectLocationDataStoreConversation resource.
967
+ *
968
+ * @param {string} projectLocationDataStoreConversationName
969
+ * A fully-qualified path representing project_location_data_store_conversation resource.
970
+ * @returns {string} A string representing the conversation.
971
+ */
972
+ matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
763
973
  /**
764
974
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
765
975
  *