@google-cloud/discoveryengine 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/README.md +30 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
  10. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
  11. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
  12. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
  15. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
  16. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
  21. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  22. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  23. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
  24. package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  32. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  33. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  34. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  35. package/build/protos/protos.d.ts +21218 -11675
  36. package/build/protos/protos.js +92642 -66407
  37. package/build/protos/protos.json +5854 -2801
  38. package/build/src/index.d.ts +16 -1
  39. package/build/src/index.js +12 -2
  40. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  41. package/build/src/v1/assistant_service_client.js +2957 -0
  42. package/build/src/v1/assistant_service_client_config.json +43 -0
  43. package/build/src/v1/assistant_service_proto_list.json +48 -0
  44. package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
  45. package/build/src/v1/cmek_config_service_client.js +3426 -0
  46. package/build/src/v1/cmek_config_service_client_config.json +42 -0
  47. package/build/src/v1/cmek_config_service_proto_list.json +48 -0
  48. package/build/src/v1/completion_service_client.d.ts +345 -144
  49. package/build/src/v1/completion_service_client.js +482 -198
  50. package/build/src/v1/completion_service_proto_list.json +10 -1
  51. package/build/src/v1/control_service_client.d.ts +345 -144
  52. package/build/src/v1/control_service_client.js +498 -196
  53. package/build/src/v1/control_service_proto_list.json +10 -1
  54. package/build/src/v1/conversational_search_service_client.d.ts +392 -155
  55. package/build/src/v1/conversational_search_service_client.js +572 -204
  56. package/build/src/v1/conversational_search_service_proto_list.json +10 -1
  57. package/build/src/v1/data_store_service_client.d.ts +351 -144
  58. package/build/src/v1/data_store_service_client.js +488 -198
  59. package/build/src/v1/data_store_service_proto_list.json +10 -1
  60. package/build/src/v1/document_service_client.d.ts +345 -144
  61. package/build/src/v1/document_service_client.js +506 -198
  62. package/build/src/v1/document_service_proto_list.json +10 -1
  63. package/build/src/v1/engine_service_client.d.ts +345 -144
  64. package/build/src/v1/engine_service_client.js +488 -198
  65. package/build/src/v1/engine_service_proto_list.json +10 -1
  66. package/build/src/v1/gapic_metadata.json +270 -0
  67. package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
  68. package/build/src/v1/grounded_generation_service_client.js +486 -196
  69. package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
  70. package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
  71. package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
  72. package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
  73. package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
  74. package/build/src/v1/index.d.ts +5 -0
  75. package/build/src/v1/index.js +11 -1
  76. package/build/src/v1/project_service_client.d.ts +345 -144
  77. package/build/src/v1/project_service_client.js +476 -198
  78. package/build/src/v1/project_service_proto_list.json +10 -1
  79. package/build/src/v1/rank_service_client.d.ts +345 -144
  80. package/build/src/v1/rank_service_client.js +480 -196
  81. package/build/src/v1/rank_service_proto_list.json +10 -1
  82. package/build/src/v1/recommendation_service_client.d.ts +345 -144
  83. package/build/src/v1/recommendation_service_client.js +480 -196
  84. package/build/src/v1/recommendation_service_proto_list.json +10 -1
  85. package/build/src/v1/schema_service_client.d.ts +345 -144
  86. package/build/src/v1/schema_service_client.js +482 -198
  87. package/build/src/v1/schema_service_proto_list.json +10 -1
  88. package/build/src/v1/search_service_client.d.ts +393 -228
  89. package/build/src/v1/search_service_client.js +506 -252
  90. package/build/src/v1/search_service_proto_list.json +10 -1
  91. package/build/src/v1/search_tuning_service_client.d.ts +345 -144
  92. package/build/src/v1/search_tuning_service_client.js +482 -198
  93. package/build/src/v1/search_tuning_service_proto_list.json +10 -1
  94. package/build/src/v1/serving_config_service_client.d.ts +345 -144
  95. package/build/src/v1/serving_config_service_client.js +480 -196
  96. package/build/src/v1/serving_config_service_proto_list.json +10 -1
  97. package/build/src/v1/session_service_client.d.ts +2326 -0
  98. package/build/src/v1/session_service_client.js +3218 -0
  99. package/build/src/v1/session_service_client_config.json +63 -0
  100. package/build/src/v1/session_service_proto_list.json +48 -0
  101. package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
  102. package/build/src/v1/site_search_engine_service_client.js +494 -198
  103. package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
  104. package/build/src/v1/user_event_service_client.d.ts +345 -144
  105. package/build/src/v1/user_event_service_client.js +488 -198
  106. package/build/src/v1/user_event_service_proto_list.json +10 -1
  107. package/build/src/v1/user_license_service_client.d.ts +2367 -0
  108. package/build/src/v1/user_license_service_client.js +3346 -0
  109. package/build/src/v1/user_license_service_client_config.json +34 -0
  110. package/build/src/v1/user_license_service_proto_list.json +48 -0
  111. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  112. package/build/src/v1alpha/acl_config_service_client.js +208 -196
  113. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  114. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  115. package/build/src/v1alpha/chunk_service_client.js +202 -196
  116. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  117. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  118. package/build/src/v1alpha/completion_service_client.js +203 -197
  119. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  120. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  121. package/build/src/v1alpha/control_service_client.js +220 -196
  122. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  123. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  124. package/build/src/v1alpha/conversational_search_service_client.js +310 -210
  125. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  126. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  127. package/build/src/v1alpha/data_store_service_client.js +221 -197
  128. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  129. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  130. package/build/src/v1alpha/document_service_client.js +233 -197
  131. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  132. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  133. package/build/src/v1alpha/engine_service_client.js +221 -197
  134. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  135. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  136. package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
  137. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  138. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  139. package/build/src/v1alpha/evaluation_service_client.js +203 -197
  140. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  141. package/build/src/v1alpha/gapic_metadata.json +82 -0
  142. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
  144. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/index.d.ts +1 -0
  146. package/build/src/v1alpha/index.js +3 -1
  147. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  148. package/build/src/v1alpha/project_service_client.js +209 -197
  149. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  150. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  151. package/build/src/v1alpha/rank_service_client.js +202 -196
  152. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  153. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  154. package/build/src/v1alpha/recommendation_service_client.js +202 -196
  155. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  156. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  157. package/build/src/v1alpha/sample_query_service_client.js +221 -197
  158. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  159. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  160. package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
  161. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  162. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  163. package/build/src/v1alpha/schema_service_client.js +203 -197
  164. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  165. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  166. package/build/src/v1alpha/search_service_client.js +212 -224
  167. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  168. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  169. package/build/src/v1alpha/search_tuning_service_client.js +203 -197
  170. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  171. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  172. package/build/src/v1alpha/serving_config_service_client.js +208 -196
  173. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  174. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  175. package/build/src/v1alpha/session_service_client.js +3161 -0
  176. package/build/src/v1alpha/session_service_client_config.json +68 -0
  177. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  178. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  179. package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
  180. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  181. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  182. package/build/src/v1alpha/user_event_service_client.js +209 -197
  183. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  184. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  185. package/build/src/v1beta/completion_service_client.js +209 -197
  186. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  187. package/build/src/v1beta/control_service_client.d.ts +144 -144
  188. package/build/src/v1beta/control_service_client.js +220 -196
  189. package/build/src/v1beta/control_service_proto_list.json +1 -0
  190. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  191. package/build/src/v1beta/conversational_search_service_client.js +308 -208
  192. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  193. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  194. package/build/src/v1beta/data_store_service_client.js +209 -197
  195. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  196. package/build/src/v1beta/document_service_client.d.ts +144 -144
  197. package/build/src/v1beta/document_service_client.js +227 -197
  198. package/build/src/v1beta/document_service_proto_list.json +1 -0
  199. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  200. package/build/src/v1beta/engine_service_client.js +221 -197
  201. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  202. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  203. package/build/src/v1beta/evaluation_service_client.js +203 -197
  204. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  205. package/build/src/v1beta/gapic_metadata.json +68 -0
  206. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  207. package/build/src/v1beta/grounded_generation_service_client.js +208 -196
  208. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  209. package/build/src/v1beta/index.d.ts +1 -0
  210. package/build/src/v1beta/index.js +3 -1
  211. package/build/src/v1beta/project_service_client.d.ts +144 -144
  212. package/build/src/v1beta/project_service_client.js +197 -197
  213. package/build/src/v1beta/project_service_proto_list.json +1 -0
  214. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  215. package/build/src/v1beta/rank_service_client.js +202 -196
  216. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  217. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  218. package/build/src/v1beta/recommendation_service_client.js +202 -196
  219. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  220. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  221. package/build/src/v1beta/sample_query_service_client.js +221 -197
  222. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  223. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  224. package/build/src/v1beta/sample_query_set_service_client.js +220 -196
  225. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  226. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  227. package/build/src/v1beta/schema_service_client.js +203 -197
  228. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  229. package/build/src/v1beta/search_service_client.d.ts +192 -228
  230. package/build/src/v1beta/search_service_client.js +228 -252
  231. package/build/src/v1beta/search_service_proto_list.json +1 -0
  232. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  233. package/build/src/v1beta/search_tuning_service_client.js +203 -197
  234. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  235. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  236. package/build/src/v1beta/serving_config_service_client.js +208 -196
  237. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  238. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  239. package/build/src/v1beta/session_service_client.js +3136 -0
  240. package/build/src/v1beta/session_service_client_config.json +63 -0
  241. package/build/src/v1beta/session_service_proto_list.json +45 -0
  242. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  243. package/build/src/v1beta/site_search_engine_service_client.js +215 -197
  244. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  245. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  246. package/build/src/v1beta/user_event_service_client.js +209 -197
  247. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  248. package/package.json +7 -7
  249. package/CHANGELOG.md +0 -274
