@google-cloud/discoveryengine 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/README.md +30 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
  10. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
  11. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
  12. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
  15. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
  16. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
  21. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  22. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  23. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
  24. package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  32. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  33. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  34. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  35. package/build/protos/protos.d.ts +21218 -11675
  36. package/build/protos/protos.js +92642 -66407
  37. package/build/protos/protos.json +5854 -2801
  38. package/build/src/index.d.ts +16 -1
  39. package/build/src/index.js +12 -2
  40. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  41. package/build/src/v1/assistant_service_client.js +2957 -0
  42. package/build/src/v1/assistant_service_client_config.json +43 -0
  43. package/build/src/v1/assistant_service_proto_list.json +48 -0
  44. package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
  45. package/build/src/v1/cmek_config_service_client.js +3426 -0
  46. package/build/src/v1/cmek_config_service_client_config.json +42 -0
  47. package/build/src/v1/cmek_config_service_proto_list.json +48 -0
  48. package/build/src/v1/completion_service_client.d.ts +345 -144
  49. package/build/src/v1/completion_service_client.js +482 -198
  50. package/build/src/v1/completion_service_proto_list.json +10 -1
  51. package/build/src/v1/control_service_client.d.ts +345 -144
  52. package/build/src/v1/control_service_client.js +498 -196
  53. package/build/src/v1/control_service_proto_list.json +10 -1
  54. package/build/src/v1/conversational_search_service_client.d.ts +392 -155
  55. package/build/src/v1/conversational_search_service_client.js +572 -204
  56. package/build/src/v1/conversational_search_service_proto_list.json +10 -1
  57. package/build/src/v1/data_store_service_client.d.ts +351 -144
  58. package/build/src/v1/data_store_service_client.js +488 -198
  59. package/build/src/v1/data_store_service_proto_list.json +10 -1
  60. package/build/src/v1/document_service_client.d.ts +345 -144
  61. package/build/src/v1/document_service_client.js +506 -198
  62. package/build/src/v1/document_service_proto_list.json +10 -1
  63. package/build/src/v1/engine_service_client.d.ts +345 -144
  64. package/build/src/v1/engine_service_client.js +488 -198
  65. package/build/src/v1/engine_service_proto_list.json +10 -1
  66. package/build/src/v1/gapic_metadata.json +270 -0
  67. package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
  68. package/build/src/v1/grounded_generation_service_client.js +486 -196
  69. package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
  70. package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
  71. package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
  72. package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
  73. package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
  74. package/build/src/v1/index.d.ts +5 -0
  75. package/build/src/v1/index.js +11 -1
  76. package/build/src/v1/project_service_client.d.ts +345 -144
  77. package/build/src/v1/project_service_client.js +476 -198
  78. package/build/src/v1/project_service_proto_list.json +10 -1
  79. package/build/src/v1/rank_service_client.d.ts +345 -144
  80. package/build/src/v1/rank_service_client.js +480 -196
  81. package/build/src/v1/rank_service_proto_list.json +10 -1
  82. package/build/src/v1/recommendation_service_client.d.ts +345 -144
  83. package/build/src/v1/recommendation_service_client.js +480 -196
  84. package/build/src/v1/recommendation_service_proto_list.json +10 -1
  85. package/build/src/v1/schema_service_client.d.ts +345 -144
  86. package/build/src/v1/schema_service_client.js +482 -198
  87. package/build/src/v1/schema_service_proto_list.json +10 -1
  88. package/build/src/v1/search_service_client.d.ts +393 -228
  89. package/build/src/v1/search_service_client.js +506 -252
  90. package/build/src/v1/search_service_proto_list.json +10 -1
  91. package/build/src/v1/search_tuning_service_client.d.ts +345 -144
  92. package/build/src/v1/search_tuning_service_client.js +482 -198
  93. package/build/src/v1/search_tuning_service_proto_list.json +10 -1
  94. package/build/src/v1/serving_config_service_client.d.ts +345 -144
  95. package/build/src/v1/serving_config_service_client.js +480 -196
  96. package/build/src/v1/serving_config_service_proto_list.json +10 -1
  97. package/build/src/v1/session_service_client.d.ts +2326 -0
  98. package/build/src/v1/session_service_client.js +3218 -0
  99. package/build/src/v1/session_service_client_config.json +63 -0
  100. package/build/src/v1/session_service_proto_list.json +48 -0
  101. package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
  102. package/build/src/v1/site_search_engine_service_client.js +494 -198
  103. package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
  104. package/build/src/v1/user_event_service_client.d.ts +345 -144
  105. package/build/src/v1/user_event_service_client.js +488 -198
  106. package/build/src/v1/user_event_service_proto_list.json +10 -1
  107. package/build/src/v1/user_license_service_client.d.ts +2367 -0
  108. package/build/src/v1/user_license_service_client.js +3346 -0
  109. package/build/src/v1/user_license_service_client_config.json +34 -0
  110. package/build/src/v1/user_license_service_proto_list.json +48 -0
  111. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  112. package/build/src/v1alpha/acl_config_service_client.js +208 -196
  113. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  114. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  115. package/build/src/v1alpha/chunk_service_client.js +202 -196
  116. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  117. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  118. package/build/src/v1alpha/completion_service_client.js +203 -197
  119. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  120. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  121. package/build/src/v1alpha/control_service_client.js +220 -196
  122. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  123. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  124. package/build/src/v1alpha/conversational_search_service_client.js +310 -210
  125. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  126. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  127. package/build/src/v1alpha/data_store_service_client.js +221 -197
  128. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  129. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  130. package/build/src/v1alpha/document_service_client.js +233 -197
  131. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  132. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  133. package/build/src/v1alpha/engine_service_client.js +221 -197
  134. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  135. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  136. package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
  137. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  138. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  139. package/build/src/v1alpha/evaluation_service_client.js +203 -197
  140. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  141. package/build/src/v1alpha/gapic_metadata.json +82 -0
  142. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
  144. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/index.d.ts +1 -0
  146. package/build/src/v1alpha/index.js +3 -1
  147. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  148. package/build/src/v1alpha/project_service_client.js +209 -197
  149. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  150. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  151. package/build/src/v1alpha/rank_service_client.js +202 -196
  152. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  153. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  154. package/build/src/v1alpha/recommendation_service_client.js +202 -196
  155. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  156. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  157. package/build/src/v1alpha/sample_query_service_client.js +221 -197
  158. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  159. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  160. package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
  161. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  162. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  163. package/build/src/v1alpha/schema_service_client.js +203 -197
  164. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  165. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  166. package/build/src/v1alpha/search_service_client.js +212 -224
  167. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  168. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  169. package/build/src/v1alpha/search_tuning_service_client.js +203 -197
  170. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  171. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  172. package/build/src/v1alpha/serving_config_service_client.js +208 -196
  173. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  174. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  175. package/build/src/v1alpha/session_service_client.js +3161 -0
  176. package/build/src/v1alpha/session_service_client_config.json +68 -0
  177. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  178. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  179. package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
  180. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  181. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  182. package/build/src/v1alpha/user_event_service_client.js +209 -197
  183. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  184. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  185. package/build/src/v1beta/completion_service_client.js +209 -197
  186. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  187. package/build/src/v1beta/control_service_client.d.ts +144 -144
  188. package/build/src/v1beta/control_service_client.js +220 -196
  189. package/build/src/v1beta/control_service_proto_list.json +1 -0
  190. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  191. package/build/src/v1beta/conversational_search_service_client.js +308 -208
  192. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  193. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  194. package/build/src/v1beta/data_store_service_client.js +209 -197
  195. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  196. package/build/src/v1beta/document_service_client.d.ts +144 -144
  197. package/build/src/v1beta/document_service_client.js +227 -197
  198. package/build/src/v1beta/document_service_proto_list.json +1 -0
  199. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  200. package/build/src/v1beta/engine_service_client.js +221 -197
  201. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  202. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  203. package/build/src/v1beta/evaluation_service_client.js +203 -197
  204. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  205. package/build/src/v1beta/gapic_metadata.json +68 -0
  206. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  207. package/build/src/v1beta/grounded_generation_service_client.js +208 -196
  208. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  209. package/build/src/v1beta/index.d.ts +1 -0
  210. package/build/src/v1beta/index.js +3 -1
  211. package/build/src/v1beta/project_service_client.d.ts +144 -144
  212. package/build/src/v1beta/project_service_client.js +197 -197
  213. package/build/src/v1beta/project_service_proto_list.json +1 -0
  214. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  215. package/build/src/v1beta/rank_service_client.js +202 -196
  216. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  217. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  218. package/build/src/v1beta/recommendation_service_client.js +202 -196
  219. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  220. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  221. package/build/src/v1beta/sample_query_service_client.js +221 -197
  222. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  223. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  224. package/build/src/v1beta/sample_query_set_service_client.js +220 -196
  225. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  226. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  227. package/build/src/v1beta/schema_service_client.js +203 -197
  228. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  229. package/build/src/v1beta/search_service_client.d.ts +192 -228
  230. package/build/src/v1beta/search_service_client.js +228 -252
  231. package/build/src/v1beta/search_service_proto_list.json +1 -0
  232. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  233. package/build/src/v1beta/search_tuning_service_client.js +203 -197
  234. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  235. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  236. package/build/src/v1beta/serving_config_service_client.js +208 -196
  237. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  238. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  239. package/build/src/v1beta/session_service_client.js +3136 -0
  240. package/build/src/v1beta/session_service_client_config.json +63 -0
  241. package/build/src/v1beta/session_service_proto_list.json +45 -0
  242. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  243. package/build/src/v1beta/site_search_engine_service_client.js +215 -197
  244. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  245. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  246. package/build/src/v1beta/user_event_service_client.js +209 -197
  247. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  248. package/package.json +7 -7
  249. package/CHANGELOG.md +0 -274
