@google-cloud/discoveryengine 1.8.0 → 1.9.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 (199) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +33 -4
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +337 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/common.proto +33 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/control.proto +214 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/control_service.proto +236 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +2 -2
  8. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +569 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +4 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +2 -2
  11. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +92 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -6
  13. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +4 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +149 -0
  15. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +58 -0
  16. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +4 -4
  17. package/build/protos/google/cloud/discoveryengine/v1/project.proto +103 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/project_service.proto +90 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +131 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +20 -19
  21. package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +5 -5
  22. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +23 -18
  23. package/build/protos/google/cloud/discoveryengine/v1/session.proto +97 -0
  24. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +3 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +28 -3
  26. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +18 -2
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +9 -0
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +7 -0
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +16 -0
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +217 -0
  31. package/build/protos/google/cloud/discoveryengine/v1alpha/control_service.proto +236 -0
  32. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +2 -2
  33. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +19 -3
  34. package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +87 -0
  35. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +2 -2
  36. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +1 -0
  37. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +12 -9
  38. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +4 -4
  39. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +30 -1
  40. package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +3 -0
  41. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +4 -4
  42. package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +1 -0
  43. package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +2 -0
  44. package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +19 -0
  45. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +20 -19
  46. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +37 -2
  47. package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +6 -6
  48. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +28 -31
  49. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +39 -0
  50. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +3 -0
  51. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +3 -0
  52. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +29 -3
  53. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +18 -2
  54. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +10 -1
  55. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +16 -0
  56. package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +216 -0
  57. package/build/protos/google/cloud/discoveryengine/v1beta/control_service.proto +236 -0
  58. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +2 -2
  59. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +19 -3
  60. package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +87 -0
  61. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +2 -2
  62. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +1 -0
  63. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +7 -8
  64. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +4 -4
  65. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +30 -1
  66. package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +3 -0
  67. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +4 -4
  68. package/build/protos/google/cloud/discoveryengine/v1beta/project.proto +103 -0
  69. package/build/protos/google/cloud/discoveryengine/v1beta/project_service.proto +90 -0
  70. package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +19 -0
  71. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +20 -19
  72. package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +5 -5
  73. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +30 -24
  74. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +39 -0
  75. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +4 -1
  76. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +3 -0
  77. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +28 -3
  78. package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +18 -2
  79. package/build/protos/protos.d.ts +52350 -38733
  80. package/build/protos/protos.js +136479 -103212
  81. package/build/protos/protos.json +9460 -5916
  82. package/build/src/index.d.ts +13 -1
  83. package/build/src/index.js +13 -1
  84. package/build/src/v1/completion_service_client.d.ts +549 -0
  85. package/build/src/v1/completion_service_client.js +771 -0
  86. package/build/src/v1/control_service_client.d.ts +1623 -0
  87. package/build/src/v1/control_service_client.js +2218 -0
  88. package/build/src/v1/control_service_client_config.json +63 -0
  89. package/build/src/v1/conversational_search_service_client.d.ts +893 -0
  90. package/build/src/v1/conversational_search_service_client.js +1040 -14
  91. package/build/src/v1/conversational_search_service_client_config.json +35 -0
  92. package/build/src/v1/data_store_service_client.d.ts +555 -6
  93. package/build/src/v1/data_store_service_client.js +775 -4
  94. package/build/src/v1/document_service_client.d.ts +557 -8
  95. package/build/src/v1/document_service_client.js +773 -2
  96. package/build/src/v1/engine_service_client.d.ts +549 -0
  97. package/build/src/v1/engine_service_client.js +771 -0
  98. package/build/src/v1/grounded_generation_service_client.d.ts +1439 -0
  99. package/build/src/v1/grounded_generation_service_client.js +2036 -0
  100. package/build/src/v1/grounded_generation_service_client_config.json +43 -0
  101. package/build/src/v1/index.d.ts +4 -0
  102. package/build/src/v1/index.js +9 -1
  103. package/build/src/v1/project_service_client.d.ts +1533 -0
  104. package/build/src/v1/project_service_client.js +2255 -0
  105. package/build/src/v1/project_service_client_config.json +43 -0
  106. package/build/src/v1/rank_service_client.d.ts +1449 -0
  107. package/build/src/v1/rank_service_client.js +2037 -0
  108. package/build/src/v1/rank_service_client_config.json +43 -0
  109. package/build/src/v1/recommendation_service_client.d.ts +568 -18
  110. package/build/src/v1/recommendation_service_client.js +756 -0
  111. package/build/src/v1/schema_service_client.d.ts +558 -9
  112. package/build/src/v1/schema_service_client.js +775 -4
  113. package/build/src/v1/search_service_client.d.ts +579 -21
  114. package/build/src/v1/search_service_client.js +776 -14
  115. package/build/src/v1/site_search_engine_service_client.d.ts +549 -0
  116. package/build/src/v1/site_search_engine_service_client.js +771 -0
  117. package/build/src/v1/user_event_service_client.d.ts +562 -2
  118. package/build/src/v1/user_event_service_client.js +771 -0
  119. package/build/src/v1alpha/acl_config_service_client.d.ts +237 -0
  120. package/build/src/v1alpha/acl_config_service_client.js +326 -0
  121. package/build/src/v1alpha/chunk_service_client.d.ts +237 -0
  122. package/build/src/v1alpha/chunk_service_client.js +326 -0
  123. package/build/src/v1alpha/completion_service_client.d.ts +237 -0
  124. package/build/src/v1alpha/completion_service_client.js +340 -0
  125. package/build/src/v1alpha/control_service_client.d.ts +2013 -0
  126. package/build/src/v1alpha/control_service_client.js +2757 -0
  127. package/build/src/v1alpha/control_service_client_config.json +63 -0
  128. package/build/src/v1alpha/conversational_search_service_client.d.ts +239 -2
  129. package/build/src/v1alpha/conversational_search_service_client.js +326 -0
  130. package/build/src/v1alpha/data_store_service_client.d.ts +243 -6
  131. package/build/src/v1alpha/data_store_service_client.js +344 -4
  132. package/build/src/v1alpha/document_service_client.d.ts +246 -9
  133. package/build/src/v1alpha/document_service_client.js +342 -2
  134. package/build/src/v1alpha/engine_service_client.d.ts +237 -0
  135. package/build/src/v1alpha/engine_service_client.js +340 -0
  136. package/build/src/v1alpha/estimate_billing_service_client.d.ts +237 -0
  137. package/build/src/v1alpha/estimate_billing_service_client.js +340 -0
  138. package/build/src/v1alpha/grounded_generation_service_client.d.ts +256 -1
  139. package/build/src/v1alpha/grounded_generation_service_client.js +326 -0
  140. package/build/src/v1alpha/index.d.ts +1 -0
  141. package/build/src/v1alpha/index.js +3 -1
  142. package/build/src/v1alpha/project_service_client.d.ts +239 -0
  143. package/build/src/v1alpha/project_service_client.js +340 -0
  144. package/build/src/v1alpha/project_service_client_config.json +21 -6
  145. package/build/src/v1alpha/rank_service_client.d.ts +255 -0
  146. package/build/src/v1alpha/rank_service_client.js +326 -0
  147. package/build/src/v1alpha/recommendation_service_client.d.ts +256 -18
  148. package/build/src/v1alpha/recommendation_service_client.js +326 -0
  149. package/build/src/v1alpha/schema_service_client.d.ts +247 -10
  150. package/build/src/v1alpha/schema_service_client.js +344 -4
  151. package/build/src/v1alpha/search_service_client.d.ts +267 -21
  152. package/build/src/v1alpha/search_service_client.js +346 -14
  153. package/build/src/v1alpha/search_tuning_service_client.d.ts +265 -0
  154. package/build/src/v1alpha/search_tuning_service_client.js +365 -1
  155. package/build/src/v1alpha/search_tuning_service_client_config.json +4 -0
  156. package/build/src/v1alpha/serving_config_service_client.d.ts +237 -0
  157. package/build/src/v1alpha/serving_config_service_client.js +326 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +237 -0
  159. package/build/src/v1alpha/site_search_engine_service_client.js +340 -0
  160. package/build/src/v1alpha/user_event_service_client.d.ts +250 -2
  161. package/build/src/v1alpha/user_event_service_client.js +340 -0
  162. package/build/src/v1beta/completion_service_client.d.ts +252 -0
  163. package/build/src/v1beta/completion_service_client.js +359 -0
  164. package/build/src/v1beta/control_service_client.d.ts +1860 -0
  165. package/build/src/v1beta/control_service_client.js +2545 -0
  166. package/build/src/v1beta/control_service_client_config.json +63 -0
  167. package/build/src/v1beta/conversational_search_service_client.d.ts +254 -2
  168. package/build/src/v1beta/conversational_search_service_client.js +348 -0
  169. package/build/src/v1beta/data_store_service_client.d.ts +258 -6
  170. package/build/src/v1beta/data_store_service_client.js +363 -4
  171. package/build/src/v1beta/document_service_client.d.ts +261 -10
  172. package/build/src/v1beta/document_service_client.js +361 -2
  173. package/build/src/v1beta/engine_service_client.d.ts +252 -0
  174. package/build/src/v1beta/engine_service_client.js +359 -0
  175. package/build/src/v1beta/grounded_generation_service_client.d.ts +271 -1
  176. package/build/src/v1beta/grounded_generation_service_client.js +348 -0
  177. package/build/src/v1beta/index.d.ts +2 -0
  178. package/build/src/v1beta/index.js +5 -1
  179. package/build/src/v1beta/project_service_client.d.ts +1770 -0
  180. package/build/src/v1beta/project_service_client.js +2576 -0
  181. package/build/src/v1beta/project_service_client_config.json +43 -0
  182. package/build/src/v1beta/rank_service_client.d.ts +270 -0
  183. package/build/src/v1beta/rank_service_client.js +348 -0
  184. package/build/src/v1beta/recommendation_service_client.d.ts +271 -18
  185. package/build/src/v1beta/recommendation_service_client.js +348 -0
  186. package/build/src/v1beta/schema_service_client.d.ts +261 -9
  187. package/build/src/v1beta/schema_service_client.js +363 -4
  188. package/build/src/v1beta/search_service_client.d.ts +282 -21
  189. package/build/src/v1beta/search_service_client.js +368 -14
  190. package/build/src/v1beta/search_tuning_service_client.d.ts +280 -0
  191. package/build/src/v1beta/search_tuning_service_client.js +384 -1
  192. package/build/src/v1beta/search_tuning_service_client_config.json +4 -0
  193. package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
  194. package/build/src/v1beta/serving_config_service_client.js +326 -0
  195. package/build/src/v1beta/site_search_engine_service_client.d.ts +252 -0
  196. package/build/src/v1beta/site_search_engine_service_client.js +359 -0
  197. package/build/src/v1beta/user_event_service_client.d.ts +265 -2
  198. package/build/src/v1beta/user_event_service_client.js +359 -0
  199. package/package.json +2 -2
