@google-cloud/discoveryengine 2.2.0 → 2.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 (249) hide show
  1. package/README.md +30 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
  10. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
  11. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
  12. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
  15. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
  16. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
  21. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  22. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  23. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
  24. package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  32. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  33. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  34. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  35. package/build/protos/protos.d.ts +21218 -11675
  36. package/build/protos/protos.js +92642 -66407
  37. package/build/protos/protos.json +5854 -2801
  38. package/build/src/index.d.ts +16 -1
  39. package/build/src/index.js +12 -2
  40. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  41. package/build/src/v1/assistant_service_client.js +2957 -0
  42. package/build/src/v1/assistant_service_client_config.json +43 -0
  43. package/build/src/v1/assistant_service_proto_list.json +48 -0
  44. package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
  45. package/build/src/v1/cmek_config_service_client.js +3426 -0
  46. package/build/src/v1/cmek_config_service_client_config.json +42 -0
  47. package/build/src/v1/cmek_config_service_proto_list.json +48 -0
  48. package/build/src/v1/completion_service_client.d.ts +345 -144
  49. package/build/src/v1/completion_service_client.js +482 -198
  50. package/build/src/v1/completion_service_proto_list.json +10 -1
  51. package/build/src/v1/control_service_client.d.ts +345 -144
  52. package/build/src/v1/control_service_client.js +498 -196
  53. package/build/src/v1/control_service_proto_list.json +10 -1
  54. package/build/src/v1/conversational_search_service_client.d.ts +392 -155
  55. package/build/src/v1/conversational_search_service_client.js +572 -204
  56. package/build/src/v1/conversational_search_service_proto_list.json +10 -1
  57. package/build/src/v1/data_store_service_client.d.ts +351 -144
  58. package/build/src/v1/data_store_service_client.js +488 -198
  59. package/build/src/v1/data_store_service_proto_list.json +10 -1
  60. package/build/src/v1/document_service_client.d.ts +345 -144
  61. package/build/src/v1/document_service_client.js +506 -198
  62. package/build/src/v1/document_service_proto_list.json +10 -1
  63. package/build/src/v1/engine_service_client.d.ts +345 -144
  64. package/build/src/v1/engine_service_client.js +488 -198
  65. package/build/src/v1/engine_service_proto_list.json +10 -1
  66. package/build/src/v1/gapic_metadata.json +270 -0
  67. package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
  68. package/build/src/v1/grounded_generation_service_client.js +486 -196
  69. package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
  70. package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
  71. package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
  72. package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
  73. package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
  74. package/build/src/v1/index.d.ts +5 -0
  75. package/build/src/v1/index.js +11 -1
  76. package/build/src/v1/project_service_client.d.ts +345 -144
  77. package/build/src/v1/project_service_client.js +476 -198
  78. package/build/src/v1/project_service_proto_list.json +10 -1
  79. package/build/src/v1/rank_service_client.d.ts +345 -144
  80. package/build/src/v1/rank_service_client.js +480 -196
  81. package/build/src/v1/rank_service_proto_list.json +10 -1
  82. package/build/src/v1/recommendation_service_client.d.ts +345 -144
  83. package/build/src/v1/recommendation_service_client.js +480 -196
  84. package/build/src/v1/recommendation_service_proto_list.json +10 -1
  85. package/build/src/v1/schema_service_client.d.ts +345 -144
  86. package/build/src/v1/schema_service_client.js +482 -198
  87. package/build/src/v1/schema_service_proto_list.json +10 -1
  88. package/build/src/v1/search_service_client.d.ts +393 -228
  89. package/build/src/v1/search_service_client.js +506 -252
  90. package/build/src/v1/search_service_proto_list.json +10 -1
  91. package/build/src/v1/search_tuning_service_client.d.ts +345 -144
  92. package/build/src/v1/search_tuning_service_client.js +482 -198
  93. package/build/src/v1/search_tuning_service_proto_list.json +10 -1
  94. package/build/src/v1/serving_config_service_client.d.ts +345 -144
  95. package/build/src/v1/serving_config_service_client.js +480 -196
  96. package/build/src/v1/serving_config_service_proto_list.json +10 -1
  97. package/build/src/v1/session_service_client.d.ts +2326 -0
  98. package/build/src/v1/session_service_client.js +3218 -0
  99. package/build/src/v1/session_service_client_config.json +63 -0
  100. package/build/src/v1/session_service_proto_list.json +48 -0
  101. package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
  102. package/build/src/v1/site_search_engine_service_client.js +494 -198
  103. package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
  104. package/build/src/v1/user_event_service_client.d.ts +345 -144
  105. package/build/src/v1/user_event_service_client.js +488 -198
  106. package/build/src/v1/user_event_service_proto_list.json +10 -1
  107. package/build/src/v1/user_license_service_client.d.ts +2367 -0
  108. package/build/src/v1/user_license_service_client.js +3346 -0
  109. package/build/src/v1/user_license_service_client_config.json +34 -0
  110. package/build/src/v1/user_license_service_proto_list.json +48 -0
  111. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  112. package/build/src/v1alpha/acl_config_service_client.js +208 -196
  113. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  114. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  115. package/build/src/v1alpha/chunk_service_client.js +202 -196
  116. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  117. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  118. package/build/src/v1alpha/completion_service_client.js +203 -197
  119. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  120. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  121. package/build/src/v1alpha/control_service_client.js +220 -196
  122. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  123. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  124. package/build/src/v1alpha/conversational_search_service_client.js +310 -210
  125. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  126. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  127. package/build/src/v1alpha/data_store_service_client.js +221 -197
  128. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  129. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  130. package/build/src/v1alpha/document_service_client.js +233 -197
  131. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  132. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  133. package/build/src/v1alpha/engine_service_client.js +221 -197
  134. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  135. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  136. package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
  137. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  138. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  139. package/build/src/v1alpha/evaluation_service_client.js +203 -197
  140. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  141. package/build/src/v1alpha/gapic_metadata.json +82 -0
  142. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
  144. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/index.d.ts +1 -0
  146. package/build/src/v1alpha/index.js +3 -1
  147. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  148. package/build/src/v1alpha/project_service_client.js +209 -197
  149. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  150. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  151. package/build/src/v1alpha/rank_service_client.js +202 -196
  152. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  153. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  154. package/build/src/v1alpha/recommendation_service_client.js +202 -196
  155. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  156. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  157. package/build/src/v1alpha/sample_query_service_client.js +221 -197
  158. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  159. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  160. package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
  161. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  162. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  163. package/build/src/v1alpha/schema_service_client.js +203 -197
  164. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  165. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  166. package/build/src/v1alpha/search_service_client.js +212 -224
  167. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  168. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  169. package/build/src/v1alpha/search_tuning_service_client.js +203 -197
  170. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  171. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  172. package/build/src/v1alpha/serving_config_service_client.js +208 -196
  173. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  174. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  175. package/build/src/v1alpha/session_service_client.js +3161 -0
  176. package/build/src/v1alpha/session_service_client_config.json +68 -0
  177. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  178. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  179. package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
  180. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  181. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  182. package/build/src/v1alpha/user_event_service_client.js +209 -197
  183. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  184. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  185. package/build/src/v1beta/completion_service_client.js +209 -197
  186. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  187. package/build/src/v1beta/control_service_client.d.ts +144 -144
  188. package/build/src/v1beta/control_service_client.js +220 -196
  189. package/build/src/v1beta/control_service_proto_list.json +1 -0
  190. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  191. package/build/src/v1beta/conversational_search_service_client.js +308 -208
  192. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  193. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  194. package/build/src/v1beta/data_store_service_client.js +209 -197
  195. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  196. package/build/src/v1beta/document_service_client.d.ts +144 -144
  197. package/build/src/v1beta/document_service_client.js +227 -197
  198. package/build/src/v1beta/document_service_proto_list.json +1 -0
  199. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  200. package/build/src/v1beta/engine_service_client.js +221 -197
  201. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  202. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  203. package/build/src/v1beta/evaluation_service_client.js +203 -197
  204. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  205. package/build/src/v1beta/gapic_metadata.json +68 -0
  206. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  207. package/build/src/v1beta/grounded_generation_service_client.js +208 -196
  208. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  209. package/build/src/v1beta/index.d.ts +1 -0
  210. package/build/src/v1beta/index.js +3 -1
  211. package/build/src/v1beta/project_service_client.d.ts +144 -144
  212. package/build/src/v1beta/project_service_client.js +197 -197
  213. package/build/src/v1beta/project_service_proto_list.json +1 -0
  214. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  215. package/build/src/v1beta/rank_service_client.js +202 -196
  216. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  217. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  218. package/build/src/v1beta/recommendation_service_client.js +202 -196
  219. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  220. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  221. package/build/src/v1beta/sample_query_service_client.js +221 -197
  222. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  223. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  224. package/build/src/v1beta/sample_query_set_service_client.js +220 -196
  225. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  226. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  227. package/build/src/v1beta/schema_service_client.js +203 -197
  228. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  229. package/build/src/v1beta/search_service_client.d.ts +192 -228
  230. package/build/src/v1beta/search_service_client.js +228 -252
  231. package/build/src/v1beta/search_service_proto_list.json +1 -0
  232. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  233. package/build/src/v1beta/search_tuning_service_client.js +203 -197
  234. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  235. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  236. package/build/src/v1beta/serving_config_service_client.js +208 -196
  237. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  238. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  239. package/build/src/v1beta/session_service_client.js +3136 -0
  240. package/build/src/v1beta/session_service_client_config.json +63 -0
  241. package/build/src/v1beta/session_service_proto_list.json +45 -0
  242. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  243. package/build/src/v1beta/site_search_engine_service_client.js +215 -197
  244. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  245. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  246. package/build/src/v1beta/user_event_service_client.js +209 -197
  247. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  248. package/package.json +7 -7
  249. package/CHANGELOG.md +0 -274
