@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
@@ -177,15 +177,15 @@ class SampleQueryServiceClient {
177
177
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
178
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
179
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
180
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
181
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
182
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
184
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
185
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
186
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
187
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
188
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
189
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
190
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
191
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,8 +195,8 @@ class SampleQueryServiceClient {
195
195
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
196
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
197
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
198
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
199
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
200
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
201
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
202
202
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -208,7 +208,7 @@ class SampleQueryServiceClient {
208
208
  this.descriptors.page = {
209
209
  listSampleQueries: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'sampleQueries')
210
210
  };
211
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
211
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
212
212
  // This API contains "long-running operations", which return a
213
213
  // an Operation object that allows for tracking of the operation,
214
214
  // rather than holding a request open.
@@ -369,6 +369,12 @@ class SampleQueryServiceClient {
369
369
  ?.then(([response, options, rawResponse]) => {
370
370
  this._log.info('getSampleQuery response %j', response);
371
371
  return [response, options, rawResponse];
372
+ }).catch((error) => {
373
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
374
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
375
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
376
+ }
377
+ throw error;
372
378
  });
373
379
  }
374
380
  createSampleQuery(request, optionsOrCallback, callback) {
@@ -399,6 +405,12 @@ class SampleQueryServiceClient {
399
405
  ?.then(([response, options, rawResponse]) => {
400
406
  this._log.info('createSampleQuery response %j', response);
401
407
  return [response, options, rawResponse];
408
+ }).catch((error) => {
409
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
410
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
411
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
412
+ }
413
+ throw error;
402
414
  });
403
415
  }
404
416
  updateSampleQuery(request, optionsOrCallback, callback) {
@@ -429,6 +441,12 @@ class SampleQueryServiceClient {
429
441
  ?.then(([response, options, rawResponse]) => {
430
442
  this._log.info('updateSampleQuery response %j', response);
431
443
  return [response, options, rawResponse];
444
+ }).catch((error) => {
445
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
446
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
447
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
448
+ }
449
+ throw error;
432
450
  });
433
451
  }
434
452
  deleteSampleQuery(request, optionsOrCallback, callback) {
@@ -459,6 +477,12 @@ class SampleQueryServiceClient {
459
477
  ?.then(([response, options, rawResponse]) => {
460
478
  this._log.info('deleteSampleQuery response %j', response);
461
479
  return [response, options, rawResponse];
480
+ }).catch((error) => {
481
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
482
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
483
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
484
+ }
485
+ throw error;
462
486
  });
463
487
  }
464
488
  importSampleQueries(request, optionsOrCallback, callback) {
@@ -1681,154 +1705,154 @@ class SampleQueryServiceClient {
1681
1705
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1682
1706
  }
1683
1707
  /**
1684
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1708
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1685
1709
  *
1686
1710
  * @param {string} project
1687
1711
  * @param {string} location
1688
1712
  * @param {string} collection
1689
1713
  * @param {string} data_store
1690
1714
  * @param {string} session
1715
+ * @param {string} answer
1691
1716
  * @returns {string} Resource name string.
1692
1717
  */
1693
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1694
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1718
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1719
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1695
1720
  project: project,
1696
1721
  location: location,
1697
1722
  collection: collection,
1698
1723
  data_store: dataStore,
1699
1724
  session: session,
1725
+ answer: answer,
1700
1726
  });
1701
1727
  }
1702
1728
  /**
1703
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1729
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1704
1730
  *
1705
- * @param {string} projectLocationCollectionDataStoreSessionName
1706
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1731
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1732
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1707
1733
  * @returns {string} A string representing the project.
1708
1734
  */
1709
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1710
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1735
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1736
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1711
1737
  }
1712
1738
  /**
1713
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1739
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1714
1740
  *
1715
- * @param {string} projectLocationCollectionDataStoreSessionName
1716
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1741
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1742
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1717
1743
  * @returns {string} A string representing the location.
1718
1744
  */
1719
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1720
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1745
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1746
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1721
1747
  }
