@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
@@ -163,8 +163,13 @@ class ConversationalSearchServiceClient {
163
163
  // identifiers to uniquely identify resources within the API.
164
164
  // Create useful helper objects for these.
165
165
  this.pathTemplates = {
166
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
167
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
166
168
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
169
+ identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
167
170
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
171
+ projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
172
+ projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
168
173
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
169
174
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
170
175
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -174,16 +179,16 @@ class ConversationalSearchServiceClient {
174
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
175
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
176
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
177
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
178
182
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
183
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
179
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
180
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
181
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
182
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
183
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
184
189
  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
190
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
191
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
188
193
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
189
194
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -193,8 +198,8 @@ class ConversationalSearchServiceClient {
193
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
194
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
195
200
  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
201
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
202
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
199
204
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
200
205
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -358,6 +363,12 @@ class ConversationalSearchServiceClient {
358
363
  ?.then(([response, options, rawResponse]) => {
359
364
  this._log.info('converseConversation response %j', response);
360
365
  return [response, options, rawResponse];
366
+ }).catch((error) => {
367
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
368
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
369
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
370
+ }
371
+ throw error;
361
372
  });
362
373
  }
363
374
  createConversation(request, optionsOrCallback, callback) {
@@ -388,6 +399,12 @@ class ConversationalSearchServiceClient {
388
399
  ?.then(([response, options, rawResponse]) => {
389
400
  this._log.info('createConversation response %j', response);
390
401
  return [response, options, rawResponse];
402
+ }).catch((error) => {
403
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
404
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
405
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
406
+ }
407
+ throw error;
391
408
  });
392
409
  }
393
410
  deleteConversation(request, optionsOrCallback, callback) {
@@ -418,6 +435,12 @@ class ConversationalSearchServiceClient {
418
435
  ?.then(([response, options, rawResponse]) => {
419
436
  this._log.info('deleteConversation response %j', response);
420
437
  return [response, options, rawResponse];
438
+ }).catch((error) => {
439
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
440
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
441
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
442
+ }
443
+ throw error;
421
444
  });
422
445
  }
423
446
  updateConversation(request, optionsOrCallback, callback) {
@@ -448,6 +471,12 @@ class ConversationalSearchServiceClient {
448
471
  ?.then(([response, options, rawResponse]) => {
449
472
  this._log.info('updateConversation response %j', response);
450
473
  return [response, options, rawResponse];
474
+ }).catch((error) => {
475
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
476
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
477
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
478
+ }
479
+ throw error;
451
480
  });
452
481
  }
453
482
  getConversation(request, optionsOrCallback, callback) {
@@ -478,6 +507,12 @@ class ConversationalSearchServiceClient {
478
507
  ?.then(([response, options, rawResponse]) => {
479
508
  this._log.info('getConversation response %j', response);
480
509
  return [response, options, rawResponse];
510
+ }).catch((error) => {
511
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
512
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
513
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
514
+ }
515
+ throw error;
481
516
  });
482
517
  }
483
518
  answerQuery(request, optionsOrCallback, callback) {
@@ -508,6 +543,12 @@ class ConversationalSearchServiceClient {
508
543
  ?.then(([response, options, rawResponse]) => {
509
544
  this._log.info('answerQuery response %j', response);
510
545
  return [response, options, rawResponse];
546
+ }).catch((error) => {
547
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
548
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
549
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
550
+ }
551
+ throw error;
511
552
  });
512
553
  }
513
554
  getAnswer(request, optionsOrCallback, callback) {
@@ -538,6 +579,12 @@ class ConversationalSearchServiceClient {
538
579
  ?.then(([response, options, rawResponse]) => {
539
580
  this._log.info('getAnswer response %j', response);
540
581
  return [response, options, rawResponse];
582
+ }).catch((error) => {
583
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
584
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
585
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
586
+ }
587
+ throw error;
541
588
  });
542
589
  }
543
590
  createSession(request, optionsOrCallback, callback) {
@@ -568,6 +615,12 @@ class ConversationalSearchServiceClient {
568
615
  ?.then(([response, options, rawResponse]) => {
569
616
  this._log.info('createSession response %j', response);
570
617
  return [response, options, rawResponse];
618
+ }).catch((error) => {
619
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
620
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
621
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
622
+ }
623
+ throw error;
571
624
  });
572
625
  }
573
626
  deleteSession(request, optionsOrCallback, callback) {
@@ -598,6 +651,12 @@ class ConversationalSearchServiceClient {
598
651
  ?.then(([response, options, rawResponse]) => {
599
652
  this._log.info('deleteSession response %j', response);
600
653
  return [response, options, rawResponse];
654
+ }).catch((error) => {
655
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
656
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
657
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
658
+ }
659
+ throw error;
601
660
  });
602
661
  }
603
662
  updateSession(request, optionsOrCallback, callback) {
@@ -628,6 +687,12 @@ class ConversationalSearchServiceClient {
628
687
  ?.then(([response, options, rawResponse]) => {
629
688
  this._log.info('updateSession response %j', response);
630
689
  return [response, options, rawResponse];
690
+ }).catch((error) => {
691
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
692
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
693
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
694
+ }
695
+ throw error;
631
696
  });
632
697
  }
633
698
  getSession(request, optionsOrCallback, callback) {
@@ -658,6 +723,12 @@ class ConversationalSearchServiceClient {
658
723
  ?.then(([response, options, rawResponse]) => {
659
724
  this._log.info('getSession response %j', response);
660
725
  return [response, options, rawResponse];
726
+ }).catch((error) => {
727
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
728
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
729
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
730
+ }
731
+ throw error;
661
732
  });
662
733
  }
663
734
  /**
@@ -952,11 +1023,23 @@ class ConversationalSearchServiceClient {
952
1023
  * A page token, received from a previous `ListSessions` call.
953
1024
  * Provide this to retrieve the subsequent page.
954
1025
  * @param {string} request.filter
955
- * A filter to apply on the list results. The supported features are:
956
- * user_pseudo_id, state.
957
- *
958
- * Example:
1026
+ * A comma-separated list of fields to filter by, in EBNF grammar.
1027
+ * The supported fields are:
1028
+ * * `user_pseudo_id`
1029
+ * * `state`
1030
+ * * `display_name`
1031
+ * * `starred`
1032
+ * * `is_pinned`
1033
+ * * `labels`
1034
+ * * `create_time`
1035
+ * * `update_time`
1036
+ *
1037
+ * Examples:
959
1038
  * "user_pseudo_id = some_id"
1039
+ * "display_name = \"some_name\""
1040
+ * "starred = true"
1041
+ * "is_pinned=true AND (NOT labels:hidden)"
1042
+ * "create_time > \"1970-01-01T12:00:00Z\""
960
1043
  * @param {string} request.orderBy
961
1044
  * A comma-separated list of fields to order by, sorted in ascending order.
962
1045
  * Use "desc" after a field name for descending.
@@ -1014,11 +1097,23 @@ class ConversationalSearchServiceClient {
1014
1097
  * A page token, received from a previous `ListSessions` call.
1015
1098
  * Provide this to retrieve the subsequent page.
1016
1099
  * @param {string} request.filter
1017
- * A filter to apply on the list results. The supported features are:
1018
- * user_pseudo_id, state.
1019
- *
1020
- * Example:
1100
+ * A comma-separated list of fields to filter by, in EBNF grammar.
1101
+ * The supported fields are:
1102
+ * * `user_pseudo_id`
1103
+ * * `state`
1104
+ * * `display_name`
1105
+ * * `starred`
1106
+ * * `is_pinned`
1107
+ * * `labels`
1108
+ * * `create_time`
1109
+ * * `update_time`
1110
+ *
1111
+ * Examples:
1021
1112
  * "user_pseudo_id = some_id"
1113
+ * "display_name = \"some_name\""
1114
+ * "starred = true"
1115
+ * "is_pinned=true AND (NOT labels:hidden)"
1116
+ * "create_time > \"1970-01-01T12:00:00Z\""
1022
1117
  * @param {string} request.orderBy
1023
1118
  * A comma-separated list of fields to order by, sorted in ascending order.
1024
1119
  * Use "desc" after a field name for descending.
@@ -1119,6 +1214,156 @@ class ConversationalSearchServiceClient {
1119
1214
  // --------------------
1120
1215
  // -- Path templates --
1121
1216
  // --------------------
1217
+ /**
1218
+ * Return a fully-qualified assistAnswer resource name string.
1219
+ *
1220
+ * @param {string} project
1221
+ * @param {string} location
1222
+ * @param {string} collection
1223
+ * @param {string} engine
1224
+ * @param {string} session
1225
+ * @param {string} assist_answer
1226
+ * @returns {string} Resource name string.
1227
+ */
1228
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
1229
+ return this.pathTemplates.assistAnswerPathTemplate.render({
1230
+ project: project,
1231
+ location: location,
1232
+ collection: collection,
1233
+ engine: engine,
1234
+ session: session,
1235
+ assist_answer: assistAnswer,
1236
+ });
1237
+ }
1238
+ /**
1239
+ * Parse the project from AssistAnswer resource.
1240
+ *
1241
+ * @param {string} assistAnswerName
1242
+ * A fully-qualified path representing AssistAnswer resource.
1243
+ * @returns {string} A string representing the project.
1244
+ */
1245
+ matchProjectFromAssistAnswerName(assistAnswerName) {
1246
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
1247
+ }
1248
+ /**
1249
+ * Parse the location from AssistAnswer resource.
1250
+ *
1251
+ * @param {string} assistAnswerName
1252
+ * A fully-qualified path representing AssistAnswer resource.
1253
+ * @returns {string} A string representing the location.
1254
+ */
1255
+ matchLocationFromAssistAnswerName(assistAnswerName) {
1256
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
1257
+ }
1258
+ /**
1259
+ * Parse the collection from AssistAnswer resource.
1260
+ *
1261
+ * @param {string} assistAnswerName
1262
+ * A fully-qualified path representing AssistAnswer resource.
1263
+ * @returns {string} A string representing the collection.
1264
+ */
1265
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
1266
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
1267
+ }
1268
+ /**
1269
+ * Parse the engine from AssistAnswer resource.
1270
+ *
1271
+ * @param {string} assistAnswerName
1272
+ * A fully-qualified path representing AssistAnswer resource.
1273
+ * @returns {string} A string representing the engine.
1274
+ */
1275
+ matchEngineFromAssistAnswerName(assistAnswerName) {
1276
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
1277
+ }
1278
+ /**
1279
+ * Parse the session from AssistAnswer resource.
1280
+ *
1281
+ * @param {string} assistAnswerName
1282
+ * A fully-qualified path representing AssistAnswer resource.
1283
+ * @returns {string} A string representing the session.
1284
+ */
1285
+ matchSessionFromAssistAnswerName(assistAnswerName) {
1286
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
1287
+ }
1288
+ /**
1289
+ * Parse the assist_answer from AssistAnswer resource.
1290
+ *
1291
+ * @param {string} assistAnswerName
1292
+ * A fully-qualified path representing AssistAnswer resource.
1293
+ * @returns {string} A string representing the assist_answer.
1294
+ */
1295
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
1296
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
1297
+ }
1298
+ /**
1299
+ * Return a fully-qualified assistant resource name string.
1300
+ *
1301
+ * @param {string} project
1302
+ * @param {string} location
1303
+ * @param {string} collection
1304
+ * @param {string} engine
1305
+ * @param {string} assistant
1306
+ * @returns {string} Resource name string.
1307
+ */
1308
+ assistantPath(project, location, collection, engine, assistant) {
1309
+ return this.pathTemplates.assistantPathTemplate.render({
1310
+ project: project,
1311
+ location: location,
1312
+ collection: collection,
1313
+ engine: engine,
1314
+ assistant: assistant,
1315
+ });
1316
+ }
1317
+ /**
1318
+ * Parse the project from Assistant resource.
1319
+ *
1320
+ * @param {string} assistantName
1321
+ * A fully-qualified path representing Assistant resource.
1322
+ * @returns {string} A string representing the project.
1323
+ */
1324
+ matchProjectFromAssistantName(assistantName) {
1325
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
1326
+ }
1327
+ /**
1328
+ * Parse the location from Assistant resource.
1329
+ *
1330
+ * @param {string} assistantName
1331
+ * A fully-qualified path representing Assistant resource.
1332
+ * @returns {string} A string representing the location.
1333
+ */
1334
+ matchLocationFromAssistantName(assistantName) {
1335
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
1336
+ }
1337
+ /**
1338
+ * Parse the collection from Assistant resource.
1339
+ *
1340
+ * @param {string} assistantName
1341
+ * A fully-qualified path representing Assistant resource.
1342
+ * @returns {string} A string representing the collection.
1343
+ */
1344
+ matchCollectionFromAssistantName(assistantName) {
1345
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
1346
+ }
1347
+ /**
1348
+ * Parse the engine from Assistant resource.
1349
+ *
1350
+ * @param {string} assistantName
1351
+ * A fully-qualified path representing Assistant resource.
1352
+ * @returns {string} A string representing the engine.
1353
+ */
1354
+ matchEngineFromAssistantName(assistantName) {
1355
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
1356
+ }
1357
+ /**
1358
+ * Parse the assistant from Assistant resource.
1359
+ *
1360
+ * @param {string} assistantName
1361
+ * A fully-qualified path representing Assistant resource.
1362
+ * @returns {string} A string representing the assistant.
1363
+ */
1364
+ matchAssistantFromAssistantName(assistantName) {
1365
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
1366
+ }
1122
1367
  /**
1123
1368
  * Return a fully-qualified engine resource name string.
1124
1369
  *
@@ -1176,6 +1421,51 @@ class ConversationalSearchServiceClient {
1176
1421
  matchEngineFromEngineName(engineName) {
1177
1422
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
1178
1423
  }
1424
+ /**
1425
+ * Return a fully-qualified identityMappingStore resource name string.
1426
+ *
1427
+ * @param {string} project
1428
+ * @param {string} location
1429
+ * @param {string} identity_mapping_store
1430
+ * @returns {string} Resource name string.
1431
+ */
1432
+ identityMappingStorePath(project, location, identityMappingStore) {
1433
+ return this.pathTemplates.identityMappingStorePathTemplate.render({
1434
+ project: project,
1435
+ location: location,
1436
+ identity_mapping_store: identityMappingStore,
1437
+ });
1438
+ }
1439
+ /**
1440
+ * Parse the project from IdentityMappingStore resource.
1441
+ *
1442
+ * @param {string} identityMappingStoreName
1443
+ * A fully-qualified path representing IdentityMappingStore resource.
1444
+ * @returns {string} A string representing the project.
1445
+ */
1446
+ matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
1447
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
1448
+ }
1449
+ /**
1450
+ * Parse the location from IdentityMappingStore resource.
1451
+ *
1452
+ * @param {string} identityMappingStoreName
1453
+ * A fully-qualified path representing IdentityMappingStore resource.
1454
+ * @returns {string} A string representing the location.
1455
+ */
1456
+ matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
1457
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
1458
+ }
1459
+ /**
1460
+ * Parse the identity_mapping_store from IdentityMappingStore resource.
1461
+ *
1462
+ * @param {string} identityMappingStoreName
1463
+ * A fully-qualified path representing IdentityMappingStore resource.
1464
+ * @returns {string} A string representing the identity_mapping_store.
1465
+ */
1466
+ matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
1467
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
1468
+ }
1179
1469
  /**
1180
1470
  * Return a fully-qualified project resource name string.
1181
1471
  *
@@ -1197,6 +1487,84 @@ class ConversationalSearchServiceClient {
1197
1487
  matchProjectFromProjectName(projectName) {
1198
1488
  return this.pathTemplates.projectPathTemplate.match(projectName).project;
1199
1489
  }
1490
+ /**
1491
+ * Return a fully-qualified projectLocationCmekConfig resource name string.
1492
+ *
1493
+ * @param {string} project
1494
+ * @param {string} location
1495
+ * @returns {string} Resource name string.
1496
+ */
1497
+ projectLocationCmekConfigPath(project, location) {
1498
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
1499
+ project: project,
1500
+ location: location,
1501
+ });
1502
+ }
1503
+ /**
1504
+ * Parse the project from ProjectLocationCmekConfig resource.
1505
+ *
1506
+ * @param {string} projectLocationCmekConfigName
1507
+ * A fully-qualified path representing project_location_cmekConfig resource.
1508
+ * @returns {string} A string representing the project.
1509
+ */
1510
+ matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
1511
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
1512
+ }
1513
+ /**
1514
+ * Parse the location from ProjectLocationCmekConfig resource.
1515
+ *
1516
+ * @param {string} projectLocationCmekConfigName
1517
+ * A fully-qualified path representing project_location_cmekConfig resource.
1518
+ * @returns {string} A string representing the location.
1519
+ */
1520
+ matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
1521
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
1522
+ }
1523
+ /**
1524
+ * Return a fully-qualified projectLocationCmekConfigs resource name string.
1525
+ *
1526
+ * @param {string} project
1527
+ * @param {string} location
1528
+ * @param {string} cmek_config
1529
+ * @returns {string} Resource name string.
1530
+ */
1531
+ projectLocationCmekConfigsPath(project, location, cmekConfig) {
1532
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
1533
+ project: project,
1534
+ location: location,
1535
+ cmek_config: cmekConfig,
1536
+ });
1537
+ }
1538
+ /**
1539
+ * Parse the project from ProjectLocationCmekConfigs resource.
1540
+ *
1541
+ * @param {string} projectLocationCmekConfigsName
1542
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1543
+ * @returns {string} A string representing the project.
1544
+ */
1545
+ matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1546
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
1547
+ }
1548
+ /**
1549
+ * Parse the location from ProjectLocationCmekConfigs resource.
1550
+ *
1551
+ * @param {string} projectLocationCmekConfigsName
1552
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1553
+ * @returns {string} A string representing the location.
1554
+ */
1555
+ matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1556
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
1557
+ }
1558
+ /**
1559
+ * Parse the cmek_config from ProjectLocationCmekConfigs resource.
1560
+ *
1561
+ * @param {string} projectLocationCmekConfigsName
1562
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1563
+ * @returns {string} A string representing the cmek_config.
1564
+ */
1565
+ matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1566
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
1567
+ }
1200
1568
  /**
1201
1569
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
1202
1570
  *
@@ -1831,154 +2199,154 @@ class ConversationalSearchServiceClient {
1831
2199
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1832
2200
  }
1833
2201
  /**
1834
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
2202
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1835
2203
  *
1836
2204
  * @param {string} project
1837
2205
  * @param {string} location
1838
2206
  * @param {string} collection
1839
2207
  * @param {string} data_store
1840
2208
  * @param {string} session
2209
+ * @param {string} answer
1841
2210
  * @returns {string} Resource name string.
1842
2211
  */
