@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 SampleQueryServiceClient {
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 SampleQueryServiceClient {
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}'),
@@ -210,7 +210,7 @@ class SampleQueryServiceClient {
210
210
  this.descriptors.page = {
211
211
  listSampleQueries: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'sampleQueries')
212
212
  };
213
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
213
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
214
214
  // This API contains "long-running operations", which return a
215
215
  // an Operation object that allows for tracking of the operation,
216
216
  // rather than holding a request open.
@@ -371,6 +371,12 @@ class SampleQueryServiceClient {
371
371
  ?.then(([response, options, rawResponse]) => {
372
372
  this._log.info('getSampleQuery response %j', response);
373
373
  return [response, options, rawResponse];
374
+ }).catch((error) => {
375
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
376
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
377
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
378
+ }
379
+ throw error;
374
380
  });
375
381
  }
376
382
  createSampleQuery(request, optionsOrCallback, callback) {
@@ -401,6 +407,12 @@ class SampleQueryServiceClient {
401
407
  ?.then(([response, options, rawResponse]) => {
402
408
  this._log.info('createSampleQuery response %j', response);
403
409
  return [response, options, rawResponse];
410
+ }).catch((error) => {
411
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
412
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
413
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
414
+ }
415
+ throw error;
404
416
  });
405
417
  }
406
418
  updateSampleQuery(request, optionsOrCallback, callback) {
@@ -431,6 +443,12 @@ class SampleQueryServiceClient {
431
443
  ?.then(([response, options, rawResponse]) => {
432
444
  this._log.info('updateSampleQuery response %j', response);
433
445
  return [response, options, rawResponse];
446
+ }).catch((error) => {
447
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
448
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
449
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
450
+ }
451
+ throw error;
434
452
  });
435
453
  }
436
454
  deleteSampleQuery(request, optionsOrCallback, callback) {
@@ -461,6 +479,12 @@ class SampleQueryServiceClient {
461
479
  ?.then(([response, options, rawResponse]) => {
462
480
  this._log.info('deleteSampleQuery response %j', response);
463
481
  return [response, options, rawResponse];
482
+ }).catch((error) => {
483
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
484
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
485
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
486
+ }
487
+ throw error;
464
488
  });
465
489
  }
466
490
  importSampleQueries(request, optionsOrCallback, callback) {
@@ -1695,154 +1719,154 @@ class SampleQueryServiceClient {
1695
1719
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1696
1720
  }
1697
1721
  /**
1698
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1722
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1699
1723
  *
1700
1724
  * @param {string} project
1701
1725
  * @param {string} location
1702
1726
  * @param {string} collection
1703
1727
  * @param {string} data_store
1704
1728
  * @param {string} session
1729
+ * @param {string} answer
1705
1730
  * @returns {string} Resource name string.
1706
1731
  */
1707
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1708
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1732
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1733
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1709
1734
  project: project,
1710
1735
  location: location,
1711
1736
  collection: collection,
1712
1737
  data_store: dataStore,
1713
1738
  session: session,
1739
+ answer: answer,
1714
1740
  });
1715
1741
  }
1716
1742
  /**
1717
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1743
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1718
1744
  *
1719
- * @param {string} projectLocationCollectionDataStoreSessionName
1720
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1745
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1746
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1721
1747
  * @returns {string} A string representing the project.
1722
1748
  */
1723
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1724
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1749
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1750
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1725
1751
  }
1726
1752
  /**
1727
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1753
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1728
1754
  *
1729
- * @param {string} projectLocationCollectionDataStoreSessionName
1730
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1755
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1756
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1731
1757
  * @returns {string} A string representing the location.
1732
1758
  */
1733
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1734
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1759
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1760
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1735
1761
  }
1736
1762
  /**
1737
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1763
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1738
1764
  *
1739
- * @param {string} projectLocationCollectionDataStoreSessionName
1740
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1765
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1766
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1741
1767
  * @returns {string} A string representing the collection.
1742
1768
  */