1722
1748
  /**
1723
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1749
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1724
1750
  *
1725
- * @param {string} projectLocationCollectionDataStoreSessionName
1726
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1751
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1752
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1727
1753
  * @returns {string} A string representing the collection.
1728
1754
  */
1729
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1730
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1755
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1756
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1731
1757
  }
1732
1758
  /**
1733
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1759
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1734
1760
  *
1735
- * @param {string} projectLocationCollectionDataStoreSessionName
1736
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1761
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1762
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1737
1763
  * @returns {string} A string representing the data_store.
1738
1764
  */
1739
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1740
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1765
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1766
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1741
1767
  }
1742
1768
  /**
1743
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1769
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1744
1770
  *
1745
- * @param {string} projectLocationCollectionDataStoreSessionName
1746
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1771
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1772
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1747
1773
  * @returns {string} A string representing the session.
1748
1774
  */
1749
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1750
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1775
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1776
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1751
1777
  }
1752
1778
  /**
1753
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1779
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1780
+ *
1781
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1782
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1783
+ * @returns {string} A string representing the answer.
1784
+ */
1785
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1786
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1787
+ }
1788
+ /**
1789
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1754
1790
  *
1755
1791
  * @param {string} project
1756
1792
  * @param {string} location
1757
1793
  * @param {string} collection
1758
1794
  * @param {string} data_store
1759
1795
  * @param {string} session
1760
- * @param {string} answer
1761
1796
  * @returns {string} Resource name string.
1762
1797
  */
1763
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1764
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1798
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1799
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1765
1800
  project: project,
1766
1801
  location: location,
1767
1802
  collection: collection,
1768
1803
  data_store: dataStore,
1769
1804
  session: session,
1770
- answer: answer,
1771
1805
  });
1772
1806
  }
1773
1807
  /**
1774
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1808
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1775
1809
  *
1776
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1777
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1810
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1811
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1778
1812
  * @returns {string} A string representing the project.
1779
1813
  */
1780
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1781
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1814
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1815
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1782
1816
  }
1783
1817
  /**
1784
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1818
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1785
1819
  *
1786
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1787
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1820
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1821
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1788
1822
  * @returns {string} A string representing the location.
1789
1823
  */
1790
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1791
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1824
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1825
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1792
1826
  }
1793
1827
  /**
1794
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1828
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1795
1829
  *
1796
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1797
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1830
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1831
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1798
1832
  * @returns {string} A string representing the collection.
1799
1833
  */
1800
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1801
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1834
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1835
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1802
1836
  }
1803
1837
  /**
1804
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1838
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1805
1839
  *
1806
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1807
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1840
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1841
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1808
1842
  * @returns {string} A string representing the data_store.
1809
1843
  */
1810
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1811
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1844
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1845
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1812
1846
  }
1813
1847
  /**
1814
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1848
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1815
1849
  *
1816
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1817
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1850
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1851
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1818
1852
  * @returns {string} A string representing the session.
1819
1853
  */
1820
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1821
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1822
- }
1823
- /**
1824
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1825
- *
1826
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1827
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1828
- * @returns {string} A string representing the answer.
1829
- */
1830
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1831
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1854
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1855
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1832
1856
  }
1833
1857
  /**
1834
1858
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2164,154 +2188,154 @@ class SampleQueryServiceClient {
2164
2188
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2165
2189
  }
2166
2190
  /**
2167
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2191
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2168
2192
  *
2169
2193
  * @param {string} project
2170
2194
  * @param {string} location
2171
2195
  * @param {string} collection
2172
2196
  * @param {string} engine
2173
2197
  * @param {string} session
2198
+ * @param {string} answer
2174
2199
  * @returns {string} Resource name string.
2175
2200
  */
2176
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2177
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2201
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2202
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2178
2203
  project: project,
2179
2204
  location: location,
2180
2205
  collection: collection,
2181
2206
  engine: engine,
2182
2207
  session: session,
