@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,16 +175,16 @@ class RankServiceClient {
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
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
182
182
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
183
183
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
184
184
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
185
185
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
186
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
186
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
187
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
188
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
189
189
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
190
190
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -194,8 +194,8 @@ class RankServiceClient {
194
194
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
195
195
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
196
196
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
197
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
197
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
198
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
199
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
200
200
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
201
201
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -341,6 +341,12 @@ class RankServiceClient {
341
341
  ?.then(([response, options, rawResponse]) => {
342
342
  this._log.info('rank response %j', response);
343
343
  return [response, options, rawResponse];
344
+ }).catch((error) => {
345
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
346
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
347
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
348
+ }
349
+ throw error;
344
350
  });
345
351
  }
346
352
  /**
@@ -1203,154 +1209,154 @@ class RankServiceClient {
1203
1209
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1204
1210
  }
1205
1211
  /**
1206
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1212
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1207
1213
  *
1208
1214
  * @param {string} project
1209
1215
  * @param {string} location
1210
1216
  * @param {string} collection
1211
1217
  * @param {string} data_store
1212
1218
  * @param {string} session
1219
+ * @param {string} answer
1213
1220
  * @returns {string} Resource name string.
1214
1221
  */
1215
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1216
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1222
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1223
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1217
1224
  project: project,
1218
1225
  location: location,
1219
1226
  collection: collection,
1220
1227
  data_store: dataStore,
1221
1228
  session: session,
1229
+ answer: answer,
1222
1230
  });
1223
1231
  }
1224
1232
  /**
1225
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1233
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1226
1234
  *
1227
- * @param {string} projectLocationCollectionDataStoreSessionName
1228
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1235
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1236
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1229
1237
  * @returns {string} A string representing the project.
1230
1238
  */
1231
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1232
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1239
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1240
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1233
1241
  }
1234
1242
  /**
1235
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1243
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1236
1244
  *
1237
- * @param {string} projectLocationCollectionDataStoreSessionName
1238
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1245
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1246
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1239
1247
  * @returns {string} A string representing the location.
1240
1248
  */
1241
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1242
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1249
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1250
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1243
1251
  }
1244
1252
  /**
1245
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1253
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1246
1254
  *
1247
- * @param {string} projectLocationCollectionDataStoreSessionName
1248
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1255
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1256
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1249
1257
  * @returns {string} A string representing the collection.
1250
1258
  */
1251
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1252
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1259
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1260
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1253
1261
  }
1254
1262
  /**
1255
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1263
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1256
1264
  *
1257
- * @param {string} projectLocationCollectionDataStoreSessionName
1258
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1265
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1266
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1259
1267
  * @returns {string} A string representing the data_store.
1260
1268
  */
1261
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1262
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1269
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1270
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1263
1271
  }
1264
1272
  /**
1265
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1273
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1266
1274
  *
1267
- * @param {string} projectLocationCollectionDataStoreSessionName
1268
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1275
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1276
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1269
1277
  * @returns {string} A string representing the session.
1270
1278
  */
1271
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1272
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1279
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1280
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1273
1281
  }
1274
1282
  /**
1275
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1283
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1284
+ *
1285
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1286
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1287
+ * @returns {string} A string representing the answer.
1288
+ */
1289
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1290
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1291
+ }
1292
+ /**
1293
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1276
1294
  *
1277
1295
  * @param {string} project
1278
1296
  * @param {string} location
1279
1297
  * @param {string} collection
1280
1298
  * @param {string} data_store
1281
1299
  * @param {string} session
1282
- * @param {string} answer
1283
1300
  * @returns {string} Resource name string.
1284
1301
  */
1285
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1286
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1302
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1303
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1287
1304
  project: project,
1288
1305
  location: location,
1289
1306
  collection: collection,
1290
1307
  data_store: dataStore,
1291
1308
  session: session,
1292
- answer: answer,
1293
1309
  });
1294
1310
  }
1295
1311
  /**
1296
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1312
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1297
1313
  *
1298
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1299
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1314
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1315
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1300
1316
  * @returns {string} A string representing the project.
1301
1317
  */
1302
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1303
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1318
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1319
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1304
1320
  }
1305
1321
  /**
1306
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1322
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1307
1323
  *
1308
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1309
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1324
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1325
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1310
1326
  * @returns {string} A string representing the location.
1311
1327
  */
1312
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1313
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1328
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1329
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1314
1330
  }
1315
1331
  /**
1316
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1332
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1317
1333
  *
1318
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1319
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1334
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1335
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1320
1336
  * @returns {string} A string representing the collection.
1321
1337
  */
1322
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1323
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1338
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1339
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1324
1340
  }
1325
1341
  /**
1326
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1342
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1327
1343
  *
1328
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1329
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1344
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1345
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1330
1346
  * @returns {string} A string representing the data_store.
1331
1347
  */