1843
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1844
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
2212
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2213
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1845
2214
  project: project,
1846
2215
  location: location,
1847
2216
  collection: collection,
1848
2217
  data_store: dataStore,
1849
2218
  session: session,
2219
+ answer: answer,
1850
2220
  });
1851
2221
  }
1852
2222
  /**
1853
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
2223
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1854
2224
  *
1855
- * @param {string} projectLocationCollectionDataStoreSessionName
1856
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2225
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2226
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1857
2227
  * @returns {string} A string representing the project.
1858
2228
  */
1859
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1860
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
2229
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2230
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1861
2231
  }
1862
2232
  /**
1863
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
2233
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1864
2234
  *
1865
- * @param {string} projectLocationCollectionDataStoreSessionName
1866
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2235
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2236
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1867
2237
  * @returns {string} A string representing the location.
1868
2238
  */
1869
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1870
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
2239
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2240
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1871
2241
  }
1872
2242
  /**
1873
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
2243
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1874
2244
  *
1875
- * @param {string} projectLocationCollectionDataStoreSessionName
1876
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2245
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2246
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1877
2247
  * @returns {string} A string representing the collection.
1878
2248
  */
1879
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1880
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
2249
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2250
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1881
2251
  }
1882
2252
  /**
1883
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
2253
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1884
2254
  *
1885
- * @param {string} projectLocationCollectionDataStoreSessionName
1886
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2255
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2256
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1887
2257
  * @returns {string} A string representing the data_store.
1888
2258
  */
