@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,15 +178,15 @@ 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
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
185
185
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
186
186
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
187
187
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
188
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
188
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
189
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
190
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
191
191
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
192
192
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -196,8 +196,8 @@ class EvaluationServiceClient {
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
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
203
203
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -210,7 +210,7 @@ class EvaluationServiceClient {
210
210
  listEvaluations: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'evaluations'),
211
211
  listEvaluationResults: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'evaluationResults')
212
212
  };
213
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
213
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
214
214
  // This API contains "long-running operations", which return a
215
215
  // an Operation object that allows for tracking of the operation,
216
216
  // rather than holding a request open.
@@ -371,6 +371,12 @@ class EvaluationServiceClient {
371
371
  ?.then(([response, options, rawResponse]) => {
372
372
  this._log.info('getEvaluation response %j', response);
373
373
  return [response, options, rawResponse];
374
+ }).catch((error) => {
375
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
376
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
377
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
378
+ }
379
+ throw error;
374
380
  });
375
381
  }
376
382
  createEvaluation(request, optionsOrCallback, callback) {
@@ -1766,154 +1772,154 @@ class EvaluationServiceClient {
1766
1772
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1767
1773
  }
1768
1774
  /**
1769
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1775
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1770
1776
  *
1771
1777
  * @param {string} project
1772
1778
  * @param {string} location
1773
1779
  * @param {string} collection
1774
1780
  * @param {string} data_store
1775
1781
  * @param {string} session
1782
+ * @param {string} answer
1776
1783
  * @returns {string} Resource name string.
1777
1784
  */
1778
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1779
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1785
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1786
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1780
1787
  project: project,
1781
1788
  location: location,
1782
1789
  collection: collection,
1783
1790
  data_store: dataStore,
1784
1791
  session: session,
1792
+ answer: answer,
1785
1793
  });
1786
1794
  }
1787
1795
  /**
1788
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1796
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1789
1797
  *
1790
- * @param {string} projectLocationCollectionDataStoreSessionName
1791
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1798
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1799
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1792
1800
  * @returns {string} A string representing the project.
1793
1801
  */
1794
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1795
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1802
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1803
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1796
1804
  }
1797
1805
  /**
1798
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1806
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1799
1807
  *
1800
- * @param {string} projectLocationCollectionDataStoreSessionName
1801
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1808
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1809
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1802
1810
  * @returns {string} A string representing the location.
1803
1811
  */
1804
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1805
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1812
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1813
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1806
1814
  }
1807
1815
  /**
1808
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1816
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1809
1817
  *
1810
- * @param {string} projectLocationCollectionDataStoreSessionName
1811
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1818
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1819
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1812
1820
  * @returns {string} A string representing the collection.
1813
1821
  */
1814
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1815
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1822
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1823
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1816
1824
  }
1817
1825
  /**
1818
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1826
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1819
1827
  *
1820
- * @param {string} projectLocationCollectionDataStoreSessionName
1821
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1828
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1829
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1822
1830
  * @returns {string} A string representing the data_store.
1823
1831
  */
1824
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1825
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1832
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1833
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1826
1834
  }
1827
1835
  /**
1828
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1836
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1829
1837
  *
1830
- * @param {string} projectLocationCollectionDataStoreSessionName
1831
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1838
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1839
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1832
1840
  * @returns {string} A string representing the session.
1833
1841
  */
1834
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1835
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1842
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1843
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1836
1844
  }
1837
1845
  /**
1838
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1846
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1847
+ *
1848
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1849
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1850
+ * @returns {string} A string representing the answer.
1851
+ */
1852
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1853
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1854
+ }
1855
+ /**
1856
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1839
1857
  *
1840
1858
  * @param {string} project
1841
1859
  * @param {string} location
1842
1860
  * @param {string} collection
1843
1861
  * @param {string} data_store
1844
1862
  * @param {string} session
1845
- * @param {string} answer
1846
1863
  * @returns {string} Resource name string.
1847
1864
  */
1848
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1849
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1865
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1866
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1850
1867
  project: project,
1851
1868
  location: location,
1852
1869
  collection: collection,
1853
1870
  data_store: dataStore,
1854
1871
  session: session,
1855
- answer: answer,
1856
1872
  });
1857
1873
  }
1858
1874
  /**
1859
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1875
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1860
1876
  *
1861
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1862
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1877
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1878
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1863
1879
  * @returns {string} A string representing the project.
1864
1880
  */
1865
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1866
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1881
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1882
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1867
1883
  }
1868
1884
  /**
1869
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1885
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1870
1886
  *
1871
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1872
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1887
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1888
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1873
1889
  * @returns {string} A string representing the location.
1874
1890
  */
1875
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1876
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1891
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1892
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1877
1893
  }
