@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
@@ -176,16 +176,16 @@ class SiteSearchEngineServiceClient {
176
176
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
177
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
178
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
179
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
180
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
181
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
182
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
184
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
185
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
186
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
187
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
188
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
189
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
190
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
191
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,8 +195,8 @@ class SiteSearchEngineServiceClient {
195
195
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
196
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
197
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
198
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
199
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
200
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
201
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
202
202
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -210,7 +210,7 @@ class SiteSearchEngineServiceClient {
210
210
  listTargetSites: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'targetSites'),
211
211
  fetchDomainVerificationStatus: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'targetSites')
212
212
  };
213
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
213
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
214
214
  // This API contains "long-running operations", which return a
215
215
  // an Operation object that allows for tracking of the operation,
216
216
  // rather than holding a request open.
@@ -398,6 +398,12 @@ class SiteSearchEngineServiceClient {
398
398
  ?.then(([response, options, rawResponse]) => {
399
399
  this._log.info('getSiteSearchEngine response %j', response);
400
400
  return [response, options, rawResponse];
401
+ }).catch((error) => {
402
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
403
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
404
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
405
+ }
406
+ throw error;
401
407
  });
402
408
  }
403
409
  getTargetSite(request, optionsOrCallback, callback) {
@@ -428,6 +434,12 @@ class SiteSearchEngineServiceClient {
428
434
  ?.then(([response, options, rawResponse]) => {
429
435
  this._log.info('getTargetSite response %j', response);
430
436
  return [response, options, rawResponse];
437
+ }).catch((error) => {
438
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
439
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
440
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
441
+ }
442
+ throw error;
431
443
  });
432
444
  }
433
445
  fetchSitemaps(request, optionsOrCallback, callback) {
@@ -458,6 +470,12 @@ class SiteSearchEngineServiceClient {
458
470
  ?.then(([response, options, rawResponse]) => {
459
471
  this._log.info('fetchSitemaps response %j', response);
460
472
  return [response, options, rawResponse];
473
+ }).catch((error) => {
474
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
475
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
476
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
477
+ }
478
+ throw error;
461
479
  });
462
480
  }
463
481
  createTargetSite(request, optionsOrCallback, callback) {
@@ -2238,154 +2256,154 @@ class SiteSearchEngineServiceClient {
2238
2256
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
2239
2257
  }
2240
2258
  /**
2241
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
2259
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2242
2260
  *
2243
2261
  * @param {string} project
2244
2262
  * @param {string} location
2245
2263
  * @param {string} collection
2246
2264
  * @param {string} data_store
2247
2265
  * @param {string} session
2266
+ * @param {string} answer
2248
2267
  * @returns {string} Resource name string.
2249
2268
  */
2250
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
2251
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
2269
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2270
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2252
2271
  project: project,
2253
2272
  location: location,
2254
2273
  collection: collection,
2255
2274
  data_store: dataStore,
2256
2275
  session: session,
2276
+ answer: answer,
2257
2277
  });
2258
2278
  }
2259
2279
  /**
2260
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
2280
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2261
2281
  *
2262
- * @param {string} projectLocationCollectionDataStoreSessionName
2263
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2282
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2283
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2264
2284
  * @returns {string} A string representing the project.
2265
2285
  */
2266
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2267
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
2286
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2287
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2268
2288
  }
2269
2289
  /**
2270
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
2290
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2271
2291
  *
2272
- * @param {string} projectLocationCollectionDataStoreSessionName
2273
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2292
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2293
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2274
2294
  * @returns {string} A string representing the location.
2275
2295
  */
2276
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2277
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
2296
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2297
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2278
2298
  }
2279
2299
  /**
2280
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
2300
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2281
2301
  *
2282
- * @param {string} projectLocationCollectionDataStoreSessionName
2283
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2302
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2303
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2284
2304
  * @returns {string} A string representing the collection.
2285
2305
  */