1332
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1333
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1348
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1349
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1334
1350
  }
1335
1351
  /**
1336
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1352
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1337
1353
  *
1338
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1339
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1354
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1355
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1340
1356
  * @returns {string} A string representing the session.
1341
1357
  */
1342
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1343
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1344
- }
1345
- /**
1346
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1347
- *
1348
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1349
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1350
- * @returns {string} A string representing the answer.
1351
- */
1352
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1353
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1358
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1359
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1354
1360
  }
1355
1361
  /**
1356
1362
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1755,154 +1761,154 @@ class RankServiceClient {
1755
1761
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1756
1762
  }
1757
1763
  /**
1758
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1764
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1759
1765
  *
1760
1766
  * @param {string} project
1761
1767
  * @param {string} location
1762
1768
  * @param {string} collection
1763
1769
  * @param {string} engine
1764
1770
  * @param {string} session
1771
+ * @param {string} answer
1765
1772
  * @returns {string} Resource name string.
1766
1773
  */
1767
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1768
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1774
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1775
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1769
1776
  project: project,
1770
1777
  location: location,
1771
1778
  collection: collection,
1772
1779
  engine: engine,
1773
1780
  session: session,
1781
+ answer: answer,
1774
1782
  });
1775
1783
  }
1776
1784
  /**
1777
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1785
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1778
1786
  *
1779
- * @param {string} projectLocationCollectionEngineSessionName
1780
- * A fully-qualified path representing project_location_collection_engine_session resource.
1787
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1788
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1781
1789
  * @returns {string} A string representing the project.
1782
1790
  */
1783
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1784
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1791
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1792
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1785
1793
  }
1786
1794
  /**
1787
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1795
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1788
1796
  *
1789
- * @param {string} projectLocationCollectionEngineSessionName
1790
- * A fully-qualified path representing project_location_collection_engine_session resource.
1797
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1798
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1791
1799
  * @returns {string} A string representing the location.
1792
1800
  */
1793
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1794
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1801
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1802
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1795
1803
  }
1796
1804
  /**
1797
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1805
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1798
1806
  *
1799
- * @param {string} projectLocationCollectionEngineSessionName
1800
- * A fully-qualified path representing project_location_collection_engine_session resource.
1807
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1808
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1801
1809
  * @returns {string} A string representing the collection.
1802
1810
  */
1803
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1804
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1811
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1812
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1805
1813
  }
1806
1814
  /**
1807
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1815
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1808
1816
  *
1809
- * @param {string} projectLocationCollectionEngineSessionName
1810
- * A fully-qualified path representing project_location_collection_engine_session resource.
1817
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1818
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1811
1819
  * @returns {string} A string representing the engine.
1812
1820
  */
1813
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1814
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1821
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1822
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1815
1823
  }
1816
1824
  /**
1817
- * Parse the session from ProjectLocationCollectionEngineSession resource.
1825
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1818
1826
  *
1819
- * @param {string} projectLocationCollectionEngineSessionName
1820
- * A fully-qualified path representing project_location_collection_engine_session resource.
1827
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1828
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1821
1829
  * @returns {string} A string representing the session.
1822
1830
  */
1823
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1824
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1831
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1832
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1825
1833
  }
1826
1834
  /**
1827
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1835
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1836
+ *
1837
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1838
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1839
+ * @returns {string} A string representing the answer.
1840
+ */
1841
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1842
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1843
+ }
1844
+ /**
1845
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1828
1846
  *
1829
1847
  * @param {string} project
1830
1848
  * @param {string} location
1831
1849
  * @param {string} collection
1832
1850
  * @param {string} engine
1833
1851
  * @param {string} session
1834
- * @param {string} answer
1835
1852
  * @returns {string} Resource name string.
1836
1853
  */
1837
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1838
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1854
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
1855
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1839
1856
  project: project,
1840
1857
  location: location,
1841
1858
  collection: collection,
1842
1859
  engine: engine,
1843
1860
  session: session,
1844
- answer: answer,
1845
1861
  });
1846
1862
  }
1847
1863
  /**
1848
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1864
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1849
1865
  *
1850
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1851
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1866
+ * @param {string} projectLocationCollectionEngineSessionsName
1867
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1852
1868
  * @returns {string} A string representing the project.
1853
1869
  */
1854
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1855
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1870
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1871
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1856
1872
  }
1857
1873
  /**
1858
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1874
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1859
1875
  *
1860
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1861
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1876
+ * @param {string} projectLocationCollectionEngineSessionsName
1877
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1862
1878
  * @returns {string} A string representing the location.
1863
1879
  */
1864
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1865
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1880
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1881
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1866
1882
  }
1867
1883
  /**
1868
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1884
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1869
1885
  *
1870
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1871
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1886
+ * @param {string} projectLocationCollectionEngineSessionsName
1887
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1872
1888
  * @returns {string} A string representing the collection.
1873
1889
  */
