@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,15 +177,15 @@ 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
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
184
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
185
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
186
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
187
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
188
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
189
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
190
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
191
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,8 +195,8 @@ class ServingConfigServiceClient {
195
195
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
196
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
197
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
198
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
199
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
200
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
201
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
202
202
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -347,6 +347,12 @@ class ServingConfigServiceClient {
347
347
  ?.then(([response, options, rawResponse]) => {
348
348
  this._log.info('updateServingConfig response %j', response);
349
349
  return [response, options, rawResponse];
350
+ }).catch((error) => {
351
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
352
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
353
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
354
+ }
355
+ throw error;
350
356
  });
351
357
  }
352
358
  getServingConfig(request, optionsOrCallback, callback) {
@@ -377,6 +383,12 @@ class ServingConfigServiceClient {
377
383
  ?.then(([response, options, rawResponse]) => {
378
384
  this._log.info('getServingConfig response %j', response);
379
385
  return [response, options, rawResponse];
386
+ }).catch((error) => {
387
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
388
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
389
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
390
+ }
391
+ throw error;
380
392
  });
381
393
  }
382
394
  listServingConfigs(request, optionsOrCallback, callback) {
@@ -1372,154 +1384,154 @@ class ServingConfigServiceClient {
1372
1384
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1373
1385
  }
1374
1386
  /**
1375
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1387
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1376
1388
  *
1377
1389
  * @param {string} project
1378
1390
  * @param {string} location
1379
1391
  * @param {string} collection
1380
1392
  * @param {string} data_store
1381
1393
  * @param {string} session
1394
+ * @param {string} answer
1382
1395
  * @returns {string} Resource name string.
1383
1396
  */
1384
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1385
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1397
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1398
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1386
1399
  project: project,
1387
1400
  location: location,
1388
1401
  collection: collection,
1389
1402
  data_store: dataStore,
1390
1403
  session: session,
1404
+ answer: answer,
1391
1405
  });
1392
1406
  }
1393
1407
  /**
1394
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1408
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1395
1409
  *
1396
- * @param {string} projectLocationCollectionDataStoreSessionName
1397
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1410
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1411
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1398
1412
  * @returns {string} A string representing the project.
1399
1413
  */
1400
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1401
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1414
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1415
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1402
1416
  }
1403
1417
  /**
1404
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1418
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1405
1419
  *
1406
- * @param {string} projectLocationCollectionDataStoreSessionName
1407
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1420
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1421
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1408
1422
  * @returns {string} A string representing the location.
1409
1423
  */
1410
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1411
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1424
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1425
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1412
1426
  }
1413
1427
  /**
1414
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1428
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1415
1429
  *
1416
- * @param {string} projectLocationCollectionDataStoreSessionName
1417
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1430
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1431
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1418
1432
  * @returns {string} A string representing the collection.
1419
1433
  */
1420
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1421
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1434
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1435
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1422
1436
  }
1423
1437
  /**
1424
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1438
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1425
1439
  *
1426
- * @param {string} projectLocationCollectionDataStoreSessionName
1427
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1440
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1441
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1428
1442
  * @returns {string} A string representing the data_store.
1429
1443
  */
1430
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1431
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1444
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1445
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1432
1446
  }
1433
1447
  /**
1434
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1448
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1435
1449
  *
1436
- * @param {string} projectLocationCollectionDataStoreSessionName
1437
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1450
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1451
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1438
1452
  * @returns {string} A string representing the session.
1439
1453
  */
1440
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1441
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1454
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1455
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1442
1456
  }
1443
1457
  /**
1444
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1458
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1459
+ *
1460
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1461
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1462
+ * @returns {string} A string representing the answer.
1463
+ */
1464
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1465
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1466
+ }
1467
+ /**
1468
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1445
1469
  *
1446
1470
  * @param {string} project
1447
1471
  * @param {string} location
1448
1472
  * @param {string} collection
1449
1473
  * @param {string} data_store
1450
1474
  * @param {string} session
1451
- * @param {string} answer
1452
1475
  * @returns {string} Resource name string.
1453
1476
  */
1454
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1455
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1477
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1478
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1456
1479
  project: project,
1457
1480
  location: location,
1458
1481
  collection: collection,
1459
1482
  data_store: dataStore,
1460
1483
  session: session,
1461
- answer: answer,
1462
1484
  });
1463
1485
  }
1464
1486
  /**
1465
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1487
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1466
1488
  *
1467
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1468
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1489
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1490
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1469
1491
  * @returns {string} A string representing the project.
1470
1492
  */
1471
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1472
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1493
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1494
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1473
1495
  }
1474
1496
  /**
1475
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1497
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1476
1498
  *
1477
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1478
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1499
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1500
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1479
1501
  * @returns {string} A string representing the location.
1480
1502
  */
1481
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1482
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1503
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1504
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1483
1505
  }
