@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
@@ -177,16 +177,16 @@ class ServingConfigServiceClient {
177
177
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
178
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
179
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
180
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
181
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
182
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
184
184
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
185
185
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
186
186
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
187
187
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
188
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
188
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
189
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
190
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
191
191
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
192
192
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -196,8 +196,8 @@ class ServingConfigServiceClient {
196
196
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
197
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
198
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
199
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
199
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
200
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
201
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
202
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
203
203
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -349,6 +349,12 @@ class ServingConfigServiceClient {
349
349
  ?.then(([response, options, rawResponse]) => {
350
350
  this._log.info('updateServingConfig response %j', response);
351
351
  return [response, options, rawResponse];
352
+ }).catch((error) => {
353
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
354
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
355
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
356
+ }
357
+ throw error;
352
358
  });
353
359
  }
354
360
  getServingConfig(request, optionsOrCallback, callback) {
@@ -379,6 +385,12 @@ class ServingConfigServiceClient {
379
385
  ?.then(([response, options, rawResponse]) => {
380
386
  this._log.info('getServingConfig response %j', response);
381
387
  return [response, options, rawResponse];
388
+ }).catch((error) => {
389
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
390
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
391
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
392
+ }
393
+ throw error;
382
394
  });
383
395
  }
384
396
  listServingConfigs(request, optionsOrCallback, callback) {
@@ -1386,154 +1398,154 @@ class ServingConfigServiceClient {
1386
1398
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1387
1399
  }
1388
1400
  /**
1389
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1401
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1390
1402
  *
1391
1403
  * @param {string} project
1392
1404
  * @param {string} location
1393
1405
  * @param {string} collection
1394
1406
  * @param {string} data_store
1395
1407
  * @param {string} session
1408
+ * @param {string} answer
1396
1409
  * @returns {string} Resource name string.
1397
1410
  */
1398
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1399
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1411
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1412
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1400
1413
  project: project,
1401
1414
  location: location,
1402
1415
  collection: collection,
1403
1416
  data_store: dataStore,
1404
1417
  session: session,
1418
+ answer: answer,
1405
1419
  });
1406
1420
  }
1407
1421
  /**
1408
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1422
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1409
1423
  *
1410
- * @param {string} projectLocationCollectionDataStoreSessionName
1411
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1424
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1425
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1412
1426
  * @returns {string} A string representing the project.
1413
1427
  */
1414
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1415
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1428
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1429
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1416
1430
  }
1417
1431
  /**
1418
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1432
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1419
1433
  *
1420
- * @param {string} projectLocationCollectionDataStoreSessionName
1421
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1434
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1435
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1422
1436
  * @returns {string} A string representing the location.
1423
1437
  */
1424
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1425
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1438
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1439
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1426
1440
  }
1427
1441
  /**
1428
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1442
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1429
1443
  *
1430
- * @param {string} projectLocationCollectionDataStoreSessionName
1431
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1444
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1445
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1432
1446
  * @returns {string} A string representing the collection.
1433
1447
  */
1434
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1435
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1448
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1449
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1436
1450
  }
1437
1451
  /**
1438
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1452
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1439
1453
  *
1440
- * @param {string} projectLocationCollectionDataStoreSessionName
1441
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1454
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1455
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1442
1456
  * @returns {string} A string representing the data_store.
1443
1457
  */
1444
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1445
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1458
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1459
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1446
1460
  }
1447
1461
  /**
1448
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1462
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1449
1463
  *
1450
- * @param {string} projectLocationCollectionDataStoreSessionName
1451
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1464
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1465
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1452
1466
  * @returns {string} A string representing the session.
1453
1467
  */
1454
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1455
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1468
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1469
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1456
1470
  }
1457
1471
  /**
1458
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1472
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1473
+ *
1474
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1475
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1476
+ * @returns {string} A string representing the answer.
1477
+ */
1478
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1479
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1480
+ }
1481
+ /**
1482
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1459
1483
  *
1460
1484
  * @param {string} project
1461
1485
  * @param {string} location
1462
1486
  * @param {string} collection
1463
1487
  * @param {string} data_store
1464
1488
  * @param {string} session
1465
- * @param {string} answer
1466
1489
  * @returns {string} Resource name string.
1467
1490
  */
1468
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1469
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1491
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1492
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1470
1493
  project: project,
1471
1494
  location: location,
1472
1495
  collection: collection,
1473
1496
  data_store: dataStore,
1474
1497
  session: session,
1475
- answer: answer,
1476
1498
  });
1477
1499
  }
1478
1500
  /**
1479
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1501
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1480
1502
  *
1481
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1482
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1503
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1504
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1483
1505
  * @returns {string} A string representing the project.
1484
1506
  */
1485
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1486
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1507
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1508
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1487
1509
  }
1488
1510
  /**
1489
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1511
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1490
1512
  *
1491
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1492
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1513
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1514
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1493
1515
  * @returns {string} A string representing the location.
1494
1516
  */
