@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
@@ -179,16 +179,16 @@ class ControlServiceClient {
179
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
180
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
181
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
182
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
183
182
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
183
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
184
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
185
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
186
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
187
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
188
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
189
189
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
190
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
191
190
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
191
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
192
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
193
193
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
194
194
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -198,8 +198,8 @@ class ControlServiceClient {
198
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
199
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
200
200
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
201
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
202
201
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
202
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
203
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
204
204
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
205
205
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -351,6 +351,12 @@ class ControlServiceClient {
351
351
  ?.then(([response, options, rawResponse]) => {
352
352
  this._log.info('createControl response %j', response);
353
353
  return [response, options, rawResponse];
354
+ }).catch((error) => {
355
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
356
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
357
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
358
+ }
359
+ throw error;
354
360
  });
355
361
  }
356
362
  deleteControl(request, optionsOrCallback, callback) {
@@ -381,6 +387,12 @@ class ControlServiceClient {
381
387
  ?.then(([response, options, rawResponse]) => {
382
388
  this._log.info('deleteControl response %j', response);
383
389
  return [response, options, rawResponse];
390
+ }).catch((error) => {
391
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
392
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
393
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
394
+ }
395
+ throw error;
384
396
  });
385
397
  }
386
398
  updateControl(request, optionsOrCallback, callback) {
@@ -411,6 +423,12 @@ class ControlServiceClient {
411
423
  ?.then(([response, options, rawResponse]) => {
412
424
  this._log.info('updateControl response %j', response);
413
425
  return [response, options, rawResponse];
426
+ }).catch((error) => {
427
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
428
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
429
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
430
+ }
431
+ throw error;
414
432
  });
415
433
  }
416
434
  getControl(request, optionsOrCallback, callback) {
@@ -441,6 +459,12 @@ class ControlServiceClient {
441
459
  ?.then(([response, options, rawResponse]) => {
442
460
  this._log.info('getControl response %j', response);
443
461
  return [response, options, rawResponse];
462
+ }).catch((error) => {
463
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
464
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
465
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
466
+ }
467
+ throw error;
444
468
  });
445
469
  }
446
470
  listControls(request, optionsOrCallback, callback) {
@@ -1462,154 +1486,154 @@ class ControlServiceClient {
1462
1486
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1463
1487
  }
1464
1488
  /**
1465
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1489
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1466
1490
  *
1467
1491
  * @param {string} project
1468
1492
  * @param {string} location
1469
1493
  * @param {string} collection
1470
1494
  * @param {string} data_store
1471
1495
  * @param {string} session
1496
+ * @param {string} answer
1472
1497
  * @returns {string} Resource name string.
1473
1498
  */
1474
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1475
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1499
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1500
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1476
1501
  project: project,
1477
1502
  location: location,
1478
1503
  collection: collection,
1479
1504
  data_store: dataStore,
1480
1505
  session: session,
1506
+ answer: answer,
1481
1507
  });
1482
1508
  }
1483
1509
  /**
1484
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1510
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1485
1511
  *
1486
- * @param {string} projectLocationCollectionDataStoreSessionName
1487
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1512
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1513
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1488
1514
  * @returns {string} A string representing the project.
1489
1515
  */
1490
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1491
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1516
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1517
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1492
1518
  }
1493
1519
  /**
1494
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1520
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1495
1521
  *
1496
- * @param {string} projectLocationCollectionDataStoreSessionName
1497
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1522
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1523
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1498
1524
  * @returns {string} A string representing the location.
1499
1525
  */
1500
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1501
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1526
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1527
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1502
1528
  }
1503
1529
  /**
1504
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1530
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1505
1531
  *
1506
- * @param {string} projectLocationCollectionDataStoreSessionName
1507
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1532
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1533
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1508
1534
  * @returns {string} A string representing the collection.
1509
1535
  */
1510
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1511
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1536
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1537
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1512
1538
  }
1513
1539
  /**
1514
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1540
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1515
1541
  *
1516
- * @param {string} projectLocationCollectionDataStoreSessionName
1517
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1542
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1543
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1518
1544
  * @returns {string} A string representing the data_store.
1519
1545
  */
1520
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1521
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1546
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1547
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1522
1548
  }
1523
1549
  /**
1524
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1550
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1525
1551
  *
1526
- * @param {string} projectLocationCollectionDataStoreSessionName
1527
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1552
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1553
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1528
1554
  * @returns {string} A string representing the session.
1529
1555
  */
1530
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1531
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1556
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1557
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1532
1558
  }
1533
1559
  /**
1534
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1560
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1561
+ *
1562
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1563
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1564
+ * @returns {string} A string representing the answer.
1565
+ */
1566
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1567
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1568
+ }
1569
+ /**
1570
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1535
1571
  *
1536
1572
  * @param {string} project
1537
1573
  * @param {string} location
1538
1574
  * @param {string} collection
1539
1575
  * @param {string} data_store
1540
1576
  * @param {string} session
1541
- * @param {string} answer
1542
1577
  * @returns {string} Resource name string.
1543
1578
  */
1544
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1545
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1579
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1580
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1546
1581
  project: project,
