@google-cloud/discoveryengine 1.3.0 → 1.4.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 (131) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +63 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +54 -3
  4. package/build/protos/google/cloud/discoveryengine/v1/completion.proto +52 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +51 -4
  6. package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +40 -1
  8. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +98 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +304 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
  11. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +215 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +242 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +64 -0
  14. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
  15. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +137 -4
  16. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +170 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +691 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +3 -3
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +0 -5
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +39 -0
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +97 -0
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +147 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +164 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +540 -0
  28. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +59 -8
  29. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +52 -0
  30. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +51 -4
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -0
  32. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +40 -1
  33. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +98 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +306 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
  36. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +220 -0
  37. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +244 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +64 -0
  39. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +38 -0
  40. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +26 -3
  41. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +150 -11
  42. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +264 -0
  43. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +147 -0
  44. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +170 -0
  45. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +695 -0
  46. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -3
  47. package/build/protos/protos.d.ts +42822 -21397
  48. package/build/protos/protos.js +110509 -61572
  49. package/build/protos/protos.json +11779 -6752
  50. package/build/src/index.d.ts +10 -1
  51. package/build/src/index.js +11 -2
  52. package/build/src/v1/completion_service_client.d.ts +489 -7
  53. package/build/src/v1/completion_service_client.js +716 -12
  54. package/build/src/v1/completion_service_client_config.json +10 -0
  55. package/build/src/v1/conversational_search_service_client.d.ts +341 -3
  56. package/build/src/v1/conversational_search_service_client.js +467 -10
  57. package/build/src/v1/data_store_service_client.d.ts +1286 -0
  58. package/build/src/v1/data_store_service_client.js +1768 -0
  59. package/build/src/v1/data_store_service_client_config.json +46 -0
  60. package/build/src/v1/document_service_client.d.ts +347 -2
  61. package/build/src/v1/document_service_client.js +507 -10
  62. package/build/src/v1/engine_service_client.d.ts +1211 -0
  63. package/build/src/v1/engine_service_client.js +1731 -0
  64. package/build/src/v1/engine_service_client_config.json +46 -0
  65. package/build/src/v1/index.d.ts +3 -0
  66. package/build/src/v1/index.js +8 -2
  67. package/build/src/v1/schema_service_client.d.ts +272 -2
  68. package/build/src/v1/schema_service_client.js +403 -10
  69. package/build/src/v1/search_service_client.d.ts +515 -11
  70. package/build/src/v1/search_service_client.js +649 -16
  71. package/build/src/v1/site_search_engine_service_client.d.ts +1564 -0
  72. package/build/src/v1/site_search_engine_service_client.js +2075 -0
  73. package/build/src/v1/site_search_engine_service_client_config.json +74 -0
  74. package/build/src/v1/user_event_service_client.d.ts +272 -2
  75. package/build/src/v1/user_event_service_client.js +403 -10
  76. package/build/src/v1alpha/completion_service_client.d.ts +230 -2
  77. package/build/src/v1alpha/completion_service_client.js +339 -10
  78. package/build/src/v1alpha/conversational_search_service_client.d.ts +247 -2
  79. package/build/src/v1alpha/conversational_search_service_client.js +339 -10
  80. package/build/src/v1alpha/data_store_service_client.d.ts +230 -2
  81. package/build/src/v1alpha/data_store_service_client.js +347 -12
  82. package/build/src/v1alpha/document_service_client.d.ts +230 -2
  83. package/build/src/v1alpha/document_service_client.js +347 -12
  84. package/build/src/v1alpha/engine_service_client.d.ts +231 -3
  85. package/build/src/v1alpha/engine_service_client.js +347 -12
  86. package/build/src/v1alpha/index.d.ts +1 -0
  87. package/build/src/v1alpha/index.js +4 -2
  88. package/build/src/v1alpha/recommendation_service_client.d.ts +230 -2
  89. package/build/src/v1alpha/recommendation_service_client.js +339 -10
  90. package/build/src/v1alpha/schema_service_client.d.ts +230 -2
  91. package/build/src/v1alpha/schema_service_client.js +347 -12
  92. package/build/src/v1alpha/search_service_client.d.ts +269 -2
  93. package/build/src/v1alpha/search_service_client.js +365 -10
  94. package/build/src/v1alpha/search_tuning_service_client.d.ts +977 -0
  95. package/build/src/v1alpha/search_tuning_service_client.js +1479 -0
  96. package/build/src/v1alpha/search_tuning_service_client_config.json +30 -0
  97. package/build/src/v1alpha/site_search_engine_service_client.d.ts +750 -3
  98. package/build/src/v1alpha/site_search_engine_service_client.js +838 -14
  99. package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
  100. package/build/src/v1alpha/user_event_service_client.d.ts +230 -2
  101. package/build/src/v1alpha/user_event_service_client.js +347 -12
  102. package/build/src/v1beta/completion_service_client.d.ts +633 -7
  103. package/build/src/v1beta/completion_service_client.js +912 -12
  104. package/build/src/v1beta/completion_service_client_config.json +10 -0
  105. package/build/src/v1beta/conversational_search_service_client.d.ts +341 -3
  106. package/build/src/v1beta/conversational_search_service_client.js +467 -10
  107. package/build/src/v1beta/data_store_service_client.d.ts +1433 -0
  108. package/build/src/v1beta/data_store_service_client.js +1966 -0
  109. package/build/src/v1beta/data_store_service_client_config.json +46 -0
  110. package/build/src/v1beta/document_service_client.d.ts +491 -2
  111. package/build/src/v1beta/document_service_client.js +707 -12
  112. package/build/src/v1beta/engine_service_client.d.ts +1357 -0
  113. package/build/src/v1beta/engine_service_client.js +1928 -0
  114. package/build/src/v1beta/engine_service_client_config.json +46 -0
  115. package/build/src/v1beta/index.d.ts +4 -0
  116. package/build/src/v1beta/index.js +10 -2
  117. package/build/src/v1beta/recommendation_service_client.d.ts +420 -5
  118. package/build/src/v1beta/recommendation_service_client.js +571 -10
  119. package/build/src/v1beta/schema_service_client.d.ts +416 -2
  120. package/build/src/v1beta/schema_service_client.js +603 -12
  121. package/build/src/v1beta/search_service_client.d.ts +539 -29
  122. package/build/src/v1beta/search_service_client.js +665 -28
  123. package/build/src/v1beta/serving_config_service_client.d.ts +1102 -0
  124. package/build/src/v1beta/serving_config_service_client.js +1563 -0
  125. package/build/src/v1beta/serving_config_service_client_config.json +38 -0
  126. package/build/src/v1beta/site_search_engine_service_client.d.ts +1712 -0
  127. package/build/src/v1beta/site_search_engine_service_client.js +2271 -0
  128. package/build/src/v1beta/site_search_engine_service_client_config.json +74 -0
  129. package/build/src/v1beta/user_event_service_client.d.ts +416 -2
  130. package/build/src/v1beta/user_event_service_client.js +603 -12
  131. package/package.json +3 -3