1484
1506
  /**
1485
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1507
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1486
1508
  *
1487
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1488
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1509
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1510
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1489
1511
  * @returns {string} A string representing the collection.
1490
1512
  */
1491
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1492
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1513
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1514
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1493
1515
  }
1494
1516
  /**
1495
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1517
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1496
1518
  *
1497
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1498
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1519
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1520
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1499
1521
  * @returns {string} A string representing the data_store.
1500
1522
  */
1501
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1502
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1523
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1524
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1503
1525
  }
1504
1526
  /**
1505
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1527
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1506
1528
  *
1507
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1508
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1529
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1530
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1509
1531
  * @returns {string} A string representing the session.
1510
1532
  */
1511
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1512
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1513
- }
1514
- /**
1515
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1516
- *
1517
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1518
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1519
- * @returns {string} A string representing the answer.
1520
- */
1521
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1522
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1533
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1534
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1523
1535
  }
1524
1536
  /**
1525
1537
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1855,154 +1867,154 @@ class ServingConfigServiceClient {
1855
1867
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1856
1868
  }
1857
1869
  /**
1858
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1870
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1859
1871
  *
1860
1872
  * @param {string} project
1861
1873
  * @param {string} location
1862
1874
  * @param {string} collection
1863
1875
  * @param {string} engine
1864
1876
  * @param {string} session
1877
+ * @param {string} answer
1865
1878
  * @returns {string} Resource name string.
1866
1879
  */
1867
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1868
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1880
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1881
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1869
1882
  project: project,
1870
1883
  location: location,
1871
1884
  collection: collection,
1872
1885
  engine: engine,
1873
1886
  session: session,
1887
+ answer: answer,
1874
1888
  });
1875
1889
  }
1876
1890
  /**
1877
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1891
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1878
1892
  *
1879
- * @param {string} projectLocationCollectionEngineSessionName
1880
- * A fully-qualified path representing project_location_collection_engine_session resource.
1893
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1894
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1881
1895
  * @returns {string} A string representing the project.
1882
1896
  */
1883
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1884
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1897
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1898
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1885
1899
  }
1886
1900
  /**
1887
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1901
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1888
1902
  *
1889
- * @param {string} projectLocationCollectionEngineSessionName
1890
- * A fully-qualified path representing project_location_collection_engine_session resource.
1903
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1904
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1891
1905
  * @returns {string} A string representing the location.
1892
1906
  */
1893
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1894
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1907
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1908
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1895
1909
  }
1896
1910
  /**
1897
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1911
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1898
1912
  *
1899
- * @param {string} projectLocationCollectionEngineSessionName
1900
- * A fully-qualified path representing project_location_collection_engine_session resource.
1913
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1914
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1901
1915
  * @returns {string} A string representing the collection.
1902
1916
  */
1903
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1904
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1917
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1918
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1905
1919
  }
1906
1920
  /**
1907
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1921
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1908
1922
  *
1909
- * @param {string} projectLocationCollectionEngineSessionName
1910
- * A fully-qualified path representing project_location_collection_engine_session resource.
1923
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1924
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1911
1925
  * @returns {string} A string representing the engine.
1912
1926
  */
1913
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1914
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1927
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1928
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1915
1929
  }
1916
1930
  /**
1917
- * Parse the session from ProjectLocationCollectionEngineSession resource.
1931
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1918
1932
  *
1919
- * @param {string} projectLocationCollectionEngineSessionName
1920
- * A fully-qualified path representing project_location_collection_engine_session resource.
1933
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1934
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1921
1935
  * @returns {string} A string representing the session.
1922
1936
  */
1923
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1924
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1937
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1938
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1925
1939
  }
1926
1940
  /**
1927
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1941
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1942
+ *
1943
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1944
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1945
+ * @returns {string} A string representing the answer.
1946
+ */
1947
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1948
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1949
+ }
1950
+ /**
1951
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1928
1952
  *
1929
1953
  * @param {string} project
1930
1954
  * @param {string} location
1931
1955
  * @param {string} collection
1932
1956
  * @param {string} engine
1933
1957
  * @param {string} session
1934
- * @param {string} answer
1935
1958
  * @returns {string} Resource name string.
1936
1959
  */
1937
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1938
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1960
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
1961
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1939
1962
  project: project,
1940
1963
  location: location,
1941
1964
  collection: collection,
1942
1965
  engine: engine,
1943
1966
  session: session,
1944
- answer: answer,
1945
1967
  });
1946
1968
  }
1947
1969
  /**
1948
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1970
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1949
1971
  *
1950
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1951
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1972
+ * @param {string} projectLocationCollectionEngineSessionsName
1973
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1952
1974
  * @returns {string} A string representing the project.
1953
1975
  */
1954
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1955
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1976
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1977
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1956
1978
  }