@@ -37,6 +37,7 @@
37
37
  "../../protos/google/cloud/discoveryengine/v1beta/serving_config.proto",
38
38
  "../../protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto",
39
39
  "../../protos/google/cloud/discoveryengine/v1beta/session.proto",
40
+ "../../protos/google/cloud/discoveryengine/v1beta/session_service.proto",
40
41
  "../../protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto",
41
42
  "../../protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto",
42
43
  "../../protos/google/cloud/discoveryengine/v1beta/user_event.proto",
@@ -354,22 +354,16 @@ export declare class SearchServiceClient {
354
354
  * between /search API calls and /answer API calls.
355
355
  *
356
356
  * Example #1 (multi-turn /search API calls):
357
- * 1. Call /search API with the auto-session mode (see below).
358
- * 2. Call /search API with the session ID generated in the first call.
359
- * Here, the previous search query gets considered in query
360
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
361
- * and the current query is "How about 2023?", the current query will
362
- * be interpreted as "How did Alphabet do in 2023?".
357
+ * Call /search API with the session ID generated in the first call.
358
+ * Here, the previous search query gets considered in query
359
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
360
+ * and the current query is "How about 2023?", the current query will
361
+ * be interpreted as "How did Alphabet do in 2023?".
363
362
  *
364
363
  * Example #2 (coordination between /search API calls and /answer API calls):
365
- * 1. Call /search API with the auto-session mode (see below).
366
- * 2. Call /answer API with the session ID generated in the first call.
367
- * Here, the answer generation happens in the context of the search
368
- * results from the first search call.
369
- *
370
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
371
- * gets automatically created. Otherwise, users can use the create-session API
372
- * to create a session manually.
364
+ * Call /answer API with the session ID generated in the first call.
365
+ * Here, the answer generation happens in the context of the search
366
+ * results from the first search call.
373
367
  *
374
368
  * Multi-turn Search feature is currently at private GA stage. Please use
375
369
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -651,22 +645,16 @@ export declare class SearchServiceClient {
651
645
  * between /search API calls and /answer API calls.
652
646
  *
653
647
  * Example #1 (multi-turn /search API calls):
654
- * 1. Call /search API with the auto-session mode (see below).
655
- * 2. Call /search API with the session ID generated in the first call.
656
- * Here, the previous search query gets considered in query
657
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
658
- * and the current query is "How about 2023?", the current query will
659
- * be interpreted as "How did Alphabet do in 2023?".
648
+ * Call /search API with the session ID generated in the first call.
649
+ * Here, the previous search query gets considered in query
650
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
651
+ * and the current query is "How about 2023?", the current query will
652
+ * be interpreted as "How did Alphabet do in 2023?".
660
653
  *
661
654
  * Example #2 (coordination between /search API calls and /answer API calls):
662
- * 1. Call /search API with the auto-session mode (see below).
663
- * 2. Call /answer API with the session ID generated in the first call.
664
- * Here, the answer generation happens in the context of the search
665
- * results from the first search call.
666
- *
667
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
668
- * gets automatically created. Otherwise, users can use the create-session API
669
- * to create a session manually.
655
+ * Call /answer API with the session ID generated in the first call.
656
+ * Here, the answer generation happens in the context of the search
657
+ * results from the first search call.
670
658
  *
671
659
  * Multi-turn Search feature is currently at private GA stage. Please use
672
660
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -943,22 +931,16 @@ export declare class SearchServiceClient {
943
931
  * between /search API calls and /answer API calls.
944
932
  *
945
933
  * Example #1 (multi-turn /search API calls):
946
- * 1. Call /search API with the auto-session mode (see below).
947
- * 2. Call /search API with the session ID generated in the first call.
948
- * Here, the previous search query gets considered in query
949
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
950
- * and the current query is "How about 2023?", the current query will
951
- * be interpreted as "How did Alphabet do in 2023?".
934
+ * Call /search API with the session ID generated in the first call.
935
+ * Here, the previous search query gets considered in query
936
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
937
+ * and the current query is "How about 2023?", the current query will
938
+ * be interpreted as "How did Alphabet do in 2023?".
952
939
  *
953
940
  * Example #2 (coordination between /search API calls and /answer API calls):
954
- * 1. Call /search API with the auto-session mode (see below).
955
- * 2. Call /answer API with the session ID generated in the first call.
956
- * Here, the answer generation happens in the context of the search
957
- * results from the first search call.
958
- *
959
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
960
- * gets automatically created. Otherwise, users can use the create-session API
961
- * to create a session manually.
941
+ * Call /answer API with the session ID generated in the first call.
942
+ * Here, the answer generation happens in the context of the search
943
+ * results from the first search call.
962
944
  *
963
945
  * Multi-turn Search feature is currently at private GA stage. Please use
964
946
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -1247,22 +1229,16 @@ export declare class SearchServiceClient {
1247
1229
  * between /search API calls and /answer API calls.
1248
1230
  *
1249
1231
  * Example #1 (multi-turn /search API calls):
1250
- * 1. Call /search API with the auto-session mode (see below).
1251
- * 2. Call /search API with the session ID generated in the first call.
1252
- * Here, the previous search query gets considered in query
1253
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1254
- * and the current query is "How about 2023?", the current query will
1255
- * be interpreted as "How did Alphabet do in 2023?".
1232
+ * Call /search API with the session ID generated in the first call.
1233
+ * Here, the previous search query gets considered in query
1234
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1235
+ * and the current query is "How about 2023?", the current query will
1236
+ * be interpreted as "How did Alphabet do in 2023?".
1256
1237
  *
1257
1238
  * Example #2 (coordination between /search API calls and /answer API calls):
1258
- * 1. Call /search API with the auto-session mode (see below).
1259
- * 2. Call /answer API with the session ID generated in the first call.
1260
- * Here, the answer generation happens in the context of the search
1261
- * results from the first search call.
1262
- *
1263
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
1264
- * gets automatically created. Otherwise, users can use the create-session API
1265
- * to create a session manually.
1239
+ * Call /answer API with the session ID generated in the first call.
1240
+ * Here, the answer generation happens in the context of the search
1241
+ * results from the first search call.
1266
1242
  *
1267
1243
  * Multi-turn Search feature is currently at private GA stage. Please use
1268
1244
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -1544,22 +1520,16 @@ export declare class SearchServiceClient {
1544
1520
  * between /search API calls and /answer API calls.
1545
1521
  *
1546
1522
  * Example #1 (multi-turn /search API calls):
1547
- * 1. Call /search API with the auto-session mode (see below).
1548
- * 2. Call /search API with the session ID generated in the first call.
1549
- * Here, the previous search query gets considered in query
1550
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1551
- * and the current query is "How about 2023?", the current query will
1552
- * be interpreted as "How did Alphabet do in 2023?".
1523
+ * Call /search API with the session ID generated in the first call.
1524
+ * Here, the previous search query gets considered in query
1525
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1526
+ * and the current query is "How about 2023?", the current query will
1527
+ * be interpreted as "How did Alphabet do in 2023?".
1553
1528
  *
1554
1529
  * Example #2 (coordination between /search API calls and /answer API calls):
1555
- * 1. Call /search API with the auto-session mode (see below).
1556
- * 2. Call /answer API with the session ID generated in the first call.
1557
- * Here, the answer generation happens in the context of the search
1558
- * results from the first search call.
1559
- *
1560
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
1561
- * gets automatically created. Otherwise, users can use the create-session API
1562
- * to create a session manually.
1530
+ * Call /answer API with the session ID generated in the first call.
1531
+ * Here, the answer generation happens in the context of the search
1532
+ * results from the first search call.
1563
1533
  *
1564
1534
  * Multi-turn Search feature is currently at private GA stage. Please use
1565
1535
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -1836,22 +1806,16 @@ export declare class SearchServiceClient {
1836
1806
  * between /search API calls and /answer API calls.
1837
1807
  *
1838
1808
  * Example #1 (multi-turn /search API calls):
1839
- * 1. Call /search API with the auto-session mode (see below).
1840
- * 2. Call /search API with the session ID generated in the first call.
1841
- * Here, the previous search query gets considered in query
1842
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1843
- * and the current query is "How about 2023?", the current query will
1844
- * be interpreted as "How did Alphabet do in 2023?".
1809
+ * Call /search API with the session ID generated in the first call.
1810
+ * Here, the previous search query gets considered in query
1811
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1812
+ * and the current query is "How about 2023?", the current query will
1813
+ * be interpreted as "How did Alphabet do in 2023?".
1845
1814
  *
1846
1815
  * Example #2 (coordination between /search API calls and /answer API calls):
1847
- * 1. Call /search API with the auto-session mode (see below).
1848
- * 2. Call /answer API with the session ID generated in the first call.
1849
- * Here, the answer generation happens in the context of the search
1850
- * results from the first search call.
1851
- *
1852
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
1853
- * gets automatically created. Otherwise, users can use the create-session API
1854
- * to create a session manually.
1816
+ * Call /answer API with the session ID generated in the first call.
1817
+ * Here, the answer generation happens in the context of the search
1818
+ * results from the first search call.
1855
1819
  *
1856
1820
  * Multi-turn Search feature is currently at private GA stage. Please use
1857
1821
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -2583,57 +2547,6 @@ export declare class SearchServiceClient {
2583
2547
  * @returns {string} A string representing the serving_config.
2584
2548
  */
2585
2549
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
2586
- /**
2587
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
2588
- *
2589
- * @param {string} project
2590
- * @param {string} location
2591
- * @param {string} collection
2592
- * @param {string} data_store
2593
- * @param {string} session
2594
- * @returns {string} Resource name string.
2595
- */
2596
- projectLocationCollectionDataStoreSessionPath(project: string, location: string, collection: string, dataStore: string, session: string): string;
2597
- /**
2598
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
2599
- *
2600
- * @param {string} projectLocationCollectionDataStoreSessionName
2601
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2602
- * @returns {string} A string representing the project.
2603
- */
2604
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
2605
- /**
2606
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
2607
- *
2608
- * @param {string} projectLocationCollectionDataStoreSessionName
2609
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2610
- * @returns {string} A string representing the location.
2611
- */
2612
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
2613
- /**
2614
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
2615
- *
2616
- * @param {string} projectLocationCollectionDataStoreSessionName
2617
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2618
- * @returns {string} A string representing the collection.
2619
- */
2620
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
2621
- /**
2622
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
2623
- *
2624
- * @param {string} projectLocationCollectionDataStoreSessionName
2625
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2626
- * @returns {string} A string representing the data_store.
2627
- */
2628
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
2629
- /**
2630
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
2631
- *
2632
- * @param {string} projectLocationCollectionDataStoreSessionName
2633
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2634
- * @returns {string} A string representing the session.
2635
- */
2636
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName: string): string | number;
2637
2550
  /**
2638
2551
  * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2639
2552
  *
@@ -2694,6 +2607,57 @@ export declare class SearchServiceClient {
2694
2607
  * @returns {string} A string representing the answer.
2695
2608
  */
2696
2609
  matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName: string): string | number;
2610
+ /**
2611
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
2612
+ *
2613
+ * @param {string} project
2614
+ * @param {string} location
2615
+ * @param {string} collection
2616
+ * @param {string} data_store
2617
+ * @param {string} session
2618
+ * @returns {string} Resource name string.
2619
+ */
2620
+ projectLocationCollectionDataStoreSessionsPath(project: string, location: string, collection: string, dataStore: string, session: string): string;
2621
+ /**
2622
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
2623
+ *
2624
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2625
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2626
+ * @returns {string} A string representing the project.
2627
+ */
2628
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName: string): string | number;
2629
+ /**
2630
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
2631
+ *
2632
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2633
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2634
+ * @returns {string} A string representing the location.
2635
+ */
2636
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName: string): string | number;
2637
+ /**
2638
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
2639
+ *
2640
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2641
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2642
+ * @returns {string} A string representing the collection.
2643
+ */
2644
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName: string): string | number;
2645
+ /**
2646
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
2647
+ *
2648
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2649
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2650
+ * @returns {string} A string representing the data_store.
2651
+ */
2652
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName: string): string | number;
2653
+ /**
2654
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
2655
+ *
2656
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2657
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2658
+ * @returns {string} A string representing the session.
2659
+ */
2660
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName: string): string | number;
2697
2661
  /**
2698
2662
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
2699
2663
  *
@@ -2991,57 +2955,6 @@ export declare class SearchServiceClient {
2991
2955
  * @returns {string} A string representing the serving_config.
2992
2956
  */