1743
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1744
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1769
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1770
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1745
1771
  }
1746
1772
  /**
1747
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1773
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1748
1774
  *
1749
- * @param {string} projectLocationCollectionDataStoreSessionName
1750
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1775
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1776
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1751
1777
  * @returns {string} A string representing the data_store.
1752
1778
  */
1753
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1754
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1779
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1780
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1755
1781
  }
1756
1782
  /**
1757
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1783
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1758
1784
  *
1759
- * @param {string} projectLocationCollectionDataStoreSessionName
1760
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1785
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1786
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1761
1787
  * @returns {string} A string representing the session.
1762
1788
  */
1763
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1764
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1789
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1790
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1765
1791
  }
1766
1792
  /**
1767
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1793
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1794
+ *
1795
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1796
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1797
+ * @returns {string} A string representing the answer.
1798
+ */
1799
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1800
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1801
+ }
1802
+ /**
1803
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1768
1804
  *
1769
1805
  * @param {string} project
1770
1806
  * @param {string} location
1771
1807
  * @param {string} collection
1772
1808
  * @param {string} data_store
1773
1809
  * @param {string} session
1774
- * @param {string} answer
1775
1810
  * @returns {string} Resource name string.
1776
1811
  */
1777
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1778
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1812
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1813
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1779
1814
  project: project,
1780
1815
  location: location,
1781
1816
  collection: collection,
1782
1817
  data_store: dataStore,
1783
1818
  session: session,
1784
- answer: answer,
1785
1819
  });
1786
1820
  }
1787
1821
  /**
1788
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1822
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1789
1823
  *
1790
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1791
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1824
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1825
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1792
1826
  * @returns {string} A string representing the project.
1793
1827
  */
1794
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1795
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1828
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1829
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1796
1830
  }
1797
1831
  /**
1798
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1832
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1799
1833
  *
1800
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1801
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1834
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1835
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1802
1836
  * @returns {string} A string representing the location.
1803
1837
  */
1804
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1805
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1838
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1839
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1806
1840
  }
1807
1841
  /**
1808
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1842
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1809
1843
  *
1810
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1811
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1844
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1845
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1812
1846
  * @returns {string} A string representing the collection.
1813
1847
  */
1814
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1815
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1848
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1849
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1816
1850
  }
1817
1851
  /**
1818
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1852
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1819
1853
  *
1820
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1821
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1854
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1855
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1822
1856
  * @returns {string} A string representing the data_store.
1823
1857
  */
1824
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1825
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1858
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1859
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1826
1860
  }
1827
1861
  /**
1828
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1862
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1829
1863
  *
1830
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1831
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1864
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1865
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1832
1866
  * @returns {string} A string representing the session.
1833
1867
  */
1834
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1835
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1836
- }
1837
- /**
1838
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1839
- *
1840
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1841
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1842
- * @returns {string} A string representing the answer.
1843
- */
1844
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1845
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1868
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1869
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1846
1870
  }
1847
1871
  /**
1848
1872
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2247,154 +2271,154 @@ class SampleQueryServiceClient {
2247
2271
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2248
2272
  }
2249
2273
  /**
2250
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2274
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2251
2275
  *
2252
2276
  * @param {string} project
2253
2277
  * @param {string} location
2254
2278
  * @param {string} collection
2255
2279
  * @param {string} engine
2256
2280
  * @param {string} session
2281
+ * @param {string} answer
2257
2282
  * @returns {string} Resource name string.
2258
2283
  */
2259
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2260
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2284
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2285
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2261
2286
  project: project,
2262
2287
  location: location,
2263
2288
  collection: collection,
2264
2289
  engine: engine,
2265
2290
  session: session,
2291
+ answer: answer,
2266
2292
  });
2267
2293
  }