@@ -177,15 +177,15 @@ class ChunkServiceClient {
177
177
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
178
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
179
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
180
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
181
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
182
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
184
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
185
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
186
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
187
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
188
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
189
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
190
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
191
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,8 +195,8 @@ class ChunkServiceClient {
195
195
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
196
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
197
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
198
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
199
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
200
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
201
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
202
202
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -347,6 +347,12 @@ class ChunkServiceClient {
347
347
  ?.then(([response, options, rawResponse]) => {
348
348
  this._log.info('getChunk response %j', response);
349
349
  return [response, options, rawResponse];
350
+ }).catch((error) => {
351
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
352
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
353
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
354
+ }
355
+ throw error;
350
356
  });
351
357
  }
352
358
  listChunks(request, optionsOrCallback, callback) {
@@ -1339,154 +1345,154 @@ class ChunkServiceClient {
1339
1345
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1340
1346
  }
1341
1347
  /**
1342
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1348
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1343
1349
  *
1344
1350
  * @param {string} project
1345
1351
  * @param {string} location
1346
1352
  * @param {string} collection
1347
1353
  * @param {string} data_store
1348
1354
  * @param {string} session
1355
+ * @param {string} answer
1349
1356
  * @returns {string} Resource name string.
1350
1357
  */
1351
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1352
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1358
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1359
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1353
1360
  project: project,
1354
1361
  location: location,
1355
1362
  collection: collection,
1356
1363
  data_store: dataStore,
1357
1364
  session: session,
1365
+ answer: answer,
1358
1366
  });
