@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,16 +176,16 @@ 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
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
184
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
185
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
186
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
187
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
188
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
189
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
190
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
191
191
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
@@ -196,8 +196,8 @@ class SearchServiceClient {
196
196
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
197
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
198
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
199
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
199
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
200
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
201
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
202
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
203
203
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -590,22 +590,16 @@ class SearchServiceClient {
590
590
  * between /search API calls and /answer API calls.
591
591
  *
592
592
  * Example #1 (multi-turn /search API calls):
593
- * 1. Call /search API with the auto-session mode (see below).
594
- * 2. Call /search API with the session ID generated in the first call.
595
- * Here, the previous search query gets considered in query
596
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
597
- * and the current query is "How about 2023?", the current query will
598
- * be interpreted as "How did Alphabet do in 2023?".
593
+ * Call /search API with the session ID generated in the first call.
594
+ * Here, the previous search query gets considered in query
595
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
596
+ * and the current query is "How about 2023?", the current query will
597
+ * be interpreted as "How did Alphabet do in 2023?".
599
598
  *
600
599
  * Example #2 (coordination between /search API calls and /answer API calls):
601
- * 1. Call /search API with the auto-session mode (see below).
602
- * 2. Call /answer API with the session ID generated in the first call.
603
- * Here, the answer generation happens in the context of the search
604
- * results from the first search call.
605
- *
606
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
607
- * gets automatically created. Otherwise, users can use the create-session API
608
- * to create a session manually.
600
+ * 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.
609
603
  *
610
604
  * Multi-turn Search feature is currently at private GA stage. Please use
611
605
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -895,22 +889,16 @@ class SearchServiceClient {
895
889
  * between /search API calls and /answer API calls.
896
890
  *
897
891
  * Example #1 (multi-turn /search API calls):
898
- * 1. Call /search API with the auto-session mode (see below).
899
- * 2. Call /search API with the session ID generated in the first call.
900
- * Here, the previous search query gets considered in query
901
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
902
- * and the current query is "How about 2023?", the current query will
903
- * be interpreted as "How did Alphabet do in 2023?".
892
+ * Call /search API with the session ID generated in the first call.
893
+ * Here, the previous search query gets considered in query
894
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
895
+ * and the current query is "How about 2023?", the current query will
896
+ * be interpreted as "How did Alphabet do in 2023?".
904
897
  *
905
898
  * Example #2 (coordination between /search API calls and /answer API calls):
906
- * 1. Call /search API with the auto-session mode (see below).
907
- * 2. Call /answer API with the session ID generated in the first call.
908
- * Here, the answer generation happens in the context of the search
909
- * results from the first search call.
910
- *
911
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
912
- * gets automatically created. Otherwise, users can use the create-session API
913
- * to create a session manually.
899
+ * Call /answer API with the session ID generated in the first call.
900
+ * Here, the answer generation happens in the context of the search
901
+ * results from the first search call.
914
902
  *
915
903
  * Multi-turn Search feature is currently at private GA stage. Please use
916
904
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -1230,22 +1218,16 @@ class SearchServiceClient {
1230
1218
  * between /search API calls and /answer API calls.
1231
1219
  *
1232
1220
  * Example #1 (multi-turn /search API calls):
1233
- * 1. Call /search API with the auto-session mode (see below).
1234
- * 2. Call /search API with the session ID generated in the first call.
1235
- * Here, the previous search query gets considered in query
1236
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1237
- * and the current query is "How about 2023?", the current query will
1238
- * be interpreted as "How did Alphabet do in 2023?".
1221
+ * Call /search API with the session ID generated in the first call.
1222
+ * Here, the previous search query gets considered in query
1223
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1224
+ * and the current query is "How about 2023?", the current query will
1225
+ * be interpreted as "How did Alphabet do in 2023?".
1239
1226
  *
1240
1227
  * Example #2 (coordination between /search API calls and /answer API calls):
1241
- * 1. Call /search API with the auto-session mode (see below).
1242
- * 2. Call /answer API with the session ID generated in the first call.
1243
- * Here, the answer generation happens in the context of the search
1244
- * results from the first search call.
1245
- *
1246
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
1247
- * gets automatically created. Otherwise, users can use the create-session API
1248
- * to create a session manually.
1228
+ * Call /answer API with the session ID generated in the first call.
1229
+ * Here, the answer generation happens in the context of the search
1230
+ * results from the first search call.
1249
1231
  *
1250
1232
  * Multi-turn Search feature is currently at private GA stage. Please use
1251
1233
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -1535,22 +1517,16 @@ class SearchServiceClient {
1535
1517
  * between /search API calls and /answer API calls.
1536
1518
  *
1537
1519
  * Example #1 (multi-turn /search API calls):
1538
- * 1. Call /search API with the auto-session mode (see below).
1539
- * 2. Call /search API with the session ID generated in the first call.
1540
- * Here, the previous search query gets considered in query
1541
- * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1542
- * and the current query is "How about 2023?", the current query will
1543
- * be interpreted as "How did Alphabet do in 2023?".
1520
+ * Call /search API with the session ID generated in the first call.
1521
+ * Here, the previous search query gets considered in query
1522
+ * standing. I.e., if the first query is "How did Alphabet do in 2022?"
1523
+ * and the current query is "How about 2023?", the current query will
1524
+ * be interpreted as "How did Alphabet do in 2023?".
1544
1525
  *
1545
1526
  * Example #2 (coordination between /search API calls and /answer API calls):
1546
- * 1. Call /search API with the auto-session mode (see below).
1547
- * 2. Call /answer API with the session ID generated in the first call.
1548
- * Here, the answer generation happens in the context of the search
1549
- * results from the first search call.
1550
- *
1551
- * Auto-session mode: when `projects/.../sessions/-` is used, a new session
1552
- * gets automatically created. Otherwise, users can use the create-session API
1553
- * to create a session manually.
1527
+ * Call /answer API with the session ID generated in the first call.
1528
+ * Here, the answer generation happens in the context of the search
1529
+ * results from the first search call.
1554
1530
  *
1555
1531
  * Multi-turn Search feature is currently at private GA stage. Please use
1556
1532
  * v1alpha or v1beta version instead before we launch this feature to public
@@ -2531,154 +2507,154 @@ class SearchServiceClient {
2531
2507
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
2532
2508
  }
2533
2509
  /**
2534
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
2510
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2535
2511
  *
2536
2512
  * @param {string} project
2537
2513
  * @param {string} location
2538
2514
  * @param {string} collection
2539
2515
  * @param {string} data_store
2540
2516
  * @param {string} session
2517
+ * @param {string} answer
2541
2518
  * @returns {string} Resource name string.
2542
2519
  */
2543
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
2544
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
2520
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2521
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2545
2522
  project: project,
2546
2523
  location: location,
2547
2524
  collection: collection,
2548
2525
  data_store: dataStore,
2549
2526
  session: session,
2527
+ answer: answer,
2550
2528
  });
2551
2529
  }
2552
2530
  /**
2553
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
2531
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2554
2532
  *
2555
- * @param {string} projectLocationCollectionDataStoreSessionName
2556
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2533
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2534
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2557
2535
  * @returns {string} A string representing the project.
2558
2536
  */
2559
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2560
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
2537
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2538
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2561
2539
  }
2562
2540
  /**
2563
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
2541
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2564
2542
  *
2565
- * @param {string} projectLocationCollectionDataStoreSessionName
2566
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2543
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2544
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2567
2545
  * @returns {string} A string representing the location.
2568
2546
  */
2569
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2570
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
2547
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2548
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2571
2549
  }
