@google-cloud/discoveryengine 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/README.md +30 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
  10. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
  11. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
  12. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
  15. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
  16. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
  21. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  22. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  23. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
  24. package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  32. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  33. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  34. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  35. package/build/protos/protos.d.ts +21218 -11675
  36. package/build/protos/protos.js +92642 -66407
  37. package/build/protos/protos.json +5854 -2801
  38. package/build/src/index.d.ts +16 -1
  39. package/build/src/index.js +12 -2
  40. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  41. package/build/src/v1/assistant_service_client.js +2957 -0
  42. package/build/src/v1/assistant_service_client_config.json +43 -0
  43. package/build/src/v1/assistant_service_proto_list.json +48 -0
  44. package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
  45. package/build/src/v1/cmek_config_service_client.js +3426 -0
  46. package/build/src/v1/cmek_config_service_client_config.json +42 -0
  47. package/build/src/v1/cmek_config_service_proto_list.json +48 -0
  48. package/build/src/v1/completion_service_client.d.ts +345 -144
  49. package/build/src/v1/completion_service_client.js +482 -198
  50. package/build/src/v1/completion_service_proto_list.json +10 -1
  51. package/build/src/v1/control_service_client.d.ts +345 -144
  52. package/build/src/v1/control_service_client.js +498 -196
  53. package/build/src/v1/control_service_proto_list.json +10 -1
  54. package/build/src/v1/conversational_search_service_client.d.ts +392 -155
  55. package/build/src/v1/conversational_search_service_client.js +572 -204
  56. package/build/src/v1/conversational_search_service_proto_list.json +10 -1
  57. package/build/src/v1/data_store_service_client.d.ts +351 -144
  58. package/build/src/v1/data_store_service_client.js +488 -198
  59. package/build/src/v1/data_store_service_proto_list.json +10 -1
  60. package/build/src/v1/document_service_client.d.ts +345 -144
  61. package/build/src/v1/document_service_client.js +506 -198
  62. package/build/src/v1/document_service_proto_list.json +10 -1
  63. package/build/src/v1/engine_service_client.d.ts +345 -144
  64. package/build/src/v1/engine_service_client.js +488 -198
  65. package/build/src/v1/engine_service_proto_list.json +10 -1
  66. package/build/src/v1/gapic_metadata.json +270 -0
  67. package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
  68. package/build/src/v1/grounded_generation_service_client.js +486 -196
  69. package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
  70. package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
  71. package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
  72. package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
  73. package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
  74. package/build/src/v1/index.d.ts +5 -0
  75. package/build/src/v1/index.js +11 -1
  76. package/build/src/v1/project_service_client.d.ts +345 -144
  77. package/build/src/v1/project_service_client.js +476 -198
  78. package/build/src/v1/project_service_proto_list.json +10 -1
  79. package/build/src/v1/rank_service_client.d.ts +345 -144
  80. package/build/src/v1/rank_service_client.js +480 -196
  81. package/build/src/v1/rank_service_proto_list.json +10 -1
  82. package/build/src/v1/recommendation_service_client.d.ts +345 -144
  83. package/build/src/v1/recommendation_service_client.js +480 -196
  84. package/build/src/v1/recommendation_service_proto_list.json +10 -1
  85. package/build/src/v1/schema_service_client.d.ts +345 -144
  86. package/build/src/v1/schema_service_client.js +482 -198
  87. package/build/src/v1/schema_service_proto_list.json +10 -1
  88. package/build/src/v1/search_service_client.d.ts +393 -228
  89. package/build/src/v1/search_service_client.js +506 -252
  90. package/build/src/v1/search_service_proto_list.json +10 -1
  91. package/build/src/v1/search_tuning_service_client.d.ts +345 -144
  92. package/build/src/v1/search_tuning_service_client.js +482 -198
  93. package/build/src/v1/search_tuning_service_proto_list.json +10 -1
  94. package/build/src/v1/serving_config_service_client.d.ts +345 -144
  95. package/build/src/v1/serving_config_service_client.js +480 -196
  96. package/build/src/v1/serving_config_service_proto_list.json +10 -1
  97. package/build/src/v1/session_service_client.d.ts +2326 -0
  98. package/build/src/v1/session_service_client.js +3218 -0
  99. package/build/src/v1/session_service_client_config.json +63 -0
  100. package/build/src/v1/session_service_proto_list.json +48 -0
  101. package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
  102. package/build/src/v1/site_search_engine_service_client.js +494 -198
  103. package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
  104. package/build/src/v1/user_event_service_client.d.ts +345 -144
  105. package/build/src/v1/user_event_service_client.js +488 -198
  106. package/build/src/v1/user_event_service_proto_list.json +10 -1
  107. package/build/src/v1/user_license_service_client.d.ts +2367 -0
  108. package/build/src/v1/user_license_service_client.js +3346 -0
  109. package/build/src/v1/user_license_service_client_config.json +34 -0
  110. package/build/src/v1/user_license_service_proto_list.json +48 -0
  111. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  112. package/build/src/v1alpha/acl_config_service_client.js +208 -196
  113. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  114. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  115. package/build/src/v1alpha/chunk_service_client.js +202 -196
  116. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  117. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  118. package/build/src/v1alpha/completion_service_client.js +203 -197
  119. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  120. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  121. package/build/src/v1alpha/control_service_client.js +220 -196
  122. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  123. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  124. package/build/src/v1alpha/conversational_search_service_client.js +310 -210
  125. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  126. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  127. package/build/src/v1alpha/data_store_service_client.js +221 -197
  128. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  129. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  130. package/build/src/v1alpha/document_service_client.js +233 -197
  131. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  132. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  133. package/build/src/v1alpha/engine_service_client.js +221 -197
  134. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  135. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  136. package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
  137. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  138. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  139. package/build/src/v1alpha/evaluation_service_client.js +203 -197
  140. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  141. package/build/src/v1alpha/gapic_metadata.json +82 -0
  142. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
  144. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/index.d.ts +1 -0
  146. package/build/src/v1alpha/index.js +3 -1
  147. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  148. package/build/src/v1alpha/project_service_client.js +209 -197
  149. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  150. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  151. package/build/src/v1alpha/rank_service_client.js +202 -196
  152. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  153. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  154. package/build/src/v1alpha/recommendation_service_client.js +202 -196
  155. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  156. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  157. package/build/src/v1alpha/sample_query_service_client.js +221 -197
  158. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  159. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  160. package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
  161. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  162. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  163. package/build/src/v1alpha/schema_service_client.js +203 -197
  164. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  165. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  166. package/build/src/v1alpha/search_service_client.js +212 -224
  167. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  168. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  169. package/build/src/v1alpha/search_tuning_service_client.js +203 -197
  170. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  171. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  172. package/build/src/v1alpha/serving_config_service_client.js +208 -196
  173. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  174. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  175. package/build/src/v1alpha/session_service_client.js +3161 -0
  176. package/build/src/v1alpha/session_service_client_config.json +68 -0
  177. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  178. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  179. package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
  180. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  181. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  182. package/build/src/v1alpha/user_event_service_client.js +209 -197
  183. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  184. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  185. package/build/src/v1beta/completion_service_client.js +209 -197
  186. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  187. package/build/src/v1beta/control_service_client.d.ts +144 -144
  188. package/build/src/v1beta/control_service_client.js +220 -196
  189. package/build/src/v1beta/control_service_proto_list.json +1 -0
  190. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  191. package/build/src/v1beta/conversational_search_service_client.js +308 -208
  192. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  193. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  194. package/build/src/v1beta/data_store_service_client.js +209 -197
  195. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  196. package/build/src/v1beta/document_service_client.d.ts +144 -144
  197. package/build/src/v1beta/document_service_client.js +227 -197
  198. package/build/src/v1beta/document_service_proto_list.json +1 -0
  199. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  200. package/build/src/v1beta/engine_service_client.js +221 -197
  201. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  202. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  203. package/build/src/v1beta/evaluation_service_client.js +203 -197
  204. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  205. package/build/src/v1beta/gapic_metadata.json +68 -0
  206. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  207. package/build/src/v1beta/grounded_generation_service_client.js +208 -196
  208. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  209. package/build/src/v1beta/index.d.ts +1 -0
  210. package/build/src/v1beta/index.js +3 -1
  211. package/build/src/v1beta/project_service_client.d.ts +144 -144
  212. package/build/src/v1beta/project_service_client.js +197 -197
  213. package/build/src/v1beta/project_service_proto_list.json +1 -0
  214. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  215. package/build/src/v1beta/rank_service_client.js +202 -196
  216. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  217. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  218. package/build/src/v1beta/recommendation_service_client.js +202 -196
  219. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  220. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  221. package/build/src/v1beta/sample_query_service_client.js +221 -197
  222. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  223. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  224. package/build/src/v1beta/sample_query_set_service_client.js +220 -196
  225. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  226. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  227. package/build/src/v1beta/schema_service_client.js +203 -197
  228. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  229. package/build/src/v1beta/search_service_client.d.ts +192 -228
  230. package/build/src/v1beta/search_service_client.js +228 -252
  231. package/build/src/v1beta/search_service_proto_list.json +1 -0
  232. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  233. package/build/src/v1beta/search_tuning_service_client.js +203 -197
  234. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  235. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  236. package/build/src/v1beta/serving_config_service_client.js +208 -196
  237. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  238. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  239. package/build/src/v1beta/session_service_client.js +3136 -0
  240. package/build/src/v1beta/session_service_client_config.json +63 -0
  241. package/build/src/v1beta/session_service_proto_list.json +45 -0
  242. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  243. package/build/src/v1beta/site_search_engine_service_client.js +215 -197
  244. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  245. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  246. package/build/src/v1beta/user_event_service_client.js +209 -197
  247. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  248. package/package.json +7 -7
  249. package/CHANGELOG.md +0 -274