1359
1367
  }
1360
1368
  /**
1361
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1369
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1362
1370
  *
1363
- * @param {string} projectLocationCollectionDataStoreSessionName
1364
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1371
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1372
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1365
1373
  * @returns {string} A string representing the project.
1366
1374
  */
1367
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1368
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1375
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1376
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1369
1377
  }
1370
1378
  /**
1371
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1379
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1372
1380
  *
1373
- * @param {string} projectLocationCollectionDataStoreSessionName
1374
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1381
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1382
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1375
1383
  * @returns {string} A string representing the location.
1376
1384
  */
1377
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1378
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1385
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1386
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1379
1387
  }
1380
1388
  /**
1381
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1389
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1382
1390
  *
1383
- * @param {string} projectLocationCollectionDataStoreSessionName
1384
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1391
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1392
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1385
1393
  * @returns {string} A string representing the collection.
1386
1394
  */
1387
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1388
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1395
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1396
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1389
1397
  }
1390
1398
  /**
1391
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1399
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1392
1400
  *
1393
- * @param {string} projectLocationCollectionDataStoreSessionName
1394
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1401
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1402
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1395
1403
  * @returns {string} A string representing the data_store.
1396
1404
  */
1397
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1398
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1405
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1406
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1399
1407
  }
1400
1408
  /**
1401
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1409
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1402
1410
  *
1403
- * @param {string} projectLocationCollectionDataStoreSessionName
1404
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1411
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1412
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1405
1413
  * @returns {string} A string representing the session.
1406
1414
  */
