@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
@@ -175,16 +175,16 @@ class RecommendationServiceClient {
175
175
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
176
176
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
177
177
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
178
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
179
178
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
179
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
180
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
181
181
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
182
182
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
183
183
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
184
184
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
185
185
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
186
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
186
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
187
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
188
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
189
189
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
190
190
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -194,8 +194,8 @@ class RecommendationServiceClient {
194
194
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
195
195
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
196
196
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
197
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
197
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
198
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
199
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
200
200
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
201
201
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -340,6 +340,12 @@ class RecommendationServiceClient {
340
340
  ?.then(([response, options, rawResponse]) => {
341
341
  this._log.info('recommend response %j', response);
342
342
  return [response, options, rawResponse];
343
+ }).catch((error) => {
344
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
345
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
346
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
347
+ }
348
+ throw error;
343
349
  });
344
350
  }
345
351
  /**
@@ -1202,154 +1208,154 @@ class RecommendationServiceClient {
1202
1208
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1203
1209
  }
1204
1210
  /**
1205
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1211
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1206
1212
  *
1207
1213
  * @param {string} project
1208
1214
  * @param {string} location
1209
1215
  * @param {string} collection
1210
1216
  * @param {string} data_store
1211
1217
  * @param {string} session
1218
+ * @param {string} answer
1212
1219
  * @returns {string} Resource name string.
1213
1220
  */
1214
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1215
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1221
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1222
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1216
1223
  project: project,
1217
1224
  location: location,
1218
1225
  collection: collection,
1219
1226
  data_store: dataStore,
1220
1227
  session: session,
1228
+ answer: answer,
1221
1229
  });
1222
1230
  }
1223
1231
  /**
1224
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1232
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1225
1233
  *
1226
- * @param {string} projectLocationCollectionDataStoreSessionName
1227
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1234
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1235
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1228
1236
  * @returns {string} A string representing the project.
1229
1237
  */
1230
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1231
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1238
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1239
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1232
1240
  }
1233
1241
  /**
1234
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1242
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1235
1243
  *
1236
- * @param {string} projectLocationCollectionDataStoreSessionName
1237
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1244
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1245
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1238
1246
  * @returns {string} A string representing the location.
1239
1247
  */
1240
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1241
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1248
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1249
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1242
1250
  }
1243
1251
  /**
1244
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1252
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1245
1253
  *
1246
- * @param {string} projectLocationCollectionDataStoreSessionName
1247
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1254
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1255
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1248
1256
  * @returns {string} A string representing the collection.
1249
1257
  */
1250
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1251
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1258
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1259
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1252
1260
  }
1253
1261
  /**
1254
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1262
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1255
1263
  *
1256
- * @param {string} projectLocationCollectionDataStoreSessionName
1257
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1264
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1265
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1258
1266
  * @returns {string} A string representing the data_store.
1259
1267
  */
1260
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1261
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1268
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1269
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1262
1270
  }
1263
1271
  /**
1264
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1272
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1265
1273
  *
1266
- * @param {string} projectLocationCollectionDataStoreSessionName
1267
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1274
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1275
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1268
1276
  * @returns {string} A string representing the session.
1269
1277
  */
1270
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1271
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1278
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1279
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1272
1280
  }
1273
1281
  /**
1274
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1282
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1283
+ *
1284
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1285
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1286
+ * @returns {string} A string representing the answer.
1287
+ */
1288
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1289
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1290
+ }
1291
+ /**
1292
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1275
1293
  *
1276
1294
  * @param {string} project
1277
1295
  * @param {string} location
1278
1296
  * @param {string} collection
1279
1297
  * @param {string} data_store
1280
1298
  * @param {string} session
1281
- * @param {string} answer
1282
1299
  * @returns {string} Resource name string.
1283
1300
  */
1284
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1285
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1301
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1302
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1286
1303
  project: project,
1287
1304
  location: location,
1288
1305
  collection: collection,
1289
1306
  data_store: dataStore,
1290
1307
  session: session,
1291
- answer: answer,
1292
1308
  });
1293
1309
  }
1294
1310
  /**
1295
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1311
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1296
1312
  *
1297
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1298
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1313
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1314
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1299
1315
  * @returns {string} A string representing the project.
1300
1316
  */
1301
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1302
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1317
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1318
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1303
1319
  }
1304
1320
  /**
1305
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1321
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1306
1322
  *
1307
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1308
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1323
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1324
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1309
1325
  * @returns {string} A string representing the location.
1310
1326
  */
1311
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1312
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1327
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1328
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1313
1329
  }
1314
1330
  /**
1315
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1331
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1316
1332
  *
1317
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1318
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1333
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1334
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1319
1335
  * @returns {string} A string representing the collection.
1320
1336
  */
