@google-cloud/discoveryengine 2.3.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 (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -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
  *