2286
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2287
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
2306
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2307
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2288
2308
  }
2289
2309
  /**
2290
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
2310
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2291
2311
  *
2292
- * @param {string} projectLocationCollectionDataStoreSessionName
2293
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2312
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2313
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2294
2314
  * @returns {string} A string representing the data_store.
2295
2315
  */
2296
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2297
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
2316
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2317
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2298
2318
  }
2299
2319
  /**
2300
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
2320
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2301
2321
  *
2302
- * @param {string} projectLocationCollectionDataStoreSessionName
2303
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2322
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2323
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2304
2324
  * @returns {string} A string representing the session.
2305
2325
  */
2306
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2307
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
2326
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2327
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2308
2328
  }
2309
2329
  /**
2310
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2330
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2331
+ *
2332
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2333
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2334
+ * @returns {string} A string representing the answer.
2335
+ */
2336
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2337
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2338
+ }
2339
+ /**
2340
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
2311
2341
  *
2312
2342
  * @param {string} project
2313
2343
  * @param {string} location
2314
2344
  * @param {string} collection
2315
2345
  * @param {string} data_store
2316
2346
  * @param {string} session
2317
- * @param {string} answer
2318
2347
  * @returns {string} Resource name string.
2319
2348
  */
2320
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2321
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2349
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
2350
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
2322
2351
  project: project,
2323
2352
  location: location,
2324
2353
  collection: collection,
2325
2354
  data_store: dataStore,
2326
2355
  session: session,
2327
- answer: answer,
2328
2356
  });
2329
2357
  }
2330
2358
  /**
2331
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2359
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
2332
2360
  *
2333
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2334
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2361
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2362
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2335
2363
  * @returns {string} A string representing the project.
2336
2364
  */
2337
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2338
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2365
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2366
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
2339
2367
  }
2340
2368
  /**
2341
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2369
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
2342
2370
  *
2343
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2344
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2371
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2372
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2345
2373
  * @returns {string} A string representing the location.
2346
2374
  */
2347
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2348
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2375
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2376
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
2349
2377
  }
2350
2378
  /**
2351
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2379
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
2352
2380
  *
2353
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2354
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2381
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2382
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2355
2383
  * @returns {string} A string representing the collection.
2356
2384
  */
2357
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2358
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2385
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2386
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
2359
2387
  }
2360
2388
  /**
2361
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2389
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
2362
2390
  *
2363
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2364
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2391
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2392
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2365
2393
  * @returns {string} A string representing the data_store.
2366
2394
  */
2367
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2368
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2395
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2396
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
2369
2397
  }
2370
2398
  /**
2371
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2399
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
2372
2400
  *
2373
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2374
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2401
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2402
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2375
2403
  * @returns {string} A string representing the session.
2376
2404
  */
2377
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2378
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2379
- }
2380
- /**
2381
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2382
- *
2383
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2384
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2385
- * @returns {string} A string representing the answer.
2386
- */
2387
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2388
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2405
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2406
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2389
2407
  }
2390
2408
  /**
2391
2409
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2790,154 +2808,154 @@ class SiteSearchEngineServiceClient {
2790
2808
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2791
2809
  }
2792
2810
  /**
2793
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2811
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2794
2812
  *
2795
2813
  * @param {string} project
2796
2814
  * @param {string} location
2797
2815
  * @param {string} collection
2798
2816
  * @param {string} engine
2799
2817
  * @param {string} session
2818
+ * @param {string} answer
2800
2819
  * @returns {string} Resource name string.
2801
2820
  */
2802
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2803
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2821
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2822
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2804
2823
  project: project,
2805
2824
  location: location,
2806
2825
  collection: collection,
2807
2826
  engine: engine,
2808
2827
  session: session,
2828
+ answer: answer,
2809
2829
  });
2810
2830
  }