1407
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1408
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1415
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1416
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1409
1417
  }
1410
1418
  /**
1411
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1419
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1420
+ *
1421
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1422
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1423
+ * @returns {string} A string representing the answer.
1424
+ */
1425
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1426
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1427
+ }
1428
+ /**
1429
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1412
1430
  *
1413
1431
  * @param {string} project
1414
1432
  * @param {string} location
1415
1433
  * @param {string} collection
1416
1434
  * @param {string} data_store
1417
1435
  * @param {string} session
1418
- * @param {string} answer
1419
1436
  * @returns {string} Resource name string.
1420
1437
  */
1421
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1422
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1438
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1439
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1423
1440
  project: project,
1424
1441
  location: location,
1425
1442
  collection: collection,
1426
1443
  data_store: dataStore,
1427
1444
  session: session,
1428
- answer: answer,
1429
1445
  });
1430
1446
  }
1431
1447
  /**
1432
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1448
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1433
1449
  *
1434
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1435
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1450
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1451
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1436
1452
  * @returns {string} A string representing the project.
1437
1453
  */
1438
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1439
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1454
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1455
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1440
1456
  }
1441
1457
  /**
1442
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1458
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1443
1459
  *
1444
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1445
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1460
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1461
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1446
1462
  * @returns {string} A string representing the location.
1447
1463
  */
1448
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1449
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1464
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1465
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1450
1466
  }
1451
1467
  /**
1452
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1468
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1453
1469
  *
1454
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1455
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1470
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1471
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1456
1472
  * @returns {string} A string representing the collection.
1457
1473
  */
1458
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1459
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1474
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1475
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1460
1476
  }
1461
1477
  /**
1462
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1478
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1463
1479
  *
1464
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1465
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1480
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1481
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1466
1482
  * @returns {string} A string representing the data_store.
1467
1483
  */
1468
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1469
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1484
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1485
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1470
1486
  }
1471
1487
  /**
1472
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1488
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1473
1489
  *
1474
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1475
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1490
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1491
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1476
1492
  * @returns {string} A string representing the session.
1477
1493
  */
1478
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1479
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1480
- }
1481
- /**
1482
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1483
- *
1484
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1485
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1486
- * @returns {string} A string representing the answer.
1487
- */
1488
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1489
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1494
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1495
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1490
1496
  }
1491
1497
  /**
1492
1498
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1822,154 +1828,154 @@ class ChunkServiceClient {
1822
1828
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1823
1829
  }
1824
1830
  /**
1825
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1831
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1826
1832
  *
1827
1833
  * @param {string} project
1828
1834
  * @param {string} location
1829
1835
  * @param {string} collection
1830
1836
  * @param {string} engine
1831
1837
  * @param {string} session
1838
+ * @param {string} answer
1832
1839
  * @returns {string} Resource name string.
1833
1840
  */
1834
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1835
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1841
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1842
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1836
1843
  project: project,
1837
1844
  location: location,
1838
1845
  collection: collection,
1839
1846
  engine: engine,
1840
1847
  session: session,
1848
+ answer: answer,
1841
1849
  });
1842
1850
  }
1843
1851
  /**
1844
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1852
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1845
1853
  *
1846
- * @param {string} projectLocationCollectionEngineSessionName
1847
- * A fully-qualified path representing project_location_collection_engine_session resource.
1854
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1855
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1848
1856
  * @returns {string} A string representing the project.
1849
1857
  */