2208
+ answer: answer,
2183
2209
  });
2184
2210
  }
2185
2211
  /**
2186
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2212
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2187
2213
  *
2188
- * @param {string} projectLocationCollectionEngineSessionName
2189
- * A fully-qualified path representing project_location_collection_engine_session resource.
2214
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2215
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2190
2216
  * @returns {string} A string representing the project.
2191
2217
  */
2192
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2193
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2218
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2219
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2194
2220
  }
2195
2221
  /**
2196
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2222
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2197
2223
  *
2198
- * @param {string} projectLocationCollectionEngineSessionName
2199
- * A fully-qualified path representing project_location_collection_engine_session resource.
2224
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2225
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2200
2226
  * @returns {string} A string representing the location.
2201
2227
  */
2202
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2203
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2228
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2229
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2204
2230
  }
2205
2231
  /**
2206
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2232
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2207
2233
  *
2208
- * @param {string} projectLocationCollectionEngineSessionName
2209
- * A fully-qualified path representing project_location_collection_engine_session resource.
2234
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2235
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2210
2236
  * @returns {string} A string representing the collection.
2211
2237
  */
2212
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2213
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2238
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2239
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2214
2240
  }
2215
2241
  /**
2216
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2242
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2217
2243
  *
2218
- * @param {string} projectLocationCollectionEngineSessionName
2219
- * A fully-qualified path representing project_location_collection_engine_session resource.
2244
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2245
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2220
2246
  * @returns {string} A string representing the engine.
2221
2247
  */
2222
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2223
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2248
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2249
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2224
2250
  }
2225
2251
  /**
2226
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2252
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2227
2253
  *
2228
- * @param {string} projectLocationCollectionEngineSessionName
2229
- * A fully-qualified path representing project_location_collection_engine_session resource.
2254
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2255
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2230
2256
  * @returns {string} A string representing the session.
2231
2257
  */
2232
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2233
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2258
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2259
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2234
2260
  }
2235
2261
  /**
2236
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2262
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2263
+ *
2264
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2265
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2266
+ * @returns {string} A string representing the answer.
2267
+ */
2268
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2269
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2270
+ }
2271
+ /**
2272
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2237
2273
  *
2238
2274
  * @param {string} project
2239
2275
  * @param {string} location
2240
2276
  * @param {string} collection
2241
2277
  * @param {string} engine
2242
2278
  * @param {string} session
2243
- * @param {string} answer
2244
2279
  * @returns {string} Resource name string.
2245
2280
  */
2246
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2247
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2281
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2282
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2248
2283
  project: project,
2249
2284
  location: location,
2250
2285
  collection: collection,
2251
2286
  engine: engine,
2252
2287
  session: session,
2253
- answer: answer,
2254
2288
  });
2255
2289
  }
2256
2290
  /**
2257
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2291
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2258
2292
  *
2259
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2260
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2293
+ * @param {string} projectLocationCollectionEngineSessionsName
2294
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2261
2295
  * @returns {string} A string representing the project.
2262
2296
  */
2263
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2264
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2297
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2298
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2265
2299
  }
2266
2300
  /**
2267
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2301
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2268
2302
  *
2269
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2270
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2303
+ * @param {string} projectLocationCollectionEngineSessionsName
2304
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2271
2305
  * @returns {string} A string representing the location.
2272
2306
  */
2273
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2274
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2307
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2308
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2275
2309
  }
2276
2310
  /**
2277
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2311
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2278
2312
  *
2279
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2280
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2313
+ * @param {string} projectLocationCollectionEngineSessionsName
2314
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2281
2315
  * @returns {string} A string representing the collection.
2282
2316
  */
2283
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2284
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2317
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2318
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2285
2319
  }
2286
2320
  /**
2287
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2321
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2288
2322
  *
2289
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2290
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2323
+ * @param {string} projectLocationCollectionEngineSessionsName
2324
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2291
2325
  * @returns {string} A string representing the engine.
2292
2326
  */
2293
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2294
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2327
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2328
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2295
2329
  }