@@ -16,6 +16,8 @@ export declare class SearchServiceClient {
16
16
  private _gaxGrpc;
17
17
  private _protos;
18
18
  private _defaults;
19
+ private _universeDomain;
20
+ private _servicePath;
19
21
  auth: gax.GoogleAuth;
20
22
  descriptors: Descriptors;
21
23
  warn: (code: string, message: string, warnType?: string) => void;
@@ -85,15 +87,22 @@ export declare class SearchServiceClient {
85
87
  }>;
86
88
  /**
87
89
  * The DNS address for this API service.
90
+ * @deprecated Use the apiEndpoint method of the client instance.
88
91
  * @returns {string} The DNS address for this service.
89
92
  */
90
93
  static get servicePath(): string;
91
94
  /**
92
- * The DNS address for this API service - same as servicePath(),
93
- * exists for compatibility reasons.
95
+ * The DNS address for this API service - same as servicePath.
96
+ * @deprecated Use the apiEndpoint method of the client instance.
94
97
  * @returns {string} The DNS address for this service.
95
98
  */
96
99
  static get apiEndpoint(): string;
100
+ /**
101
+ * The DNS address for this API service.
102
+ * @returns {string} The DNS address for this service.
103
+ */
104
+ get apiEndpoint(): string;
105
+ get universeDomain(): string;
97
106
  /**
98
107
  * The port for this API service.
99
108
  * @returns {number} The default port for this service.
@@ -114,6 +123,8 @@ export declare class SearchServiceClient {
114
123
  * The request object that will be sent.
115
124
  * @param {string} request.servingConfig
116
125
  * Required. The resource name of the Search serving config, such as
126
+ * `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
127
+ * or
117
128
  * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
118
129
  * This field is used to identify the serving configuration name, set
119
130
  * of models used to make the search.
@@ -157,11 +168,35 @@ export declare class SearchServiceClient {
157
168
  * expression is case-sensitive.
158
169
  *
159
170
  * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
171
+ *
172
+ * Filtering in Vertex AI Search is done by mapping the LHS filter key to a
173
+ * key property defined in the Vertex AI Search backend -- this mapping is
174
+ * defined by the customer in their schema. For example a media customer might
175
+ * have a field 'name' in their schema. In this case the filter would look
176
+ * like this: filter --> name:'ANY("king kong")'
177
+ *
178
+ * For more information about filtering including syntax and filter
179
+ * operators, see
180
+ * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
181
+ * @param {string} request.canonicalFilter
182
+ * The default filter that is applied when a user performs a search without
183
+ * checking any filters on the search page.
184
+ *
185
+ * The filter applied to every search request when quality improvement such as
186
+ * query expansion is needed. In the case a query does not have a sufficient
187
+ * amount of results this filter will be used to determine whether or not to
188
+ * enable the query expansion flow. The original filter will still be used for
189
+ * the query expanded search.
190
+ * This field is strongly recommended to achieve high search quality.
191
+ *
192
+ * For more information about filter syntax, see
193
+ * {@link protos.google.cloud.discoveryengine.v1.SearchRequest.filter|SearchRequest.filter}.
160
194
  * @param {string} request.orderBy
161
195
  * The order in which documents are returned. Documents can be ordered by
162
196
  * a field in an {@link protos.google.cloud.discoveryengine.v1.Document|Document} object.
163
197
  * Leave it unset if ordered by relevance. `order_by` expression is
164
- * case-sensitive.
198
+ * case-sensitive. For more information on ordering, see
199
+ * [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
165
200
  *
166
201
  * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
167
202
  * @param {google.cloud.discoveryengine.v1.UserInfo} request.userInfo
@@ -176,6 +211,8 @@ export declare class SearchServiceClient {
176
211
  * error is returned.
177
212
  * @param {google.cloud.discoveryengine.v1.SearchRequest.BoostSpec} request.boostSpec
178
213
  * Boost specification to boost certain documents.
214
+ * For more information on boosting, see
215
+ * [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
179
216
  * @param {number[]} request.params
180
217
  * Additional search parameters.
181
218
  *
@@ -183,9 +220,17 @@ export declare class SearchServiceClient {
183
220
  *
184
221
  * * `user_country_code`: string. Default empty. If set to non-empty, results
185
222
  * are restricted or boosted based on the location provided.
223
+ * Example:
224
+ * user_country_code: "au"
225
+ *
226
+ * For available codes see [Country
227
+ * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
228
+ *
186
229
  * * `search_type`: double. Default empty. Enables non-webpage searching
187
- * depending on the value. The only valid non-default value is 1,
188
- * which enables image searching.
230
+ * depending on the value. The only valid non-default value is 1,
231
+ * which enables image searching.
232
+ * Example:
233
+ * search_type: 1
189
234
  * @param {google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
190
235
  * The query expansion specification that specifies the conditions under which
191
236
  * query expansion occurs.
@@ -255,6 +300,8 @@ export declare class SearchServiceClient {
255
300
  * The request object that will be sent.
256
301
  * @param {string} request.servingConfig
257
302
  * Required. The resource name of the Search serving config, such as
303
+ * `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
304
+ * or
258
305
  * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
259
306
  * This field is used to identify the serving configuration name, set
260
307
  * of models used to make the search.
@@ -298,11 +345,35 @@ export declare class SearchServiceClient {
298
345
  * expression is case-sensitive.
299
346
  *
300
347
  * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
348
+ *
349
+ * Filtering in Vertex AI Search is done by mapping the LHS filter key to a
350
+ * key property defined in the Vertex AI Search backend -- this mapping is
351
+ * defined by the customer in their schema. For example a media customer might
352
+ * have a field 'name' in their schema. In this case the filter would look
353
+ * like this: filter --> name:'ANY("king kong")'
354
+ *
355
+ * For more information about filtering including syntax and filter
356
+ * operators, see
357
+ * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
358
+ * @param {string} request.canonicalFilter
359
+ * The default filter that is applied when a user performs a search without
360
+ * checking any filters on the search page.
361
+ *
362
+ * The filter applied to every search request when quality improvement such as
363
+ * query expansion is needed. In the case a query does not have a sufficient
364
+ * amount of results this filter will be used to determine whether or not to
365
+ * enable the query expansion flow. The original filter will still be used for
366
+ * the query expanded search.
367
+ * This field is strongly recommended to achieve high search quality.
368
+ *
369
+ * For more information about filter syntax, see
370
+ * {@link protos.google.cloud.discoveryengine.v1.SearchRequest.filter|SearchRequest.filter}.
301
371
  * @param {string} request.orderBy
302
372
  * The order in which documents are returned. Documents can be ordered by
303
373
  * a field in an {@link protos.google.cloud.discoveryengine.v1.Document|Document} object.
304
374
  * Leave it unset if ordered by relevance. `order_by` expression is
305
- * case-sensitive.
375
+ * case-sensitive. For more information on ordering, see
376
+ * [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
306
377
  *
307
378
  * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
308
379
  * @param {google.cloud.discoveryengine.v1.UserInfo} request.userInfo
@@ -317,6 +388,8 @@ export declare class SearchServiceClient {
317
388
  * error is returned.
318
389
  * @param {google.cloud.discoveryengine.v1.SearchRequest.BoostSpec} request.boostSpec
319
390
  * Boost specification to boost certain documents.
391
+ * For more information on boosting, see
392
+ * [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
320
393
  * @param {number[]} request.params
321
394
  * Additional search parameters.
322
395
  *
@@ -324,9 +397,17 @@ export declare class SearchServiceClient {
324
397
  *
325
398
  * * `user_country_code`: string. Default empty. If set to non-empty, results
326
399
  * are restricted or boosted based on the location provided.
400
+ * Example:
401
+ * user_country_code: "au"
402
+ *
403
+ * For available codes see [Country
404
+ * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
405
+ *
327
406
  * * `search_type`: double. Default empty. Enables non-webpage searching
328
- * depending on the value. The only valid non-default value is 1,
329
- * which enables image searching.
407
+ * depending on the value. The only valid non-default value is 1,
408
+ * which enables image searching.
409
+ * Example:
410
+ * search_type: 1
330
411
  * @param {google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
331
412
  * The query expansion specification that specifies the conditions under which
332
413
  * query expansion occurs.
@@ -391,6 +472,8 @@ export declare class SearchServiceClient {
391
472
  * The request object that will be sent.
392
473
  * @param {string} request.servingConfig
393
474
  * Required. The resource name of the Search serving config, such as
475
+ * `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
476
+ * or
394
477
  * `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
395
478
  * This field is used to identify the serving configuration name, set
396
479
  * of models used to make the search.
@@ -434,11 +517,35 @@ export declare class SearchServiceClient {
434
517
  * expression is case-sensitive.
435
518
  *
436
519
  * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
520
+ *
521
+ * Filtering in Vertex AI Search is done by mapping the LHS filter key to a
522
+ * key property defined in the Vertex AI Search backend -- this mapping is
523
+ * defined by the customer in their schema. For example a media customer might
524
+ * have a field 'name' in their schema. In this case the filter would look
525
+ * like this: filter --> name:'ANY("king kong")'
526
+ *
527
+ * For more information about filtering including syntax and filter
528
+ * operators, see
529
+ * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
530
+ * @param {string} request.canonicalFilter
531
+ * The default filter that is applied when a user performs a search without
532
+ * checking any filters on the search page.
533
+ *
534
+ * The filter applied to every search request when quality improvement such as
535
+ * query expansion is needed. In the case a query does not have a sufficient
536
+ * amount of results this filter will be used to determine whether or not to
537
+ * enable the query expansion flow. The original filter will still be used for
538
+ * the query expanded search.
539
+ * This field is strongly recommended to achieve high search quality.
540
+ *
541
+ * For more information about filter syntax, see
542
+ * {@link protos.google.cloud.discoveryengine.v1.SearchRequest.filter|SearchRequest.filter}.
437
543
  * @param {string} request.orderBy
438
544
  * The order in which documents are returned. Documents can be ordered by
439
545
  * a field in an {@link protos.google.cloud.discoveryengine.v1.Document|Document} object.
440
546
  * Leave it unset if ordered by relevance. `order_by` expression is
441
- * case-sensitive.
547
+ * case-sensitive. For more information on ordering, see
548
+ * [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
442
549
  *
443
550
  * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
444
551
  * @param {google.cloud.discoveryengine.v1.UserInfo} request.userInfo
@@ -453,6 +560,8 @@ export declare class SearchServiceClient {
453
560
  * error is returned.
454
561
  * @param {google.cloud.discoveryengine.v1.SearchRequest.BoostSpec} request.boostSpec
455
562
  * Boost specification to boost certain documents.
563
+ * For more information on boosting, see
564
+ * [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
456
565
  * @param {number[]} request.params
457
566
  * Additional search parameters.
458
567
  *
@@ -460,9 +569,17 @@ export declare class SearchServiceClient {
460
569
  *
461
570
  * * `user_country_code`: string. Default empty. If set to non-empty, results
462
571
  * are restricted or boosted based on the location provided.
572
+ * Example:
573
+ * user_country_code: "au"
574
+ *
575
+ * For available codes see [Country
576
+ * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
577
+ *
463
578
  * * `search_type`: double. Default empty. Enables non-webpage searching
464
- * depending on the value. The only valid non-default value is 1,
465
- * which enables image searching.
579
+ * depending on the value. The only valid non-default value is 1,
580
+ * which enables image searching.
581
+ * Example:
582
+ * search_type: 1
466
583
  * @param {google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
467
584
  * The query expansion specification that specifies the conditions under which
468
585
  * query expansion occurs.
@@ -571,6 +688,90 @@ export declare class SearchServiceClient {
571
688
  * ```
572
689
  */
573
690
  listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
691
+ /**
692
+ * Return a fully-qualified engine resource name string.
693
+ *
694
+ * @param {string} project
695
+ * @param {string} location
696
+ * @param {string} collection
697
+ * @param {string} engine
698
+ * @returns {string} Resource name string.
699
+ */
700
+ enginePath(project: string, location: string, collection: string, engine: string): string;
701
+ /**
702
+ * Parse the project from Engine resource.
703
+ *
704
+ * @param {string} engineName
705
+ * A fully-qualified path representing Engine resource.
706
+ * @returns {string} A string representing the project.
707
+ */
708
+ matchProjectFromEngineName(engineName: string): string | number;
709
+ /**
710
+ * Parse the location from Engine resource.
711
+ *
712
+ * @param {string} engineName
713
+ * A fully-qualified path representing Engine resource.
714
+ * @returns {string} A string representing the location.
715
+ */
716
+ matchLocationFromEngineName(engineName: string): string | number;
717
+ /**
718
+ * Parse the collection from Engine resource.
719
+ *
720
+ * @param {string} engineName
721
+ * A fully-qualified path representing Engine resource.
722
+ * @returns {string} A string representing the collection.
723
+ */
724
+ matchCollectionFromEngineName(engineName: string): string | number;
725
+ /**
726
+ * Parse the engine from Engine resource.
727
+ *
728
+ * @param {string} engineName
729
+ * A fully-qualified path representing Engine resource.
730
+ * @returns {string} A string representing the engine.
731
+ */
732
+ matchEngineFromEngineName(engineName: string): string | number;
733
+ /**
734
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
735
+ *
736
+ * @param {string} project
737
+ * @param {string} location
738
+ * @param {string} collection
739
+ * @param {string} data_store
740
+ * @returns {string} Resource name string.
741
+ */
742
+ projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
743
+ /**
744
+ * Parse the project from ProjectLocationCollectionDataStore resource.
745
+ *
746
+ * @param {string} projectLocationCollectionDataStoreName
747
+ * A fully-qualified path representing project_location_collection_data_store resource.
748
+ * @returns {string} A string representing the project.
749
+ */
750
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
751
+ /**
752
+ * Parse the location from ProjectLocationCollectionDataStore resource.
753
+ *
754
+ * @param {string} projectLocationCollectionDataStoreName
755
+ * A fully-qualified path representing project_location_collection_data_store resource.
756
+ * @returns {string} A string representing the location.
757
+ */
758
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
759
+ /**
760
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
761
+ *
762
+ * @param {string} projectLocationCollectionDataStoreName
763
+ * A fully-qualified path representing project_location_collection_data_store resource.
764
+ * @returns {string} A string representing the collection.
765
+ */
766
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
767
+ /**
768
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
769
+ *
770
+ * @param {string} projectLocationCollectionDataStoreName
771
+ * A fully-qualified path representing project_location_collection_data_store resource.
772
+ * @returns {string} A string representing the data_store.
773
+ */
774
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
574
775
  /**
575
776
  * Return a fully-qualified projectLocationCollectionDataStoreBranch resource name string.
576
777
  *
@@ -835,6 +1036,234 @@ export declare class SearchServiceClient {
835
1036
  * @returns {string} A string representing the serving_config.
836
1037
  */
837
1038
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
1039
+ /**
1040
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1041
+ *
1042
+ * @param {string} project
1043
+ * @param {string} location
1044
+ * @param {string} collection
1045
+ * @param {string} data_store
1046
+ * @returns {string} Resource name string.
1047
+ */
1048
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
1049
+ /**
1050
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1051
+ *
1052
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1053
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1054
+ * @returns {string} A string representing the project.
1055
+ */
1056
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1057
+ /**
1058
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1059
+ *
1060
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1061
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1062
+ * @returns {string} A string representing the location.
1063
+ */
1064
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1065
+ /**
1066
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1067
+ *
1068
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1069
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1070
+ * @returns {string} A string representing the collection.
1071
+ */
1072
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1073
+ /**
1074
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1075
+ *
1076
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1077
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1078
+ * @returns {string} A string representing the data_store.
1079
+ */
1080
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
1081
+ /**
1082
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
1083
+ *
1084
+ * @param {string} project
1085
+ * @param {string} location
1086
+ * @param {string} collection
1087
+ * @param {string} data_store
1088
+ * @param {string} target_site
1089
+ * @returns {string} Resource name string.
1090
+ */
1091
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
1092
+ /**
1093
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1094
+ *
1095
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1096
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1097
+ * @returns {string} A string representing the project.
1098
+ */
1099
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1100
+ /**
1101
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1102
+ *
1103
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1104
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1105
+ * @returns {string} A string representing the location.
1106
+ */
1107
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1108
+ /**
1109
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1110
+ *
1111
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1112
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1113
+ * @returns {string} A string representing the collection.
1114
+ */
1115
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1116
+ /**
1117
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1118
+ *
1119
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1120
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1121
+ * @returns {string} A string representing the data_store.
1122
+ */
1123
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1124
+ /**
1125
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1126
+ *
1127
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1128
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1129
+ * @returns {string} A string representing the target_site.
1130
+ */
1131
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1132
+ /**
1133
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1134
+ *
1135
+ * @param {string} project
1136
+ * @param {string} location
1137
+ * @param {string} collection
1138
+ * @param {string} engine
1139
+ * @param {string} conversation
1140
+ * @returns {string} Resource name string.
1141
+ */
1142
+ projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
1143
+ /**
1144
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1145
+ *
1146
+ * @param {string} projectLocationCollectionEngineConversationName
1147
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1148
+ * @returns {string} A string representing the project.
1149
+ */
1150
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1151
+ /**
1152
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1153
+ *
1154
+ * @param {string} projectLocationCollectionEngineConversationName
1155
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1156
+ * @returns {string} A string representing the location.
1157
+ */
1158
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1159
+ /**
1160
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1161
+ *
1162
+ * @param {string} projectLocationCollectionEngineConversationName
1163
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1164
+ * @returns {string} A string representing the collection.
1165
+ */
1166
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1167
+ /**
1168
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1169
+ *
1170
+ * @param {string} projectLocationCollectionEngineConversationName
1171
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1172
+ * @returns {string} A string representing the engine.
1173
+ */
1174
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1175
+ /**
1176
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1177
+ *
1178
+ * @param {string} projectLocationCollectionEngineConversationName
1179
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1180
+ * @returns {string} A string representing the conversation.
1181
+ */
1182
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1183
+ /**
1184
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1185
+ *
1186
+ * @param {string} project
1187
+ * @param {string} location
1188
+ * @param {string} collection
1189
+ * @param {string} engine
1190
+ * @param {string} serving_config
1191
+ * @returns {string} Resource name string.
1192
+ */
1193
+ projectLocationCollectionEngineServingConfigPath(project: string, location: string, collection: string, engine: string, servingConfig: string): string;
1194
+ /**
1195
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1196
+ *
1197
+ * @param {string} projectLocationCollectionEngineServingConfigName
1198
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1199
+ * @returns {string} A string representing the project.
1200
+ */
1201
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1202
+ /**
1203
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1204
+ *
1205
+ * @param {string} projectLocationCollectionEngineServingConfigName
1206
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1207
+ * @returns {string} A string representing the location.
1208
+ */
1209
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1210
+ /**
1211
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1212
+ *
1213
+ * @param {string} projectLocationCollectionEngineServingConfigName
1214
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1215
+ * @returns {string} A string representing the collection.
1216
+ */
1217
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1218
+ /**
1219
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1220
+ *
1221
+ * @param {string} projectLocationCollectionEngineServingConfigName
1222
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1223
+ * @returns {string} A string representing the engine.
1224
+ */
1225
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1226
+ /**
1227
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1228
+ *
1229
+ * @param {string} projectLocationCollectionEngineServingConfigName
1230
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1231
+ * @returns {string} A string representing the serving_config.
1232
+ */
1233
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1234
+ /**
1235
+ * Return a fully-qualified projectLocationDataStore resource name string.
1236
+ *
1237
+ * @param {string} project
1238
+ * @param {string} location
1239
+ * @param {string} data_store
1240
+ * @returns {string} Resource name string.
1241
+ */
1242
+ projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
1243
+ /**
1244
+ * Parse the project from ProjectLocationDataStore resource.
1245
+ *
1246
+ * @param {string} projectLocationDataStoreName
1247
+ * A fully-qualified path representing project_location_data_store resource.
1248
+ * @returns {string} A string representing the project.
1249
+ */
1250
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1251
+ /**
1252
+ * Parse the location from ProjectLocationDataStore resource.
1253
+ *
1254
+ * @param {string} projectLocationDataStoreName
1255
+ * A fully-qualified path representing project_location_data_store resource.
1256
+ * @returns {string} A string representing the location.
1257
+ */
1258
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
1259
+ /**
1260
+ * Parse the data_store from ProjectLocationDataStore resource.
1261
+ *
1262
+ * @param {string} projectLocationDataStoreName
1263
+ * A fully-qualified path representing project_location_data_store resource.
1264
+ * @returns {string} A string representing the data_store.
1265
+ */
1266
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
838
1267
  /**
839
1268
  * Return a fully-qualified projectLocationDataStoreBranch resource name string.
840
1269
  *
@@ -1054,6 +1483,81 @@ export declare class SearchServiceClient {
1054
1483
  * @returns {string} A string representing the serving_config.
1055
1484
  */
1056
1485
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1486
+ /**
1487
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1488
+ *
1489
+ * @param {string} project
1490
+ * @param {string} location
1491
+ * @param {string} data_store
1492
+ * @returns {string} Resource name string.
1493
+ */
1494
+ projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
1495
+ /**
1496
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1497
+ *
1498
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1499
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1500
+ * @returns {string} A string representing the project.
1501
+ */
1502
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1503
+ /**
1504
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1505
+ *
1506
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1507
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1508
+ * @returns {string} A string representing the location.
1509
+ */
1510
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1511
+ /**
1512
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1513
+ *
1514
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1515
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1516
+ * @returns {string} A string representing the data_store.
1517
+ */
1518
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1519
+ /**
1520
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1521
+ *
1522
+ * @param {string} project
1523
+ * @param {string} location
1524
+ * @param {string} data_store
1525
+ * @param {string} target_site
1526
+ * @returns {string} Resource name string.
1527
+ */
1528
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
1529
+ /**
1530
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1531
+ *
1532
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1533
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1534
+ * @returns {string} A string representing the project.
1535
+ */
1536
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1537
+ /**
1538
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1539
+ *
1540
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1541
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1542
+ * @returns {string} A string representing the location.
1543
+ */
1544
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1545
+ /**
1546
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1547
+ *
1548
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1549
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1550
+ * @returns {string} A string representing the data_store.
1551
+ */
1552
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1553
+ /**
1554
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1555
+ *
1556
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1557
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1558
+ * @returns {string} A string representing the target_site.
1559
+ */
1560
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1057
1561
  /**
1058
1562
  * Terminate the gRPC channel and close the client.
1059
1563
  *