2811
2831
  /**
2812
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2832
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2813
2833
  *
2814
- * @param {string} projectLocationCollectionEngineSessionName
2815
- * A fully-qualified path representing project_location_collection_engine_session resource.
2834
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2835
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2816
2836
  * @returns {string} A string representing the project.
2817
2837
  */
2818
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2819
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2838
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2839
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2820
2840
  }
2821
2841
  /**
2822
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2842
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2823
2843
  *
2824
- * @param {string} projectLocationCollectionEngineSessionName
2825
- * A fully-qualified path representing project_location_collection_engine_session resource.
2844
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2845
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2826
2846
  * @returns {string} A string representing the location.
2827
2847
  */
2828
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2829
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2848
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2849
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2830
2850
  }
2831
2851
  /**
2832
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2852
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2833
2853
  *
2834
- * @param {string} projectLocationCollectionEngineSessionName
2835
- * A fully-qualified path representing project_location_collection_engine_session resource.
2854
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2855
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2836
2856
  * @returns {string} A string representing the collection.
2837
2857
  */
2838
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2839
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2858
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2859
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2840
2860
  }
2841
2861
  /**
2842
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2862
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2843
2863
  *
2844
- * @param {string} projectLocationCollectionEngineSessionName
2845
- * A fully-qualified path representing project_location_collection_engine_session resource.
2864
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2865
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2846
2866
  * @returns {string} A string representing the engine.
2847
2867
  */
2848
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2849
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2868
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2869
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2850
2870
  }
2851
2871
  /**
2852
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2872
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2853
2873
  *
2854
- * @param {string} projectLocationCollectionEngineSessionName
2855
- * A fully-qualified path representing project_location_collection_engine_session resource.
2874
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2875
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2856
2876
  * @returns {string} A string representing the session.
2857
2877
  */
2858
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2859
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2878
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2879
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2860
2880
  }
2861
2881
  /**
2862
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2882
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2883
+ *
2884
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2885
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2886
+ * @returns {string} A string representing the answer.
2887
+ */
2888
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2889
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2890
+ }
2891
+ /**
2892
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2863
2893
  *
2864
2894
  * @param {string} project
2865
2895
  * @param {string} location
2866
2896
  * @param {string} collection
2867
2897
  * @param {string} engine
2868
2898
  * @param {string} session
2869
- * @param {string} answer
2870
2899
  * @returns {string} Resource name string.
2871
2900
  */
2872
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2873
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2901
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2902
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2874
2903
  project: project,
2875
2904
  location: location,
2876
2905
  collection: collection,
2877
2906
  engine: engine,
2878
2907
  session: session,
2879
- answer: answer,
2880
2908
  });
2881
2909
  }
2882
2910
  /**
2883
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2911
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2884
2912
  *
2885
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2886
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2913
+ * @param {string} projectLocationCollectionEngineSessionsName
2914
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2887
2915
  * @returns {string} A string representing the project.
2888
2916
  */
2889
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2890
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2917
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2918
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2891
2919
  }
2892
2920
  /**
2893
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2921
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2894
2922
  *
2895
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2896
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2923
+ * @param {string} projectLocationCollectionEngineSessionsName
2924
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2897
2925
  * @returns {string} A string representing the location.
2898
2926
  */
2899
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2900
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2927
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2928
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2901
2929
  }
2902
2930
  /**
2903
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2931
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2904
2932
  *
2905
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2906
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2933
+ * @param {string} projectLocationCollectionEngineSessionsName
2934
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2907
2935
  * @returns {string} A string representing the collection.
2908
2936
  */
2909
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2910
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2937
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2938
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2911
2939
  }
2912
2940
  /**
2913
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2941
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2914
2942
  *
2915
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2916
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2943
+ * @param {string} projectLocationCollectionEngineSessionsName
2944
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2917
2945
  * @returns {string} A string representing the engine.
2918
2946
  */
2919
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2920
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2947
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2948
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2921
2949
  }