1878
1894
  /**
1879
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1895
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1880
1896
  *
1881
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1882
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1897
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1898
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1883
1899
  * @returns {string} A string representing the collection.
1884
1900
  */
1885
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1886
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1901
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1902
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1887
1903
  }
1888
1904
  /**
1889
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1905
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1890
1906
  *
1891
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1892
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1907
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1908
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1893
1909
  * @returns {string} A string representing the data_store.
1894
1910
  */
1895
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1896
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1911
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1912
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1897
1913
  }
1898
1914
  /**
1899
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1915
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1900
1916
  *
1901
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1902
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1917
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1918
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1903
1919
  * @returns {string} A string representing the session.
1904
1920
  */
1905
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1906
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1907
- }
1908
- /**
1909
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1910
- *
1911
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1912
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1913
- * @returns {string} A string representing the answer.
1914
- */
1915
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1916
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1921
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1922
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1917
1923
  }
1918
1924
  /**
1919
1925
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2249,154 +2255,154 @@ class EvaluationServiceClient {
2249
2255
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2250
2256
  }
2251
2257
  /**
2252
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2258
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2253
2259
  *
2254
2260
  * @param {string} project
2255
2261
  * @param {string} location
2256
2262
  * @param {string} collection
2257
2263
  * @param {string} engine
2258
2264
  * @param {string} session
2265
+ * @param {string} answer
2259
2266
  * @returns {string} Resource name string.
2260
2267
  */
2261
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2262
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2268
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2269
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2263
2270
  project: project,
2264
2271
  location: location,
2265
2272
  collection: collection,
2266
2273
  engine: engine,
2267
2274
  session: session,
2275
+ answer: answer,
2268
2276
  });
2269
2277
  }
2270
2278
  /**
2271
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2279
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2272
2280
  *
2273
- * @param {string} projectLocationCollectionEngineSessionName
2274
- * A fully-qualified path representing project_location_collection_engine_session resource.
2281
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2282
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2275
2283
  * @returns {string} A string representing the project.
2276
2284
  */
2277
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2278
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2285
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2286
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2279
2287
  }
2280
2288
  /**
2281
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2289
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2282
2290
  *
2283
- * @param {string} projectLocationCollectionEngineSessionName
2284
- * A fully-qualified path representing project_location_collection_engine_session resource.
2291
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2292
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2285
2293
  * @returns {string} A string representing the location.
2286
2294
  */
2287
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2288
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2295
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2296
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2289
2297
  }
2290
2298
  /**
2291
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2299
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2292
2300
  *
2293
- * @param {string} projectLocationCollectionEngineSessionName
2294
- * A fully-qualified path representing project_location_collection_engine_session resource.
2301
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2302
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2295
2303
  * @returns {string} A string representing the collection.
2296
2304
  */
2297
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2298
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2305
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2306
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2299
2307
  }
2300
2308
  /**
2301
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2309
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2302
2310
  *
2303
- * @param {string} projectLocationCollectionEngineSessionName
2304
- * A fully-qualified path representing project_location_collection_engine_session resource.
2311
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2312
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2305
2313
  * @returns {string} A string representing the engine.
2306
2314
  */
2307
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2308
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2315
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2316
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2309
2317
  }
2310
2318
  /**
2311
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2319
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2312
2320
  *
2313
- * @param {string} projectLocationCollectionEngineSessionName
2314
- * A fully-qualified path representing project_location_collection_engine_session resource.
2321
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2322
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2315
2323
  * @returns {string} A string representing the session.
2316
2324
  */
2317
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2318
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2325
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2326
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2319
2327
  }
2320
2328
  /**
2321
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2329
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2330
+ *
2331
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2332
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2333
+ * @returns {string} A string representing the answer.
2334
+ */
2335
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2336
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2337
+ }
2338
+ /**
2339
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2322
2340
  *
2323
2341
  * @param {string} project
2324
2342
  * @param {string} location
2325
2343
  * @param {string} collection
2326
2344
  * @param {string} engine
2327
2345
  * @param {string} session
2328
- * @param {string} answer
2329
2346
  * @returns {string} Resource name string.
2330
2347
  */
2331
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2332
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2348
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2349
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2333
2350
  project: project,
2334
2351
  location: location,
2335
2352
  collection: collection,
2336
2353
  engine: engine,
2337
2354
  session: session,
2338
- answer: answer,
2339
2355
  });
2340
2356
  }
2341
2357
  /**
2342
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2358
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2343
2359
  *
2344
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2345
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2360
+ * @param {string} projectLocationCollectionEngineSessionsName
2361
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2346
2362
  * @returns {string} A string representing the project.
2347
2363
  */
2348
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2349
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2364
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2365
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2350
2366
  }