1850
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1851
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1858
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1859
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1852
1860
  }
1853
1861
  /**
1854
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1862
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1855
1863
  *
1856
- * @param {string} projectLocationCollectionEngineSessionName
1857
- * A fully-qualified path representing project_location_collection_engine_session resource.
1864
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1865
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1858
1866
  * @returns {string} A string representing the location.
1859
1867
  */
1860
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1861
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1868
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1869
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1862
1870
  }
1863
1871
  /**
1864
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1872
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1865
1873
  *
1866
- * @param {string} projectLocationCollectionEngineSessionName
1867
- * A fully-qualified path representing project_location_collection_engine_session resource.
1874
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1875
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1868
1876
  * @returns {string} A string representing the collection.
1869
1877
  */
1870
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1871
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1878
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1879
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1872
1880
  }
1873
1881
  /**
1874
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1882
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1875
1883
  *
1876
- * @param {string} projectLocationCollectionEngineSessionName
1877
- * A fully-qualified path representing project_location_collection_engine_session resource.
1884
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1885
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1878
1886
  * @returns {string} A string representing the engine.
1879
1887
  */
1880
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1881
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1888
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1889
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1882
1890
  }
1883
1891
  /**
1884
- * Parse the session from ProjectLocationCollectionEngineSession resource.
1892
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1885
1893
  *
1886
- * @param {string} projectLocationCollectionEngineSessionName
1887
- * A fully-qualified path representing project_location_collection_engine_session resource.
1894
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1895
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1888
1896
  * @returns {string} A string representing the session.
1889
1897
  */
1890
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1891
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1898
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1899
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1892
1900
  }
1893
1901
  /**
1894
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1902
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1903
+ *
1904
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1905
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1906
+ * @returns {string} A string representing the answer.
1907
+ */
1908
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1909
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1910
+ }
1911
+ /**
1912
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1895
1913
  *
1896
1914
  * @param {string} project
1897
1915
  * @param {string} location
1898
1916
  * @param {string} collection
1899
1917
  * @param {string} engine
1900
1918
  * @param {string} session
1901
- * @param {string} answer
1902
1919
  * @returns {string} Resource name string.
1903
1920
  */
1904
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1905
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1921
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
1922
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1906
1923
  project: project,
1907
1924
  location: location,
1908
1925
  collection: collection,
1909
1926
  engine: engine,
1910
1927
  session: session,
1911
- answer: answer,
1912
1928
  });
1913
1929
  }
1914
1930
  /**
1915
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1931
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1916
1932
  *
1917
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1918
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1933
+ * @param {string} projectLocationCollectionEngineSessionsName
1934
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1919
1935
  * @returns {string} A string representing the project.
1920
1936
  */
1921
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1922
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1937
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1938
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1923
1939
  }
1924
1940
  /**
1925
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1941
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1926
1942
  *
1927
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1928
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1943
+ * @param {string} projectLocationCollectionEngineSessionsName
1944
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1929
1945
  * @returns {string} A string representing the location.
1930
1946
  */
1931
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1932
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1947
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1948
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1933
1949
  }
1934
1950
  /**
1935
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1951
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1936
1952
  *
1937
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1938
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1953
+ * @param {string} projectLocationCollectionEngineSessionsName
1954
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1939
1955
  * @returns {string} A string representing the collection.
1940
1956
  */
1941
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1942
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1957
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1958
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1943
1959
  }
1944
1960
  /**
1945
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1961
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1946
1962
  *
1947
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1948
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1963
+ * @param {string} projectLocationCollectionEngineSessionsName
1964
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1949
1965
  * @returns {string} A string representing the engine.
1950
1966
  */
1951
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1952
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1967
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1968
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1953
1969
  }
1954
1970
  /**
1955
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1971
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
1956
1972
  *
1957
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1958
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1973
+ * @param {string} projectLocationCollectionEngineSessionsName
1974
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1959
1975
  * @returns {string} A string representing the session.
1960
1976
  */