@@ -176,16 +176,16 @@ class UserEventServiceClient {
176
176
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
177
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
178
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
179
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
180
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
181
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
182
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
184
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
185
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
186
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
187
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
188
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
189
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
190
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
191
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,15 +195,15 @@ class UserEventServiceClient {
195
195
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
196
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
197
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
198
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
199
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
200
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
201
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
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}'),
204
204
  sampleQuerySetPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}'),
205
205
  };
206
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
206
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
207
207
  // This API contains "long-running operations", which return a
208
208
  // an Operation object that allows for tracking of the operation,
209
209
  // rather than holding a request open.
@@ -366,6 +366,12 @@ class UserEventServiceClient {
366
366
  ?.then(([response, options, rawResponse]) => {
367
367
  this._log.info('writeUserEvent response %j', response);
368
368
  return [response, options, rawResponse];
369
+ }).catch((error) => {
370
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
371
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
372
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
373
+ }
374
+ throw error;
369
375
  });
370
376
  }
371
377
  collectUserEvent(request, optionsOrCallback, callback) {
@@ -396,6 +402,12 @@ class UserEventServiceClient {
396
402
  ?.then(([response, options, rawResponse]) => {
397
403
  this._log.info('collectUserEvent response %j', response);
398
404
  return [response, options, rawResponse];
405
+ }).catch((error) => {
406
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
407
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
408
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
409
+ }
410
+ throw error;
399
411
  });
400
412
  }