1889
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1890
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
2259
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2260
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1891
2261
  }
1892
2262
  /**
1893
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
2263
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1894
2264
  *
1895
- * @param {string} projectLocationCollectionDataStoreSessionName
1896
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2265
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2266
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1897
2267
  * @returns {string} A string representing the session.
1898
2268
  */
1899
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1900
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
2269
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2270
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2271
+ }
2272
+ /**
2273
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2274
+ *
2275
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2276
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2277
+ * @returns {string} A string representing the answer.
2278
+ */
2279
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2280
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1901
2281
  }
1902
2282
  /**
1903
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2283
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1904
2284
  *
1905
2285
  * @param {string} project
1906
2286
  * @param {string} location
1907
2287
  * @param {string} collection
1908
2288
  * @param {string} data_store
1909
2289
  * @param {string} session
1910
- * @param {string} answer
1911
2290
  * @returns {string} Resource name string.
1912
2291
  */
1913
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1914
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2292
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
2293
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1915
2294
  project: project,
1916
2295
  location: location,
1917
2296
  collection: collection,
1918
2297
  data_store: dataStore,
1919
2298
  session: session,
1920
- answer: answer,
1921
2299
  });
1922
2300
  }
1923
2301
  /**
1924
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2302
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1925
2303
  *
1926
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1927
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2304
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2305
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1928
2306
  * @returns {string} A string representing the project.
1929
2307
  */
