@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
@@ -178,16 +178,16 @@ class EvaluationServiceClient {
178
178
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
179
179
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
180
180
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
181
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
181
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
182
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
183
183
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
184
184
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
185
185
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
186
186
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
187
187
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
188
188
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
189
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
189
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
190
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
191
191
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
192
192
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
193
193
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -197,8 +197,8 @@ class EvaluationServiceClient {
197
197
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
198
198
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
199
199
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
200
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
200
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
201
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
202
202
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
203
203
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
204
204
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -212,7 +212,7 @@ class EvaluationServiceClient {
212
212
  listEvaluations: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'evaluations'),
213
213
  listEvaluationResults: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'evaluationResults')
214
214
  };
215
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
215
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
216
216
  // This API contains "long-running operations", which return a
217
217
  // an Operation object that allows for tracking of the operation,
218
218
  // rather than holding a request open.
@@ -373,6 +373,12 @@ class EvaluationServiceClient {
373
373
  ?.then(([response, options, rawResponse]) => {
374
374
  this._log.info('getEvaluation response %j', response);
375
375
  return [response, options, rawResponse];
376
+ }).catch((error) => {
377
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
378
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
379
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
380
+ }
381
+ throw error;
376
382
  });
377
383
  }
378
384
  createEvaluation(request, optionsOrCallback, callback) {
@@ -1780,154 +1786,154 @@ class EvaluationServiceClient {
1780
1786
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1781
1787
  }
1782
1788
  /**
1783
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1789
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1784
1790
  *
1785
1791
  * @param {string} project
1786
1792
  * @param {string} location
1787
1793
  * @param {string} collection
1788
1794
  * @param {string} data_store
1789
1795
  * @param {string} session
1796
+ * @param {string} answer
1790
1797
  * @returns {string} Resource name string.
1791
1798
  */
1792
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1793
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1799
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1800
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1794
1801
  project: project,
1795
1802
  location: location,
1796
1803
  collection: collection,
1797
1804
  data_store: dataStore,
1798
1805
  session: session,
1806
+ answer: answer,
1799
1807
  });
1800
1808
  }
1801
1809
  /**
1802
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1810
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1803
1811
  *
1804
- * @param {string} projectLocationCollectionDataStoreSessionName
1805
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1812
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1813
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1806
1814
  * @returns {string} A string representing the project.
1807
1815
  */
1808
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1809
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1816
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1817
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1810
1818
  }
1811
1819
  /**
1812
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1820
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1813
1821
  *
1814
- * @param {string} projectLocationCollectionDataStoreSessionName
1815
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1822
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1823
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1816
1824
  * @returns {string} A string representing the location.
1817
1825
  */
1818
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1819
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1826
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1827
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1820
1828
  }
1821
1829
  /**
1822
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1830
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1823
1831
  *
1824
- * @param {string} projectLocationCollectionDataStoreSessionName
1825
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1832
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1833
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1826
1834
  * @returns {string} A string representing the collection.
1827
1835
  */
1828
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1829
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1836
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1837
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1830
1838
  }
1831
1839
  /**
1832
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1840
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1833
1841
  *
1834
- * @param {string} projectLocationCollectionDataStoreSessionName
1835
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1842
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1843
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1836
1844
  * @returns {string} A string representing the data_store.
1837
1845
  */
1838
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1839
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1846
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1847
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1840
1848
  }
1841
1849
  /**
1842
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1850
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1843
1851
  *
1844
- * @param {string} projectLocationCollectionDataStoreSessionName
1845
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1852
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1853
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1846
1854
  * @returns {string} A string representing the session.
1847
1855
  */
1848
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1849
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1856
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1857
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1850
1858
  }
1851
1859
  /**
1852
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1860
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1861
+ *
1862
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1863
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1864
+ * @returns {string} A string representing the answer.
1865
+ */
1866
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1867
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1868
+ }
1869
+ /**
1870
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1853
1871
  *
1854
1872
  * @param {string} project
1855
1873
  * @param {string} location
1856
1874
  * @param {string} collection
1857
1875
  * @param {string} data_store
1858
1876
  * @param {string} session
1859
- * @param {string} answer
1860
1877
  * @returns {string} Resource name string.
1861
1878
  */
1862
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1863
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1879
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1880
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1864
1881
  project: project,
1865
1882
  location: location,
1866
1883
  collection: collection,
1867
1884
  data_store: dataStore,
1868
1885
  session: session,
1869
- answer: answer,
1870
1886
  });
1871
1887
  }
1872
1888
  /**
1873
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1889
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1874
1890
  *
1875
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1876
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1891
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1892
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1877
1893
  * @returns {string} A string representing the project.
1878
1894
  */
1879
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1880
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1895
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1896
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1881
1897
  }
1882
1898
  /**
1883
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1899
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1884
1900
  *
1885
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1886
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1901
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1902
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1887
1903
  * @returns {string} A string representing the location.
1888
1904
  */
