@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
@@ -176,15 +176,15 @@ class SearchServiceClient {
176
176
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
177
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
178
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
179
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
180
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
181
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
182
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
183
183
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
184
184
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
185
185
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
186
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
186
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
187
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
188
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
189
189
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
190
190
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
@@ -195,8 +195,8 @@ class SearchServiceClient {
195
195
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
196
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
197
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
198
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
199
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
200
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
201
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
202
202
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -588,22 +588,16 @@ class SearchServiceClient {
588
588
  * between /search API calls and /answer API calls.
589
589
  *
590
590
  * Example #1 (multi-turn /search API calls):
591
- * 1. Call /search API with the auto-session mode (see below).
592
- * 2. Call /search API with the session ID generated in the first call.
593
- * Here, the previous search query gets considered in query
594
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
595
- * and the current query is "How about 2023?", the current query will
596
- * be interpreted as "How did Alphabet do in 2023?".
591
+ * Call /search API with the session ID generated in the first call.
592
+ * Here, the previous search query gets considered in query
593
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
594
+ * and the current query is "How about 2023?", the current query will
595
+ * be interpreted as "How did Alphabet do in 2023?".
597
596
  *
598
597
  * Example #2 (coordination between /search API calls and /answer API calls):
599
- * 1. Call /search API with the auto-session mode (see below).
600
- * 2. Call /answer API with the session ID generated in the first call.
601
- * Here, the answer generation happens in the context of the search
602
- * results from the first search call.
603
- *
604
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
605
- * gets automatically created. Otherwise, users can use the create-session API
606
- * to create a session manually.
598
+ * Call /answer API with the session ID generated in the first call.
599
+ * Here, the answer generation happens in the context of the search
600
+ * results from the first search call.
607
601
  *
608
602
  * Multi-turn Search feature is currently at private GA stage. Please use
609
603
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -883,22 +877,16 @@ class SearchServiceClient {
883
877
  * between /search API calls and /answer API calls.
884
878
  *
885
879
  * Example #1 (multi-turn /search API calls):
886
- * 1. Call /search API with the auto-session mode (see below).
887
- * 2. Call /search API with the session ID generated in the first call.
888
- * Here, the previous search query gets considered in query
889
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
890
- * and the current query is "How about 2023?", the current query will
891
- * be interpreted as "How did Alphabet do in 2023?".
880
+ * Call /search API with the session ID generated in the first call.
881
+ * Here, the previous search query gets considered in query
882
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
883
+ * and the current query is "How about 2023?", the current query will
884
+ * be interpreted as "How did Alphabet do in 2023?".
892
885
  *
893
886
  * Example #2 (coordination between /search API calls and /answer API calls):
894
- * 1. Call /search API with the auto-session mode (see below).
895
- * 2. Call /answer API with the session ID generated in the first call.
896
- * Here, the answer generation happens in the context of the search
897
- * results from the first search call.
898
- *
899
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
900
- * gets automatically created. Otherwise, users can use the create-session API
901
- * to create a session manually.
887
+ * Call /answer API with the session ID generated in the first call.
888
+ * Here, the answer generation happens in the context of the search
889
+ * results from the first search call.
902
890
  *
903
891
  * Multi-turn Search feature is currently at private GA stage. Please use
904
892
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -1856,154 +1844,154 @@ class SearchServiceClient {
1856
1844
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1857
1845
  }
1858
1846
  /**
1859
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1847
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1860
1848
  *
1861
1849
  * @param {string} project
1862
1850
  * @param {string} location
1863
1851
  * @param {string} collection
1864
1852
  * @param {string} data_store
1865
1853
  * @param {string} session
1854
+ * @param {string} answer
1866
1855
  * @returns {string} Resource name string.
1867
1856
  */
1868
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1869
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1857
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1858
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1870
1859
  project: project,
1871
1860
  location: location,
1872
1861
  collection: collection,
1873
1862
  data_store: dataStore,
1874
1863
  session: session,
1864
+ answer: answer,
1875
1865
  });
1876
1866
  }
1877
1867
  /**
1878
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1868
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1879
1869
  *
1880
- * @param {string} projectLocationCollectionDataStoreSessionName
1881
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1870
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1871
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1882
1872
  * @returns {string} A string representing the project.
1883
1873
  */
1884
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1885
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1874
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1875
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1886
1876
  }