2993
2957
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
2994
- /**
2995
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2996
- *
2997
- * @param {string} project
2998
- * @param {string} location
2999
- * @param {string} collection
3000
- * @param {string} engine
3001
- * @param {string} session
3002
- * @returns {string} Resource name string.
3003
- */
3004
- projectLocationCollectionEngineSessionPath(project: string, location: string, collection: string, engine: string, session: string): string;
3005
- /**
3006
- * Parse the project from ProjectLocationCollectionEngineSession resource.
3007
- *
3008
- * @param {string} projectLocationCollectionEngineSessionName
3009
- * A fully-qualified path representing project_location_collection_engine_session resource.
3010
- * @returns {string} A string representing the project.
3011
- */
3012
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
3013
- /**
3014
- * Parse the location from ProjectLocationCollectionEngineSession resource.
3015
- *
3016
- * @param {string} projectLocationCollectionEngineSessionName
3017
- * A fully-qualified path representing project_location_collection_engine_session resource.
3018
- * @returns {string} A string representing the location.
3019
- */
3020
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
3021
- /**
3022
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
3023
- *
3024
- * @param {string} projectLocationCollectionEngineSessionName
3025
- * A fully-qualified path representing project_location_collection_engine_session resource.
3026
- * @returns {string} A string representing the collection.
3027
- */
3028
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
3029
- /**
3030
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
3031
- *
3032
- * @param {string} projectLocationCollectionEngineSessionName
3033
- * A fully-qualified path representing project_location_collection_engine_session resource.
3034
- * @returns {string} A string representing the engine.
3035
- */
3036
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
3037
- /**
3038
- * Parse the session from ProjectLocationCollectionEngineSession resource.
3039
- *
3040
- * @param {string} projectLocationCollectionEngineSessionName
3041
- * A fully-qualified path representing project_location_collection_engine_session resource.
3042
- * @returns {string} A string representing the session.
3043
- */
3044
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName: string): string | number;
3045
2958
  /**
3046
2959
  * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
3047
2960
  *
@@ -3102,6 +3015,57 @@ export declare class SearchServiceClient {
3102
3015
  * @returns {string} A string representing the answer.
3103
3016
  */