1495
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1496
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1517
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1518
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1497
1519
  }
1498
1520
  /**
1499
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1521
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1500
1522
  *
1501
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1502
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1523
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1524
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1503
1525
  * @returns {string} A string representing the collection.
1504
1526
  */
1505
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1506
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1527
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1528
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1507
1529
  }
1508
1530
  /**
1509
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1531
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1510
1532
  *
1511
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1512
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1533
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1534
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1513
1535
  * @returns {string} A string representing the data_store.
1514
1536
  */
1515
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1516
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1537
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1538
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1517
1539
  }
1518
1540
  /**
1519
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1541
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1520
1542
  *
1521
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1522
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1543
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1544
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1523
1545
  * @returns {string} A string representing the session.
1524
1546
  */
1525
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1526
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1527
- }
1528
- /**
1529
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1530
- *
1531
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1532
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1533
- * @returns {string} A string representing the answer.
1534
- */
1535
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1536
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1547
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1548
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1537
1549
  }
1538
1550
  /**
1539
1551
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1938,154 +1950,154 @@ class ServingConfigServiceClient {
1938
1950
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1939
1951
  }
1940
1952
  /**
1941
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1953
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1942
1954
  *
1943
1955
  * @param {string} project
1944
1956
  * @param {string} location
1945
1957
  * @param {string} collection
1946
1958
  * @param {string} engine
1947
1959
  * @param {string} session
1960
+ * @param {string} answer
1948
1961
  * @returns {string} Resource name string.
1949
1962
  */
1950
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1951
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1963
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1964
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1952
1965
  project: project,
1953
1966
  location: location,
1954
1967
  collection: collection,
1955
1968
  engine: engine,
1956
1969
  session: session,
1970
+ answer: answer,
1957
1971
  });
1958
1972
  }
1959
1973
  /**
1960
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1974
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1961
1975
  *
1962
- * @param {string} projectLocationCollectionEngineSessionName
1963
- * A fully-qualified path representing project_location_collection_engine_session resource.
1976
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1977
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1964
1978
  * @returns {string} A string representing the project.
1965
1979
  */
1966
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1967
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1980
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1981
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1968
1982
  }
1969
1983
  /**
1970
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1984
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1971
1985
  *
1972
- * @param {string} projectLocationCollectionEngineSessionName
1973
- * A fully-qualified path representing project_location_collection_engine_session resource.
1986
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1987
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1974
1988
  * @returns {string} A string representing the location.
1975
1989
  */
1976
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1977
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1990
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1991
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1978
1992
  }
1979
1993
  /**
1980
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1994
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1981
1995
  *
1982
- * @param {string} projectLocationCollectionEngineSessionName
1983
- * A fully-qualified path representing project_location_collection_engine_session resource.
1996
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1997
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1984
1998
  * @returns {string} A string representing the collection.
1985
1999
  */
1986
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1987
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2000
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2001
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1988
2002
  }
1989
2003
  /**
1990
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2004
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1991
2005
  *
1992
- * @param {string} projectLocationCollectionEngineSessionName
1993
- * A fully-qualified path representing project_location_collection_engine_session resource.
2006
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2007
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1994
2008
  * @returns {string} A string representing the engine.
1995
2009
  */
1996
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1997
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2010
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2011
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1998
2012
  }
1999
2013
  /**
2000
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2014
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2001
2015
  *
2002
- * @param {string} projectLocationCollectionEngineSessionName
2003
- * A fully-qualified path representing project_location_collection_engine_session resource.
2016
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2017
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2004
2018
  * @returns {string} A string representing the session.
2005
2019
  */
2006
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2007
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2020
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2021
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2008
2022
  }
2009
2023
  /**
2010
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2024
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2025
+ *
2026
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2027
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2028
+ * @returns {string} A string representing the answer.
2029
+ */
2030
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2031
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2032
+ }
2033
+ /**
2034
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2011
2035
  *
2012
2036
  * @param {string} project
2013
2037
  * @param {string} location
2014
2038
  * @param {string} collection
2015
2039
  * @param {string} engine
2016
2040
  * @param {string} session
2017
- * @param {string} answer
2018
2041
  * @returns {string} Resource name string.
2019
2042
  */
2020
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2021
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2043
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2044
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2022
2045
  project: project,
2023
2046
  location: location,
2024
2047
  collection: collection,
2025
2048
  engine: engine,
2026
2049
  session: session,
2027
- answer: answer,
2028
2050
  });
2029
2051
  }
2030
2052
  /**
2031
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2053
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2032
2054
  *
2033
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2034
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2055
+ * @param {string} projectLocationCollectionEngineSessionsName
2056
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2035
2057
  * @returns {string} A string representing the project.
2036
2058
  */
2037
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2038
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2059
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2060
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2039
2061
  }