@@ -175,15 +175,15 @@ class AclConfigServiceClient {
175
175
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
176
176
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
177
177
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
178
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
179
178
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
179
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
180
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
181
181
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
182
182
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
183
183
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
184
184
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
185
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
186
185
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
186
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
187
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
188
188
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
189
189
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -193,8 +193,8 @@ class AclConfigServiceClient {
193
193
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
194
194
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
195
195
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
196
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
197
196
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
197
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
198
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
199
199
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
200
200
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -338,6 +338,12 @@ class AclConfigServiceClient {
338
338
  ?.then(([response, options, rawResponse]) => {
339
339
  this._log.info('updateAclConfig response %j', response);
340
340
  return [response, options, rawResponse];
341
+ }).catch((error) => {
342
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
343
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
344
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
345
+ }
346
+ throw error;
341
347
  });
342
348
  }
343
349
  getAclConfig(request, optionsOrCallback, callback) {
@@ -368,6 +374,12 @@ class AclConfigServiceClient {
368
374
  ?.then(([response, options, rawResponse]) => {
369
375
  this._log.info('getAclConfig response %j', response);
370
376
  return [response, options, rawResponse];
377
+ }).catch((error) => {
378
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
379
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
380
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
381
+ }
382
+ throw error;
371
383
  });
372
384
  }
373
385
  /**
@@ -1218,154 +1230,154 @@ class AclConfigServiceClient {
1218
1230
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1219
1231
  }
1220
1232
  /**
1221
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1233
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1222
1234
  *
1223
1235
  * @param {string} project
1224
1236
  * @param {string} location
1225
1237
  * @param {string} collection
1226
1238
  * @param {string} data_store
1227
1239
  * @param {string} session
1240
+ * @param {string} answer
1228
1241
  * @returns {string} Resource name string.
1229
1242
  */
1230
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1231
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1243
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1244
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1232
1245
  project: project,
1233
1246
  location: location,
1234
1247
  collection: collection,
1235
1248
  data_store: dataStore,
1236
1249
  session: session,
1250
+ answer: answer,
1237
1251
  });