3104
3017
  matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName: string): string | number;
3018
+ /**
3019
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
3020
+ *
3021
+ * @param {string} project
3022
+ * @param {string} location
3023
+ * @param {string} collection
3024
+ * @param {string} engine
3025
+ * @param {string} session
3026
+ * @returns {string} Resource name string.
3027
+ */
3028
+ projectLocationCollectionEngineSessionsPath(project: string, location: string, collection: string, engine: string, session: string): string;
3029
+ /**
3030
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
3031
+ *
3032
+ * @param {string} projectLocationCollectionEngineSessionsName
3033
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3034
+ * @returns {string} A string representing the project.
3035
+ */
3036
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName: string): string | number;
3037
+ /**
3038
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
3039
+ *
3040
+ * @param {string} projectLocationCollectionEngineSessionsName
3041
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3042
+ * @returns {string} A string representing the location.
3043
+ */
3044
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName: string): string | number;
3045
+ /**
3046
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
3047
+ *
3048
+ * @param {string} projectLocationCollectionEngineSessionsName
3049
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3050
+ * @returns {string} A string representing the collection.
3051
+ */
3052
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName: string): string | number;
3053
+ /**
3054
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
3055
+ *
3056
+ * @param {string} projectLocationCollectionEngineSessionsName
3057
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3058
+ * @returns {string} A string representing the engine.
3059
+ */
3060
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName: string): string | number;
3061
+ /**
3062
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
3063
+ *
3064
+ * @param {string} projectLocationCollectionEngineSessionsName
3065
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3066
+ * @returns {string} A string representing the session.
3067
+ */
3068
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName: string): string | number;
3105
3069
  /**
3106
3070
  * Return a fully-qualified projectLocationDataStore resource name string.
3107
3071
  *
@@ -3531,48 +3495,6 @@ export declare class SearchServiceClient {
3531
3495
  * @returns {string} A string representing the serving_config.
3532
3496
  */
