@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
@@ -175,15 +175,15 @@ class ConversationalSearchServiceClient {
175
175
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
176
176
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
177
177
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
178
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
179
178
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
179
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
180
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
181
181
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
182
182
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
183
183
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
184
184
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
185
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
186
185
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
186
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
187
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
188
188
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
189
189
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -193,8 +193,8 @@ class ConversationalSearchServiceClient {
193
193
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
194
194
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
195
195
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
196
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
197
196
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
197
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
198
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
199
199
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
200
200
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -346,6 +346,12 @@ class ConversationalSearchServiceClient {
346
346
  ?.then(([response, options, rawResponse]) => {
347
347
  this._log.info('converseConversation response %j', response);
348
348
  return [response, options, rawResponse];
349
+ }).catch((error) => {
350
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
351
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
352
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
353
+ }
354
+ throw error;
349
355
  });
350
356
  }
351
357
  createConversation(request, optionsOrCallback, callback) {
@@ -376,6 +382,12 @@ class ConversationalSearchServiceClient {
376
382
  ?.then(([response, options, rawResponse]) => {
377
383
  this._log.info('createConversation response %j', response);
378
384
  return [response, options, rawResponse];
385
+ }).catch((error) => {
386
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
387
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
388
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
389
+ }
390
+ throw error;
379
391
  });
380
392
  }
381
393
  deleteConversation(request, optionsOrCallback, callback) {
@@ -406,6 +418,12 @@ class ConversationalSearchServiceClient {
406
418
  ?.then(([response, options, rawResponse]) => {
407
419
  this._log.info('deleteConversation response %j', response);
408
420
  return [response, options, rawResponse];
421
+ }).catch((error) => {
422
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
423
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
424
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
425
+ }
426
+ throw error;
409
427
  });
410
428
  }
411
429
  updateConversation(request, optionsOrCallback, callback) {
@@ -436,6 +454,12 @@ class ConversationalSearchServiceClient {
436
454
  ?.then(([response, options, rawResponse]) => {
437
455
  this._log.info('updateConversation response %j', response);
438
456
  return [response, options, rawResponse];
457
+ }).catch((error) => {
458
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
459
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
460
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
461
+ }
462
+ throw error;
439
463
  });
440
464
  }
441
465
  getConversation(request, optionsOrCallback, callback) {
@@ -466,6 +490,12 @@ class ConversationalSearchServiceClient {
466
490
  ?.then(([response, options, rawResponse]) => {
467
491
  this._log.info('getConversation response %j', response);
468
492
  return [response, options, rawResponse];
493
+ }).catch((error) => {
494
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
495
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
496
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
497
+ }
498
+ throw error;
469
499
  });
470
500
  }
471
501
  answerQuery(request, optionsOrCallback, callback) {
@@ -496,6 +526,12 @@ class ConversationalSearchServiceClient {
496
526
  ?.then(([response, options, rawResponse]) => {
497
527
  this._log.info('answerQuery response %j', response);
498
528
  return [response, options, rawResponse];
529
+ }).catch((error) => {
530
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
531
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
532
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
533
+ }
534
+ throw error;
499
535
  });
500
536
  }
501
537
  getAnswer(request, optionsOrCallback, callback) {
@@ -526,6 +562,12 @@ class ConversationalSearchServiceClient {
526
562
  ?.then(([response, options, rawResponse]) => {
527
563
  this._log.info('getAnswer response %j', response);
528
564
  return [response, options, rawResponse];
565
+ }).catch((error) => {
566
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
567
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
568
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
569
+ }
570
+ throw error;
529
571
  });
530
572
  }
531
573
  createSession(request, optionsOrCallback, callback) {
@@ -556,6 +598,12 @@ class ConversationalSearchServiceClient {
556
598
  ?.then(([response, options, rawResponse]) => {
557
599
  this._log.info('createSession response %j', response);
558
600
  return [response, options, rawResponse];
601
+ }).catch((error) => {
602
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
603
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
604
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
605
+ }
606
+ throw error;
559
607
  });
560
608
  }
561
609
  deleteSession(request, optionsOrCallback, callback) {
@@ -586,6 +634,12 @@ class ConversationalSearchServiceClient {
586
634
  ?.then(([response, options, rawResponse]) => {
587
635
  this._log.info('deleteSession response %j', response);
588
636
  return [response, options, rawResponse];
637
+ }).catch((error) => {
638
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
639
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
640
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
641
+ }
642
+ throw error;
589
643
  });
590
644
  }
591
645
  updateSession(request, optionsOrCallback, callback) {
@@ -616,6 +670,12 @@ class ConversationalSearchServiceClient {
616
670
  ?.then(([response, options, rawResponse]) => {
617
671
  this._log.info('updateSession response %j', response);
618
672
  return [response, options, rawResponse];
673
+ }).catch((error) => {
674
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
675
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
676
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
677
+ }
678
+ throw error;
619
679
  });
620
680
  }
621
681
  getSession(request, optionsOrCallback, callback) {
@@ -646,6 +706,12 @@ class ConversationalSearchServiceClient {
646
706
  ?.then(([response, options, rawResponse]) => {
647
707
  this._log.info('getSession response %j', response);
648
708
  return [response, options, rawResponse];
709
+ }).catch((error) => {
710
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
711
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
712
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
713
+ }
714
+ throw error;
649
715
  });
650
716
  }
651
717
  listConversations(request, optionsOrCallback, callback) {
@@ -829,7 +895,7 @@ class ConversationalSearchServiceClient {
829
895
  * The request object that will be sent.
830
896
  * @param {string} request.parent
831
897
  * Required. The data store resource name. Format:
832
- * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
898
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
833
899
  * @param {number} request.pageSize
834
900
  * Maximum number of results to return. If unspecified, defaults
835
901
  * to 50. Max allowed value is 1000.
@@ -837,22 +903,39 @@ class ConversationalSearchServiceClient {
837
903
  * A page token, received from a previous `ListSessions` call.
838
904
  * Provide this to retrieve the subsequent page.
839
905
  * @param {string} request.filter
840
- * A filter to apply on the list results. The supported features are:
841
- * user_pseudo_id, state.
842
- *
843
- * Example:
906
+ * A comma-separated list of fields to filter by, in EBNF grammar.
907
+ * The supported fields are:
908
+ * * `user_pseudo_id`
909
+ * * `state`
910
+ * * `display_name`
911
+ * * `starred`
912
+ * * `is_pinned`
913
+ * * `labels`
914
+ * * `create_time`
915
+ * * `update_time`
916
+ *
917
+ * Examples:
844
918
  * "user_pseudo_id = some_id"
919
+ * "display_name = \"some_name\""
920
+ * "starred = true"
921
+ * "is_pinned=true AND (NOT labels:hidden)"
922
+ * "create_time > \"1970-01-01T12:00:00Z\""
845
923
  * @param {string} request.orderBy
846
924
  * A comma-separated list of fields to order by, sorted in ascending order.
847
925
  * Use "desc" after a field name for descending.
848
926
  * Supported fields:
927
+ *
849
928
  * * `update_time`
850
929
  * * `create_time`
851
930
  * * `session_name`
931
+ * * `is_pinned`
852
932
  *
853
933
  * Example:
854
- * "update_time desc"
855
- * "create_time"
934
+ *
935
+ * * "update_time desc"
936
+ * * "create_time"
937
+ * * "is_pinned desc,update_time desc": list sessions by is_pinned first, then
938
+ * by update_time.
856
939
  * @param {object} [options]
857
940
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
858
941
  * @returns {Stream}
@@ -886,7 +969,7 @@ class ConversationalSearchServiceClient {
886
969
  * The request object that will be sent.
887
970
  * @param {string} request.parent
888
971
  * Required. The data store resource name. Format:
889
- * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}`
972
+ * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
890
973
  * @param {number} request.pageSize
891
974
  * Maximum number of results to return. If unspecified, defaults
892
975
  * to 50. Max allowed value is 1000.
@@ -894,22 +977,39 @@ class ConversationalSearchServiceClient {
894
977
  * A page token, received from a previous `ListSessions` call.
895
978
  * Provide this to retrieve the subsequent page.
896
979
  * @param {string} request.filter
897
- * A filter to apply on the list results. The supported features are:
898
- * user_pseudo_id, state.
899
- *
900
- * Example:
980
+ * A comma-separated list of fields to filter by, in EBNF grammar.
981
+ * The supported fields are:
982
+ * * `user_pseudo_id`
983
+ * * `state`
984
+ * * `display_name`
985
+ * * `starred`
986
+ * * `is_pinned`
987
+ * * `labels`
988
+ * * `create_time`
989
+ * * `update_time`
990
+ *
991
+ * Examples:
901
992
  * "user_pseudo_id = some_id"
993
+ * "display_name = \"some_name\""
994
+ * "starred = true"
995
+ * "is_pinned=true AND (NOT labels:hidden)"
996
+ * "create_time > \"1970-01-01T12:00:00Z\""
902
997
  * @param {string} request.orderBy
903
998
  * A comma-separated list of fields to order by, sorted in ascending order.
904
999
  * Use "desc" after a field name for descending.
905
1000
  * Supported fields:
1001
+ *
906
1002
  * * `update_time`
907
1003
  * * `create_time`
908
1004
  * * `session_name`
1005
+ * * `is_pinned`
909
1006
  *
910
1007
  * Example:
911
- * "update_time desc"
912
- * "create_time"
1008
+ *
1009
+ * * "update_time desc"
1010
+ * * "create_time"
1011
+ * * "is_pinned desc,update_time desc": list sessions by is_pinned first, then
1012
+ * by update_time.
913
1013
  * @param {object} [options]
914
1014
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
915
1015
  * @returns {Object}
@@ -1784,154 +1884,154 @@ class ConversationalSearchServiceClient {
1784
1884
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1785
1885
  }
1786
1886
  /**
1787
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1887
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1788
1888
  *
1789
1889
  * @param {string} project
1790
1890
  * @param {string} location
1791
1891
  * @param {string} collection
1792
1892
  * @param {string} data_store
1793
1893
  * @param {string} session
1894
+ * @param {string} answer
1794
1895
  * @returns {string} Resource name string.
1795
1896
  */
1796
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1797
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1897
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1898
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1798
1899
  project: project,
1799
1900
  location: location,
1800
1901
  collection: collection,
1801
1902
  data_store: dataStore,
1802
1903
  session: session,
1904
+ answer: answer,
1803
1905
  });
1804
1906
  }
1805
1907
  /**
1806
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1908
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1807
1909
  *
1808
- * @param {string} projectLocationCollectionDataStoreSessionName
1809
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1910
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1911
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1810
1912
  * @returns {string} A string representing the project.
1811
1913
  */
1812
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1813
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1914
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1915
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1814
1916
  }
1815
1917
  /**
1816
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1918
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1817
1919
  *
1818
- * @param {string} projectLocationCollectionDataStoreSessionName
1819
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1920
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1921
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1820
1922
  * @returns {string} A string representing the location.
1821
1923
  */
1822
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1823
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1924
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1925
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1824
1926
  }
1825
1927
  /**
1826
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1928
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1827
1929
  *
1828
- * @param {string} projectLocationCollectionDataStoreSessionName
1829
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1930
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1931
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1830
1932
  * @returns {string} A string representing the collection.
1831
1933
  */
1832
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1833
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1934
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1935
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1834
1936
  }
1835
1937
  /**
1836
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1938
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1837
1939
  *
1838
- * @param {string} projectLocationCollectionDataStoreSessionName
1839
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1940
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1941
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1840
1942
  * @returns {string} A string representing the data_store.
1841
1943
  */
1842
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1843
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1944
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1945
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1844
1946
  }
1845
1947
  /**
1846
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1948
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1847
1949
  *
1848
- * @param {string} projectLocationCollectionDataStoreSessionName
1849
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1950
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1951
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1850
1952
  * @returns {string} A string representing the session.
1851
1953
  */
1852
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1853
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1954
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1955
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1854
1956
  }
1855
1957
  /**
1856
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1958
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1959
+ *
1960
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1961
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1962
+ * @returns {string} A string representing the answer.
1963
+ */
1964
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1965
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1966
+ }
1967
+ /**
1968
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1857
1969
  *
1858
1970
  * @param {string} project
1859
1971
  * @param {string} location
1860
1972
  * @param {string} collection
1861
1973
  * @param {string} data_store
1862
1974
  * @param {string} session
1863
- * @param {string} answer
1864
1975
  * @returns {string} Resource name string.
1865
1976
  */
1866
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1867
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1977
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1978
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1868
1979
  project: project,
1869
1980
  location: location,
1870
1981
  collection: collection,
1871
1982
  data_store: dataStore,
1872
1983
  session: session,
1873
- answer: answer,
1874
1984
  });
1875
1985
  }
1876
1986
  /**
1877
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1987
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1878
1988
  *
1879
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1880
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1989
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1990
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1881
1991
  * @returns {string} A string representing the project.
1882
1992
  */
1883
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1884
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1993
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1994
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1885
1995
  }
1886
1996
  /**
1887
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1997
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1888
1998
  *
1889
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1890
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1999
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2000
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1891
2001
  * @returns {string} A string representing the location.
1892
2002
  */
1893
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1894
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2003
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2004
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1895
2005
  }
1896
2006
  /**
1897
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2007
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1898
2008
  *
1899
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1900
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2009
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2010
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1901
2011
  * @returns {string} A string representing the collection.
1902
2012
  */
1903
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1904
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2013
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2014
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1905
2015
  }
1906
2016
  /**
1907
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2017
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1908
2018
  *
1909
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1910
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2019
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2020
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1911
2021
  * @returns {string} A string representing the data_store.
1912
2022
  */
1913
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1914
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2023
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2024
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1915
2025
  }
1916
2026
  /**
1917
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2027
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1918
2028
  *
1919
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1920
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2029
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2030
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1921
2031
  * @returns {string} A string representing the session.
1922
2032
  */
1923
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1924
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1925
- }
1926
- /**
1927
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1928
- *
1929
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1930
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1931
- * @returns {string} A string representing the answer.
1932
- */
1933
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1934
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2033
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2034
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1935
2035
  }
1936
2036
  /**
1937
2037
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2267,154 +2367,154 @@ class ConversationalSearchServiceClient {
2267
2367
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2268
2368
  }
2269
2369
  /**
2270
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2370
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2271
2371
  *
2272
2372
  * @param {string} project
2273
2373
  * @param {string} location
2274
2374
  * @param {string} collection
2275
2375
  * @param {string} engine
2276
2376
  * @param {string} session
2377
+ * @param {string} answer
2277
2378
  * @returns {string} Resource name string.
2278
2379
  */
2279
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2280
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2380
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2381
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2281
2382
  project: project,
2282
2383
  location: location,
2283
2384
  collection: collection,
2284
2385
  engine: engine,
2285
2386
  session: session,
2387
+ answer: answer,
2286
2388
  });
2287
2389
  }
2288
2390
  /**
2289
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2391
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2290
2392
  *
2291
- * @param {string} projectLocationCollectionEngineSessionName
2292
- * A fully-qualified path representing project_location_collection_engine_session resource.
2393
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2394
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2293
2395
  * @returns {string} A string representing the project.
2294
2396
  */
2295
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2296
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2397
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2398
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2297
2399
  }
2298
2400
  /**
2299
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2401
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2300
2402
  *
2301
- * @param {string} projectLocationCollectionEngineSessionName
2302
- * A fully-qualified path representing project_location_collection_engine_session resource.
2403
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2404
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2303
2405
  * @returns {string} A string representing the location.
2304
2406
  */
2305
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2306
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2407
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2408
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2307
2409
  }
2308
2410
  /**
2309
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2411
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2310
2412
  *
2311
- * @param {string} projectLocationCollectionEngineSessionName
2312
- * A fully-qualified path representing project_location_collection_engine_session resource.
2413
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2414
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2313
2415
  * @returns {string} A string representing the collection.
2314
2416
  */
2315
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2316
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2417
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2418
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2317
2419
  }
2318
2420
  /**
2319
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2421
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2320
2422
  *
2321
- * @param {string} projectLocationCollectionEngineSessionName
2322
- * A fully-qualified path representing project_location_collection_engine_session resource.
2423
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2424
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2323
2425
  * @returns {string} A string representing the engine.
2324
2426
  */
2325
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2326
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2427
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2428
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2327
2429
  }
2328
2430
  /**
2329
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2431
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2330
2432
  *
2331
- * @param {string} projectLocationCollectionEngineSessionName
2332
- * A fully-qualified path representing project_location_collection_engine_session resource.
2433
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2434
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2333
2435
  * @returns {string} A string representing the session.
2334
2436
  */
2335
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2336
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2437
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2438
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2337
2439
  }
2338
2440
  /**
2339
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2441
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2442
+ *
2443
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2444
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2445
+ * @returns {string} A string representing the answer.
2446
+ */
2447
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2448
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2449
+ }
2450
+ /**
2451
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2340
2452
  *
2341
2453
  * @param {string} project
2342
2454
  * @param {string} location
2343
2455
  * @param {string} collection
2344
2456
  * @param {string} engine
2345
2457
  * @param {string} session
2346
- * @param {string} answer
2347
2458
  * @returns {string} Resource name string.
2348
2459
  */
2349
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2350
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2460
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2461
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2351
2462
  project: project,
2352
2463
  location: location,
2353
2464
  collection: collection,
2354
2465
  engine: engine,
2355
2466
  session: session,
2356
- answer: answer,
2357
2467
  });
2358
2468
  }
2359
2469
  /**
2360
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2470
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2361
2471
  *
2362
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2363
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2472
+ * @param {string} projectLocationCollectionEngineSessionsName
2473
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2364
2474
  * @returns {string} A string representing the project.
2365
2475
  */
2366
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2367
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2476
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2477
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2368
2478
  }
2369
2479
  /**
2370
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2480
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2371
2481
  *
2372
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2373
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2482
+ * @param {string} projectLocationCollectionEngineSessionsName
2483
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2374
2484
  * @returns {string} A string representing the location.
2375
2485
  */
2376
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2377
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2486
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2487
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2378
2488
  }
2379
2489
  /**
2380
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2490
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2381
2491
  *
2382
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2383
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2492
+ * @param {string} projectLocationCollectionEngineSessionsName
2493
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2384
2494
  * @returns {string} A string representing the collection.
2385
2495
  */
2386
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2387
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2496
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2497
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2388
2498
  }
2389
2499
  /**
2390
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2500
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2391
2501
  *
2392
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2393
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2502
+ * @param {string} projectLocationCollectionEngineSessionsName
2503
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2394
2504
  * @returns {string} A string representing the engine.
2395
2505
  */
2396
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2397
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2506
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2507
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2398
2508
  }
2399
2509
  /**
2400
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2510
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2401
2511
  *
2402
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2403
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2512
+ * @param {string} projectLocationCollectionEngineSessionsName
2513
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2404
2514
  * @returns {string} A string representing the session.
2405
2515
  */
2406
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2407
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2408
- }
2409
- /**
2410
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2411
- *
2412
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2413
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2414
- * @returns {string} A string representing the answer.
2415
- */
2416
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2417
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2516
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2517
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2418
2518
  }
2419
2519
  /**
2420
2520
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2941,63 +3041,6 @@ class ConversationalSearchServiceClient {
2941
3041
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2942
3042
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2943
3043
  }
2944
- /**
2945
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2946
- *
2947
- * @param {string} project
2948
- * @param {string} location
2949
- * @param {string} data_store
2950
- * @param {string} session
2951
- * @returns {string} Resource name string.
2952
- */
2953
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2954
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2955
- project: project,
2956
- location: location,
2957
- data_store: dataStore,
2958
- session: session,
2959
- });
2960
- }
2961
- /**
2962
- * Parse the project from ProjectLocationDataStoreSession resource.
2963
- *
2964
- * @param {string} projectLocationDataStoreSessionName
2965
- * A fully-qualified path representing project_location_data_store_session resource.
2966
- * @returns {string} A string representing the project.
2967
- */
2968
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2969
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2970
- }
2971
- /**
2972
- * Parse the location from ProjectLocationDataStoreSession resource.
2973
- *
2974
- * @param {string} projectLocationDataStoreSessionName
2975
- * A fully-qualified path representing project_location_data_store_session resource.
2976
- * @returns {string} A string representing the location.
2977
- */
2978
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2979
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2980
- }
2981
- /**
2982
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2983
- *
2984
- * @param {string} projectLocationDataStoreSessionName
2985
- * A fully-qualified path representing project_location_data_store_session resource.
2986
- * @returns {string} A string representing the data_store.
2987
- */
2988
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2989
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2990
- }
2991
- /**
2992
- * Parse the session from ProjectLocationDataStoreSession resource.
2993
- *
2994
- * @param {string} projectLocationDataStoreSessionName
2995
- * A fully-qualified path representing project_location_data_store_session resource.
2996
- * @returns {string} A string representing the session.
2997
- */
2998
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2999
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3000
- }
3001
3044
  /**
3002
3045
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3003
3046
  *
@@ -3067,6 +3110,63 @@ class ConversationalSearchServiceClient {
3067
3110
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3068
3111
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3069
3112
  }
3113
+ /**
3114
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3115
+ *
3116
+ * @param {string} project
3117
+ * @param {string} location
3118
+ * @param {string} data_store
3119
+ * @param {string} session
3120
+ * @returns {string} Resource name string.
3121
+ */
3122
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3123
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3124
+ project: project,
3125
+ location: location,
3126
+ data_store: dataStore,
3127
+ session: session,
3128
+ });
3129
+ }
3130
+ /**
3131
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3132
+ *
3133
+ * @param {string} projectLocationDataStoreSessionsName
3134
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3135
+ * @returns {string} A string representing the project.
3136
+ */
3137
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3138
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3139
+ }
3140
+ /**
3141
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3142
+ *
3143
+ * @param {string} projectLocationDataStoreSessionsName
3144
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3145
+ * @returns {string} A string representing the location.
3146
+ */
3147
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3148
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3149
+ }
3150
+ /**
3151
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3152
+ *
3153
+ * @param {string} projectLocationDataStoreSessionsName
3154
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3155
+ * @returns {string} A string representing the data_store.
3156
+ */
3157
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3158
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3159
+ }
3160
+ /**
3161
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3162
+ *
3163
+ * @param {string} projectLocationDataStoreSessionsName
3164
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3165
+ * @returns {string} A string representing the session.
3166
+ */
3167
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3168
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3169
+ }
3070
3170
  /**
3071
3171
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3072
3172
  *