@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
@@ -163,8 +163,13 @@ class UserEventServiceClient {
163
163
  // identifiers to uniquely identify resources within the API.
164
164
  // Create useful helper objects for these.
165
165
  this.pathTemplates = {
166
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
167
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
166
168
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
169
+ identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
167
170
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
171
+ projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
172
+ projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
168
173
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
169
174
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
170
175
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -174,16 +179,16 @@ class UserEventServiceClient {
174
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
175
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
176
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
177
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
178
182
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
183
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
179
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
180
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
181
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
182
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
183
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
184
189
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
185
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
186
190
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
191
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
188
193
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
189
194
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -193,13 +198,13 @@ class UserEventServiceClient {
193
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
194
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
195
200
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
196
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
197
201
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
202
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
199
204
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
200
205
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
201
206
  };
202
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
207
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
203
208
  // This API contains "long-running operations", which return a
204
209
  // an Operation object that allows for tracking of the operation,
205
210
  // rather than holding a request open.
@@ -209,7 +214,7 @@ class UserEventServiceClient {
209
214
  };
210
215
  if (opts.fallback) {
211
216
  lroOptions.protoJson = protoFilesRoot;
212
- lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
217
+ lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
213
218
  }, { selector: 'google.longrunning.Operations.GetOperation', get: '/v1/{name=projects/*/operations/*}', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/operations/*}', }, { get: '/v1/{name=projects/*/operations/*}', }],
214
219
  }, { selector: 'google.longrunning.Operations.ListOperations', get: '/v1/{name=projects/*}/operations', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*}/operations', }, { get: '/v1/{name=projects/*}/operations', }],
215
220
  }];
@@ -362,6 +367,12 @@ class UserEventServiceClient {
362
367
  ?.then(([response, options, rawResponse]) => {
363
368
  this._log.info('writeUserEvent response %j', response);
364
369
  return [response, options, rawResponse];
370
+ }).catch((error) => {
371
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
372
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
373
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
374
+ }
375
+ throw error;
365
376
  });
366
377
  }
367
378
  collectUserEvent(request, optionsOrCallback, callback) {
@@ -392,6 +403,12 @@ class UserEventServiceClient {
392
403
  ?.then(([response, options, rawResponse]) => {
393
404
  this._log.info('collectUserEvent response %j', response);
394
405
  return [response, options, rawResponse];
406
+ }).catch((error) => {
407
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
408
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
409
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
410
+ }
411
+ throw error;
395
412
  });
396
413
  }
397
414
  purgeUserEvents(request, optionsOrCallback, callback) {
@@ -728,6 +745,156 @@ class UserEventServiceClient {
728
745
  // --------------------
729
746
  // -- Path templates --
730
747
  // --------------------
748
+ /**
749
+ * Return a fully-qualified assistAnswer resource name string.
750
+ *
751
+ * @param {string} project
752
+ * @param {string} location
753
+ * @param {string} collection
754
+ * @param {string} engine
755
+ * @param {string} session
756
+ * @param {string} assist_answer
757
+ * @returns {string} Resource name string.
758
+ */
759
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
760
+ return this.pathTemplates.assistAnswerPathTemplate.render({
761
+ project: project,
762
+ location: location,
763
+ collection: collection,
764
+ engine: engine,
765
+ session: session,
766
+ assist_answer: assistAnswer,
767
+ });
768
+ }
769
+ /**
770
+ * Parse the project from AssistAnswer resource.
771
+ *
772
+ * @param {string} assistAnswerName
773
+ * A fully-qualified path representing AssistAnswer resource.
774
+ * @returns {string} A string representing the project.
775
+ */
776
+ matchProjectFromAssistAnswerName(assistAnswerName) {
777
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
778
+ }
779
+ /**
780
+ * Parse the location from AssistAnswer resource.
781
+ *
782
+ * @param {string} assistAnswerName
783
+ * A fully-qualified path representing AssistAnswer resource.
784
+ * @returns {string} A string representing the location.
785
+ */
786
+ matchLocationFromAssistAnswerName(assistAnswerName) {
787
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
788
+ }
789
+ /**
790
+ * Parse the collection from AssistAnswer resource.
791
+ *
792
+ * @param {string} assistAnswerName
793
+ * A fully-qualified path representing AssistAnswer resource.
794
+ * @returns {string} A string representing the collection.
795
+ */
796
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
797
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
798
+ }
799
+ /**
800
+ * Parse the engine from AssistAnswer resource.
801
+ *
802
+ * @param {string} assistAnswerName
803
+ * A fully-qualified path representing AssistAnswer resource.
804
+ * @returns {string} A string representing the engine.
805
+ */
806
+ matchEngineFromAssistAnswerName(assistAnswerName) {
807
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
808
+ }
809
+ /**
810
+ * Parse the session from AssistAnswer resource.
811
+ *
812
+ * @param {string} assistAnswerName
813
+ * A fully-qualified path representing AssistAnswer resource.
814
+ * @returns {string} A string representing the session.
815
+ */
816
+ matchSessionFromAssistAnswerName(assistAnswerName) {
817
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
818
+ }
819
+ /**
820
+ * Parse the assist_answer from AssistAnswer resource.
821
+ *
822
+ * @param {string} assistAnswerName
823
+ * A fully-qualified path representing AssistAnswer resource.
824
+ * @returns {string} A string representing the assist_answer.
825
+ */
826
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
827
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
828
+ }
829
+ /**
830
+ * Return a fully-qualified assistant resource name string.
831
+ *
832
+ * @param {string} project
833
+ * @param {string} location
834
+ * @param {string} collection
835
+ * @param {string} engine
836
+ * @param {string} assistant
837
+ * @returns {string} Resource name string.
838
+ */
839
+ assistantPath(project, location, collection, engine, assistant) {
840
+ return this.pathTemplates.assistantPathTemplate.render({
841
+ project: project,
842
+ location: location,
843
+ collection: collection,
844
+ engine: engine,
845
+ assistant: assistant,
846
+ });
847
+ }
848
+ /**
849
+ * Parse the project from Assistant resource.
850
+ *
851
+ * @param {string} assistantName
852
+ * A fully-qualified path representing Assistant resource.
853
+ * @returns {string} A string representing the project.
854
+ */
855
+ matchProjectFromAssistantName(assistantName) {
856
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
857
+ }
858
+ /**
859
+ * Parse the location from Assistant resource.
860
+ *
861
+ * @param {string} assistantName
862
+ * A fully-qualified path representing Assistant resource.
863
+ * @returns {string} A string representing the location.
864
+ */
865
+ matchLocationFromAssistantName(assistantName) {
866
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
867
+ }
868
+ /**
869
+ * Parse the collection from Assistant resource.
870
+ *
871
+ * @param {string} assistantName
872
+ * A fully-qualified path representing Assistant resource.
873
+ * @returns {string} A string representing the collection.
874
+ */
875
+ matchCollectionFromAssistantName(assistantName) {
876
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
877
+ }
878
+ /**
879
+ * Parse the engine from Assistant resource.
880
+ *
881
+ * @param {string} assistantName
882
+ * A fully-qualified path representing Assistant resource.
883
+ * @returns {string} A string representing the engine.
884
+ */
885
+ matchEngineFromAssistantName(assistantName) {
886
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
887
+ }
888
+ /**
889
+ * Parse the assistant from Assistant resource.
890
+ *
891
+ * @param {string} assistantName
892
+ * A fully-qualified path representing Assistant resource.
893
+ * @returns {string} A string representing the assistant.
894
+ */
895
+ matchAssistantFromAssistantName(assistantName) {
896
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
897
+ }
731
898
  /**
732
899
  * Return a fully-qualified engine resource name string.
733
900
  *
@@ -785,6 +952,51 @@ class UserEventServiceClient {
785
952
  matchEngineFromEngineName(engineName) {
786
953
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
787
954
  }
955
+ /**
956
+ * Return a fully-qualified identityMappingStore resource name string.
957
+ *
958
+ * @param {string} project
959
+ * @param {string} location
960
+ * @param {string} identity_mapping_store
961
+ * @returns {string} Resource name string.
962
+ */
963
+ identityMappingStorePath(project, location, identityMappingStore) {
964
+ return this.pathTemplates.identityMappingStorePathTemplate.render({
965
+ project: project,
966
+ location: location,
967
+ identity_mapping_store: identityMappingStore,
968
+ });
969
+ }
970
+ /**
971
+ * Parse the project from IdentityMappingStore resource.
972
+ *
973
+ * @param {string} identityMappingStoreName
974
+ * A fully-qualified path representing IdentityMappingStore resource.
975
+ * @returns {string} A string representing the project.
976
+ */
977
+ matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
978
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
979
+ }
980
+ /**
981
+ * Parse the location from IdentityMappingStore resource.
982
+ *
983
+ * @param {string} identityMappingStoreName
984
+ * A fully-qualified path representing IdentityMappingStore resource.
985
+ * @returns {string} A string representing the location.
986
+ */
987
+ matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
988
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
989
+ }
990
+ /**
991
+ * Parse the identity_mapping_store from IdentityMappingStore resource.
992
+ *
993
+ * @param {string} identityMappingStoreName
994
+ * A fully-qualified path representing IdentityMappingStore resource.
995
+ * @returns {string} A string representing the identity_mapping_store.
996
+ */
997
+ matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
998
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
999
+ }
788
1000
  /**
789
1001
  * Return a fully-qualified project resource name string.
790
1002
  *
@@ -806,6 +1018,84 @@ class UserEventServiceClient {
806
1018
  matchProjectFromProjectName(projectName) {
807
1019
  return this.pathTemplates.projectPathTemplate.match(projectName).project;
808
1020
  }
1021
+ /**
1022
+ * Return a fully-qualified projectLocationCmekConfig resource name string.
1023
+ *
1024
+ * @param {string} project
1025
+ * @param {string} location
1026
+ * @returns {string} Resource name string.
1027
+ */
1028
+ projectLocationCmekConfigPath(project, location) {
1029
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
1030
+ project: project,
1031
+ location: location,
1032
+ });
1033
+ }
1034
+ /**
1035
+ * Parse the project from ProjectLocationCmekConfig resource.
1036
+ *
1037
+ * @param {string} projectLocationCmekConfigName
1038
+ * A fully-qualified path representing project_location_cmekConfig resource.
1039
+ * @returns {string} A string representing the project.
1040
+ */
1041
+ matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
1042
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
1043
+ }
1044
+ /**
1045
+ * Parse the location from ProjectLocationCmekConfig resource.
1046
+ *
1047
+ * @param {string} projectLocationCmekConfigName
1048
+ * A fully-qualified path representing project_location_cmekConfig resource.
1049
+ * @returns {string} A string representing the location.
1050
+ */
1051
+ matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
1052
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
1053
+ }
1054
+ /**
1055
+ * Return a fully-qualified projectLocationCmekConfigs resource name string.
1056
+ *
1057
+ * @param {string} project
1058
+ * @param {string} location
1059
+ * @param {string} cmek_config
1060
+ * @returns {string} Resource name string.
1061
+ */
1062
+ projectLocationCmekConfigsPath(project, location, cmekConfig) {
1063
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
1064
+ project: project,
1065
+ location: location,
1066
+ cmek_config: cmekConfig,
1067
+ });
1068
+ }
1069
+ /**
1070
+ * Parse the project from ProjectLocationCmekConfigs resource.
1071
+ *
1072
+ * @param {string} projectLocationCmekConfigsName
1073
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1074
+ * @returns {string} A string representing the project.
1075
+ */
1076
+ matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1077
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
1078
+ }
1079
+ /**
1080
+ * Parse the location from ProjectLocationCmekConfigs resource.
1081
+ *
1082
+ * @param {string} projectLocationCmekConfigsName
1083
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1084
+ * @returns {string} A string representing the location.
1085
+ */
1086
+ matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1087
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
1088
+ }
1089
+ /**
1090
+ * Parse the cmek_config from ProjectLocationCmekConfigs resource.
1091
+ *
1092
+ * @param {string} projectLocationCmekConfigsName
1093
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1094
+ * @returns {string} A string representing the cmek_config.
1095
+ */
1096
+ matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1097
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
1098
+ }
809
1099
  /**
810
1100
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
811
1101
  *
@@ -1440,154 +1730,154 @@ class UserEventServiceClient {
1440
1730
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1441
1731
  }
1442
1732
  /**
1443
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1733
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1444
1734
  *
1445
1735
  * @param {string} project
1446
1736
  * @param {string} location
1447
1737
  * @param {string} collection
1448
1738
  * @param {string} data_store
1449
1739
  * @param {string} session
1740
+ * @param {string} answer
1450
1741
  * @returns {string} Resource name string.
1451
1742
  */