2572
2550
  /**
2573
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
2551
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2574
2552
  *
2575
- * @param {string} projectLocationCollectionDataStoreSessionName
2576
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2553
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2554
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2577
2555
  * @returns {string} A string representing the collection.
2578
2556
  */
2579
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2580
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
2557
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2558
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2581
2559
  }
2582
2560
  /**
2583
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
2561
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2584
2562
  *
2585
- * @param {string} projectLocationCollectionDataStoreSessionName
2586
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2563
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2564
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2587
2565
  * @returns {string} A string representing the data_store.
2588
2566
  */
2589
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2590
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
2567
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2568
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2591
2569
  }
2592
2570
  /**
2593
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
2571
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2594
2572
  *
2595
- * @param {string} projectLocationCollectionDataStoreSessionName
2596
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2573
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2574
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2597
2575
  * @returns {string} A string representing the session.
2598
2576
  */
2599
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2600
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
2577
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2578
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2601
2579
  }
2602
2580
  /**
2603
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2581
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2582
+ *
2583
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2584
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2585
+ * @returns {string} A string representing the answer.
2586
+ */
2587
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2588
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2589
+ }
2590
+ /**
2591
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
2604
2592
  *
2605
2593
  * @param {string} project
2606
2594
  * @param {string} location
2607
2595
  * @param {string} collection
2608
2596
  * @param {string} data_store
2609
2597
  * @param {string} session
2610
- * @param {string} answer
2611
2598
  * @returns {string} Resource name string.
2612
2599
  */