1930
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1931
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2308
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2309
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1932
2310
  }
1933
2311
  /**
1934
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2312
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1935
2313
  *
1936
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1937
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2314
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2315
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1938
2316
  * @returns {string} A string representing the location.
1939
2317
  */
1940
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1941
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2318
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2319
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1942
2320
  }
1943
2321
  /**
1944
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2322
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1945
2323
  *
1946
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1947
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2324
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2325
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1948
2326
  * @returns {string} A string representing the collection.
1949
2327
  */
1950
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1951
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2328
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2329
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1952
2330
  }
1953
2331
  /**
1954
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2332
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1955
2333
  *
1956
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1957
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2334
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2335
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1958
2336
  * @returns {string} A string representing the data_store.
1959
2337
  */
1960
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1961
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2338
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2339
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1962
2340
  }
1963
2341
  /**
1964
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2342
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1965
2343
  *
1966
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1967
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2344
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2345
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1968
2346
  * @returns {string} A string representing the session.
1969
2347
  */
1970
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1971
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1972
- }
1973
- /**
1974
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1975
- *
1976
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1977
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1978
- * @returns {string} A string representing the answer.
1979
- */
1980
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1981
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2348
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2349
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1982
2350
  }
1983
2351
  /**
1984
2352
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2383,154 +2751,154 @@ class ConversationalSearchServiceClient {
2383
2751
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2384
2752
  }
2385
2753
  /**
2386
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2754
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2387
2755
  *
2388
2756
  * @param {string} project
2389
2757
  * @param {string} location
2390
2758
  * @param {string} collection
2391
2759
  * @param {string} engine
2392
2760
  * @param {string} session
2761
+ * @param {string} answer
2393
2762
  * @returns {string} Resource name string.
2394
2763
  */