1547
1582
  location: location,
1548
1583
  collection: collection,
1549
1584
  data_store: dataStore,
1550
1585
  session: session,
1551
- answer: answer,
1552
1586
  });
1553
1587
  }
1554
1588
  /**
1555
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1589
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1556
1590
  *
1557
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1558
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1591
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1592
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1559
1593
  * @returns {string} A string representing the project.
1560
1594
  */
1561
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1562
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1595
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1596
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1563
1597
  }
1564
1598
  /**
1565
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1599
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1566
1600
  *
1567
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1568
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1601
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1602
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1569
1603
  * @returns {string} A string representing the location.
1570
1604
  */
1571
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1572
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1605
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1606
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1573
1607
  }
1574
1608
  /**
1575
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1609
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1576
1610
  *
1577
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1578
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1611
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1612
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1579
1613
  * @returns {string} A string representing the collection.
1580
1614
  */
1581
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1582
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1615
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1616
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1583
1617
  }
1584
1618
  /**
1585
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1619
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1586
1620
  *
1587
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1588
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1621
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1622
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1589
1623
  * @returns {string} A string representing the data_store.
1590
1624
  */
1591
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1592
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1625
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1626
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1593
1627
  }
1594
1628
  /**
1595
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1629
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1596
1630
  *
1597
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1598
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1631
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1632
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1599
1633
  * @returns {string} A string representing the session.
1600
1634
  */
1601
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1602
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1603
- }
1604
- /**
1605
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1606
- *
1607
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1608
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1609
- * @returns {string} A string representing the answer.
1610
- */
1611
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1612
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1635
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1636
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1613
1637
  }
1614
1638
  /**
1615
1639
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2014,154 +2038,154 @@ class ControlServiceClient {
2014
2038
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2015
2039
  }
2016
2040
  /**
2017
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2041
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2018
2042
  *
2019
2043
  * @param {string} project
2020
2044
  * @param {string} location
2021
2045
  * @param {string} collection
2022
2046
  * @param {string} engine
2023
2047
  * @param {string} session
2048
+ * @param {string} answer
2024
2049
  * @returns {string} Resource name string.
2025
2050
  */
2026
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2027
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2051
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2052
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2028
2053
  project: project,
2029
2054
  location: location,
2030
2055
  collection: collection,
2031
2056
  engine: engine,
2032
2057
  session: session,
2058
+ answer: answer,
2033
2059
  });
2034
2060
  }
2035
2061
  /**
2036
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2062
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2037
2063
  *
2038
- * @param {string} projectLocationCollectionEngineSessionName
2039
- * A fully-qualified path representing project_location_collection_engine_session resource.
2064
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2065
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2040
2066
  * @returns {string} A string representing the project.
2041
2067
  */
2042
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2043
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2068
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2069
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2044
2070
  }
2045
2071
  /**
2046
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2072
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2047
2073
  *
2048
- * @param {string} projectLocationCollectionEngineSessionName
2049
- * A fully-qualified path representing project_location_collection_engine_session resource.
2074
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2075
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2050
2076
  * @returns {string} A string representing the location.
2051
2077
  */
2052
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2053
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2078
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2079
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2054
2080
  }
2055
2081
  /**
2056
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2082
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2057
2083
  *
2058
- * @param {string} projectLocationCollectionEngineSessionName
2059
- * A fully-qualified path representing project_location_collection_engine_session resource.
2084
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2085
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2060
2086
  * @returns {string} A string representing the collection.
2061
2087
  */
2062
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2063
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2088
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2089
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2064
2090
  }
2065
2091
  /**
2066
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2092
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2067
2093
  *
2068
- * @param {string} projectLocationCollectionEngineSessionName
2069
- * A fully-qualified path representing project_location_collection_engine_session resource.
2094
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2095
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2070
2096
  * @returns {string} A string representing the engine.
2071
2097
  */
2072
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2073
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2098
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2099
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2074
2100
  }
2075
2101
  /**
2076
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2102
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2077
2103
  *
2078
- * @param {string} projectLocationCollectionEngineSessionName
2079
- * A fully-qualified path representing project_location_collection_engine_session resource.
2104
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2105
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2080
2106
  * @returns {string} A string representing the session.
2081
2107
  */
2082
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2083
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2108
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2109
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2084
2110
  }
2085
2111
  /**
2086
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2112
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2113
+ *
2114
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2115
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2116
+ * @returns {string} A string representing the answer.
2117
+ */
2118
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2119
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2120
+ }
2121
+ /**
2122
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2087
2123
  *
2088
2124
  * @param {string} project
2089
2125
  * @param {string} location
2090
2126
  * @param {string} collection
2091
2127
  * @param {string} engine
2092
2128
  * @param {string} session
2093
- * @param {string} answer
2094
2129
  * @returns {string} Resource name string.
2095
2130
  */
2096
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2097
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2131
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2132
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2098
2133
  project: project,
2099
2134
  location: location,
2100
2135
  collection: collection,
2101
2136
  engine: engine,
2102
2137
  session: session,
2103
- answer: answer,
2104
2138
  });
2105
2139
  }