2613
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2614
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2600
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
2601
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
2615
2602
  project: project,
2616
2603
  location: location,
2617
2604
  collection: collection,
2618
2605
  data_store: dataStore,
2619
2606
  session: session,
2620
- answer: answer,
2621
2607
  });
2622
2608
  }
2623
2609
  /**
2624
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2610
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
2625
2611
  *
2626
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2627
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2612
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2613
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2628
2614
  * @returns {string} A string representing the project.
2629
2615
  */
2630
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2631
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2616
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2617
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
2632
2618
  }
2633
2619
  /**
2634
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2620
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
2635
2621
  *
2636
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2637
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2622
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2623
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2638
2624
  * @returns {string} A string representing the location.
2639
2625
  */
2640
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2641
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2626
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2627
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
2642
2628
  }
2643
2629
  /**
2644
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2630
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
2645
2631
  *
2646
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2647
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2632
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2633
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2648
2634
  * @returns {string} A string representing the collection.
2649
2635
  */
2650
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2651
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2636
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2637
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
2652
2638
  }
2653
2639
  /**
2654
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2640
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
2655
2641
  *
2656
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2657
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2642
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2643
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2658
2644
  * @returns {string} A string representing the data_store.
2659
2645
  */
2660
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2661
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2646
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2647
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
2662
2648
  }
2663
2649
  /**
2664
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2650
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
2665
2651
  *
2666
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2667
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2652
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2653
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2668
2654
  * @returns {string} A string representing the session.
2669
2655
  */
2670
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2671
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2672
- }
2673
- /**
2674
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2675
- *
2676
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2677
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2678
- * @returns {string} A string representing the answer.
2679
- */
2680
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2681
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2656
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2657
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2682
2658
  }
2683
2659
  /**
2684
2660
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -3083,154 +3059,154 @@ class SearchServiceClient {
3083
3059
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
3084
3060
  }
3085
3061
  /**
3086
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
3062
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
3087
3063
  *
3088
3064
  * @param {string} project
3089
3065
  * @param {string} location
3090
3066
  * @param {string} collection
3091
3067
  * @param {string} engine
3092
3068
  * @param {string} session
3069
+ * @param {string} answer
3093
3070
  * @returns {string} Resource name string.
3094
3071
  */
3095
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
3096
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
3072
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
3073
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
3097
3074
  project: project,
3098
3075
  location: location,
3099
3076
  collection: collection,
3100
3077
  engine: engine,
3101
3078
  session: session,
3079
+ answer: answer,
3102
3080
  });
3103
3081
  }
3104
3082
  /**
3105
- * Parse the project from ProjectLocationCollectionEngineSession resource.
3083
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
3106
3084
  *
3107
- * @param {string} projectLocationCollectionEngineSessionName
3108
- * A fully-qualified path representing project_location_collection_engine_session resource.
3085
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3086
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3109
3087
  * @returns {string} A string representing the project.
3110
3088
  */