3533
3497
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
3534
- /**
3535
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3536
- *
3537
- * @param {string} project
3538
- * @param {string} location
3539
- * @param {string} data_store
3540
- * @param {string} session
3541
- * @returns {string} Resource name string.
3542
- */
3543
- projectLocationDataStoreSessionPath(project: string, location: string, dataStore: string, session: string): string;
3544
- /**
3545
- * Parse the project from ProjectLocationDataStoreSession resource.
3546
- *
3547
- * @param {string} projectLocationDataStoreSessionName
3548
- * A fully-qualified path representing project_location_data_store_session resource.
3549
- * @returns {string} A string representing the project.
3550
- */
3551
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
3552
- /**
3553
- * Parse the location from ProjectLocationDataStoreSession resource.
3554
- *
3555
- * @param {string} projectLocationDataStoreSessionName
3556
- * A fully-qualified path representing project_location_data_store_session resource.
3557
- * @returns {string} A string representing the location.
3558
- */
3559
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
3560
- /**
3561
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3562
- *
3563
- * @param {string} projectLocationDataStoreSessionName
3564
- * A fully-qualified path representing project_location_data_store_session resource.
3565
- * @returns {string} A string representing the data_store.
3566
- */
3567
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
3568
- /**
3569
- * Parse the session from ProjectLocationDataStoreSession resource.
3570
- *
3571
- * @param {string} projectLocationDataStoreSessionName
3572
- * A fully-qualified path representing project_location_data_store_session resource.
3573
- * @returns {string} A string representing the session.
3574
- */
3575
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName: string): string | number;
3576
3498
  /**
3577
3499
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3578
3500
  *
@@ -3624,6 +3546,48 @@ export declare class SearchServiceClient {
3624
3546
  * @returns {string} A string representing the answer.
3625
3547
  */
