@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 SampleQuerySetServiceClient {
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 SampleQuerySetServiceClient {
196
196
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
197
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
198
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
199
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
199
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
200
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
201
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
202
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
203
203
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -349,6 +349,12 @@ class SampleQuerySetServiceClient {
349
349
  ?.then(([response, options, rawResponse]) => {
350
350
  this._log.info('getSampleQuerySet response %j', response);
351
351
  return [response, options, rawResponse];
352
+ }).catch((error) => {
353
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
354
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
355
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
356
+ }
357
+ throw error;
352
358
  });
353
359
  }
354
360
  createSampleQuerySet(request, optionsOrCallback, callback) {
@@ -379,6 +385,12 @@ class SampleQuerySetServiceClient {
379
385
  ?.then(([response, options, rawResponse]) => {
380
386
  this._log.info('createSampleQuerySet response %j', response);
381
387
  return [response, options, rawResponse];
388
+ }).catch((error) => {
389
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
390
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
391
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
392
+ }
393
+ throw error;
382
394
  });
383
395
  }
384
396
  updateSampleQuerySet(request, optionsOrCallback, callback) {
@@ -409,6 +421,12 @@ class SampleQuerySetServiceClient {
409
421
  ?.then(([response, options, rawResponse]) => {
410
422
  this._log.info('updateSampleQuerySet response %j', response);
411
423
  return [response, options, rawResponse];
424
+ }).catch((error) => {
425
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
426
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
427
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
428
+ }
429
+ throw error;
412
430
  });
413
431
  }
414
432
  deleteSampleQuerySet(request, optionsOrCallback, callback) {
@@ -439,6 +457,12 @@ class SampleQuerySetServiceClient {
439
457
  ?.then(([response, options, rawResponse]) => {
440
458
  this._log.info('deleteSampleQuerySet response %j', response);
441
459
  return [response, options, rawResponse];
460
+ }).catch((error) => {
461
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
462
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
463
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
464
+ }
465
+ throw error;
442
466
  });
443
467
  }
444
468
  listSampleQuerySets(request, optionsOrCallback, callback) {
@@ -1478,154 +1502,154 @@ class SampleQuerySetServiceClient {
1478
1502
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1479
1503
  }
1480
1504
  /**
1481
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1505
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1482
1506
  *
1483
1507
  * @param {string} project
1484
1508
  * @param {string} location
1485
1509
  * @param {string} collection
1486
1510
  * @param {string} data_store
1487
1511
  * @param {string} session
1512
+ * @param {string} answer
1488
1513
  * @returns {string} Resource name string.
1489
1514
  */
1490
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1491
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1515
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1516
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1492
1517
  project: project,
1493
1518
  location: location,
1494
1519
  collection: collection,
1495
1520
  data_store: dataStore,
1496
1521
  session: session,
1522
+ answer: answer,
1497
1523
  });
1498
1524
  }
1499
1525
  /**
1500
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1526
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1501
1527
  *
1502
- * @param {string} projectLocationCollectionDataStoreSessionName
1503
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1528
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1529
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1504
1530
  * @returns {string} A string representing the project.
1505
1531
  */
1506
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1507
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1532
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1533
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1508
1534
  }
1509
1535
  /**
1510
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1536
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1511
1537
  *
1512
- * @param {string} projectLocationCollectionDataStoreSessionName
1513
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1538
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1539
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1514
1540
  * @returns {string} A string representing the location.
1515
1541
  */
1516
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1517
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1542
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1543
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1518
1544
  }
1519
1545
  /**
1520
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1546
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1521
1547
  *
1522
- * @param {string} projectLocationCollectionDataStoreSessionName
1523
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1548
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1549
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1524
1550
  * @returns {string} A string representing the collection.
1525
1551
  */
1526
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1527
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1552
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1553
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1528
1554
  }
1529
1555
  /**
1530
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1556
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1531
1557
  *
1532
- * @param {string} projectLocationCollectionDataStoreSessionName
1533
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1558
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1559
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1534
1560
  * @returns {string} A string representing the data_store.
1535
1561
  */
1536
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1537
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1562
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1563
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1538
1564
  }
1539
1565
  /**
1540
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1566
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1541
1567
  *
1542
- * @param {string} projectLocationCollectionDataStoreSessionName
1543
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1568
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1569
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1544
1570
  * @returns {string} A string representing the session.
1545
1571
  */
1546
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1547
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1572
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1573
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1548
1574
  }
1549
1575
  /**
1550
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1576
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1577
+ *
1578
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1579
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1580
+ * @returns {string} A string representing the answer.
1581
+ */
1582
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1583
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1584
+ }
1585
+ /**
1586
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1551
1587
  *
1552
1588
  * @param {string} project
1553
1589
  * @param {string} location
1554
1590
  * @param {string} collection
1555
1591
  * @param {string} data_store
1556
1592
  * @param {string} session
1557
- * @param {string} answer
1558
1593
  * @returns {string} Resource name string.
1559
1594
  */
1560
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1561
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1595
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1596
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1562
1597
  project: project,
1563
1598
  location: location,
1564
1599
  collection: collection,