3111
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
3112
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
3089
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3090
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
3113
3091
  }
3114
3092
  /**
3115
- * Parse the location from ProjectLocationCollectionEngineSession resource.
3093
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
3116
3094
  *
3117
- * @param {string} projectLocationCollectionEngineSessionName
3118
- * A fully-qualified path representing project_location_collection_engine_session resource.
3095
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3096
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3119
3097
  * @returns {string} A string representing the location.
3120
3098
  */
3121
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
3122
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
3099
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3100
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
3123
3101
  }
3124
3102
  /**
3125
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
3103
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
3126
3104
  *
3127
- * @param {string} projectLocationCollectionEngineSessionName
3128
- * A fully-qualified path representing project_location_collection_engine_session resource.
3105
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3106
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3129
3107
  * @returns {string} A string representing the collection.
3130
3108
  */
3131
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
3132
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
3109
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3110
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
3133
3111
  }
3134
3112
  /**
3135
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
3113
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
3136
3114
  *
3137
- * @param {string} projectLocationCollectionEngineSessionName
3138
- * A fully-qualified path representing project_location_collection_engine_session resource.
3115
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3116
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3139
3117
  * @returns {string} A string representing the engine.
3140
3118
  */
3141
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
3142
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
3119
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3120
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
3143
3121
  }
3144
3122
  /**
3145
- * Parse the session from ProjectLocationCollectionEngineSession resource.
3123
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
3146
3124
  *
3147
- * @param {string} projectLocationCollectionEngineSessionName
3148
- * A fully-qualified path representing project_location_collection_engine_session resource.
3125
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3126
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3149
3127
  * @returns {string} A string representing the session.
3150
3128
  */
3151
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
3152
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
3129
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3130
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
3153
3131
  }
3154
3132
  /**
3155
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
3133
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
3134
+ *
3135
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3136
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3137
+ * @returns {string} A string representing the answer.
3138
+ */
3139
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3140
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
3141
+ }
3142
+ /**
3143
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
3156
3144
  *
3157
3145
  * @param {string} project
3158
3146
  * @param {string} location
3159
3147
  * @param {string} collection
3160
3148
  * @param {string} engine
3161
3149
  * @param {string} session
3162
- * @param {string} answer
3163
3150
  * @returns {string} Resource name string.
3164
3151
  */
3165
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
3166
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
3152
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
3153
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
3167
3154
  project: project,
3168
3155
  location: location,
3169
3156
  collection: collection,
3170
3157
  engine: engine,
3171
3158
  session: session,
3172
- answer: answer,
3173
3159
  });
3174
3160
  }
3175
3161
  /**
3176
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
3162
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
3177
3163
  *
3178
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3179
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3164
+ * @param {string} projectLocationCollectionEngineSessionsName
3165
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3180
3166
  * @returns {string} A string representing the project.
3181
3167
  */
3182
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3183
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
3168
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3169
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
3184
3170
  }
3185
3171
  /**
3186
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
3172
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
3187
3173
  *
3188
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3189
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3174
+ * @param {string} projectLocationCollectionEngineSessionsName
3175
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3190
3176
  * @returns {string} A string representing the location.
3191
3177
  */
3192
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3193
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
3178
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3179
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
3194
3180
  }
3195
3181
  /**
3196
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
3182
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
3197
3183
  *
3198
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3199
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3184
+ * @param {string} projectLocationCollectionEngineSessionsName
3185
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3200
3186
  * @returns {string} A string representing the collection.
3201
3187
  */
3202
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3203
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
3188
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3189
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
3204
3190
  }
3205
3191
  /**
3206
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
3192
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
3207
3193
  *
3208
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3209
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3194
+ * @param {string} projectLocationCollectionEngineSessionsName
3195
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3210
3196
  * @returns {string} A string representing the engine.
3211
3197
  */
3212
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3213
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
3198
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3199
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
3214
3200
  }