1238
1252
  }
1239
1253
  /**
1240
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1254
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1241
1255
  *
1242
- * @param {string} projectLocationCollectionDataStoreSessionName
1243
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1256
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1257
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1244
1258
  * @returns {string} A string representing the project.
1245
1259
  */
1246
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1247
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1260
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1261
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1248
1262
  }
1249
1263
  /**
1250
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1264
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1251
1265
  *
1252
- * @param {string} projectLocationCollectionDataStoreSessionName
1253
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1266
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1267
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1254
1268
  * @returns {string} A string representing the location.
1255
1269
  */
1256
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1257
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1270
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1271
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1258
1272
  }
1259
1273
  /**
1260
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1274
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1261
1275
  *
1262
- * @param {string} projectLocationCollectionDataStoreSessionName
1263
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1276
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1277
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1264
1278
  * @returns {string} A string representing the collection.
1265
1279
  */
1266
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1267
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1280
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1281
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1268
1282
  }
1269
1283
  /**
1270
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1284
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1271
1285
  *
1272
- * @param {string} projectLocationCollectionDataStoreSessionName
1273
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1286
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1287
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1274
1288
  * @returns {string} A string representing the data_store.
1275
1289
  */
1276
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1277
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1290
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1291
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1278
1292
  }
1279
1293
  /**
1280
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1294
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1281
1295
  *
1282
- * @param {string} projectLocationCollectionDataStoreSessionName
1283
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1296
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1297
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1284
1298
  * @returns {string} A string representing the session.
1285
1299
  */