2395
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2396
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2764
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2765
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2397
2766
  project: project,
2398
2767
  location: location,
2399
2768
  collection: collection,
2400
2769
  engine: engine,
2401
2770
  session: session,
2771
+ answer: answer,
2402
2772
  });
2403
2773
  }
2404
2774
  /**
2405
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2775
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2406
2776
  *
2407
- * @param {string} projectLocationCollectionEngineSessionName
2408
- * A fully-qualified path representing project_location_collection_engine_session resource.
2777
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2778
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2409
2779
  * @returns {string} A string representing the project.
2410
2780
  */
2411
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2412
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2781
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2782
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2413
2783
  }
2414
2784
  /**
2415
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2785
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2416
2786
  *
2417
- * @param {string} projectLocationCollectionEngineSessionName
2418
- * A fully-qualified path representing project_location_collection_engine_session resource.
2787
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2788
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2419
2789
  * @returns {string} A string representing the location.
2420
2790
  */
2421
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2422
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2791
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2792
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2423
2793
  }
2424
2794
  /**
2425
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2795
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2426
2796
  *
2427
- * @param {string} projectLocationCollectionEngineSessionName
2428
- * A fully-qualified path representing project_location_collection_engine_session resource.
2797
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2798
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2429
2799
  * @returns {string} A string representing the collection.
2430
2800
  */