1565
1600
  data_store: dataStore,
1566
1601
  session: session,
1567
- answer: answer,
1568
1602
  });
1569
1603
  }
1570
1604
  /**
1571
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1605
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1572
1606
  *
1573
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1574
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1607
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1608
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1575
1609
  * @returns {string} A string representing the project.
1576
1610
  */
1577
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1578
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1611
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1612
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1579
1613
  }
1580
1614
  /**
1581
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1615
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1582
1616
  *
1583
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1584
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1617
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1618
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1585
1619
  * @returns {string} A string representing the location.
1586
1620
  */
1587
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1588
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1621
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1622
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1589
1623
  }
1590
1624
  /**
1591
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1625
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1592
1626
  *
1593
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1594
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1627
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1628
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1595
1629
  * @returns {string} A string representing the collection.
1596
1630
  */
1597
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1598
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1631
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1632
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1599
1633
  }
1600
1634
  /**
1601
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1635
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1602
1636
  *
1603
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1604
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1637
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1638
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1605
1639
  * @returns {string} A string representing the data_store.
1606
1640
  */
1607
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1608
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1641
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1642
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1609
1643
  }
1610
1644
  /**
1611
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1645
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1612
1646
  *
1613
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1614
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1647
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1648
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1615
1649
  * @returns {string} A string representing the session.
1616
1650
  */
1617
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1618
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1619
- }
1620
- /**
1621
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1622
- *
1623
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1624
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1625
- * @returns {string} A string representing the answer.
1626
- */
1627
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1628
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1651
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1652
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1629
1653
  }
1630
1654
  /**
1631
1655
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2030,154 +2054,154 @@ class SampleQuerySetServiceClient {
2030
2054
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2031
2055
  }
2032
2056
  /**
2033
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2057
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2034
2058
  *
2035
2059
  * @param {string} project
2036
2060
  * @param {string} location
2037
2061
  * @param {string} collection
2038
2062
  * @param {string} engine
2039
2063
  * @param {string} session
2064
+ * @param {string} answer
2040
2065
  * @returns {string} Resource name string.
2041
2066
  */
2042
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2043
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2067
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2068
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2044
2069
  project: project,
2045
2070
  location: location,
2046
2071
  collection: collection,
2047
2072
  engine: engine,
2048
2073
  session: session,
2074
+ answer: answer,
2049
2075
  });
2050
2076
  }
2051
2077
  /**
2052
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2078
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2053
2079
  *
2054
- * @param {string} projectLocationCollectionEngineSessionName
2055
- * A fully-qualified path representing project_location_collection_engine_session resource.
2080
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2081
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2056
2082
  * @returns {string} A string representing the project.
2057
2083
  */
2058
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2059
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2084
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2085
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2060
2086
  }
2061
2087
  /**
2062
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2088
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2063
2089
  *
2064
- * @param {string} projectLocationCollectionEngineSessionName
2065
- * A fully-qualified path representing project_location_collection_engine_session resource.
2090
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2091
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2066
2092
  * @returns {string} A string representing the location.
2067
2093
  */
2068
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2069
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2094
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2095
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2070
2096
  }
2071
2097
  /**
2072
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2098
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2073
2099
  *
2074
- * @param {string} projectLocationCollectionEngineSessionName
2075
- * A fully-qualified path representing project_location_collection_engine_session resource.
2100
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2101
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2076
2102
  * @returns {string} A string representing the collection.
2077
2103
  */
2078
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2079
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2104
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2105
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2080
2106
  }
2081
2107
  /**
2082
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2108
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2083
2109
  *
2084
- * @param {string} projectLocationCollectionEngineSessionName
2085
- * A fully-qualified path representing project_location_collection_engine_session resource.
2110
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2111
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2086
2112
  * @returns {string} A string representing the engine.
2087
2113
  */
2088
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2089
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2114
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2115
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2090
2116
  }
2091
2117
  /**
2092
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2118
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2093
2119
  *
2094
- * @param {string} projectLocationCollectionEngineSessionName
2095
- * A fully-qualified path representing project_location_collection_engine_session resource.
2120
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2121
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2096
2122
  * @returns {string} A string representing the session.
2097
2123
  */
2098
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2099
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2124
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2125
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2100
2126
  }
2101
2127
  /**
2102
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2128
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2129
+ *
2130
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2131
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2132
+ * @returns {string} A string representing the answer.
2133
+ */
2134
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2135
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2136
+ }
2137
+ /**
2138
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2103
2139
  *
2104
2140
  * @param {string} project
2105
2141
  * @param {string} location
2106
2142
  * @param {string} collection
2107
2143
  * @param {string} engine
2108
2144
  * @param {string} session
2109
- * @param {string} answer
2110
2145
  * @returns {string} Resource name string.
2111
2146
  */
2112
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2113
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2147
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2148
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2114
2149
  project: project,
2115
2150
  location: location,
2116
2151
  collection: collection,
2117
2152
  engine: engine,
2118
2153
  session: session,
2119
- answer: answer,
2120
2154
  });
2121
2155
  }