1286
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1287
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1300
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1301
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1288
1302
  }
1289
1303
  /**
1290
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1304
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1305
+ *
1306
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1307
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1308
+ * @returns {string} A string representing the answer.
1309
+ */
1310
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1311
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1312
+ }
1313
+ /**
1314
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1291
1315
  *
1292
1316
  * @param {string} project
1293
1317
  * @param {string} location
1294
1318
  * @param {string} collection
1295
1319
  * @param {string} data_store
1296
1320
  * @param {string} session
1297
- * @param {string} answer
1298
1321
  * @returns {string} Resource name string.
1299
1322
  */
1300
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1301
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1323
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1324
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1302
1325
  project: project,
1303
1326
  location: location,
1304
1327
  collection: collection,
1305
1328
  data_store: dataStore,
1306
1329
  session: session,
1307
- answer: answer,
1308
1330
  });
1309
1331
  }
1310
1332
  /**
1311
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1333
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1312
1334
  *
1313
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1314
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1335
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1336
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1315
1337
  * @returns {string} A string representing the project.
1316
1338
  */
1317
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1318
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1339
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1340
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1319
1341
  }
1320
1342
  /**
1321
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1343
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1322
1344
  *
1323
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1324
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1345
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1346
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1325
1347
  * @returns {string} A string representing the location.
1326
1348
  */
1327
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1328
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1349
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1350
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1329
1351
  }
1330
1352
  /**
1331
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1353
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1332
1354
  *
1333
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1334
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1355
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1356
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1335
1357
  * @returns {string} A string representing the collection.
1336
1358
  */
1337
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1338
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1359
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1360
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1339
1361
  }
1340
1362
  /**
1341
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1363
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1342
1364
  *
1343
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1344
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1365
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1366
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1345
1367
  * @returns {string} A string representing the data_store.
1346
1368
  */
1347
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1348
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1369
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1370
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1349
1371
  }
1350
1372
  /**
1351
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1373
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1352
1374
  *
1353
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1354
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1375
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1376
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1355
1377
  * @returns {string} A string representing the session.
1356
1378
  */
1357
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1358
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1359
- }
1360
- /**
1361
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1362
- *
1363
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1364
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1365
- * @returns {string} A string representing the answer.
1366
- */
1367
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1368
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1379
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1380
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1369
1381
  }
1370
1382
  /**
1371
1383
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1701,154 +1713,154 @@ class AclConfigServiceClient {
1701
1713
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1702
1714
  }
1703
1715
  /**
1704
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1716
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1705
1717
  *
1706
1718
  * @param {string} project
1707
1719
  * @param {string} location
1708
1720
  * @param {string} collection
1709
1721
  * @param {string} engine
1710
1722
  * @param {string} session
1723
+ * @param {string} answer
1711
1724
  * @returns {string} Resource name string.
1712
1725
  */