1889
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1890
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1905
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1906
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1891
1907
  }
1892
1908
  /**
1893
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1909
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1894
1910
  *
1895
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1896
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1911
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1912
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1897
1913
  * @returns {string} A string representing the collection.
1898
1914
  */
1899
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1900
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1915
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1916
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1901
1917
  }
1902
1918
  /**
1903
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1919
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1904
1920
  *
1905
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1906
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1921
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1922
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1907
1923
  * @returns {string} A string representing the data_store.
1908
1924
  */
1909
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1910
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1925
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1926
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1911
1927
  }
1912
1928
  /**
1913
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1929
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1914
1930
  *
1915
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1916
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1931
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1932
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1917
1933
  * @returns {string} A string representing the session.
1918
1934
  */
1919
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1920
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1921
- }
1922
- /**
1923
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1924
- *
1925
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1926
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1927
- * @returns {string} A string representing the answer.
1928
- */
1929
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1930
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1935
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1936
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1931
1937
  }
1932
1938
  /**
1933
1939
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2332,154 +2338,154 @@ class EvaluationServiceClient {
2332
2338
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2333
2339
  }
2334
2340
  /**
2335
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2341
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2336
2342
  *
2337
2343
  * @param {string} project
2338
2344
  * @param {string} location
2339
2345
  * @param {string} collection
2340
2346
  * @param {string} engine
2341
2347
  * @param {string} session
2348
+ * @param {string} answer
2342
2349
  * @returns {string} Resource name string.
2343
2350
  */
2344
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2345
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2351
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2352
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2346
2353
  project: project,
2347
2354
  location: location,
2348
2355
  collection: collection,
2349
2356
  engine: engine,
2350
2357
  session: session,
2358
+ answer: answer,
2351
2359
  });
2352
2360
  }
2353
2361
  /**
2354
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2362
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2355
2363
  *
2356
- * @param {string} projectLocationCollectionEngineSessionName
2357
- * A fully-qualified path representing project_location_collection_engine_session resource.
2364
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2365
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2358
2366
  * @returns {string} A string representing the project.
2359
2367
  */
2360
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2361
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2368
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2369
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2362
2370
  }
2363
2371
  /**
2364
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2372
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2365
2373
  *
2366
- * @param {string} projectLocationCollectionEngineSessionName
2367
- * A fully-qualified path representing project_location_collection_engine_session resource.
2374
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2375
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2368
2376
  * @returns {string} A string representing the location.
2369
2377
  */
2370
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2371
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2378
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2379
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2372
2380
  }
2373
2381
  /**
2374
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2382
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2375
2383
  *
2376
- * @param {string} projectLocationCollectionEngineSessionName
2377
- * A fully-qualified path representing project_location_collection_engine_session resource.
2384
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2385
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2378
2386
  * @returns {string} A string representing the collection.
2379
2387
  */
2380
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2381
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2388
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2389
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2382
2390
  }
2383
2391
  /**
2384
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2392
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2385
2393
  *
2386
- * @param {string} projectLocationCollectionEngineSessionName
2387
- * A fully-qualified path representing project_location_collection_engine_session resource.
2394
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2395
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2388
2396
  * @returns {string} A string representing the engine.
2389
2397
  */
2390
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2391
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2398
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2399
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2392
2400
  }
2393
2401
  /**
2394
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2402
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2395
2403
  *
2396
- * @param {string} projectLocationCollectionEngineSessionName
2397
- * A fully-qualified path representing project_location_collection_engine_session resource.
2404
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2405
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2398
2406
  * @returns {string} A string representing the session.
2399
2407
  */
2400
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2401
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2408
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2409
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2402
2410
  }
2403
2411
  /**
2404
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2412
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2413
+ *
2414
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2415
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2416
+ * @returns {string} A string representing the answer.
2417
+ */
2418
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2419
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2420
+ }
2421
+ /**
2422
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2405
2423
  *
2406
2424
  * @param {string} project
2407
2425
  * @param {string} location
2408
2426
  * @param {string} collection
2409
2427
  * @param {string} engine
2410
2428
  * @param {string} session
2411
- * @param {string} answer
2412
2429
  * @returns {string} Resource name string.
2413
2430
  */
2414
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2415
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2431
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2432
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2416
2433
  project: project,
2417
2434
  location: location,
2418
2435
  collection: collection,
2419
2436
  engine: engine,
2420
2437
  session: session,
2421
- answer: answer,
2422
2438
  });
2423
2439
  }
2424
2440
  /**
2425
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2441
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2426
2442
  *
2427
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2428
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2443
+ * @param {string} projectLocationCollectionEngineSessionsName
2444
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2429
2445
  * @returns {string} A string representing the project.
2430
2446
  */
2431
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2432
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2447
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2448
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2433
2449
  }