2922
2950
  /**
2923
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2951
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2924
2952
  *
2925
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2926
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2953
+ * @param {string} projectLocationCollectionEngineSessionsName
2954
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2927
2955
  * @returns {string} A string representing the session.
2928
2956
  */
2929
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2930
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2931
- }
2932
- /**
2933
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2934
- *
2935
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2936
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2937
- * @returns {string} A string representing the answer.
2938
- */
2939
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2940
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2957
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2958
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2941
2959
  }
2942
2960
  /**
2943
2961
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3464,63 +3482,6 @@ class SiteSearchEngineServiceClient {
3464
3482
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3465
3483
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3466
3484
  }
3467
- /**
3468
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3469
- *
3470
- * @param {string} project
3471
- * @param {string} location
3472
- * @param {string} data_store
3473
- * @param {string} session
3474
- * @returns {string} Resource name string.
3475
- */
3476
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3477
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3478
- project: project,
3479
- location: location,
3480
- data_store: dataStore,
3481
- session: session,
3482
- });
3483
- }
3484
- /**
3485
- * Parse the project from ProjectLocationDataStoreSession resource.
3486
- *
3487
- * @param {string} projectLocationDataStoreSessionName
3488
- * A fully-qualified path representing project_location_data_store_session resource.
3489
- * @returns {string} A string representing the project.
3490
- */
3491
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3492
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3493
- }
3494
- /**
3495
- * Parse the location from ProjectLocationDataStoreSession resource.
3496
- *
3497
- * @param {string} projectLocationDataStoreSessionName
3498
- * A fully-qualified path representing project_location_data_store_session resource.
3499
- * @returns {string} A string representing the location.
3500
- */
3501
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3502
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3503
- }
3504
- /**
3505
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3506
- *
3507
- * @param {string} projectLocationDataStoreSessionName
3508
- * A fully-qualified path representing project_location_data_store_session resource.
3509
- * @returns {string} A string representing the data_store.
3510
- */
3511
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3512
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3513
- }
3514
- /**
3515
- * Parse the session from ProjectLocationDataStoreSession resource.
3516
- *
3517
- * @param {string} projectLocationDataStoreSessionName
3518
- * A fully-qualified path representing project_location_data_store_session resource.
3519
- * @returns {string} A string representing the session.
3520
- */
3521
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3522
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3523
- }
3524
3485
  /**
3525
3486
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3526
3487
  *
@@ -3590,6 +3551,63 @@ class SiteSearchEngineServiceClient {
3590
3551
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3591
3552
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3592
3553
  }
3554
+ /**
3555
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3556
+ *
3557
+ * @param {string} project
3558
+ * @param {string} location
3559
+ * @param {string} data_store
3560
+ * @param {string} session
3561
+ * @returns {string} Resource name string.
3562
+ */
3563
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3564
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3565
+ project: project,
3566
+ location: location,
3567
+ data_store: dataStore,
3568
+ session: session,
3569
+ });
3570
+ }
3571
+ /**
3572
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3573
+ *
3574
+ * @param {string} projectLocationDataStoreSessionsName
3575
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3576
+ * @returns {string} A string representing the project.
3577
+ */
3578
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3579
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3580
+ }
3581
+ /**
3582
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3583
+ *
3584
+ * @param {string} projectLocationDataStoreSessionsName
3585
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3586
+ * @returns {string} A string representing the location.
3587
+ */
3588
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3589
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3590
+ }
3591
+ /**
3592
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3593
+ *
3594
+ * @param {string} projectLocationDataStoreSessionsName
3595
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3596
+ * @returns {string} A string representing the data_store.
3597
+ */
3598
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3599
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3600
+ }
3601
+ /**
3602
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3603
+ *
3604
+ * @param {string} projectLocationDataStoreSessionsName
3605
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3606
+ * @returns {string} A string representing the session.
3607
+ */
3608
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3609
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3610
+ }
3593
3611
  /**
3594
3612
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3595
3613
  *