1452
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1453
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1743
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1744
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1454
1745
  project: project,
1455
1746
  location: location,
1456
1747
  collection: collection,
1457
1748
  data_store: dataStore,
1458
1749
  session: session,
1750
+ answer: answer,
1459
1751
  });
1460
1752
  }
1461
1753
  /**
1462
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1754
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1463
1755
  *
1464
- * @param {string} projectLocationCollectionDataStoreSessionName
1465
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1756
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1757
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1466
1758
  * @returns {string} A string representing the project.
1467
1759
  */
1468
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1469
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1760
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1761
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1470
1762
  }
1471
1763
  /**
1472
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1764
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1473
1765
  *
1474
- * @param {string} projectLocationCollectionDataStoreSessionName
1475
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1766
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1767
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1476
1768
  * @returns {string} A string representing the location.
1477
1769
  */
1478
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1479
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1770
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1771
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1480
1772
  }
1481
1773
  /**
1482
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1774
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1483
1775
  *
1484
- * @param {string} projectLocationCollectionDataStoreSessionName
1485
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1776
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1777
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1486
1778
  * @returns {string} A string representing the collection.
1487
1779
  */
1488
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1489
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1780
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1781
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1490
1782
  }
1491
1783
  /**
1492
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1784
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1493
1785
  *
1494
- * @param {string} projectLocationCollectionDataStoreSessionName
1495
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1786
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1787
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1496
1788
  * @returns {string} A string representing the data_store.
1497
1789
  */