1957
1979
  /**
1958
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1980
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1959
1981
  *
1960
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1961
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1982
+ * @param {string} projectLocationCollectionEngineSessionsName
1983
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1962
1984
  * @returns {string} A string representing the location.
1963
1985
  */
1964
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1965
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1986
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1987
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1966
1988
  }
1967
1989
  /**
1968
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1990
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1969
1991
  *
1970
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1971
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1992
+ * @param {string} projectLocationCollectionEngineSessionsName
1993
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1972
1994
  * @returns {string} A string representing the collection.
1973
1995
  */
1974
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1975
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1996
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1997
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1976
1998
  }
1977
1999
  /**
1978
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2000
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1979
2001
  *
1980
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1981
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2002
+ * @param {string} projectLocationCollectionEngineSessionsName
2003
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1982
2004
  * @returns {string} A string representing the engine.
1983
2005
  */
1984
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1985
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2006
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2007
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1986
2008
  }
1987
2009
  /**
1988
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2010
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
1989
2011
  *
1990
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1991
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2012
+ * @param {string} projectLocationCollectionEngineSessionsName
2013
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1992
2014
  * @returns {string} A string representing the session.
1993
2015
  */
1994
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1995
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1996
- }
1997
- /**
1998
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1999
- *
2000
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2001
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2002
- * @returns {string} A string representing the answer.
2003
- */
2004
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2005
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2016
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2017
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2006
2018
  }
2007
2019
  /**
2008
2020
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2529,63 +2541,6 @@ class ServingConfigServiceClient {
2529
2541
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2530
2542
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2531
2543
  }
2532
- /**
2533
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2534
- *
2535
- * @param {string} project
2536
- * @param {string} location
2537
- * @param {string} data_store
2538
- * @param {string} session
2539
- * @returns {string} Resource name string.
2540
- */
2541
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2542
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2543
- project: project,
2544
- location: location,
2545
- data_store: dataStore,
2546
- session: session,
2547
- });
2548
- }
2549
- /**
2550
- * Parse the project from ProjectLocationDataStoreSession resource.
2551
- *
2552
- * @param {string} projectLocationDataStoreSessionName
2553
- * A fully-qualified path representing project_location_data_store_session resource.
2554
- * @returns {string} A string representing the project.
2555
- */
2556
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2557
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2558
- }
2559
- /**
2560
- * Parse the location from ProjectLocationDataStoreSession resource.
2561
- *
2562
- * @param {string} projectLocationDataStoreSessionName
2563
- * A fully-qualified path representing project_location_data_store_session resource.
2564
- * @returns {string} A string representing the location.
2565
- */
2566
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2567
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2568
- }
2569
- /**
2570
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2571
- *
2572
- * @param {string} projectLocationDataStoreSessionName
2573
- * A fully-qualified path representing project_location_data_store_session resource.
2574
- * @returns {string} A string representing the data_store.
2575
- */
2576
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2577
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2578
- }
2579
- /**
2580
- * Parse the session from ProjectLocationDataStoreSession resource.
2581
- *
2582
- * @param {string} projectLocationDataStoreSessionName
2583
- * A fully-qualified path representing project_location_data_store_session resource.
2584
- * @returns {string} A string representing the session.
2585
- */
2586
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2587
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2588
- }
2589
2544
  /**
2590
2545
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2591
2546
  *
@@ -2655,6 +2610,63 @@ class ServingConfigServiceClient {
2655
2610
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2656
2611
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2657
2612
  }
2613
+ /**
2614
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2615
+ *
2616
+ * @param {string} project
2617
+ * @param {string} location
2618
+ * @param {string} data_store
2619
+ * @param {string} session
2620
+ * @returns {string} Resource name string.
2621
+ */
2622
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2623
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2624
+ project: project,
2625
+ location: location,
2626
+ data_store: dataStore,
2627
+ session: session,
2628
+ });
2629
+ }
2630
+ /**
2631
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2632
+ *
2633
+ * @param {string} projectLocationDataStoreSessionsName
2634
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2635
+ * @returns {string} A string representing the project.
2636
+ */
2637
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2638
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2639
+ }
2640
+ /**
2641
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2642
+ *
2643
+ * @param {string} projectLocationDataStoreSessionsName
2644
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2645
+ * @returns {string} A string representing the location.
2646
+ */
2647
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2648
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2649
+ }
2650
+ /**
2651
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2652
+ *
2653
+ * @param {string} projectLocationDataStoreSessionsName
2654
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2655
+ * @returns {string} A string representing the data_store.
2656
+ */
2657
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2658
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2659
+ }
2660
+ /**
2661
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2662
+ *
2663
+ * @param {string} projectLocationDataStoreSessionsName
2664
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2665
+ * @returns {string} A string representing the session.
2666
+ */
2667
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2668
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2669
+ }
2658
2670
  /**
2659
2671
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2660
2672
  *