2431
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2432
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2801
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2802
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2433
2803
  }
2434
2804
  /**
2435
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2805
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2436
2806
  *
2437
- * @param {string} projectLocationCollectionEngineSessionName
2438
- * A fully-qualified path representing project_location_collection_engine_session resource.
2807
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2808
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2439
2809
  * @returns {string} A string representing the engine.
2440
2810
  */
2441
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2442
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2811
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2812
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2443
2813
  }
2444
2814
  /**
2445
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2815
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2446
2816
  *
2447
- * @param {string} projectLocationCollectionEngineSessionName
2448
- * A fully-qualified path representing project_location_collection_engine_session resource.
2817
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2818
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2449
2819
  * @returns {string} A string representing the session.
2450
2820
  */
2451
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2452
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2821
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2822
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2453
2823
  }
2454
2824
  /**
2455
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2825
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2826
+ *
2827
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2828
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2829
+ * @returns {string} A string representing the answer.
2830
+ */
2831
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2832
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2833
+ }
2834
+ /**
2835
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2456
2836
  *
2457
2837
  * @param {string} project
2458
2838
  * @param {string} location
2459
2839
  * @param {string} collection
2460
2840
  * @param {string} engine
2461
2841
  * @param {string} session
2462
- * @param {string} answer
2463
2842
  * @returns {string} Resource name string.
2464
2843
  */