1498
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1499
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1790
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1791
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1500
1792
  }
1501
1793
  /**
1502
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1794
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1503
1795
  *
1504
- * @param {string} projectLocationCollectionDataStoreSessionName
1505
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1796
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1797
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1506
1798
  * @returns {string} A string representing the session.
1507
1799
  */
1508
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1509
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1800
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1801
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1510
1802
  }
1511
1803
  /**
1512
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1804
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1805
+ *
1806
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1807
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1808
+ * @returns {string} A string representing the answer.
1809
+ */
1810
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1811
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1812
+ }
1813
+ /**
1814
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1513
1815
  *
1514
1816
  * @param {string} project
1515
1817
  * @param {string} location
1516
1818
  * @param {string} collection
1517
1819
  * @param {string} data_store
1518
1820
  * @param {string} session
1519
- * @param {string} answer
1520
1821
  * @returns {string} Resource name string.
1521
1822
  */
1522
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1523
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1823
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1824
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1524
1825
  project: project,
1525
1826
  location: location,
1526
1827
  collection: collection,
1527
1828
  data_store: dataStore,
1528
1829
  session: session,
1529
- answer: answer,
1530
1830
  });
1531
1831
  }
1532
1832
  /**
1533
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1833
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1534
1834
  *
1535
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1536
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1835
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1836
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1537
1837
  * @returns {string} A string representing the project.
1538
1838
  */