1321
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1322
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1337
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1338
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1323
1339
  }
1324
1340
  /**
1325
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1341
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1326
1342
  *
1327
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1328
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1343
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1344
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1329
1345
  * @returns {string} A string representing the data_store.
1330
1346
  */
1331
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1332
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1347
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1348
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1333
1349
  }
1334
1350
  /**
1335
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1351
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1336
1352
  *
1337
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1338
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1353
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1354
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1339
1355
  * @returns {string} A string representing the session.
1340
1356
  */
1341
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1342
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1343
- }
1344
- /**
1345
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1346
- *
1347
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1348
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1349
- * @returns {string} A string representing the answer.
1350
- */
1351
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1352
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1357
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1358
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1353
1359
  }
1354
1360
  /**
1355
1361
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1754,154 +1760,154 @@ class RecommendationServiceClient {
1754
1760
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1755
1761
  }
1756
1762
  /**
1757
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1763
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1758
1764
  *
1759
1765
  * @param {string} project
1760
1766
  * @param {string} location
1761
1767
  * @param {string} collection
1762
1768
  * @param {string} engine
1763
1769
  * @param {string} session
1770
+ * @param {string} answer
1764
1771
  * @returns {string} Resource name string.
1765
1772
  */
1766
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1767
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1773
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1774
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1768
1775
  project: project,
1769
1776
  location: location,
1770
1777
  collection: collection,
1771
1778
  engine: engine,
1772
1779
  session: session,
1780
+ answer: answer,
1773
1781
  });
1774
1782
  }
1775
1783
  /**
1776
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1784
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1777
1785
  *
1778
- * @param {string} projectLocationCollectionEngineSessionName
1779
- * A fully-qualified path representing project_location_collection_engine_session resource.
1786
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1787
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1780
1788
  * @returns {string} A string representing the project.
1781
1789
  */
1782
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1783
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1790
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1791
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1784
1792
  }
1785
1793
  /**
1786
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1794
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1787
1795
  *
1788
- * @param {string} projectLocationCollectionEngineSessionName
1789
- * A fully-qualified path representing project_location_collection_engine_session resource.
1796
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1797
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1790
1798
  * @returns {string} A string representing the location.
1791
1799
  */
1792
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1793
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1800
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1801
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1794
1802
  }
1795
1803
  /**
1796
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1804
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1797
1805
  *
1798
- * @param {string} projectLocationCollectionEngineSessionName
1799
- * A fully-qualified path representing project_location_collection_engine_session resource.
1806
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1807
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1800
1808
  * @returns {string} A string representing the collection.
1801
1809
  */
1802
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1803
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1810
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1811
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1804
1812
  }
1805
1813
  /**
1806
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1814
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1807
1815
  *
1808
- * @param {string} projectLocationCollectionEngineSessionName
1809
- * A fully-qualified path representing project_location_collection_engine_session resource.
1816
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1817
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1810
1818
  * @returns {string} A string representing the engine.
1811
1819
  */
1812
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1813
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1820
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1821
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1814
1822
  }
1815
1823
  /**
1816
- * Parse the session from ProjectLocationCollectionEngineSession resource.
1824
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1817
1825
  *
1818
- * @param {string} projectLocationCollectionEngineSessionName
1819
- * A fully-qualified path representing project_location_collection_engine_session resource.
1826
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1827
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1820
1828
  * @returns {string} A string representing the session.
1821
1829
  */
1822
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1823
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1830
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1831
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1824
1832
  }
1825
1833
  /**
1826
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1834
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1835
+ *
1836
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1837
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1838
+ * @returns {string} A string representing the answer.
1839
+ */
1840
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1841
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1842
+ }
1843
+ /**
1844
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1827
1845
  *
1828
1846
  * @param {string} project
1829
1847
  * @param {string} location
1830
1848
  * @param {string} collection
1831
1849
  * @param {string} engine
1832
1850
  * @param {string} session
1833
- * @param {string} answer
1834
1851
  * @returns {string} Resource name string.
1835
1852
  */
1836
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1837
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1853
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
1854
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1838
1855
  project: project,
1839
1856
  location: location,
1840
1857
  collection: collection,
1841
1858
  engine: engine,
1842
1859
  session: session,
1843
- answer: answer,
1844
1860
  });
1845
1861
  }
1846
1862
  /**
1847
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1863
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1848
1864
  *
1849
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1850
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1865
+ * @param {string} projectLocationCollectionEngineSessionsName
1866
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1851
1867
  * @returns {string} A string representing the project.
1852
1868
  */
1853
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1854
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1869
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1870
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1855
1871
  }
1856
1872
  /**
1857
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1873
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1858
1874
  *
1859
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1860
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1875
+ * @param {string} projectLocationCollectionEngineSessionsName
1876
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1861
1877
  * @returns {string} A string representing the location.
1862
1878
  */