1961
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1962
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1963
- }
1964
- /**
1965
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1966
- *
1967
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1968
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1969
- * @returns {string} A string representing the answer.
1970
- */
1971
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1972
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1977
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1978
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
1973
1979
  }
1974
1980
  /**
1975
1981
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2496,63 +2502,6 @@ class ChunkServiceClient {
2496
2502
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2497
2503
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2498
2504
  }
2499
- /**
2500
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2501
- *
2502
- * @param {string} project
2503
- * @param {string} location
2504
- * @param {string} data_store
2505
- * @param {string} session
2506
- * @returns {string} Resource name string.
2507
- */
2508
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2509
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2510
- project: project,
2511
- location: location,
2512
- data_store: dataStore,
2513
- session: session,
2514
- });
2515
- }
2516
- /**
2517
- * Parse the project from ProjectLocationDataStoreSession resource.
2518
- *
2519
- * @param {string} projectLocationDataStoreSessionName
2520
- * A fully-qualified path representing project_location_data_store_session resource.
2521
- * @returns {string} A string representing the project.
2522
- */
2523
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2524
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2525
- }
2526
- /**
2527
- * Parse the location from ProjectLocationDataStoreSession resource.
2528
- *
2529
- * @param {string} projectLocationDataStoreSessionName
2530
- * A fully-qualified path representing project_location_data_store_session resource.
2531
- * @returns {string} A string representing the location.
2532
- */
2533
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2534
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2535
- }
2536
- /**
2537
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2538
- *
2539
- * @param {string} projectLocationDataStoreSessionName
2540
- * A fully-qualified path representing project_location_data_store_session resource.
2541
- * @returns {string} A string representing the data_store.
2542
- */
2543
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2544
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2545
- }
2546
- /**
2547
- * Parse the session from ProjectLocationDataStoreSession resource.
2548
- *
2549
- * @param {string} projectLocationDataStoreSessionName
2550
- * A fully-qualified path representing project_location_data_store_session resource.
2551
- * @returns {string} A string representing the session.
2552
- */
2553
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2554
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2555
- }
2556
2505
  /**
2557
2506
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2558
2507
  *
@@ -2622,6 +2571,63 @@ class ChunkServiceClient {
2622
2571
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2623
2572
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2624
2573
  }
2574
+ /**
2575
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2576
+ *
2577
+ * @param {string} project
2578
+ * @param {string} location
2579
+ * @param {string} data_store
2580
+ * @param {string} session
2581
+ * @returns {string} Resource name string.
2582
+ */
2583
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2584
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2585
+ project: project,
2586
+ location: location,
2587
+ data_store: dataStore,
2588
+ session: session,
2589
+ });
2590
+ }
2591
+ /**
2592
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2593
+ *
2594
+ * @param {string} projectLocationDataStoreSessionsName
2595
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2596
+ * @returns {string} A string representing the project.
2597
+ */
2598
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2599
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2600
+ }
2601
+ /**
2602
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2603
+ *
2604
+ * @param {string} projectLocationDataStoreSessionsName
2605
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2606
+ * @returns {string} A string representing the location.
2607
+ */
2608
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2609
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2610
+ }
2611
+ /**
2612
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2613
+ *
2614
+ * @param {string} projectLocationDataStoreSessionsName
2615
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2616
+ * @returns {string} A string representing the data_store.
2617
+ */
2618
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2619
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2620
+ }
2621
+ /**
2622
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2623
+ *
2624
+ * @param {string} projectLocationDataStoreSessionsName
2625
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2626
+ * @returns {string} A string representing the session.
2627
+ */
2628
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2629
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2630
+ }
2625
2631
  /**
2626
2632
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2627
2633
  *
@@ -41,6 +41,7 @@
41
41
  "../../protos/google/cloud/discoveryengine/v1alpha/serving_config.proto",
42
42
  "../../protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto",
43
43
  "../../protos/google/cloud/discoveryengine/v1alpha/session.proto",
44
+ "../../protos/google/cloud/discoveryengine/v1alpha/session_service.proto",
44
45
  "../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto",
45
46
  "../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto",
46
47
  "../../protos/google/cloud/discoveryengine/v1alpha/user_event.proto",