2351
2367
  /**
2352
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2368
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2353
2369
  *
2354
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2355
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2370
+ * @param {string} projectLocationCollectionEngineSessionsName
2371
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2356
2372
  * @returns {string} A string representing the location.
2357
2373
  */
2358
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2359
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2374
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2375
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2360
2376
  }
2361
2377
  /**
2362
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2378
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2363
2379
  *
2364
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2365
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2380
+ * @param {string} projectLocationCollectionEngineSessionsName
2381
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2366
2382
  * @returns {string} A string representing the collection.
2367
2383
  */
2368
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2369
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2384
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2385
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2370
2386
  }
2371
2387
  /**
2372
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2388
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2373
2389
  *
2374
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2375
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2390
+ * @param {string} projectLocationCollectionEngineSessionsName
2391
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2376
2392
  * @returns {string} A string representing the engine.
2377
2393
  */
2378
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2379
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2394
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2395
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2380
2396
  }
2381
2397
  /**
2382
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2398
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2383
2399
  *
2384
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2385
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2400
+ * @param {string} projectLocationCollectionEngineSessionsName
2401
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2386
2402
  * @returns {string} A string representing the session.
2387
2403
  */
2388
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2389
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2390
- }
2391
- /**
2392
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2393
- *
2394
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2395
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2396
- * @returns {string} A string representing the answer.
2397
- */
2398
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2399
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2404
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2405
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2400
2406
  }
2401
2407
  /**
2402
2408
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2923,63 +2929,6 @@ class EvaluationServiceClient {
2923
2929
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2924
2930
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2925
2931
  }
2926
- /**
2927
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2928
- *
2929
- * @param {string} project
2930
- * @param {string} location
2931
- * @param {string} data_store
2932
- * @param {string} session
2933
- * @returns {string} Resource name string.
2934
- */
2935
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2936
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2937
- project: project,
2938
- location: location,
2939
- data_store: dataStore,
2940
- session: session,
2941
- });
2942
- }
2943
- /**
2944
- * Parse the project from ProjectLocationDataStoreSession resource.
2945
- *
2946
- * @param {string} projectLocationDataStoreSessionName
2947
- * A fully-qualified path representing project_location_data_store_session resource.
2948
- * @returns {string} A string representing the project.
2949
- */
2950
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2951
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2952
- }
2953
- /**
2954
- * Parse the location from ProjectLocationDataStoreSession resource.
2955
- *
2956
- * @param {string} projectLocationDataStoreSessionName
2957
- * A fully-qualified path representing project_location_data_store_session resource.
2958
- * @returns {string} A string representing the location.
2959
- */
2960
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2961
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2962
- }
2963
- /**
2964
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2965
- *
2966
- * @param {string} projectLocationDataStoreSessionName
2967
- * A fully-qualified path representing project_location_data_store_session resource.
2968
- * @returns {string} A string representing the data_store.
2969
- */
2970
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2971
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2972
- }
2973
- /**
2974
- * Parse the session from ProjectLocationDataStoreSession resource.
2975
- *
2976
- * @param {string} projectLocationDataStoreSessionName
2977
- * A fully-qualified path representing project_location_data_store_session resource.
2978
- * @returns {string} A string representing the session.
2979
- */
2980
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2981
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2982
- }
2983
2932
  /**
2984
2933
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2985
2934
  *
@@ -3049,6 +2998,63 @@ class EvaluationServiceClient {
3049
2998
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3050
2999
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3051
3000
  }
3001
+ /**
3002
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3003
+ *
3004
+ * @param {string} project
3005
+ * @param {string} location
3006
+ * @param {string} data_store
3007
+ * @param {string} session
3008
+ * @returns {string} Resource name string.
3009
+ */
3010
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3011
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3012
+ project: project,
3013
+ location: location,
3014
+ data_store: dataStore,
3015
+ session: session,
3016
+ });
3017
+ }
3018
+ /**
3019
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3020
+ *
3021
+ * @param {string} projectLocationDataStoreSessionsName
3022
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3023
+ * @returns {string} A string representing the project.
3024
+ */
3025
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3026
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3027
+ }
3028
+ /**
3029
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3030
+ *
3031
+ * @param {string} projectLocationDataStoreSessionsName
3032
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3033
+ * @returns {string} A string representing the location.
3034
+ */
3035
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3036
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3037
+ }
3038
+ /**
3039
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3040
+ *
3041
+ * @param {string} projectLocationDataStoreSessionsName
3042
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3043
+ * @returns {string} A string representing the data_store.
3044
+ */
3045
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3046
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3047
+ }
3048
+ /**
3049
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3050
+ *
3051
+ * @param {string} projectLocationDataStoreSessionsName
3052
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3053
+ * @returns {string} A string representing the session.
3054
+ */
3055
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3056
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3057
+ }
3052
3058
  /**
3053
3059
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3054
3060
  *