1874
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1875
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1890
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1891
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1876
1892
  }
1877
1893
  /**
1878
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1894
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1879
1895
  *
1880
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1881
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1896
+ * @param {string} projectLocationCollectionEngineSessionsName
1897
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1882
1898
  * @returns {string} A string representing the engine.
1883
1899
  */
1884
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1885
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1900
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1901
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1886
1902
  }
1887
1903
  /**
1888
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1904
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
1889
1905
  *
1890
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1891
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1906
+ * @param {string} projectLocationCollectionEngineSessionsName
1907
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1892
1908
  * @returns {string} A string representing the session.
1893
1909
  */
1894
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1895
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1896
- }
1897
- /**
1898
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1899
- *
1900
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1901
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1902
- * @returns {string} A string representing the answer.
1903
- */
1904
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1905
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1910
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1911
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
1906
1912
  }
1907
1913
  /**
1908
1914
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2429,63 +2435,6 @@ class RankServiceClient {
2429
2435
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2430
2436
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2431
2437
  }
2432
- /**
2433
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2434
- *
2435
- * @param {string} project
2436
- * @param {string} location
2437
- * @param {string} data_store
2438
- * @param {string} session
2439
- * @returns {string} Resource name string.
2440
- */
2441
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2442
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2443
- project: project,
2444
- location: location,
2445
- data_store: dataStore,
2446
- session: session,
2447
- });
2448
- }
2449
- /**
2450
- * Parse the project from ProjectLocationDataStoreSession resource.
2451
- *
2452
- * @param {string} projectLocationDataStoreSessionName
2453
- * A fully-qualified path representing project_location_data_store_session resource.
2454
- * @returns {string} A string representing the project.
2455
- */
2456
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2457
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2458
- }
2459
- /**
2460
- * Parse the location from ProjectLocationDataStoreSession resource.
2461
- *
2462
- * @param {string} projectLocationDataStoreSessionName
2463
- * A fully-qualified path representing project_location_data_store_session resource.
2464
- * @returns {string} A string representing the location.
2465
- */
2466
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2467
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2468
- }
2469
- /**
2470
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2471
- *
2472
- * @param {string} projectLocationDataStoreSessionName
2473
- * A fully-qualified path representing project_location_data_store_session resource.
2474
- * @returns {string} A string representing the data_store.
2475
- */
2476
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2477
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2478
- }
2479
- /**
2480
- * Parse the session from ProjectLocationDataStoreSession resource.
2481
- *
2482
- * @param {string} projectLocationDataStoreSessionName
2483
- * A fully-qualified path representing project_location_data_store_session resource.
2484
- * @returns {string} A string representing the session.
2485
- */
2486
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2487
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2488
- }
2489
2438
  /**
2490
2439
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2491
2440
  *
@@ -2555,6 +2504,63 @@ class RankServiceClient {
2555
2504
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2556
2505
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2557
2506
  }
2507
+ /**
2508
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2509
+ *
2510
+ * @param {string} project
2511
+ * @param {string} location
2512
+ * @param {string} data_store
2513
+ * @param {string} session
2514
+ * @returns {string} Resource name string.
2515
+ */
2516
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2517
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2518
+ project: project,
2519
+ location: location,
2520
+ data_store: dataStore,
2521
+ session: session,
2522
+ });
2523
+ }
2524
+ /**
2525
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2526
+ *
2527
+ * @param {string} projectLocationDataStoreSessionsName
2528
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2529
+ * @returns {string} A string representing the project.
2530
+ */
2531
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2532
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2533
+ }
2534
+ /**
2535
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2536
+ *
2537
+ * @param {string} projectLocationDataStoreSessionsName
2538
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2539
+ * @returns {string} A string representing the location.
2540
+ */
2541
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2542
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2543
+ }
2544
+ /**
2545
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2546
+ *
2547
+ * @param {string} projectLocationDataStoreSessionsName
2548
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2549
+ * @returns {string} A string representing the data_store.
2550
+ */
2551
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2552
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2553
+ }
2554
+ /**
2555
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2556
+ *
2557
+ * @param {string} projectLocationDataStoreSessionsName
2558
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2559
+ * @returns {string} A string representing the session.
2560
+ */
2561
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2562
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2563
+ }
2558
2564
  /**
2559
2565
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2560
2566
  *
@@ -37,6 +37,7 @@
37
37
  "../../protos/google/cloud/discoveryengine/v1beta/serving_config.proto",
38
38
  "../../protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto",
39
39
  "../../protos/google/cloud/discoveryengine/v1beta/session.proto",
40
+ "../../protos/google/cloud/discoveryengine/v1beta/session_service.proto",
40
41
  "../../protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto",
41
42
  "../../protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto",
42
43
  "../../protos/google/cloud/discoveryengine/v1beta/user_event.proto",