3215
3201
  /**
3216
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
3202
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
3217
3203
  *
3218
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3219
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3204
+ * @param {string} projectLocationCollectionEngineSessionsName
3205
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
3220
3206
  * @returns {string} A string representing the session.
3221
3207
  */
3222
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3223
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
3224
- }
3225
- /**
3226
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
3227
- *
3228
- * @param {string} projectLocationCollectionEngineSessionAnswerName
3229
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3230
- * @returns {string} A string representing the answer.
3231
- */
3232
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3233
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
3208
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3209
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
3234
3210
  }
3235
3211
  /**
3236
3212
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3814,63 +3790,6 @@ class SearchServiceClient {
3814
3790
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3815
3791
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3816
3792
  }
3817
- /**
3818
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3819
- *
3820
- * @param {string} project
3821
- * @param {string} location
3822
- * @param {string} data_store
3823
- * @param {string} session
3824
- * @returns {string} Resource name string.
3825
- */
3826
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3827
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3828
- project: project,
3829
- location: location,
3830
- data_store: dataStore,
3831
- session: session,
3832
- });
3833
- }
3834
- /**
3835
- * Parse the project from ProjectLocationDataStoreSession resource.
3836
- *
3837
- * @param {string} projectLocationDataStoreSessionName
3838
- * A fully-qualified path representing project_location_data_store_session resource.
3839
- * @returns {string} A string representing the project.
3840
- */
3841
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3842
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3843
- }
3844
- /**
3845
- * Parse the location from ProjectLocationDataStoreSession resource.
3846
- *
3847
- * @param {string} projectLocationDataStoreSessionName
3848
- * A fully-qualified path representing project_location_data_store_session resource.
3849
- * @returns {string} A string representing the location.
3850
- */
3851
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3852
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3853
- }
3854
- /**
3855
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3856
- *
3857
- * @param {string} projectLocationDataStoreSessionName
3858
- * A fully-qualified path representing project_location_data_store_session resource.
3859
- * @returns {string} A string representing the data_store.
3860
- */
3861
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3862
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3863
- }
3864
- /**
3865
- * Parse the session from ProjectLocationDataStoreSession resource.
3866
- *
3867
- * @param {string} projectLocationDataStoreSessionName
3868
- * A fully-qualified path representing project_location_data_store_session resource.
3869
- * @returns {string} A string representing the session.
3870
- */
3871
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3872
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3873
- }
3874
3793
  /**
3875
3794
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3876
3795
  *
@@ -3940,6 +3859,63 @@ class SearchServiceClient {
3940
3859
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3941
3860
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3942
3861
  }
3862
+ /**
3863
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3864
+ *
3865
+ * @param {string} project
3866
+ * @param {string} location
3867
+ * @param {string} data_store
3868
+ * @param {string} session
3869
+ * @returns {string} Resource name string.
3870
+ */
3871
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3872
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3873
+ project: project,
3874
+ location: location,
3875
+ data_store: dataStore,
3876
+ session: session,
3877
+ });
3878
+ }
3879
+ /**
3880
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3881
+ *
3882
+ * @param {string} projectLocationDataStoreSessionsName
3883
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3884
+ * @returns {string} A string representing the project.
3885
+ */
3886
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3887
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3888
+ }
3889
+ /**
3890
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3891
+ *
3892
+ * @param {string} projectLocationDataStoreSessionsName
3893
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3894
+ * @returns {string} A string representing the location.
3895
+ */
3896
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3897
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3898
+ }
3899
+ /**
3900
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3901
+ *
3902
+ * @param {string} projectLocationDataStoreSessionsName
3903
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3904
+ * @returns {string} A string representing the data_store.
3905
+ */
3906
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3907
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3908
+ }
3909
+ /**
3910
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3911
+ *
3912
+ * @param {string} projectLocationDataStoreSessionsName
3913
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3914
+ * @returns {string} A string representing the session.
3915
+ */
3916
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3917
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3918
+ }
3943
3919
  /**
3944
3920
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3945
3921
  *