1887
1877
  /**
1888
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1878
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1889
1879
  *
1890
- * @param {string} projectLocationCollectionDataStoreSessionName
1891
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1880
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1881
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1892
1882
  * @returns {string} A string representing the location.
1893
1883
  */
1894
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1895
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1884
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1885
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1896
1886
  }
1897
1887
  /**
1898
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1888
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1899
1889
  *
1900
- * @param {string} projectLocationCollectionDataStoreSessionName
1901
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1890
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1891
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1902
1892
  * @returns {string} A string representing the collection.
1903
1893
  */
1904
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1905
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1894
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1895
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1906
1896
  }
1907
1897
  /**
1908
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1898
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1909
1899
  *
1910
- * @param {string} projectLocationCollectionDataStoreSessionName
1911
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1900
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1901
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1912
1902
  * @returns {string} A string representing the data_store.
1913
1903
  */
1914
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1915
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1904
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1905
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1916
1906
  }
1917
1907
  /**
1918
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1908
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1919
1909
  *
1920
- * @param {string} projectLocationCollectionDataStoreSessionName
1921
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1910
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1911
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1922
1912
  * @returns {string} A string representing the session.
1923
1913
  */
1924
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1925
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1914
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1915
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1926
1916
  }
1927
1917
  /**
1928
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1918
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1919
+ *
1920
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1921
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1922
+ * @returns {string} A string representing the answer.
1923
+ */
1924
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1925
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1926
+ }
1927
+ /**
1928
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1929
1929
  *
1930
1930
  * @param {string} project
1931
1931
  * @param {string} location
1932
1932
  * @param {string} collection
1933
1933
  * @param {string} data_store
1934
1934
  * @param {string} session
1935
- * @param {string} answer
1936
1935
  * @returns {string} Resource name string.
1937
1936
  */
1938
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1939
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1937
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1938
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1940
1939
  project: project,
1941
1940
  location: location,
1942
1941
  collection: collection,
1943
1942
  data_store: dataStore,
1944
1943
  session: session,
1945
- answer: answer,
1946
1944
  });
1947
1945
  }
1948
1946
  /**
1949
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1947
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1950
1948
  *
1951
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1952
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1949
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1950
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1953
1951
  * @returns {string} A string representing the project.
1954
1952
  */
1955
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1956
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1953
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1954
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1957
1955
  }
1958
1956
  /**
1959
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1957
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1960
1958
  *
1961
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1962
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1959
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1960
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1963
1961
  * @returns {string} A string representing the location.
1964
1962
  */
1965
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1966
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1963
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1964
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1967
1965
  }
1968
1966
  /**
1969
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1967
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1970
1968
  *
1971
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1972
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1969
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1970
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1973
1971
  * @returns {string} A string representing the collection.
1974
1972
  */
1975
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1976
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1973
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1974
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1977
1975
  }
1978
1976
  /**
1979
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1977
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1980
1978
  *
1981
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1982
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1979
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1980
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1983
1981
  * @returns {string} A string representing the data_store.
1984
1982
  */
1985
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1986
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1983
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1984
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1987
1985
  }
1988
1986
  /**
1989
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1987
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1990
1988
  *
1991
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1992
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1989
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1990
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1993
1991
  * @returns {string} A string representing the session.
1994
1992
  */
1995
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1996
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1997
- }
1998
- /**
1999
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2000
- *
2001
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2002
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2003
- * @returns {string} A string representing the answer.
2004
- */
2005
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2006
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1993
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1994
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2007
1995
  }
2008
1996
  /**
2009
1997
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2339,154 +2327,154 @@ class SearchServiceClient {
2339
2327
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2340
2328
  }
2341
2329
  /**
2342
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2330
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2343
2331
  *
2344
2332
  * @param {string} project
2345
2333
  * @param {string} location
2346
2334
  * @param {string} collection
2347
2335
  * @param {string} engine
2348
2336
  * @param {string} session
2337
+ * @param {string} answer
2349
2338
  * @returns {string} Resource name string.
2350
2339
  */