2434
2450
  /**
2435
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2451
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2436
2452
  *
2437
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2438
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2453
+ * @param {string} projectLocationCollectionEngineSessionsName
2454
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2439
2455
  * @returns {string} A string representing the location.
2440
2456
  */
2441
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2442
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2457
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2458
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2443
2459
  }
2444
2460
  /**
2445
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2461
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2446
2462
  *
2447
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2448
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2463
+ * @param {string} projectLocationCollectionEngineSessionsName
2464
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2449
2465
  * @returns {string} A string representing the collection.
2450
2466
  */
2451
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2452
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2467
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2468
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2453
2469
  }
2454
2470
  /**
2455
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2471
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2456
2472
  *
2457
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2458
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2473
+ * @param {string} projectLocationCollectionEngineSessionsName
2474
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2459
2475
  * @returns {string} A string representing the engine.
2460
2476
  */
2461
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2462
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2477
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2478
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2463
2479
  }
2464
2480
  /**
2465
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2481
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2466
2482
  *
2467
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2468
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2483
+ * @param {string} projectLocationCollectionEngineSessionsName
2484
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2469
2485
  * @returns {string} A string representing the session.
2470
2486
  */
2471
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2472
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2473
- }
2474
- /**
2475
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2476
- *
2477
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2478
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2479
- * @returns {string} A string representing the answer.
2480
- */
2481
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2482
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2487
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2488
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2483
2489
  }
2484
2490
  /**
2485
2491
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3006,63 +3012,6 @@ class EvaluationServiceClient {
3006
3012
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3007
3013
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3008
3014
  }
3009
- /**
3010
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3011
- *
3012
- * @param {string} project
3013
- * @param {string} location
3014
- * @param {string} data_store
3015
- * @param {string} session
3016
- * @returns {string} Resource name string.
3017
- */
3018
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3019
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3020
- project: project,
3021
- location: location,
3022
- data_store: dataStore,
3023
- session: session,
3024
- });
3025
- }
3026
- /**
3027
- * Parse the project from ProjectLocationDataStoreSession resource.
3028
- *
3029
- * @param {string} projectLocationDataStoreSessionName
3030
- * A fully-qualified path representing project_location_data_store_session resource.
3031
- * @returns {string} A string representing the project.
3032
- */
3033
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3034
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3035
- }
3036
- /**
3037
- * Parse the location from ProjectLocationDataStoreSession resource.
3038
- *
3039
- * @param {string} projectLocationDataStoreSessionName
3040
- * A fully-qualified path representing project_location_data_store_session resource.
3041
- * @returns {string} A string representing the location.
3042
- */
3043
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3044
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3045
- }
3046
- /**
3047
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3048
- *
3049
- * @param {string} projectLocationDataStoreSessionName
3050
- * A fully-qualified path representing project_location_data_store_session resource.
3051
- * @returns {string} A string representing the data_store.
3052
- */
3053
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3054
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3055
- }
3056
- /**
3057
- * Parse the session from ProjectLocationDataStoreSession resource.
3058
- *
3059
- * @param {string} projectLocationDataStoreSessionName
3060
- * A fully-qualified path representing project_location_data_store_session resource.
3061
- * @returns {string} A string representing the session.
3062
- */
3063
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3064
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3065
- }
3066
3015
  /**
3067
3016
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3068
3017
  *
@@ -3132,6 +3081,63 @@ class EvaluationServiceClient {
3132
3081
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3133
3082
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3134
3083
  }
3084
+ /**
3085
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3086
+ *
3087
+ * @param {string} project
3088
+ * @param {string} location
3089
+ * @param {string} data_store
3090
+ * @param {string} session
3091
+ * @returns {string} Resource name string.
3092
+ */
3093
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3094
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3095
+ project: project,
3096
+ location: location,
3097
+ data_store: dataStore,
3098
+ session: session,
3099
+ });
3100
+ }
3101
+ /**
3102
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3103
+ *
3104
+ * @param {string} projectLocationDataStoreSessionsName
3105
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3106
+ * @returns {string} A string representing the project.
3107
+ */
3108
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3109
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3110
+ }
3111
+ /**
3112
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3113
+ *
3114
+ * @param {string} projectLocationDataStoreSessionsName
3115
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3116
+ * @returns {string} A string representing the location.
3117
+ */
3118
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3119
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3120
+ }
3121
+ /**
3122
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3123
+ *
3124
+ * @param {string} projectLocationDataStoreSessionsName
3125
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3126
+ * @returns {string} A string representing the data_store.
3127
+ */
3128
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3129
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3130
+ }
3131
+ /**
3132
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3133
+ *
3134
+ * @param {string} projectLocationDataStoreSessionsName
3135
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3136
+ * @returns {string} A string representing the session.
3137
+ */
3138
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3139
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3140
+ }
3135
3141
  /**
3136
3142
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3137
3143
  *