401
413
  purgeUserEvents(request, optionsOrCallback, callback) {
@@ -1534,154 +1546,154 @@ class UserEventServiceClient {
1534
1546
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1535
1547
  }
1536
1548
  /**
1537
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1549
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1538
1550
  *
1539
1551
  * @param {string} project
1540
1552
  * @param {string} location
1541
1553
  * @param {string} collection
1542
1554
  * @param {string} data_store
1543
1555
  * @param {string} session
1556
+ * @param {string} answer
1544
1557
  * @returns {string} Resource name string.
1545
1558
  */
1546
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1547
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1559
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1560
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1548
1561
  project: project,
1549
1562
  location: location,
1550
1563
  collection: collection,
1551
1564
  data_store: dataStore,
1552
1565
  session: session,
1566
+ answer: answer,
1553
1567
  });
1554
1568
  }
1555
1569
  /**
1556
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1570
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1557
1571
  *
1558
- * @param {string} projectLocationCollectionDataStoreSessionName
1559
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1572
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1573
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1560
1574
  * @returns {string} A string representing the project.
1561
1575
  */
1562
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1563
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1576
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1577
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1564
1578
  }
1565
1579
  /**
1566
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1580
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1567
1581
  *
1568
- * @param {string} projectLocationCollectionDataStoreSessionName
1569
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1582
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1583
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1570
1584
  * @returns {string} A string representing the location.
1571
1585
  */