2351
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2352
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2340
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2341
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2353
2342
  project: project,
2354
2343
  location: location,
2355
2344
  collection: collection,
2356
2345
  engine: engine,
2357
2346
  session: session,
2347
+ answer: answer,
2358
2348
  });
2359
2349
  }
2360
2350
  /**
2361
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2351
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2362
2352
  *
2363
- * @param {string} projectLocationCollectionEngineSessionName
2364
- * A fully-qualified path representing project_location_collection_engine_session resource.
2353
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2354
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2365
2355
  * @returns {string} A string representing the project.
2366
2356
  */
2367
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2368
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2357
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2358
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2369
2359
  }
2370
2360
  /**
2371
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2361
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2372
2362
  *
2373
- * @param {string} projectLocationCollectionEngineSessionName
2374
- * A fully-qualified path representing project_location_collection_engine_session resource.
2363
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2364
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2375
2365
  * @returns {string} A string representing the location.
2376
2366
  */
2377
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2378
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2367
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2368
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2379
2369
  }
2380
2370
  /**
2381
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2371
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2382
2372
  *
2383
- * @param {string} projectLocationCollectionEngineSessionName
2384
- * A fully-qualified path representing project_location_collection_engine_session resource.
2373
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2374
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2385
2375
  * @returns {string} A string representing the collection.
2386
2376
  */
2387
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2388
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2377
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2378
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2389
2379
  }
2390
2380
  /**
2391
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2381
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2392
2382
  *
2393
- * @param {string} projectLocationCollectionEngineSessionName
2394
- * A fully-qualified path representing project_location_collection_engine_session resource.
2383
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2384
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2395
2385
  * @returns {string} A string representing the engine.
2396
2386
  */
2397
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2398
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2387
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2388
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2399
2389
  }
2400
2390
  /**
2401
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2391
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2402
2392
  *
2403
- * @param {string} projectLocationCollectionEngineSessionName
2404
- * A fully-qualified path representing project_location_collection_engine_session resource.
2393
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2394
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2405
2395
  * @returns {string} A string representing the session.
2406
2396
  */
2407
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2408
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2397
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2398
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2409
2399
  }
2410
2400
  /**
2411
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2401
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2402
+ *
2403
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2404
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2405
+ * @returns {string} A string representing the answer.
2406
+ */
2407
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2408
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2409
+ }
2410
+ /**
2411
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2412
2412
  *
2413
2413
  * @param {string} project
2414
2414
  * @param {string} location
2415
2415
  * @param {string} collection
2416
2416
  * @param {string} engine
2417
2417
  * @param {string} session
2418
- * @param {string} answer
2419
2418
  * @returns {string} Resource name string.
2420
2419
  */
2421
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2422
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2420
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2421
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2423
2422
  project: project,
2424
2423
  location: location,
2425
2424
  collection: collection,
2426
2425
  engine: engine,
2427
2426
  session: session,
2428
- answer: answer,
2429
2427
  });
2430
2428
  }
2431
2429
  /**
2432
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2430
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2433
2431
  *
2434
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2435
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2432
+ * @param {string} projectLocationCollectionEngineSessionsName
2433
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2436
2434
  * @returns {string} A string representing the project.
2437
2435
  */
2438
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2439
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2436
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2437
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2440
2438
  }
2441
2439
  /**
2442
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2440
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2443
2441
  *
2444
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2445
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2442
+ * @param {string} projectLocationCollectionEngineSessionsName
2443
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2446
2444
  * @returns {string} A string representing the location.
2447
2445
  */
2448
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2449
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2446
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2447
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2450
2448
  }
2451
2449
  /**
2452
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2450
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2453
2451
  *
2454
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2455
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2452
+ * @param {string} projectLocationCollectionEngineSessionsName
2453
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2456
2454
  * @returns {string} A string representing the collection.
2457
2455
  */
2458
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2459
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2456
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2457
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2460
2458
  }