2465
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2466
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2844
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2845
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2467
2846
  project: project,
2468
2847
  location: location,
2469
2848
  collection: collection,
2470
2849
  engine: engine,
2471
2850
  session: session,
2472
- answer: answer,
2473
2851
  });
2474
2852
  }
2475
2853
  /**
2476
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2854
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2477
2855
  *
2478
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2479
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2856
+ * @param {string} projectLocationCollectionEngineSessionsName
2857
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2480
2858
  * @returns {string} A string representing the project.
2481
2859
  */
2482
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2483
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2860
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2861
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2484
2862
  }
2485
2863
  /**
2486
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2864
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2487
2865
  *
2488
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2489
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2866
+ * @param {string} projectLocationCollectionEngineSessionsName
2867
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2490
2868
  * @returns {string} A string representing the location.
2491
2869
  */
2492
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2493
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2870
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2871
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2494
2872
  }
2495
2873
  /**
2496
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2874
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2497
2875
  *
2498
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2499
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2876
+ * @param {string} projectLocationCollectionEngineSessionsName
2877
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2500
2878
  * @returns {string} A string representing the collection.
2501
2879
  */
2502
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2503
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2880
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2881
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2504
2882
  }
2505
2883
  /**
2506
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2884
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2507
2885
  *
2508
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2509
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2886
+ * @param {string} projectLocationCollectionEngineSessionsName
2887
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2510
2888
  * @returns {string} A string representing the engine.
2511
2889
  */