2040
2062
  /**
2041
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2063
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2042
2064
  *
2043
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2044
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2065
+ * @param {string} projectLocationCollectionEngineSessionsName
2066
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2045
2067
  * @returns {string} A string representing the location.
2046
2068
  */
2047
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2048
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2069
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2070
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2049
2071
  }
2050
2072
  /**
2051
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2073
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2052
2074
  *
2053
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2054
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2075
+ * @param {string} projectLocationCollectionEngineSessionsName
2076
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2055
2077
  * @returns {string} A string representing the collection.
2056
2078
  */
2057
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2058
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2079
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2080
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2059
2081
  }
2060
2082
  /**
2061
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2083
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2062
2084
  *
2063
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2064
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2085
+ * @param {string} projectLocationCollectionEngineSessionsName
2086
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2065
2087
  * @returns {string} A string representing the engine.
2066
2088
  */
2067
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2068
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2089
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2090
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2069
2091
  }
2070
2092
  /**
2071
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2093
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2072
2094
  *
2073
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2074
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2095
+ * @param {string} projectLocationCollectionEngineSessionsName
2096
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2075
2097
  * @returns {string} A string representing the session.
2076
2098
  */
2077
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2078
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2079
- }
2080
- /**
2081
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2082
- *
2083
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2084
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2085
- * @returns {string} A string representing the answer.
2086
- */
2087
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2088
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2099
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2100
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2089
2101
  }
2090
2102
  /**
2091
2103
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2612,63 +2624,6 @@ class ServingConfigServiceClient {
2612
2624
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2613
2625
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2614
2626
  }
2615
- /**
2616
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2617
- *
2618
- * @param {string} project
2619
- * @param {string} location
2620
- * @param {string} data_store
2621
- * @param {string} session
2622
- * @returns {string} Resource name string.
2623
- */
2624
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2625
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2626
- project: project,
2627
- location: location,
2628
- data_store: dataStore,
2629
- session: session,
2630
- });
2631
- }
2632
- /**
2633
- * Parse the project from ProjectLocationDataStoreSession resource.
2634
- *
2635
- * @param {string} projectLocationDataStoreSessionName
2636
- * A fully-qualified path representing project_location_data_store_session resource.
2637
- * @returns {string} A string representing the project.
2638
- */
2639
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2640
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2641
- }
2642
- /**
2643
- * Parse the location from ProjectLocationDataStoreSession resource.
2644
- *
2645
- * @param {string} projectLocationDataStoreSessionName
2646
- * A fully-qualified path representing project_location_data_store_session resource.
2647
- * @returns {string} A string representing the location.
2648
- */
2649
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2650
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2651
- }
2652
- /**
2653
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2654
- *
2655
- * @param {string} projectLocationDataStoreSessionName
2656
- * A fully-qualified path representing project_location_data_store_session resource.
2657
- * @returns {string} A string representing the data_store.
2658
- */
2659
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2660
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2661
- }
2662
- /**
2663
- * Parse the session from ProjectLocationDataStoreSession resource.
2664
- *
2665
- * @param {string} projectLocationDataStoreSessionName
2666
- * A fully-qualified path representing project_location_data_store_session resource.
2667
- * @returns {string} A string representing the session.
2668
- */
2669
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2670
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2671
- }
2672
2627
  /**
2673
2628
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2674
2629
  *
@@ -2738,6 +2693,63 @@ class ServingConfigServiceClient {
2738
2693
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2739
2694
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2740
2695
  }
2696
+ /**
2697
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2698
+ *
2699
+ * @param {string} project
2700
+ * @param {string} location
2701
+ * @param {string} data_store
2702
+ * @param {string} session
2703
+ * @returns {string} Resource name string.
2704
+ */
2705
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2706
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2707
+ project: project,
2708
+ location: location,
2709
+ data_store: dataStore,
2710
+ session: session,
2711
+ });
2712
+ }
2713
+ /**
2714
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2715
+ *
2716
+ * @param {string} projectLocationDataStoreSessionsName
2717
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2718
+ * @returns {string} A string representing the project.
2719
+ */
2720
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2721
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2722
+ }
2723
+ /**
2724
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2725
+ *
2726
+ * @param {string} projectLocationDataStoreSessionsName
2727
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2728
+ * @returns {string} A string representing the location.
2729
+ */
2730
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2731
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2732
+ }
2733
+ /**
2734
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2735
+ *
2736
+ * @param {string} projectLocationDataStoreSessionsName
2737
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2738
+ * @returns {string} A string representing the data_store.
2739
+ */
2740
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2741
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2742
+ }
2743
+ /**
2744
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2745
+ *
2746
+ * @param {string} projectLocationDataStoreSessionsName
2747
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2748
+ * @returns {string} A string representing the session.
2749
+ */
2750
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2751
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2752
+ }
2741
2753
  /**
2742
2754
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2743
2755
  *