2106
2140
  /**
2107
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2141
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2108
2142
  *
2109
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2110
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2143
+ * @param {string} projectLocationCollectionEngineSessionsName
2144
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2111
2145
  * @returns {string} A string representing the project.
2112
2146
  */
2113
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2114
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2147
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2148
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2115
2149
  }
2116
2150
  /**
2117
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2151
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2118
2152
  *
2119
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2120
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2153
+ * @param {string} projectLocationCollectionEngineSessionsName
2154
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2121
2155
  * @returns {string} A string representing the location.
2122
2156
  */
2123
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2124
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2157
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2158
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2125
2159
  }
2126
2160
  /**
2127
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2161
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2128
2162
  *
2129
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2130
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2163
+ * @param {string} projectLocationCollectionEngineSessionsName
2164
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2131
2165
  * @returns {string} A string representing the collection.
2132
2166
  */
2133
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2134
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2167
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2168
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2135
2169
  }
2136
2170
  /**
2137
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2171
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2138
2172
  *
2139
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2140
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2173
+ * @param {string} projectLocationCollectionEngineSessionsName
2174
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2141
2175
  * @returns {string} A string representing the engine.
2142
2176
  */
2143
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2144
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2177
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2178
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2145
2179
  }
2146
2180
  /**
2147
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2181
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2148
2182
  *
2149
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2150
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2183
+ * @param {string} projectLocationCollectionEngineSessionsName
2184
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2151
2185
  * @returns {string} A string representing the session.
2152
2186
  */
2153
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2154
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2155
- }
2156
- /**
2157
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2158
- *
2159
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2160
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2161
- * @returns {string} A string representing the answer.
2162
- */
2163
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2164
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2187
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2188
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2165
2189
  }
2166
2190
  /**
2167
2191
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2688,63 +2712,6 @@ class ControlServiceClient {
2688
2712
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2689
2713
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2690
2714
  }
2691
- /**
2692
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2693
- *
2694
- * @param {string} project
2695
- * @param {string} location
2696
- * @param {string} data_store
2697
- * @param {string} session
2698
- * @returns {string} Resource name string.
2699
- */
2700
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2701
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2702
- project: project,
2703
- location: location,
2704
- data_store: dataStore,
2705
- session: session,
2706
- });
2707
- }
2708
- /**
2709
- * Parse the project from ProjectLocationDataStoreSession resource.
2710
- *
2711
- * @param {string} projectLocationDataStoreSessionName
2712
- * A fully-qualified path representing project_location_data_store_session resource.
2713
- * @returns {string} A string representing the project.
2714
- */
2715
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2716
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2717
- }
2718
- /**
2719
- * Parse the location from ProjectLocationDataStoreSession resource.
2720
- *
2721
- * @param {string} projectLocationDataStoreSessionName
2722
- * A fully-qualified path representing project_location_data_store_session resource.
2723
- * @returns {string} A string representing the location.
2724
- */
2725
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2726
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2727
- }
2728
- /**
2729
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2730
- *
2731
- * @param {string} projectLocationDataStoreSessionName
2732
- * A fully-qualified path representing project_location_data_store_session resource.
2733
- * @returns {string} A string representing the data_store.
2734
- */
2735
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2736
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2737
- }
2738
- /**
2739
- * Parse the session from ProjectLocationDataStoreSession resource.
2740
- *
2741
- * @param {string} projectLocationDataStoreSessionName
2742
- * A fully-qualified path representing project_location_data_store_session resource.
2743
- * @returns {string} A string representing the session.
2744
- */
2745
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2746
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2747
- }
2748
2715
  /**
2749
2716
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2750
2717
  *
@@ -2814,6 +2781,63 @@ class ControlServiceClient {
2814
2781
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2815
2782
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2816
2783
  }
2784
+ /**
2785
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2786
+ *
2787
+ * @param {string} project
2788
+ * @param {string} location
2789
+ * @param {string} data_store
2790
+ * @param {string} session
2791
+ * @returns {string} Resource name string.
2792
+ */
2793
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2794
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2795
+ project: project,
2796
+ location: location,
2797
+ data_store: dataStore,
2798
+ session: session,
2799
+ });
2800
+ }
2801
+ /**
2802
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2803
+ *
2804
+ * @param {string} projectLocationDataStoreSessionsName
2805
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2806
+ * @returns {string} A string representing the project.
2807
+ */
2808
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2809
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2810
+ }
2811
+ /**
2812
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2813
+ *
2814
+ * @param {string} projectLocationDataStoreSessionsName
2815
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2816
+ * @returns {string} A string representing the location.
2817
+ */
2818
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2819
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2820
+ }
2821
+ /**
2822
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2823
+ *
2824
+ * @param {string} projectLocationDataStoreSessionsName
2825
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2826
+ * @returns {string} A string representing the data_store.
2827
+ */
2828
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2829
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2830
+ }
2831
+ /**
2832
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2833
+ *
2834
+ * @param {string} projectLocationDataStoreSessionsName
2835
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2836
+ * @returns {string} A string representing the session.
2837
+ */
2838
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2839
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2840
+ }
2817
2841
  /**
2818
2842
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2819
2843
  *