1863
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1864
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1879
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1880
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1865
1881
  }
1866
1882
  /**
1867
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1883
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1868
1884
  *
1869
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1870
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1885
+ * @param {string} projectLocationCollectionEngineSessionsName
1886
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1871
1887
  * @returns {string} A string representing the collection.
1872
1888
  */
1873
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1874
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1889
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1890
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1875
1891
  }
1876
1892
  /**
1877
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1893
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1878
1894
  *
1879
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1880
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1895
+ * @param {string} projectLocationCollectionEngineSessionsName
1896
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1881
1897
  * @returns {string} A string representing the engine.
1882
1898
  */
1883
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1884
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1899
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1900
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1885
1901
  }
1886
1902
  /**
1887
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1903
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
1888
1904
  *
1889
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1890
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1905
+ * @param {string} projectLocationCollectionEngineSessionsName
1906
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1891
1907
  * @returns {string} A string representing the session.
1892
1908
  */
1893
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1894
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1895
- }
1896
- /**
1897
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1898
- *
1899
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1900
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1901
- * @returns {string} A string representing the answer.
1902
- */
1903
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1904
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1909
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1910
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
1905
1911
  }
1906
1912
  /**
1907
1913
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2428,63 +2434,6 @@ class RecommendationServiceClient {
2428
2434
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2429
2435
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2430
2436
  }
2431
- /**
2432
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2433
- *
2434
- * @param {string} project
2435
- * @param {string} location
2436
- * @param {string} data_store
2437
- * @param {string} session
2438
- * @returns {string} Resource name string.
2439
- */
2440
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2441
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2442
- project: project,
2443
- location: location,
2444
- data_store: dataStore,
2445
- session: session,
2446
- });
2447
- }
2448
- /**
2449
- * Parse the project from ProjectLocationDataStoreSession resource.
2450
- *
2451
- * @param {string} projectLocationDataStoreSessionName
2452
- * A fully-qualified path representing project_location_data_store_session resource.
2453
- * @returns {string} A string representing the project.
2454
- */
2455
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2456
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2457
- }
2458
- /**
2459
- * Parse the location from ProjectLocationDataStoreSession resource.
2460
- *
2461
- * @param {string} projectLocationDataStoreSessionName
2462
- * A fully-qualified path representing project_location_data_store_session resource.
2463
- * @returns {string} A string representing the location.
2464
- */
2465
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2466
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2467
- }
2468
- /**
2469
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2470
- *
2471
- * @param {string} projectLocationDataStoreSessionName
2472
- * A fully-qualified path representing project_location_data_store_session resource.
2473
- * @returns {string} A string representing the data_store.
2474
- */
2475
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2476
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2477
- }
2478
- /**
2479
- * Parse the session from ProjectLocationDataStoreSession resource.
2480
- *
2481
- * @param {string} projectLocationDataStoreSessionName
2482
- * A fully-qualified path representing project_location_data_store_session resource.
2483
- * @returns {string} A string representing the session.
2484
- */
2485
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2486
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2487
- }
2488
2437
  /**
2489
2438
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2490
2439
  *
@@ -2554,6 +2503,63 @@ class RecommendationServiceClient {
2554
2503
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2555
2504
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2556
2505
  }
2506
+ /**
2507
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2508
+ *
2509
+ * @param {string} project
2510
+ * @param {string} location
2511
+ * @param {string} data_store
2512
+ * @param {string} session
2513
+ * @returns {string} Resource name string.
2514
+ */
2515
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2516
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2517
+ project: project,
2518
+ location: location,
2519
+ data_store: dataStore,
2520
+ session: session,
2521
+ });
2522
+ }
2523
+ /**
2524
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2525
+ *
2526
+ * @param {string} projectLocationDataStoreSessionsName
2527
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2528
+ * @returns {string} A string representing the project.
2529
+ */
2530
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2531
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2532
+ }
2533
+ /**
2534
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2535
+ *
2536
+ * @param {string} projectLocationDataStoreSessionsName
2537
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2538
+ * @returns {string} A string representing the location.
2539
+ */
2540
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2541
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2542
+ }
2543
+ /**
2544
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2545
+ *
2546
+ * @param {string} projectLocationDataStoreSessionsName
2547
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2548
+ * @returns {string} A string representing the data_store.
2549
+ */
2550
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2551
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2552
+ }
2553
+ /**
2554
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2555
+ *
2556
+ * @param {string} projectLocationDataStoreSessionsName
2557
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2558
+ * @returns {string} A string representing the session.
2559
+ */
2560
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2561
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2562
+ }
2557
2563
  /**
2558
2564
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2559
2565
  *