2512
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2513
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2890
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2891
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2514
2892
  }
2515
2893
  /**
2516
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2894
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2517
2895
  *
2518
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2519
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2896
+ * @param {string} projectLocationCollectionEngineSessionsName
2897
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2520
2898
  * @returns {string} A string representing the session.
2521
2899
  */
2522
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2523
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2524
- }
2525
- /**
2526
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2527
- *
2528
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2529
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2530
- * @returns {string} A string representing the answer.
2531
- */
2532
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2533
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2900
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2901
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2534
2902
  }
2535
2903
  /**
2536
2904
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3057,63 +3425,6 @@ class ConversationalSearchServiceClient {
3057
3425
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3058
3426
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3059
3427
  }
3060
- /**
3061
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3062
- *
3063
- * @param {string} project
3064
- * @param {string} location
3065
- * @param {string} data_store
3066
- * @param {string} session
3067
- * @returns {string} Resource name string.
3068
- */
3069
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3070
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3071
- project: project,
3072
- location: location,
3073
- data_store: dataStore,
3074
- session: session,
3075
- });
3076
- }
3077
- /**
3078
- * Parse the project from ProjectLocationDataStoreSession resource.
3079
- *
3080
- * @param {string} projectLocationDataStoreSessionName
3081
- * A fully-qualified path representing project_location_data_store_session resource.
3082
- * @returns {string} A string representing the project.
3083
- */
3084
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3085
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3086
- }
3087
- /**
3088
- * Parse the location from ProjectLocationDataStoreSession resource.
3089
- *
3090
- * @param {string} projectLocationDataStoreSessionName
3091
- * A fully-qualified path representing project_location_data_store_session resource.
3092
- * @returns {string} A string representing the location.
3093
- */
3094
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3095
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3096
- }
3097
- /**
3098
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3099
- *
3100
- * @param {string} projectLocationDataStoreSessionName
3101
- * A fully-qualified path representing project_location_data_store_session resource.
3102
- * @returns {string} A string representing the data_store.
3103
- */
3104
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3105
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3106
- }
3107
- /**
3108
- * Parse the session from ProjectLocationDataStoreSession resource.
3109
- *
3110
- * @param {string} projectLocationDataStoreSessionName
3111
- * A fully-qualified path representing project_location_data_store_session resource.
3112
- * @returns {string} A string representing the session.
3113
- */
3114
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3115
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3116
- }
3117
3428
  /**
3118
3429
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3119
3430
  *
@@ -3183,6 +3494,63 @@ class ConversationalSearchServiceClient {
3183
3494
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3184
3495
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3185
3496
  }
3497
+ /**
3498
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3499
+ *
3500
+ * @param {string} project
3501
+ * @param {string} location
3502
+ * @param {string} data_store
3503
+ * @param {string} session
3504
+ * @returns {string} Resource name string.
3505
+ */
3506
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3507
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3508
+ project: project,
3509
+ location: location,
3510
+ data_store: dataStore,
3511
+ session: session,
3512
+ });
3513
+ }
3514
+ /**
3515
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3516
+ *
3517
+ * @param {string} projectLocationDataStoreSessionsName
3518
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3519
+ * @returns {string} A string representing the project.
3520
+ */
3521
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3522
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3523
+ }
3524
+ /**
3525
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3526
+ *
3527
+ * @param {string} projectLocationDataStoreSessionsName
3528
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3529
+ * @returns {string} A string representing the location.
3530
+ */
3531
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3532
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3533
+ }
3534
+ /**
3535
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3536
+ *
3537
+ * @param {string} projectLocationDataStoreSessionsName
3538
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3539
+ * @returns {string} A string representing the data_store.
3540
+ */
3541
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3542
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3543
+ }
3544
+ /**
3545
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3546
+ *
3547
+ * @param {string} projectLocationDataStoreSessionsName
3548
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3549
+ * @returns {string} A string representing the session.
3550
+ */
3551
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3552
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3553
+ }
3186
3554
  /**
3187
3555
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3188
3556
  *