2296
2330
  /**
2297
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2331
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2298
2332
  *
2299
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2300
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2333
+ * @param {string} projectLocationCollectionEngineSessionsName
2334
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2301
2335
  * @returns {string} A string representing the session.
2302
2336
  */
2303
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2304
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2305
- }
2306
- /**
2307
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2308
- *
2309
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2310
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2311
- * @returns {string} A string representing the answer.
2312
- */
2313
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2314
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2337
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2338
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2315
2339
  }
2316
2340
  /**
2317
2341
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2838,63 +2862,6 @@ class SampleQueryServiceClient {
2838
2862
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2839
2863
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2840
2864
  }
2841
- /**
2842
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2843
- *
2844
- * @param {string} project
2845
- * @param {string} location
2846
- * @param {string} data_store
2847
- * @param {string} session
2848
- * @returns {string} Resource name string.
2849
- */
2850
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2851
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2852
- project: project,
2853
- location: location,
2854
- data_store: dataStore,
2855
- session: session,
2856
- });
2857
- }
2858
- /**
2859
- * Parse the project from ProjectLocationDataStoreSession resource.
2860
- *
2861
- * @param {string} projectLocationDataStoreSessionName
2862
- * A fully-qualified path representing project_location_data_store_session resource.
2863
- * @returns {string} A string representing the project.
2864
- */
2865
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2866
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2867
- }
2868
- /**
2869
- * Parse the location from ProjectLocationDataStoreSession resource.
2870
- *
2871
- * @param {string} projectLocationDataStoreSessionName
2872
- * A fully-qualified path representing project_location_data_store_session resource.
2873
- * @returns {string} A string representing the location.
2874
- */
2875
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2876
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2877
- }
2878
- /**
2879
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2880
- *
2881
- * @param {string} projectLocationDataStoreSessionName
2882
- * A fully-qualified path representing project_location_data_store_session resource.
2883
- * @returns {string} A string representing the data_store.
2884
- */
2885
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2886
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2887
- }
2888
- /**
2889
- * Parse the session from ProjectLocationDataStoreSession resource.
2890
- *
2891
- * @param {string} projectLocationDataStoreSessionName
2892
- * A fully-qualified path representing project_location_data_store_session resource.
2893
- * @returns {string} A string representing the session.
2894
- */
2895
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2896
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2897
- }
2898
2865
  /**
2899
2866
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2900
2867
  *
@@ -2964,6 +2931,63 @@ class SampleQueryServiceClient {
2964
2931
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2965
2932
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2966
2933
  }
2934
+ /**
2935
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2936
+ *
2937
+ * @param {string} project
2938
+ * @param {string} location
2939
+ * @param {string} data_store
2940
+ * @param {string} session
2941
+ * @returns {string} Resource name string.
2942
+ */
2943
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2944
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2945
+ project: project,
2946
+ location: location,
2947
+ data_store: dataStore,
2948
+ session: session,
2949
+ });
2950
+ }
2951
+ /**
2952
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2953
+ *
2954
+ * @param {string} projectLocationDataStoreSessionsName
2955
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2956
+ * @returns {string} A string representing the project.
2957
+ */
2958
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2959
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2960
+ }
2961
+ /**
2962
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2963
+ *
2964
+ * @param {string} projectLocationDataStoreSessionsName
2965
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2966
+ * @returns {string} A string representing the location.
2967
+ */
2968
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2969
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2970
+ }
2971
+ /**
2972
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2973
+ *
2974
+ * @param {string} projectLocationDataStoreSessionsName
2975
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2976
+ * @returns {string} A string representing the data_store.
2977
+ */
2978
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2979
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2980
+ }
2981
+ /**
2982
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2983
+ *
2984
+ * @param {string} projectLocationDataStoreSessionsName
2985
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2986
+ * @returns {string} A string representing the session.
2987
+ */
2988
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2989
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2990
+ }
2967
2991
  /**
2968
2992
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2969
2993
  *