1713
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1714
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1726
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1727
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1715
1728
  project: project,
1716
1729
  location: location,
1717
1730
  collection: collection,
1718
1731
  engine: engine,
1719
1732
  session: session,
1733
+ answer: answer,
1720
1734
  });
1721
1735
  }
1722
1736
  /**
1723
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1737
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1724
1738
  *
1725
- * @param {string} projectLocationCollectionEngineSessionName
1726
- * A fully-qualified path representing project_location_collection_engine_session resource.
1739
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1740
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1727
1741
  * @returns {string} A string representing the project.
1728
1742
  */
1729
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1730
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1743
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1744
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1731
1745
  }
1732
1746
  /**
1733
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1747
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1734
1748
  *
1735
- * @param {string} projectLocationCollectionEngineSessionName
1736
- * A fully-qualified path representing project_location_collection_engine_session resource.
1749
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1750
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1737
1751
  * @returns {string} A string representing the location.
1738
1752
  */
1739
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1740
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1753
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1754
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1741
1755
  }
1742
1756
  /**
1743
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1757
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1744
1758
  *
1745
- * @param {string} projectLocationCollectionEngineSessionName
1746
- * A fully-qualified path representing project_location_collection_engine_session resource.
1759
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1760
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1747
1761
  * @returns {string} A string representing the collection.
1748
1762
  */
1749
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1750
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1763
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1764
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1751
1765
  }
1752
1766
  /**
1753
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1767
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1754
1768
  *
1755
- * @param {string} projectLocationCollectionEngineSessionName
1756
- * A fully-qualified path representing project_location_collection_engine_session resource.
1769
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1770
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1757
1771
  * @returns {string} A string representing the engine.
1758
1772
  */
1759
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1760
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1773
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1774
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1761
1775
  }
1762
1776
  /**
1763
- * Parse the session from ProjectLocationCollectionEngineSession resource.
1777
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1764
1778
  *
1765
- * @param {string} projectLocationCollectionEngineSessionName
1766
- * A fully-qualified path representing project_location_collection_engine_session resource.
1779
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1780
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1767
1781
  * @returns {string} A string representing the session.
1768
1782
  */
1769
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1770
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1783
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1784
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1771
1785
  }
1772
1786
  /**
1773
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1787
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1788
+ *
1789
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1790
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1791
+ * @returns {string} A string representing the answer.
1792
+ */
1793
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1794
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1795
+ }
1796
+ /**
1797
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1774
1798
  *
1775
1799
  * @param {string} project
1776
1800
  * @param {string} location
1777
1801
  * @param {string} collection
1778
1802
  * @param {string} engine
1779
1803
  * @param {string} session
1780
- * @param {string} answer
1781
1804
  * @returns {string} Resource name string.
1782
1805
  */
1783
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1784
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1806
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
1807
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1785
1808
  project: project,
1786
1809
  location: location,
1787
1810
  collection: collection,
1788
1811
  engine: engine,
1789
1812
  session: session,
1790
- answer: answer,
1791
1813
  });
1792
1814
  }
1793
1815
  /**
1794
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1816
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1795
1817
  *
1796
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1797
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1818
+ * @param {string} projectLocationCollectionEngineSessionsName
1819
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1798
1820
  * @returns {string} A string representing the project.
1799
1821
  */
1800
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1801
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1822
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1823
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1802
1824
  }
1803
1825
  /**
1804
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1826
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1805
1827
  *
1806
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1807
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1828
+ * @param {string} projectLocationCollectionEngineSessionsName
1829
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1808
1830
  * @returns {string} A string representing the location.
1809
1831
  */
1810
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1811
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1832
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1833
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1812
1834
  }
1813
1835
  /**
1814
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1836
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1815
1837
  *
1816
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1817
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1838
+ * @param {string} projectLocationCollectionEngineSessionsName
1839
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1818
1840
  * @returns {string} A string representing the collection.
1819
1841
  */
1820
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1821
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1842
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1843
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1822
1844
  }
1823
1845
  /**
1824
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1846
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1825
1847
  *
1826
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1827
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1848
+ * @param {string} projectLocationCollectionEngineSessionsName
1849
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1828
1850
  * @returns {string} A string representing the engine.
1829
1851
  */