1539
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1540
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1839
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1840
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1541
1841
  }
1542
1842
  /**
1543
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1843
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1544
1844
  *
1545
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1546
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1845
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1846
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1547
1847
  * @returns {string} A string representing the location.
1548
1848
  */
1549
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1550
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1849
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1850
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1551
1851
  }
1552
1852
  /**
1553
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1853
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1554
1854
  *
1555
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1556
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1855
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1856
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1557
1857
  * @returns {string} A string representing the collection.
1558
1858
  */
1559
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1560
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1859
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1860
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1561
1861
  }
1562
1862
  /**
1563
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1863
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1564
1864
  *
1565
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1566
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1865
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1866
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1567
1867
  * @returns {string} A string representing the data_store.
1568
1868
  */
1569
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1570
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1869
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1870
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1571
1871
  }
1572
1872
  /**
1573
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1873
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1574
1874
  *
1575
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1576
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1875
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1876
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1577
1877
  * @returns {string} A string representing the session.
1578
1878
  */
1579
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1580
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1581
- }
1582
- /**
1583
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1584
- *
1585
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1586
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1587
- * @returns {string} A string representing the answer.
1588
- */
1589
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1590
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1879
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1880
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1591
1881
  }
1592
1882
  /**
1593
1883
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1992,154 +2282,154 @@ class UserEventServiceClient {
1992
2282
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1993
2283
  }
1994
2284
  /**
1995
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2285
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1996
2286
  *
1997
2287
  * @param {string} project
1998
2288
  * @param {string} location
1999
2289
  * @param {string} collection
2000
2290
  * @param {string} engine
2001
2291
  * @param {string} session
2292
+ * @param {string} answer
2002
2293
  * @returns {string} Resource name string.
2003
2294
  */