2268
2294
  /**
2269
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2295
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2270
2296
  *
2271
- * @param {string} projectLocationCollectionEngineSessionName
2272
- * A fully-qualified path representing project_location_collection_engine_session resource.
2297
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2298
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2273
2299
  * @returns {string} A string representing the project.
2274
2300
  */
2275
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2276
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2301
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2302
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2277
2303
  }
2278
2304
  /**
2279
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2305
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2280
2306
  *
2281
- * @param {string} projectLocationCollectionEngineSessionName
2282
- * A fully-qualified path representing project_location_collection_engine_session resource.
2307
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2308
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2283
2309
  * @returns {string} A string representing the location.
2284
2310
  */
2285
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2286
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2311
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2312
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2287
2313
  }
2288
2314
  /**
2289
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2315
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2290
2316
  *
2291
- * @param {string} projectLocationCollectionEngineSessionName
2292
- * A fully-qualified path representing project_location_collection_engine_session resource.
2317
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2318
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2293
2319
  * @returns {string} A string representing the collection.
2294
2320
  */
2295
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2296
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2321
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2322
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2297
2323
  }
2298
2324
  /**
2299
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2325
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2300
2326
  *
2301
- * @param {string} projectLocationCollectionEngineSessionName
2302
- * A fully-qualified path representing project_location_collection_engine_session resource.
2327
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2328
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2303
2329
  * @returns {string} A string representing the engine.
2304
2330
  */
2305
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2306
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2331
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2332
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2307
2333
  }
2308
2334
  /**
2309
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2335
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2310
2336
  *
2311
- * @param {string} projectLocationCollectionEngineSessionName
2312
- * A fully-qualified path representing project_location_collection_engine_session resource.
2337
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2338
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2313
2339
  * @returns {string} A string representing the session.
2314
2340
  */
2315
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2316
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2341
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2342
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2317
2343
  }
2318
2344
  /**
2319
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2345
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2346
+ *
2347
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2348
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2349
+ * @returns {string} A string representing the answer.
2350
+ */
2351
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2352
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2353
+ }
2354
+ /**
2355
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2320
2356
  *
2321
2357
  * @param {string} project
2322
2358
  * @param {string} location
2323
2359
  * @param {string} collection
2324
2360
  * @param {string} engine
2325
2361
  * @param {string} session
2326
- * @param {string} answer
2327
2362
  * @returns {string} Resource name string.
2328
2363
  */
2329
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2330
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2364
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2365
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2331
2366
  project: project,
2332
2367
  location: location,
2333
2368
  collection: collection,
2334
2369
  engine: engine,
2335
2370
  session: session,
2336
- answer: answer,
2337
2371
  });
2338
2372
  }
2339
2373
  /**
2340
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2374
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2341
2375
  *
2342
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2343
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2376
+ * @param {string} projectLocationCollectionEngineSessionsName
2377
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2344
2378
  * @returns {string} A string representing the project.
2345
2379
  */
2346
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2347
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2380
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2381
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2348
2382
  }
2349
2383
  /**
2350
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2384
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2351
2385
  *
2352
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2353
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2386
+ * @param {string} projectLocationCollectionEngineSessionsName
2387
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2354
2388
  * @returns {string} A string representing the location.
2355
2389
  */
2356
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2357
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2390
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2391
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2358
2392
  }
2359
2393
  /**
2360
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2394
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2361
2395
  *
2362
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2363
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2396
+ * @param {string} projectLocationCollectionEngineSessionsName
2397
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2364
2398
  * @returns {string} A string representing the collection.
2365
2399
  */
2366
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2367
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2400
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2401
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2368
2402
  }
2369
2403
  /**
2370
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2404
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2371
2405
  *
2372
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2373
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2406
+ * @param {string} projectLocationCollectionEngineSessionsName
2407
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2374
2408
  * @returns {string} A string representing the engine.
2375
2409
  */
2376
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2377
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2410
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2411
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2378
2412
  }