1572
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1573
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1586
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1587
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1574
1588
  }
1575
1589
  /**
1576
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1590
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1577
1591
  *
1578
- * @param {string} projectLocationCollectionDataStoreSessionName
1579
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1592
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1593
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1580
1594
  * @returns {string} A string representing the collection.
1581
1595
  */
1582
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1583
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1596
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1597
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1584
1598
  }
1585
1599
  /**
1586
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1600
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1587
1601
  *
1588
- * @param {string} projectLocationCollectionDataStoreSessionName
1589
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1602
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1603
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1590
1604
  * @returns {string} A string representing the data_store.
1591
1605
  */
1592
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1593
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1606
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1607
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1594
1608
  }
1595
1609
  /**
1596
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1610
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1597
1611
  *
1598
- * @param {string} projectLocationCollectionDataStoreSessionName
1599
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1612
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1613
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1600
1614
  * @returns {string} A string representing the session.
1601
1615
  */
1602
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1603
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1616
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1617
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1604
1618
  }
1605
1619
  /**
1606
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1620
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1621
+ *
1622
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1623
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1624
+ * @returns {string} A string representing the answer.
1625
+ */
1626
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1627
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1628
+ }
1629
+ /**
1630
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1607
1631
  *
1608
1632
  * @param {string} project
1609
1633
  * @param {string} location
1610
1634
  * @param {string} collection
1611
1635
  * @param {string} data_store
1612
1636
  * @param {string} session
1613
- * @param {string} answer
1614
1637
  * @returns {string} Resource name string.
1615
1638
  */
1616
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1617
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1639
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1640
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1618
1641
  project: project,
1619
1642
  location: location,
1620
1643
  collection: collection,
1621
1644
  data_store: dataStore,
1622
1645
  session: session,
1623
- answer: answer,
1624
1646
  });
1625
1647
  }
1626
1648
  /**
1627
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1649
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1628
1650
  *
1629
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1630
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1651
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1652
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1631
1653
  * @returns {string} A string representing the project.
1632
1654
  */
1633
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1634
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1655
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1656
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1635
1657
  }
1636
1658
  /**
1637
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1659
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1638
1660
  *
1639
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1640
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1661
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1662
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1641
1663
  * @returns {string} A string representing the location.
1642
1664
  */
1643
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1644
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1665
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1666
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1645
1667
  }
1646
1668
  /**
1647
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1669
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1648
1670
  *
1649
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1650
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1671
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1672
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1651
1673
  * @returns {string} A string representing the collection.
1652
1674
  */
1653
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1654
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1675
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1676
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1655
1677
  }
1656
1678
  /**
1657
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1679
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1658
1680
  *
1659
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1660
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1681
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1682
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1661
1683
  * @returns {string} A string representing the data_store.
1662
1684
  */
1663
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1664
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1685
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1686
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1665
1687
  }
1666
1688
  /**
1667
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1689
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1668
1690
  *
1669
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1670
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1691
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1692
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1671
1693
  * @returns {string} A string representing the session.
1672
1694
  */
1673
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1674
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1675
- }
1676
- /**
1677
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1678
- *
1679
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1680
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1681
- * @returns {string} A string representing the answer.
1682
- */
1683
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1684
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1695
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1696
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1685
1697
  }
1686
1698
  /**
1687
1699
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2086,154 +2098,154 @@ class UserEventServiceClient {
2086
2098
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2087
2099
  }
2088
2100
  /**
2089
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2101
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2090
2102
  *
2091
2103
  * @param {string} project
2092
2104
  * @param {string} location
2093
2105
  * @param {string} collection
2094
2106
  * @param {string} engine
2095
2107
  * @param {string} session
2108
+ * @param {string} answer
2096
2109
  * @returns {string} Resource name string.
2097
2110
  */