2004
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2005
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2295
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2296
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2006
2297
  project: project,
2007
2298
  location: location,
2008
2299
  collection: collection,
2009
2300
  engine: engine,
2010
2301
  session: session,
2302
+ answer: answer,
2011
2303
  });
2012
2304
  }
2013
2305
  /**
2014
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2306
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2015
2307
  *
2016
- * @param {string} projectLocationCollectionEngineSessionName
2017
- * A fully-qualified path representing project_location_collection_engine_session resource.
2308
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2309
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2018
2310
  * @returns {string} A string representing the project.
2019
2311
  */
2020
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2021
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2312
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2313
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2022
2314
  }
2023
2315
  /**
2024
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2316
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2025
2317
  *
2026
- * @param {string} projectLocationCollectionEngineSessionName
2027
- * A fully-qualified path representing project_location_collection_engine_session resource.
2318
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2319
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2028
2320
  * @returns {string} A string representing the location.
2029
2321
  */
2030
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2031
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2322
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2323
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2032
2324
  }
2033
2325
  /**
2034
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2326
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2035
2327
  *
2036
- * @param {string} projectLocationCollectionEngineSessionName
2037
- * A fully-qualified path representing project_location_collection_engine_session resource.
2328
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2329
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2038
2330
  * @returns {string} A string representing the collection.
2039
2331
  */
2040
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2041
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2332
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2333
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2042
2334
  }
2043
2335
  /**
2044
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2336
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2045
2337
  *
2046
- * @param {string} projectLocationCollectionEngineSessionName
2047
- * A fully-qualified path representing project_location_collection_engine_session resource.
2338
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2339
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2048
2340
  * @returns {string} A string representing the engine.
2049
2341
  */
2050
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2051
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2342
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2343
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2052
2344
  }
2053
2345
  /**
2054
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2346
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2055
2347
  *
2056
- * @param {string} projectLocationCollectionEngineSessionName
2057
- * A fully-qualified path representing project_location_collection_engine_session resource.
2348
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2349
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2058
2350
  * @returns {string} A string representing the session.
2059
2351
  */
2060
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2061
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2352
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2353
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2062
2354
  }
2063
2355
  /**
2064
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2356
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2357
+ *
2358
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2359
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2360
+ * @returns {string} A string representing the answer.
2361
+ */
2362
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2363
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2364
+ }
2365
+ /**
2366
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2065
2367
  *
2066
2368
  * @param {string} project
2067
2369
  * @param {string} location
2068
2370
  * @param {string} collection
2069
2371
  * @param {string} engine
2070
2372
  * @param {string} session
2071
- * @param {string} answer
2072
2373
  * @returns {string} Resource name string.
2073
2374
  */
2074
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2075
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2375
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2376
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2076
2377
  project: project,
2077
2378
  location: location,
2078
2379
  collection: collection,
2079
2380
  engine: engine,
2080
2381
  session: session,
2081
- answer: answer,
2082
2382
  });
2083
2383
  }
2084
2384
  /**
2085
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2385
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2086
2386
  *
2087
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2088
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2387
+ * @param {string} projectLocationCollectionEngineSessionsName
2388
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2089
2389
  * @returns {string} A string representing the project.
2090
2390
  */
2091
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2092
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2391
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2392
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2093
2393
  }
2094
2394
  /**
2095
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2395
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2096
2396
  *
2097
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2098
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2397
+ * @param {string} projectLocationCollectionEngineSessionsName
2398
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2099
2399
  * @returns {string} A string representing the location.
2100
2400
  */
2101
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2102
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2401
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2402
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2103
2403
  }
2104
2404
  /**
2105
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2405
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2106
2406
  *
2107
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2108
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2407
+ * @param {string} projectLocationCollectionEngineSessionsName
2408
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2109
2409
  * @returns {string} A string representing the collection.
2110
2410
  */