1830
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1831
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1852
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1853
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1832
1854
  }
1833
1855
  /**
1834
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1856
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
1835
1857
  *
1836
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1837
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1858
+ * @param {string} projectLocationCollectionEngineSessionsName
1859
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1838
1860
  * @returns {string} A string representing the session.
1839
1861
  */
1840
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1841
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1842
- }
1843
- /**
1844
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1845
- *
1846
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1847
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1848
- * @returns {string} A string representing the answer.
1849
- */
1850
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1851
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1862
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1863
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
1852
1864
  }
1853
1865
  /**
1854
1866
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2375,63 +2387,6 @@ class AclConfigServiceClient {
2375
2387
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2376
2388
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2377
2389
  }
2378
- /**
2379
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2380
- *
2381
- * @param {string} project
2382
- * @param {string} location
2383
- * @param {string} data_store
2384
- * @param {string} session
2385
- * @returns {string} Resource name string.
2386
- */
2387
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2388
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2389
- project: project,
2390
- location: location,
2391
- data_store: dataStore,
2392
- session: session,
2393
- });
2394
- }
2395
- /**
2396
- * Parse the project from ProjectLocationDataStoreSession resource.
2397
- *
2398
- * @param {string} projectLocationDataStoreSessionName
2399
- * A fully-qualified path representing project_location_data_store_session resource.
2400
- * @returns {string} A string representing the project.
2401
- */
2402
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2403
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2404
- }
2405
- /**
2406
- * Parse the location from ProjectLocationDataStoreSession resource.
2407
- *
2408
- * @param {string} projectLocationDataStoreSessionName
2409
- * A fully-qualified path representing project_location_data_store_session resource.
2410
- * @returns {string} A string representing the location.
2411
- */
2412
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2413
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2414
- }
2415
- /**
2416
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2417
- *
2418
- * @param {string} projectLocationDataStoreSessionName
2419
- * A fully-qualified path representing project_location_data_store_session resource.
2420
- * @returns {string} A string representing the data_store.
2421
- */
2422
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2423
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2424
- }
2425
- /**
2426
- * Parse the session from ProjectLocationDataStoreSession resource.
2427
- *
2428
- * @param {string} projectLocationDataStoreSessionName
2429
- * A fully-qualified path representing project_location_data_store_session resource.
2430
- * @returns {string} A string representing the session.
2431
- */
2432
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2433
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2434
- }
2435
2390
  /**
2436
2391
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2437
2392
  *
@@ -2501,6 +2456,63 @@ class AclConfigServiceClient {
2501
2456
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2502
2457
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2503
2458
  }
2459
+ /**
2460
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2461
+ *
2462
+ * @param {string} project
2463
+ * @param {string} location
2464
+ * @param {string} data_store
2465
+ * @param {string} session
2466
+ * @returns {string} Resource name string.
2467
+ */
2468
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2469
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2470
+ project: project,
2471
+ location: location,
2472
+ data_store: dataStore,
2473
+ session: session,
2474
+ });
2475
+ }
2476
+ /**
2477
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2478
+ *
2479
+ * @param {string} projectLocationDataStoreSessionsName
2480
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2481
+ * @returns {string} A string representing the project.
2482
+ */
2483
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2484
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2485
+ }
2486
+ /**
2487
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2488
+ *
2489
+ * @param {string} projectLocationDataStoreSessionsName
2490
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2491
+ * @returns {string} A string representing the location.
2492
+ */
2493
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2494
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2495
+ }
2496
+ /**
2497
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2498
+ *
2499
+ * @param {string} projectLocationDataStoreSessionsName
2500
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2501
+ * @returns {string} A string representing the data_store.
2502
+ */
2503
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2504
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2505
+ }
2506
+ /**
2507
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2508
+ *
2509
+ * @param {string} projectLocationDataStoreSessionsName
2510
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2511
+ * @returns {string} A string representing the session.
2512
+ */
2513
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2514
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2515
+ }
2504
2516
  /**
2505
2517
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2506
2518
  *