2461
2459
  /**
2462
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2460
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2463
2461
  *
2464
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2465
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2462
+ * @param {string} projectLocationCollectionEngineSessionsName
2463
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2466
2464
  * @returns {string} A string representing the engine.
2467
2465
  */
2468
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2469
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2466
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2467
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2470
2468
  }
2471
2469
  /**
2472
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2470
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2473
2471
  *
2474
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2475
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2472
+ * @param {string} projectLocationCollectionEngineSessionsName
2473
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2476
2474
  * @returns {string} A string representing the session.
2477
2475
  */
2478
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2479
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2480
- }
2481
- /**
2482
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2483
- *
2484
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2485
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2486
- * @returns {string} A string representing the answer.
2487
- */
2488
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2489
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2476
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2477
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2490
2478
  }
2491
2479
  /**
2492
2480
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3070,63 +3058,6 @@ class SearchServiceClient {
3070
3058
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3071
3059
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3072
3060
  }
3073
- /**
3074
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3075
- *
3076
- * @param {string} project
3077
- * @param {string} location
3078
- * @param {string} data_store
3079
- * @param {string} session
3080
- * @returns {string} Resource name string.
3081
- */
3082
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3083
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3084
- project: project,
3085
- location: location,
3086
- data_store: dataStore,
3087
- session: session,
3088
- });
3089
- }
3090
- /**
3091
- * Parse the project from ProjectLocationDataStoreSession resource.
3092
- *
3093
- * @param {string} projectLocationDataStoreSessionName
3094
- * A fully-qualified path representing project_location_data_store_session resource.
3095
- * @returns {string} A string representing the project.
3096
- */
3097
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3098
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3099
- }
3100
- /**
3101
- * Parse the location from ProjectLocationDataStoreSession resource.
3102
- *
3103
- * @param {string} projectLocationDataStoreSessionName
3104
- * A fully-qualified path representing project_location_data_store_session resource.
3105
- * @returns {string} A string representing the location.
3106
- */
3107
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3108
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3109
- }
3110
- /**
3111
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3112
- *
3113
- * @param {string} projectLocationDataStoreSessionName
3114
- * A fully-qualified path representing project_location_data_store_session resource.
3115
- * @returns {string} A string representing the data_store.
3116
- */
3117
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3118
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3119
- }
3120
- /**
3121
- * Parse the session from ProjectLocationDataStoreSession resource.
3122
- *
3123
- * @param {string} projectLocationDataStoreSessionName
3124
- * A fully-qualified path representing project_location_data_store_session resource.
3125
- * @returns {string} A string representing the session.
3126
- */
3127
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3128
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3129
- }
3130
3061
  /**
3131
3062
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3132
3063
  *
@@ -3196,6 +3127,63 @@ class SearchServiceClient {
3196
3127
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3197
3128
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3198
3129
  }
3130
+ /**
3131
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3132
+ *
3133
+ * @param {string} project
3134
+ * @param {string} location
3135
+ * @param {string} data_store
3136
+ * @param {string} session
3137
+ * @returns {string} Resource name string.
3138
+ */
3139
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3140
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3141
+ project: project,
3142
+ location: location,
3143
+ data_store: dataStore,
3144
+ session: session,
3145
+ });
3146
+ }
3147
+ /**
3148
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3149
+ *
3150
+ * @param {string} projectLocationDataStoreSessionsName
3151
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3152
+ * @returns {string} A string representing the project.
3153
+ */
3154
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3155
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3156
+ }
3157
+ /**
3158
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3159
+ *
3160
+ * @param {string} projectLocationDataStoreSessionsName
3161
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3162
+ * @returns {string} A string representing the location.
3163
+ */
3164
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3165
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3166
+ }
3167
+ /**
3168
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3169
+ *
3170
+ * @param {string} projectLocationDataStoreSessionsName
3171
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3172
+ * @returns {string} A string representing the data_store.
3173
+ */
3174
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3175
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3176
+ }
3177
+ /**
3178
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3179
+ *
3180
+ * @param {string} projectLocationDataStoreSessionsName
3181
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3182
+ * @returns {string} A string representing the session.
3183
+ */
3184
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3185
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3186
+ }
3199
3187
  /**
3200
3188
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3201
3189
  *