@@ -167,7 +167,10 @@ export declare class SearchServiceClient {
167
167
  *
168
168
  * If this field is negative, an `INVALID_ARGUMENT` is returned.
169
169
  * @param {number[]} request.dataStoreSpecs
170
- * A list of data store specs to apply on a search call.
170
+ * Specs defining dataStores to filter on in a search call and configurations
171
+ * for those dataStores. This is only considered for engines with multiple
172
+ * dataStores use case. For single dataStore within an engine, they should
173
+ * use the specs at the top level.
171
174
  * @param {string} request.filter
172
175
  * The filter syntax consists of an expression language for constructing a
173
176
  * predicate from one or more fields of the documents being filtered. Filter
@@ -201,7 +204,9 @@ export declare class SearchServiceClient {
201
204
  * The order in which documents are returned. Documents can be ordered by
202
205
  * a field in an {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}
203
206
  * object. Leave it unset if ordered by relevance. `order_by` expression is
204
- * case-sensitive. For more information on ordering, see
207
+ * case-sensitive.
208
+ *
209
+ * For more information on ordering for retail search, see
205
210
  * [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
206
211
  *
207
212
  * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
@@ -218,7 +223,7 @@ export declare class SearchServiceClient {
218
223
  * @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
219
224
  * Boost specification to boost certain documents.
220
225
  * For more information on boosting, see
221
- * [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
226
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
222
227
  * @param {number[]} request.params
223
228
  * Additional search parameters.
224
229
  *
@@ -226,8 +231,7 @@ export declare class SearchServiceClient {
226
231
  *
227
232
  * * `user_country_code`: string. Default empty. If set to non-empty, results
228
233
  * are restricted or boosted based on the location provided.
229
- * Example:
230
- * user_country_code: "au"
234
+ * For example, `user_country_code: "au"`
231
235
  *
232
236
  * For available codes see [Country
233
237
  * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
@@ -235,8 +239,7 @@ export declare class SearchServiceClient {
235
239
  * * `search_type`: double. Default empty. Enables non-webpage searching
236
240
  * depending on the value. The only valid non-default value is 1,
237
241
  * which enables image searching.
238
- * Example:
239
- * search_type: 1
242
+ * For example, `search_type: 1`
240
243
  * @param {google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
241
244
  * The query expansion specification that specifies the conditions under which
242
245
  * query expansion occurs.
@@ -382,7 +385,10 @@ export declare class SearchServiceClient {
382
385
  *
383
386
  * If this field is negative, an `INVALID_ARGUMENT` is returned.
384
387
  * @param {number[]} request.dataStoreSpecs
385
- * A list of data store specs to apply on a search call.
388
+ * Specs defining dataStores to filter on in a search call and configurations
389
+ * for those dataStores. This is only considered for engines with multiple
390
+ * dataStores use case. For single dataStore within an engine, they should
391
+ * use the specs at the top level.
386
392
  * @param {string} request.filter
387
393
  * The filter syntax consists of an expression language for constructing a
388
394
  * predicate from one or more fields of the documents being filtered. Filter
@@ -416,7 +422,9 @@ export declare class SearchServiceClient {
416
422
  * The order in which documents are returned. Documents can be ordered by
417
423
  * a field in an {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}
418
424
  * object. Leave it unset if ordered by relevance. `order_by` expression is
419
- * case-sensitive. For more information on ordering, see
425
+ * case-sensitive.
426
+ *
427
+ * For more information on ordering for retail search, see
420
428
  * [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
421
429
  *
422
430
  * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
@@ -433,7 +441,7 @@ export declare class SearchServiceClient {
433
441
  * @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
434
442
  * Boost specification to boost certain documents.
435
443
  * For more information on boosting, see
436
- * [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
444
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
437
445
  * @param {number[]} request.params
438
446
  * Additional search parameters.
439
447
  *
@@ -441,8 +449,7 @@ export declare class SearchServiceClient {
441
449
  *
442
450
  * * `user_country_code`: string. Default empty. If set to non-empty, results
443
451
  * are restricted or boosted based on the location provided.
444
- * Example:
445
- * user_country_code: "au"
452
+ * For example, `user_country_code: "au"`
446
453
  *
447
454
  * For available codes see [Country
448
455
  * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
@@ -450,8 +457,7 @@ export declare class SearchServiceClient {
450
457
  * * `search_type`: double. Default empty. Enables non-webpage searching
451
458
  * depending on the value. The only valid non-default value is 1,
452
459
  * which enables image searching.
453
- * Example:
454
- * search_type: 1
460
+ * For example, `search_type: 1`
455
461
  * @param {google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
456
462
  * The query expansion specification that specifies the conditions under which
457
463
  * query expansion occurs.
@@ -592,7 +598,10 @@ export declare class SearchServiceClient {
592
598
  *
593
599
  * If this field is negative, an `INVALID_ARGUMENT` is returned.
594
600
  * @param {number[]} request.dataStoreSpecs
595
- * A list of data store specs to apply on a search call.
601
+ * Specs defining dataStores to filter on in a search call and configurations
602
+ * for those dataStores. This is only considered for engines with multiple
603
+ * dataStores use case. For single dataStore within an engine, they should
604
+ * use the specs at the top level.
596
605
  * @param {string} request.filter
597
606
  * The filter syntax consists of an expression language for constructing a
598
607
  * predicate from one or more fields of the documents being filtered. Filter
@@ -626,7 +635,9 @@ export declare class SearchServiceClient {
626
635
  * The order in which documents are returned. Documents can be ordered by
627
636
  * a field in an {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}
628
637
  * object. Leave it unset if ordered by relevance. `order_by` expression is
629
- * case-sensitive. For more information on ordering, see
638
+ * case-sensitive.
639
+ *
640
+ * For more information on ordering for retail search, see
630
641
  * [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
631
642
  *
632
643
  * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
@@ -643,7 +654,7 @@ export declare class SearchServiceClient {
643
654
  * @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
644
655
  * Boost specification to boost certain documents.
645
656
  * For more information on boosting, see
646
- * [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
657
+ * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
647
658
  * @param {number[]} request.params
648
659
  * Additional search parameters.
649
660
  *
@@ -651,8 +662,7 @@ export declare class SearchServiceClient {
651
662
  *
652
663
  * * `user_country_code`: string. Default empty. If set to non-empty, results
653
664
  * are restricted or boosted based on the location provided.
654
- * Example:
655
- * user_country_code: "au"
665
+ * For example, `user_country_code: "au"`
656
666
  *
657
667
  * For available codes see [Country
658
668
  * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
@@ -660,8 +670,7 @@ export declare class SearchServiceClient {
660
670
  * * `search_type`: double. Default empty. Enables non-webpage searching
661
671
  * depending on the value. The only valid non-default value is 1,
662
672
  * which enables image searching.
663
- * Example:
664
- * search_type: 1
673
+ * For example, `search_type: 1`
665
674
  * @param {google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
666
675
  * The query expansion specification that specifies the conditions under which
667
676
  * query expansion occurs.
@@ -844,6 +853,21 @@ export declare class SearchServiceClient {
844
853
  * @returns {string} A string representing the engine.
845
854
  */
846
855
  matchEngineFromEngineName(engineName: string): string | number;
856
+ /**
857
+ * Return a fully-qualified project resource name string.
858
+ *
859
+ * @param {string} project
860
+ * @returns {string} Resource name string.
861
+ */
862
+ projectPath(project: string): string;
863
+ /**
864
+ * Parse the project from Project resource.
865
+ *
866
+ * @param {string} projectName
867
+ * A fully-qualified path representing Project resource.
868
+ * @returns {string} A string representing the project.
869
+ */
870
+ matchProjectFromProjectName(projectName: string): string | number;
847
871
  /**
848
872
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
849
873
  *
@@ -997,6 +1021,57 @@ export declare class SearchServiceClient {
997
1021
  * @returns {string} A string representing the document.
998
1022
  */
999
1023
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
1024
+ /**
1025
+ * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1026
+ *
1027
+ * @param {string} project
1028
+ * @param {string} location
1029
+ * @param {string} collection
1030
+ * @param {string} data_store
1031
+ * @param {string} control
1032
+ * @returns {string} Resource name string.
1033
+ */
1034
+ projectLocationCollectionDataStoreControlPath(project: string, location: string, collection: string, dataStore: string, control: string): string;
1035
+ /**
1036
+ * Parse the project from ProjectLocationCollectionDataStoreControl resource.
1037
+ *
1038
+ * @param {string} projectLocationCollectionDataStoreControlName
1039
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1040
+ * @returns {string} A string representing the project.
1041
+ */
1042
+ matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
1043
+ /**
1044
+ * Parse the location from ProjectLocationCollectionDataStoreControl resource.
1045
+ *
1046
+ * @param {string} projectLocationCollectionDataStoreControlName
1047
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1048
+ * @returns {string} A string representing the location.
1049
+ */
1050
+ matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
1051
+ /**
1052
+ * Parse the collection from ProjectLocationCollectionDataStoreControl resource.
1053
+ *
1054
+ * @param {string} projectLocationCollectionDataStoreControlName
1055
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1056
+ * @returns {string} A string representing the collection.
1057
+ */
1058
+ matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
1059
+ /**
1060
+ * Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
1061
+ *
1062
+ * @param {string} projectLocationCollectionDataStoreControlName
1063
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1064
+ * @returns {string} A string representing the data_store.
1065
+ */
1066
+ matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
1067
+ /**
1068
+ * Parse the control from ProjectLocationCollectionDataStoreControl resource.
1069
+ *
1070
+ * @param {string} projectLocationCollectionDataStoreControlName
1071
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1072
+ * @returns {string} A string representing the control.
1073
+ */
1074
+ matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
1000
1075
  /**
1001
1076
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1002
1077
  *
@@ -1048,6 +1123,57 @@ export declare class SearchServiceClient {
1048
1123
  * @returns {string} A string representing the conversation.
1049
1124
  */
1050
1125
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
1126
+ /**
1127
+ * Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
1128
+ *
1129
+ * @param {string} project
1130
+ * @param {string} location
1131
+ * @param {string} collection
1132
+ * @param {string} data_store
1133
+ * @param {string} custom_tuning_model
1134
+ * @returns {string} Resource name string.
1135
+ */
1136
+ projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
1137
+ /**
1138
+ * Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1139
+ *
1140
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1141
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1142
+ * @returns {string} A string representing the project.
1143
+ */
1144
+ matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
1145
+ /**
1146
+ * Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1147
+ *
1148
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1149
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1150
+ * @returns {string} A string representing the location.
1151
+ */
1152
+ matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
1153
+ /**
1154
+ * Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1155
+ *
1156
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1157
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1158
+ * @returns {string} A string representing the collection.
1159
+ */
1160
+ matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
1161
+ /**
1162
+ * Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1163
+ *
1164
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1165
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1166
+ * @returns {string} A string representing the data_store.
1167
+ */
1168
+ matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
1169
+ /**
1170
+ * Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
1171
+ *
1172
+ * @param {string} projectLocationCollectionDataStoreCustomTuningModelName
1173
+ * A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
1174
+ * @returns {string} A string representing the custom_tuning_model.
1175
+ */
1176
+ matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
1051
1177
  /**
1052
1178
  * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1053
1179
  *
@@ -1396,6 +1522,57 @@ export declare class SearchServiceClient {
1396
1522
  * @returns {string} A string representing the target_site.
1397
1523
  */
1398
1524
  matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1525
+ /**
1526
+ * Return a fully-qualified projectLocationCollectionEngineControl resource name string.
1527
+ *
1528
+ * @param {string} project
1529
+ * @param {string} location
1530
+ * @param {string} collection
1531
+ * @param {string} engine
1532
+ * @param {string} control
1533
+ * @returns {string} Resource name string.
1534
+ */
1535
+ projectLocationCollectionEngineControlPath(project: string, location: string, collection: string, engine: string, control: string): string;
1536
+ /**
1537
+ * Parse the project from ProjectLocationCollectionEngineControl resource.
1538
+ *
1539
+ * @param {string} projectLocationCollectionEngineControlName
1540
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1541
+ * @returns {string} A string representing the project.
1542
+ */
1543
+ matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
1544
+ /**
1545
+ * Parse the location from ProjectLocationCollectionEngineControl resource.
1546
+ *
1547
+ * @param {string} projectLocationCollectionEngineControlName
1548
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1549
+ * @returns {string} A string representing the location.
1550
+ */
1551
+ matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
1552
+ /**
1553
+ * Parse the collection from ProjectLocationCollectionEngineControl resource.
1554
+ *
1555
+ * @param {string} projectLocationCollectionEngineControlName
1556
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1557
+ * @returns {string} A string representing the collection.
1558
+ */
1559
+ matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
1560
+ /**
1561
+ * Parse the engine from ProjectLocationCollectionEngineControl resource.
1562
+ *
1563
+ * @param {string} projectLocationCollectionEngineControlName
1564
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1565
+ * @returns {string} A string representing the engine.
1566
+ */
1567
+ matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
1568
+ /**
1569
+ * Parse the control from ProjectLocationCollectionEngineControl resource.
1570
+ *
1571
+ * @param {string} projectLocationCollectionEngineControlName
1572
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1573
+ * @returns {string} A string representing the control.
1574
+ */
1575
+ matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
1399
1576
  /**
1400
1577
  * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1401
1578
  *
@@ -1735,6 +1912,48 @@ export declare class SearchServiceClient {
1735
1912
  * @returns {string} A string representing the document.
1736
1913
  */
1737
1914
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1915
+ /**
1916
+ * Return a fully-qualified projectLocationDataStoreControl resource name string.
1917
+ *
1918
+ * @param {string} project
1919
+ * @param {string} location
1920
+ * @param {string} data_store
1921
+ * @param {string} control
1922
+ * @returns {string} Resource name string.
1923
+ */
1924
+ projectLocationDataStoreControlPath(project: string, location: string, dataStore: string, control: string): string;
1925
+ /**
1926
+ * Parse the project from ProjectLocationDataStoreControl resource.
1927
+ *
1928
+ * @param {string} projectLocationDataStoreControlName
1929
+ * A fully-qualified path representing project_location_data_store_control resource.
1930
+ * @returns {string} A string representing the project.
1931
+ */
1932
+ matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
1933
+ /**
1934
+ * Parse the location from ProjectLocationDataStoreControl resource.
1935
+ *
1936
+ * @param {string} projectLocationDataStoreControlName
1937
+ * A fully-qualified path representing project_location_data_store_control resource.
1938
+ * @returns {string} A string representing the location.
1939
+ */
1940
+ matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
1941
+ /**
1942
+ * Parse the data_store from ProjectLocationDataStoreControl resource.
1943
+ *
1944
+ * @param {string} projectLocationDataStoreControlName
1945
+ * A fully-qualified path representing project_location_data_store_control resource.
1946
+ * @returns {string} A string representing the data_store.
1947
+ */
1948
+ matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
1949
+ /**
1950
+ * Parse the control from ProjectLocationDataStoreControl resource.
1951
+ *
1952
+ * @param {string} projectLocationDataStoreControlName
1953
+ * A fully-qualified path representing project_location_data_store_control resource.
1954
+ * @returns {string} A string representing the control.
1955
+ */
1956
+ matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
1738
1957
  /**
1739
1958
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1740
1959
  *
@@ -1777,6 +1996,48 @@ export declare class SearchServiceClient {
1777
1996
  * @returns {string} A string representing the conversation.
1778
1997
  */
1779
1998
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1999
+ /**
2000
+ * Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
2001
+ *
2002
+ * @param {string} project
2003
+ * @param {string} location
2004
+ * @param {string} data_store
2005
+ * @param {string} custom_tuning_model
2006
+ * @returns {string} Resource name string.
2007
+ */
2008
+ projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
2009
+ /**
2010
+ * Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
2011
+ *
2012
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2013
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2014
+ * @returns {string} A string representing the project.
2015
+ */
2016
+ matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
2017
+ /**
2018
+ * Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
2019
+ *
2020
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2021
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2022
+ * @returns {string} A string representing the location.
2023
+ */
2024
+ matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
2025
+ /**
2026
+ * Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
2027
+ *
2028
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2029
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2030
+ * @returns {string} A string representing the data_store.
2031
+ */
2032
+ matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
2033
+ /**
2034
+ * Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
2035
+ *
2036
+ * @param {string} projectLocationDataStoreCustomTuningModelName
2037
+ * A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
2038
+ * @returns {string} A string representing the custom_tuning_model.
2039
+ */
2040
+ matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
1780
2041
  /**
1781
2042
  * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1782
2043
  *