2122
2156
  /**
2123
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2157
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2124
2158
  *
2125
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2126
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2159
+ * @param {string} projectLocationCollectionEngineSessionsName
2160
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2127
2161
  * @returns {string} A string representing the project.
2128
2162
  */
2129
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2130
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2163
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2164
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2131
2165
  }
2132
2166
  /**
2133
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2167
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2134
2168
  *
2135
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2136
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2169
+ * @param {string} projectLocationCollectionEngineSessionsName
2170
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2137
2171
  * @returns {string} A string representing the location.
2138
2172
  */
2139
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2140
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2173
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2174
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2141
2175
  }
2142
2176
  /**
2143
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2177
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2144
2178
  *
2145
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2146
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2179
+ * @param {string} projectLocationCollectionEngineSessionsName
2180
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2147
2181
  * @returns {string} A string representing the collection.
2148
2182
  */
2149
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2150
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2183
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2184
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2151
2185
  }
2152
2186
  /**
2153
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2187
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2154
2188
  *
2155
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2156
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2189
+ * @param {string} projectLocationCollectionEngineSessionsName
2190
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2157
2191
  * @returns {string} A string representing the engine.
2158
2192
  */
2159
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2160
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2193
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2194
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2161
2195
  }
2162
2196
  /**
2163
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2197
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2164
2198
  *
2165
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2166
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2199
+ * @param {string} projectLocationCollectionEngineSessionsName
2200
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2167
2201
  * @returns {string} A string representing the session.
2168
2202
  */
2169
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2170
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2171
- }
2172
- /**
2173
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2174
- *
2175
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2176
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2177
- * @returns {string} A string representing the answer.
2178
- */
2179
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2180
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2203
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2204
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2181
2205
  }
2182
2206
  /**
2183
2207
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2704,63 +2728,6 @@ class SampleQuerySetServiceClient {
2704
2728
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2705
2729
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2706
2730
  }
2707
- /**
2708
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2709
- *
2710
- * @param {string} project
2711
- * @param {string} location
2712
- * @param {string} data_store
2713
- * @param {string} session
2714
- * @returns {string} Resource name string.
2715
- */
2716
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2717
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2718
- project: project,
2719
- location: location,
2720
- data_store: dataStore,
2721
- session: session,
2722
- });
2723
- }
2724
- /**
2725
- * Parse the project from ProjectLocationDataStoreSession resource.
2726
- *
2727
- * @param {string} projectLocationDataStoreSessionName
2728
- * A fully-qualified path representing project_location_data_store_session resource.
2729
- * @returns {string} A string representing the project.
2730
- */
2731
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2732
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2733
- }
2734
- /**
2735
- * Parse the location from ProjectLocationDataStoreSession resource.
2736
- *
2737
- * @param {string} projectLocationDataStoreSessionName
2738
- * A fully-qualified path representing project_location_data_store_session resource.
2739
- * @returns {string} A string representing the location.
2740
- */
2741
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2742
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2743
- }
2744
- /**
2745
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2746
- *
2747
- * @param {string} projectLocationDataStoreSessionName
2748
- * A fully-qualified path representing project_location_data_store_session resource.
2749
- * @returns {string} A string representing the data_store.
2750
- */
2751
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2752
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2753
- }
2754
- /**
2755
- * Parse the session from ProjectLocationDataStoreSession resource.
2756
- *
2757
- * @param {string} projectLocationDataStoreSessionName
2758
- * A fully-qualified path representing project_location_data_store_session resource.
2759
- * @returns {string} A string representing the session.
2760
- */
2761
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2762
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2763
- }
2764
2731
  /**
2765
2732
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2766
2733
  *
@@ -2830,6 +2797,63 @@ class SampleQuerySetServiceClient {
2830
2797
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2831
2798
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2832
2799
  }
2800
+ /**
2801
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2802
+ *
2803
+ * @param {string} project
2804
+ * @param {string} location
2805
+ * @param {string} data_store
2806
+ * @param {string} session
2807
+ * @returns {string} Resource name string.
2808
+ */
2809
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2810
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2811
+ project: project,
2812
+ location: location,
2813
+ data_store: dataStore,
2814
+ session: session,
2815
+ });
2816
+ }
2817
+ /**
2818
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2819
+ *
2820
+ * @param {string} projectLocationDataStoreSessionsName
2821
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2822
+ * @returns {string} A string representing the project.
2823
+ */
2824
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2825
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2826
+ }
2827
+ /**
2828
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2829
+ *
2830
+ * @param {string} projectLocationDataStoreSessionsName
2831
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2832
+ * @returns {string} A string representing the location.
2833
+ */
2834
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2835
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2836
+ }
2837
+ /**
2838
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2839
+ *
2840
+ * @param {string} projectLocationDataStoreSessionsName
2841
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2842
+ * @returns {string} A string representing the data_store.
2843
+ */
2844
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2845
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2846
+ }
2847
+ /**
2848
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2849
+ *
2850
+ * @param {string} projectLocationDataStoreSessionsName
2851
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2852
+ * @returns {string} A string representing the session.
2853
+ */
2854
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2855
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2856
+ }
2833
2857
  /**
2834
2858
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2835
2859
  *