3626
3548
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName: string): string | number;
3549
+ /**
3550
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3551
+ *
3552
+ * @param {string} project
3553
+ * @param {string} location
3554
+ * @param {string} data_store
3555
+ * @param {string} session
3556
+ * @returns {string} Resource name string.
3557
+ */
3558
+ projectLocationDataStoreSessionsPath(project: string, location: string, dataStore: string, session: string): string;
3559
+ /**
3560
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3561
+ *
3562
+ * @param {string} projectLocationDataStoreSessionsName
3563
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3564
+ * @returns {string} A string representing the project.
3565
+ */
3566
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName: string): string | number;
3567
+ /**
3568
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3569
+ *
3570
+ * @param {string} projectLocationDataStoreSessionsName
3571
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3572
+ * @returns {string} A string representing the location.
3573
+ */
3574
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName: string): string | number;
3575
+ /**
3576
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3577
+ *
3578
+ * @param {string} projectLocationDataStoreSessionsName
3579
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3580
+ * @returns {string} A string representing the data_store.
3581
+ */
3582
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName: string): string | number;
3583
+ /**
3584
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3585
+ *
3586
+ * @param {string} projectLocationDataStoreSessionsName
3587
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3588
+ * @returns {string} A string representing the session.
3589
+ */
3590
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName: string): string | number;
3627
3591
  /**
3628
3592
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3629
3593
  *