2098
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2099
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2111
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2112
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2100
2113
  project: project,
2101
2114
  location: location,
2102
2115
  collection: collection,
2103
2116
  engine: engine,
2104
2117
  session: session,
2118
+ answer: answer,
2105
2119
  });
2106
2120
  }
2107
2121
  /**
2108
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2122
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2109
2123
  *
2110
- * @param {string} projectLocationCollectionEngineSessionName
2111
- * A fully-qualified path representing project_location_collection_engine_session resource.
2124
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2125
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2112
2126
  * @returns {string} A string representing the project.
2113
2127
  */
2114
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2115
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2128
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2129
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2116
2130
  }
2117
2131
  /**
2118
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2132
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2119
2133
  *
2120
- * @param {string} projectLocationCollectionEngineSessionName
2121
- * A fully-qualified path representing project_location_collection_engine_session resource.
2134
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2135
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2122
2136
  * @returns {string} A string representing the location.
2123
2137
  */
2124
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2125
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2138
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2139
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2126
2140
  }
2127
2141
  /**
2128
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2142
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2129
2143
  *
2130
- * @param {string} projectLocationCollectionEngineSessionName
2131
- * A fully-qualified path representing project_location_collection_engine_session resource.
2144
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2145
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2132
2146
  * @returns {string} A string representing the collection.
2133
2147
  */
2134
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2135
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2148
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2149
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2136
2150
  }
2137
2151
  /**
2138
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2152
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2139
2153
  *
2140
- * @param {string} projectLocationCollectionEngineSessionName
2141
- * A fully-qualified path representing project_location_collection_engine_session resource.
2154
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2155
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2142
2156
  * @returns {string} A string representing the engine.
2143
2157
  */
2144
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2145
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2158
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2159
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2146
2160
  }
2147
2161
  /**
2148
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2162
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2149
2163
  *
2150
- * @param {string} projectLocationCollectionEngineSessionName
2151
- * A fully-qualified path representing project_location_collection_engine_session resource.
2164
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2165
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2152
2166
  * @returns {string} A string representing the session.
2153
2167
  */
2154
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2155
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2168
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2169
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2156
2170
  }
2157
2171
  /**
2158
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2172
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2173
+ *
2174
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2175
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2176
+ * @returns {string} A string representing the answer.
2177
+ */
2178
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2179
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2180
+ }
2181
+ /**
2182
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2159
2183
  *
2160
2184
  * @param {string} project
2161
2185
  * @param {string} location
2162
2186
  * @param {string} collection
2163
2187
  * @param {string} engine
2164
2188
  * @param {string} session
2165
- * @param {string} answer
2166
2189
  * @returns {string} Resource name string.
2167
2190
  */
2168
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2169
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2191
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2192
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2170
2193
  project: project,
2171
2194
  location: location,
2172
2195
  collection: collection,
2173
2196
  engine: engine,
2174
2197
  session: session,
2175
- answer: answer,
2176
2198
  });
2177
2199
  }
2178
2200
  /**
2179
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2201
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2180
2202
  *
2181
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2182
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2203
+ * @param {string} projectLocationCollectionEngineSessionsName
2204
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2183
2205
  * @returns {string} A string representing the project.
2184
2206
  */
2185
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2186
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2207
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2208
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2187
2209
  }
2188
2210
  /**
2189
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2211
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2190
2212
  *
2191
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2192
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2213
+ * @param {string} projectLocationCollectionEngineSessionsName
2214
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2193
2215
  * @returns {string} A string representing the location.
2194
2216
  */
2195
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2196
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2217
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2218
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2197
2219
  }
2198
2220
  /**
2199
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2221
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2200
2222
  *
2201
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2202
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2223
+ * @param {string} projectLocationCollectionEngineSessionsName
2224
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2203
2225
  * @returns {string} A string representing the collection.
2204
2226
  */
2205
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2206
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2227
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2228
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2207
2229
  }