2111
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2112
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2411
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2412
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2113
2413
  }
2114
2414
  /**
2115
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2415
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2116
2416
  *
2117
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2118
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2417
+ * @param {string} projectLocationCollectionEngineSessionsName
2418
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2119
2419
  * @returns {string} A string representing the engine.
2120
2420
  */
2121
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2122
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2421
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2422
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2123
2423
  }
2124
2424
  /**
2125
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2425
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2126
2426
  *
2127
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2128
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2427
+ * @param {string} projectLocationCollectionEngineSessionsName
2428
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2129
2429
  * @returns {string} A string representing the session.
2130
2430
  */
2131
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2132
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2133
- }
2134
- /**
2135
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2136
- *
2137
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2138
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2139
- * @returns {string} A string representing the answer.
2140
- */
2141
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2142
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2431
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2432
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2143
2433
  }
2144
2434
  /**
2145
2435
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2666,63 +2956,6 @@ class UserEventServiceClient {
2666
2956
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2667
2957
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2668
2958
  }
2669
- /**
2670
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2671
- *
2672
- * @param {string} project
2673
- * @param {string} location
2674
- * @param {string} data_store
2675
- * @param {string} session
2676
- * @returns {string} Resource name string.
2677
- */
2678
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2679
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2680
- project: project,
2681
- location: location,
2682
- data_store: dataStore,
2683
- session: session,
2684
- });
2685
- }
2686
- /**
2687
- * Parse the project from ProjectLocationDataStoreSession resource.
2688
- *
2689
- * @param {string} projectLocationDataStoreSessionName
2690
- * A fully-qualified path representing project_location_data_store_session resource.
2691
- * @returns {string} A string representing the project.
2692
- */
2693
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2694
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2695
- }
2696
- /**
2697
- * Parse the location from ProjectLocationDataStoreSession resource.
2698
- *
2699
- * @param {string} projectLocationDataStoreSessionName
2700
- * A fully-qualified path representing project_location_data_store_session resource.
2701
- * @returns {string} A string representing the location.
2702
- */
2703
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2704
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2705
- }
2706
- /**
2707
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2708
- *
2709
- * @param {string} projectLocationDataStoreSessionName
2710
- * A fully-qualified path representing project_location_data_store_session resource.
2711
- * @returns {string} A string representing the data_store.
2712
- */
2713
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2714
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2715
- }
2716
- /**
2717
- * Parse the session from ProjectLocationDataStoreSession resource.
2718
- *
2719
- * @param {string} projectLocationDataStoreSessionName
2720
- * A fully-qualified path representing project_location_data_store_session resource.
2721
- * @returns {string} A string representing the session.
2722
- */
2723
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2724
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2725
- }
2726
2959
  /**
2727
2960
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2728
2961
  *
@@ -2792,6 +3025,63 @@ class UserEventServiceClient {
2792
3025
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2793
3026
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2794
3027
  }
3028
+ /**
3029
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3030
+ *
3031
+ * @param {string} project
3032
+ * @param {string} location
3033
+ * @param {string} data_store
3034
+ * @param {string} session
3035
+ * @returns {string} Resource name string.
3036
+ */
3037
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3038
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3039
+ project: project,
3040
+ location: location,
3041
+ data_store: dataStore,
3042
+ session: session,
3043
+ });
3044
+ }
3045
+ /**
3046
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3047
+ *
3048
+ * @param {string} projectLocationDataStoreSessionsName
3049
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3050
+ * @returns {string} A string representing the project.
3051
+ */
3052
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3053
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3054
+ }
3055
+ /**
3056
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3057
+ *
3058
+ * @param {string} projectLocationDataStoreSessionsName
3059
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3060
+ * @returns {string} A string representing the location.
3061
+ */
3062
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3063
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3064
+ }
3065
+ /**
3066
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3067
+ *
3068
+ * @param {string} projectLocationDataStoreSessionsName
3069
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3070
+ * @returns {string} A string representing the data_store.
3071
+ */
3072
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3073
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3074
+ }
3075
+ /**
3076
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3077
+ *
3078
+ * @param {string} projectLocationDataStoreSessionsName
3079
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3080
+ * @returns {string} A string representing the session.
3081
+ */
3082
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3083
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3084
+ }
2795
3085
  /**
2796
3086
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2797
3087
  *