2379
2413
  /**
2380
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2414
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2381
2415
  *
2382
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2383
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2416
+ * @param {string} projectLocationCollectionEngineSessionsName
2417
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2384
2418
  * @returns {string} A string representing the session.
2385
2419
  */
2386
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2387
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2388
- }
2389
- /**
2390
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2391
- *
2392
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2393
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2394
- * @returns {string} A string representing the answer.
2395
- */
2396
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2397
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2420
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2421
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2398
2422
  }
2399
2423
  /**
2400
2424
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2921,63 +2945,6 @@ class SampleQueryServiceClient {
2921
2945
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2922
2946
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2923
2947
  }
2924
- /**
2925
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2926
- *
2927
- * @param {string} project
2928
- * @param {string} location
2929
- * @param {string} data_store
2930
- * @param {string} session
2931
- * @returns {string} Resource name string.
2932
- */
2933
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2934
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2935
- project: project,
2936
- location: location,
2937
- data_store: dataStore,
2938
- session: session,
2939
- });
2940
- }
2941
- /**
2942
- * Parse the project from ProjectLocationDataStoreSession resource.
2943
- *
2944
- * @param {string} projectLocationDataStoreSessionName
2945
- * A fully-qualified path representing project_location_data_store_session resource.
2946
- * @returns {string} A string representing the project.
2947
- */
2948
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2949
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2950
- }
2951
- /**
2952
- * Parse the location from ProjectLocationDataStoreSession resource.
2953
- *
2954
- * @param {string} projectLocationDataStoreSessionName
2955
- * A fully-qualified path representing project_location_data_store_session resource.
2956
- * @returns {string} A string representing the location.
2957
- */
2958
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2959
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2960
- }
2961
- /**
2962
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2963
- *
2964
- * @param {string} projectLocationDataStoreSessionName
2965
- * A fully-qualified path representing project_location_data_store_session resource.
2966
- * @returns {string} A string representing the data_store.
2967
- */
2968
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2969
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2970
- }
2971
- /**
2972
- * Parse the session from ProjectLocationDataStoreSession resource.
2973
- *
2974
- * @param {string} projectLocationDataStoreSessionName
2975
- * A fully-qualified path representing project_location_data_store_session resource.
2976
- * @returns {string} A string representing the session.
2977
- */
2978
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2979
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2980
- }
2981
2948
  /**
2982
2949
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2983
2950
  *
@@ -3047,6 +3014,63 @@ class SampleQueryServiceClient {
3047
3014
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3048
3015
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3049
3016
  }
3017
+ /**
3018
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3019
+ *
3020
+ * @param {string} project
3021
+ * @param {string} location
3022
+ * @param {string} data_store
3023
+ * @param {string} session
3024
+ * @returns {string} Resource name string.
3025
+ */
3026
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3027
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3028
+ project: project,
3029
+ location: location,
3030
+ data_store: dataStore,
3031
+ session: session,
3032
+ });
3033
+ }
3034
+ /**
3035
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3036
+ *
3037
+ * @param {string} projectLocationDataStoreSessionsName
3038
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3039
+ * @returns {string} A string representing the project.
3040
+ */
3041
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3042
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3043
+ }
3044
+ /**
3045
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3046
+ *
3047
+ * @param {string} projectLocationDataStoreSessionsName
3048
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3049
+ * @returns {string} A string representing the location.
3050
+ */
3051
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3052
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3053
+ }
3054
+ /**
3055
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3056
+ *
3057
+ * @param {string} projectLocationDataStoreSessionsName
3058
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3059
+ * @returns {string} A string representing the data_store.
3060
+ */
3061
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3062
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3063
+ }
3064
+ /**
3065
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3066
+ *
3067
+ * @param {string} projectLocationDataStoreSessionsName
3068
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3069
+ * @returns {string} A string representing the session.
3070
+ */
3071
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3072
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3073
+ }
3050
3074
  /**
3051
3075
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3052
3076
  *