2208
2230
  /**
2209
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2231
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2210
2232
  *
2211
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2212
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2233
+ * @param {string} projectLocationCollectionEngineSessionsName
2234
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2213
2235
  * @returns {string} A string representing the engine.
2214
2236
  */
2215
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2216
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2237
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2238
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2217
2239
  }
2218
2240
  /**
2219
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2241
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2220
2242
  *
2221
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2222
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2243
+ * @param {string} projectLocationCollectionEngineSessionsName
2244
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2223
2245
  * @returns {string} A string representing the session.
2224
2246
  */
2225
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2226
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2227
- }
2228
- /**
2229
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2230
- *
2231
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2232
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2233
- * @returns {string} A string representing the answer.
2234
- */
2235
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2236
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2247
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2248
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2237
2249
  }
2238
2250
  /**
2239
2251
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2760,63 +2772,6 @@ class UserEventServiceClient {
2760
2772
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2761
2773
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2762
2774
  }
2763
- /**
2764
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2765
- *
2766
- * @param {string} project
2767
- * @param {string} location
2768
- * @param {string} data_store
2769
- * @param {string} session
2770
- * @returns {string} Resource name string.
2771
- */
2772
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2773
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2774
- project: project,
2775
- location: location,
2776
- data_store: dataStore,
2777
- session: session,
2778
- });
2779
- }
2780
- /**
2781
- * Parse the project from ProjectLocationDataStoreSession resource.
2782
- *
2783
- * @param {string} projectLocationDataStoreSessionName
2784
- * A fully-qualified path representing project_location_data_store_session resource.
2785
- * @returns {string} A string representing the project.
2786
- */
2787
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2788
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2789
- }
2790
- /**
2791
- * Parse the location from ProjectLocationDataStoreSession resource.
2792
- *
2793
- * @param {string} projectLocationDataStoreSessionName
2794
- * A fully-qualified path representing project_location_data_store_session resource.
2795
- * @returns {string} A string representing the location.
2796
- */
2797
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2798
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2799
- }
2800
- /**
2801
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2802
- *
2803
- * @param {string} projectLocationDataStoreSessionName
2804
- * A fully-qualified path representing project_location_data_store_session resource.
2805
- * @returns {string} A string representing the data_store.
2806
- */
2807
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2808
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2809
- }
2810
- /**
2811
- * Parse the session from ProjectLocationDataStoreSession resource.
2812
- *
2813
- * @param {string} projectLocationDataStoreSessionName
2814
- * A fully-qualified path representing project_location_data_store_session resource.
2815
- * @returns {string} A string representing the session.
2816
- */
2817
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2818
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2819
- }
2820
2775
  /**
2821
2776
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2822
2777
  *
@@ -2886,6 +2841,63 @@ class UserEventServiceClient {
2886
2841
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2887
2842
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2888
2843
  }
2844
+ /**
2845
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2846
+ *
2847
+ * @param {string} project
2848
+ * @param {string} location
2849
+ * @param {string} data_store
2850
+ * @param {string} session
2851
+ * @returns {string} Resource name string.
2852
+ */
2853
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2854
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2855
+ project: project,
2856
+ location: location,
2857
+ data_store: dataStore,
2858
+ session: session,
2859
+ });
2860
+ }
2861
+ /**
2862
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2863
+ *
2864
+ * @param {string} projectLocationDataStoreSessionsName
2865
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2866
+ * @returns {string} A string representing the project.
2867
+ */
2868
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2869
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2870
+ }
2871
+ /**
2872
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2873
+ *
2874
+ * @param {string} projectLocationDataStoreSessionsName
2875
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2876
+ * @returns {string} A string representing the location.
2877
+ */
2878
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2879
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2880
+ }
2881
+ /**
2882
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2883
+ *
2884
+ * @param {string} projectLocationDataStoreSessionsName
2885
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2886
+ * @returns {string} A string representing the data_store.
2887
+ */
2888
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2889
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2890
+ }
2891
+ /**
2892
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2893
+ *
2894
+ * @param {string} projectLocationDataStoreSessionsName
2895
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2896
+ * @returns {string} A string representing the session.
2897
+ */
2898
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2899
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2900
+ }
2889
2901
  /**
2890
2902
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2891
2903
  *