@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
@@ -164,8 +164,13 @@ class DocumentServiceClient {
164
164
  // identifiers to uniquely identify resources within the API.
165
165
  // Create useful helper objects for these.
166
166
  this.pathTemplates = {
167
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
168
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
167
169
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
170
+ identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
168
171
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
172
+ projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
173
+ projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
169
174
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
170
175
  projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
171
176
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
@@ -176,16 +181,16 @@ class DocumentServiceClient {
176
181
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
182
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
183
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
184
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
185
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
186
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
187
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
183
188
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
189
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
190
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
191
  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
192
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
193
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
194
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
195
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
191
196
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
@@ -196,8 +201,8 @@ class DocumentServiceClient {
196
201
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
202
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
203
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
199
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
204
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
205
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
206
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
207
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
203
208
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -208,7 +213,7 @@ class DocumentServiceClient {
208
213
  this.descriptors.page = {
209
214
  listDocuments: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'documents')
210
215
  };
211
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
216
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
212
217
  // This API contains "long-running operations", which return a
213
218
  // an Operation object that allows for tracking of the operation,
214
219
  // rather than holding a request open.
@@ -218,7 +223,7 @@ class DocumentServiceClient {
218
223
  };
219
224
  if (opts.fallback) {
220
225
  lroOptions.protoJson = protoFilesRoot;
221
- lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
226
+ lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
222
227
  }, { selector: 'google.longrunning.Operations.GetOperation', get: '/v1/{name=projects/*/operations/*}', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/operations/*}', }, { get: '/v1/{name=projects/*/operations/*}', }],
223
228
  }, { selector: 'google.longrunning.Operations.ListOperations', get: '/v1/{name=projects/*}/operations', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*}/operations', }, { get: '/v1/{name=projects/*}/operations', }],
224
229
  }];
@@ -372,6 +377,12 @@ class DocumentServiceClient {
372
377
  ?.then(([response, options, rawResponse]) => {
373
378
  this._log.info('getDocument response %j', response);
374
379
  return [response, options, rawResponse];
380
+ }).catch((error) => {
381
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
382
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
383
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
384
+ }
385
+ throw error;
375
386
  });
376
387
  }
377
388
  createDocument(request, optionsOrCallback, callback) {
@@ -402,6 +413,12 @@ class DocumentServiceClient {
402
413
  ?.then(([response, options, rawResponse]) => {
403
414
  this._log.info('createDocument response %j', response);
404
415
  return [response, options, rawResponse];
416
+ }).catch((error) => {
417
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
418
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
419
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
420
+ }
421
+ throw error;
405
422
  });
406
423
  }
407
424
  updateDocument(request, optionsOrCallback, callback) {
@@ -432,6 +449,12 @@ class DocumentServiceClient {
432
449
  ?.then(([response, options, rawResponse]) => {
433
450
  this._log.info('updateDocument response %j', response);
434
451
  return [response, options, rawResponse];
452
+ }).catch((error) => {
453
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
454
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
455
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
456
+ }
457
+ throw error;
435
458
  });
436
459
  }
437
460
  deleteDocument(request, optionsOrCallback, callback) {
@@ -462,6 +485,12 @@ class DocumentServiceClient {
462
485
  ?.then(([response, options, rawResponse]) => {
463
486
  this._log.info('deleteDocument response %j', response);
464
487
  return [response, options, rawResponse];
488
+ }).catch((error) => {
489
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
490
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
491
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
492
+ }
493
+ throw error;
465
494
  });
466
495
  }
467
496
  batchGetDocumentsMetadata(request, optionsOrCallback, callback) {
@@ -492,6 +521,12 @@ class DocumentServiceClient {
492
521
  ?.then(([response, options, rawResponse]) => {
493
522
  this._log.info('batchGetDocumentsMetadata response %j', response);
494
523
  return [response, options, rawResponse];
524
+ }).catch((error) => {
525
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
526
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
527
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
528
+ }
529
+ throw error;
495
530
  });
496
531
  }
497
532
  importDocuments(request, optionsOrCallback, callback) {
@@ -974,6 +1009,156 @@ class DocumentServiceClient {
974
1009
  // --------------------
975
1010
  // -- Path templates --
976
1011
  // --------------------
1012
+ /**
1013
+ * Return a fully-qualified assistAnswer resource name string.
1014
+ *
1015
+ * @param {string} project
1016
+ * @param {string} location
1017
+ * @param {string} collection
1018
+ * @param {string} engine
1019
+ * @param {string} session
1020
+ * @param {string} assist_answer
1021
+ * @returns {string} Resource name string.
1022
+ */
1023
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
1024
+ return this.pathTemplates.assistAnswerPathTemplate.render({
1025
+ project: project,
1026
+ location: location,
1027
+ collection: collection,
1028
+ engine: engine,
1029
+ session: session,
1030
+ assist_answer: assistAnswer,
1031
+ });
1032
+ }
1033
+ /**
1034
+ * Parse the project from AssistAnswer resource.
1035
+ *
1036
+ * @param {string} assistAnswerName
1037
+ * A fully-qualified path representing AssistAnswer resource.
1038
+ * @returns {string} A string representing the project.
1039
+ */
1040
+ matchProjectFromAssistAnswerName(assistAnswerName) {
1041
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
1042
+ }
1043
+ /**
1044
+ * Parse the location from AssistAnswer resource.
1045
+ *
1046
+ * @param {string} assistAnswerName
1047
+ * A fully-qualified path representing AssistAnswer resource.
1048
+ * @returns {string} A string representing the location.
1049
+ */
1050
+ matchLocationFromAssistAnswerName(assistAnswerName) {
1051
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
1052
+ }
1053
+ /**
1054
+ * Parse the collection from AssistAnswer resource.
1055
+ *
1056
+ * @param {string} assistAnswerName
1057
+ * A fully-qualified path representing AssistAnswer resource.
1058
+ * @returns {string} A string representing the collection.
1059
+ */
1060
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
1061
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
1062
+ }
1063
+ /**
1064
+ * Parse the engine from AssistAnswer resource.
1065
+ *
1066
+ * @param {string} assistAnswerName
1067
+ * A fully-qualified path representing AssistAnswer resource.
1068
+ * @returns {string} A string representing the engine.
1069
+ */
1070
+ matchEngineFromAssistAnswerName(assistAnswerName) {
1071
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
1072
+ }
1073
+ /**
1074
+ * Parse the session from AssistAnswer resource.
1075
+ *
1076
+ * @param {string} assistAnswerName
1077
+ * A fully-qualified path representing AssistAnswer resource.
1078
+ * @returns {string} A string representing the session.
1079
+ */
1080
+ matchSessionFromAssistAnswerName(assistAnswerName) {
1081
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
1082
+ }
1083
+ /**
1084
+ * Parse the assist_answer from AssistAnswer resource.
1085
+ *
1086
+ * @param {string} assistAnswerName
1087
+ * A fully-qualified path representing AssistAnswer resource.
1088
+ * @returns {string} A string representing the assist_answer.
1089
+ */
1090
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
1091
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
1092
+ }
1093
+ /**
1094
+ * Return a fully-qualified assistant resource name string.
1095
+ *
1096
+ * @param {string} project
1097
+ * @param {string} location
1098
+ * @param {string} collection
1099
+ * @param {string} engine
1100
+ * @param {string} assistant
1101
+ * @returns {string} Resource name string.
1102
+ */
1103
+ assistantPath(project, location, collection, engine, assistant) {
1104
+ return this.pathTemplates.assistantPathTemplate.render({
1105
+ project: project,
1106
+ location: location,
1107
+ collection: collection,
1108
+ engine: engine,
1109
+ assistant: assistant,
1110
+ });
1111
+ }
1112
+ /**
1113
+ * Parse the project from Assistant resource.
1114
+ *
1115
+ * @param {string} assistantName
1116
+ * A fully-qualified path representing Assistant resource.
1117
+ * @returns {string} A string representing the project.
1118
+ */
1119
+ matchProjectFromAssistantName(assistantName) {
1120
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
1121
+ }
1122
+ /**
1123
+ * Parse the location from Assistant resource.
1124
+ *
1125
+ * @param {string} assistantName
1126
+ * A fully-qualified path representing Assistant resource.
1127
+ * @returns {string} A string representing the location.
1128
+ */
1129
+ matchLocationFromAssistantName(assistantName) {
1130
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
1131
+ }
1132
+ /**
1133
+ * Parse the collection from Assistant resource.
1134
+ *
1135
+ * @param {string} assistantName
1136
+ * A fully-qualified path representing Assistant resource.
1137
+ * @returns {string} A string representing the collection.
1138
+ */
1139
+ matchCollectionFromAssistantName(assistantName) {
1140
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
1141
+ }
1142
+ /**
1143
+ * Parse the engine from Assistant resource.
1144
+ *
1145
+ * @param {string} assistantName
1146
+ * A fully-qualified path representing Assistant resource.
1147
+ * @returns {string} A string representing the engine.
1148
+ */
1149
+ matchEngineFromAssistantName(assistantName) {
1150
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
1151
+ }
1152
+ /**
1153
+ * Parse the assistant from Assistant resource.
1154
+ *
1155
+ * @param {string} assistantName
1156
+ * A fully-qualified path representing Assistant resource.
1157
+ * @returns {string} A string representing the assistant.
1158
+ */
1159
+ matchAssistantFromAssistantName(assistantName) {
1160
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
1161
+ }
977
1162
  /**
978
1163
  * Return a fully-qualified engine resource name string.
979
1164
  *
@@ -1031,6 +1216,51 @@ class DocumentServiceClient {
1031
1216
  matchEngineFromEngineName(engineName) {
1032
1217
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
1033
1218
  }
1219
+ /**
1220
+ * Return a fully-qualified identityMappingStore resource name string.
1221
+ *
1222
+ * @param {string} project
1223
+ * @param {string} location
1224
+ * @param {string} identity_mapping_store
1225
+ * @returns {string} Resource name string.
1226
+ */
1227
+ identityMappingStorePath(project, location, identityMappingStore) {
1228
+ return this.pathTemplates.identityMappingStorePathTemplate.render({
1229
+ project: project,
1230
+ location: location,
1231
+ identity_mapping_store: identityMappingStore,
1232
+ });
1233
+ }
1234
+ /**
1235
+ * Parse the project from IdentityMappingStore resource.
1236
+ *
1237
+ * @param {string} identityMappingStoreName
1238
+ * A fully-qualified path representing IdentityMappingStore resource.
1239
+ * @returns {string} A string representing the project.
1240
+ */
1241
+ matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
1242
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
1243
+ }
1244
+ /**
1245
+ * Parse the location from IdentityMappingStore resource.
1246
+ *
1247
+ * @param {string} identityMappingStoreName
1248
+ * A fully-qualified path representing IdentityMappingStore resource.
1249
+ * @returns {string} A string representing the location.
1250
+ */
1251
+ matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
1252
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
1253
+ }
1254
+ /**
1255
+ * Parse the identity_mapping_store from IdentityMappingStore resource.
1256
+ *
1257
+ * @param {string} identityMappingStoreName
1258
+ * A fully-qualified path representing IdentityMappingStore resource.
1259
+ * @returns {string} A string representing the identity_mapping_store.
1260
+ */
1261
+ matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
1262
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
1263
+ }
1034
1264
  /**
1035
1265
  * Return a fully-qualified project resource name string.
1036
1266
  *
@@ -1052,6 +1282,84 @@ class DocumentServiceClient {
1052
1282
  matchProjectFromProjectName(projectName) {
1053
1283
  return this.pathTemplates.projectPathTemplate.match(projectName).project;
1054
1284
  }
1285
+ /**
1286
+ * Return a fully-qualified projectLocationCmekConfig resource name string.
1287
+ *
1288
+ * @param {string} project
1289
+ * @param {string} location
1290
+ * @returns {string} Resource name string.
1291
+ */
1292
+ projectLocationCmekConfigPath(project, location) {
1293
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
1294
+ project: project,
1295
+ location: location,
1296
+ });
1297
+ }
1298
+ /**
1299
+ * Parse the project from ProjectLocationCmekConfig resource.
1300
+ *
1301
+ * @param {string} projectLocationCmekConfigName
1302
+ * A fully-qualified path representing project_location_cmekConfig resource.
1303
+ * @returns {string} A string representing the project.
1304
+ */
1305
+ matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
1306
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
1307
+ }
1308
+ /**
1309
+ * Parse the location from ProjectLocationCmekConfig resource.
1310
+ *
1311
+ * @param {string} projectLocationCmekConfigName
1312
+ * A fully-qualified path representing project_location_cmekConfig resource.
1313
+ * @returns {string} A string representing the location.
1314
+ */
1315
+ matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
1316
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
1317
+ }
1318
+ /**
1319
+ * Return a fully-qualified projectLocationCmekConfigs resource name string.
1320
+ *
1321
+ * @param {string} project
1322
+ * @param {string} location
1323
+ * @param {string} cmek_config
1324
+ * @returns {string} Resource name string.
1325
+ */
1326
+ projectLocationCmekConfigsPath(project, location, cmekConfig) {
1327
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
1328
+ project: project,
1329
+ location: location,
1330
+ cmek_config: cmekConfig,
1331
+ });
1332
+ }
1333
+ /**
1334
+ * Parse the project from ProjectLocationCmekConfigs resource.
1335
+ *
1336
+ * @param {string} projectLocationCmekConfigsName
1337
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1338
+ * @returns {string} A string representing the project.
1339
+ */
1340
+ matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1341
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
1342
+ }
1343
+ /**
1344
+ * Parse the location from ProjectLocationCmekConfigs resource.
1345
+ *
1346
+ * @param {string} projectLocationCmekConfigsName
1347
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1348
+ * @returns {string} A string representing the location.
1349
+ */
1350
+ matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1351
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
1352
+ }
1353
+ /**
1354
+ * Parse the cmek_config from ProjectLocationCmekConfigs resource.
1355
+ *
1356
+ * @param {string} projectLocationCmekConfigsName
1357
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1358
+ * @returns {string} A string representing the cmek_config.
1359
+ */
1360
+ matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1361
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
1362
+ }
1055
1363
  /**
1056
1364
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
1057
1365
  *
@@ -1755,154 +2063,154 @@ class DocumentServiceClient {
1755
2063
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1756
2064
  }
1757
2065
  /**
1758
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
2066
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1759
2067
  *
1760
2068
  * @param {string} project
1761
2069
  * @param {string} location
1762
2070
  * @param {string} collection
1763
2071
  * @param {string} data_store
1764
2072
  * @param {string} session
2073
+ * @param {string} answer
1765
2074
  * @returns {string} Resource name string.
1766
2075
  */
1767
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1768
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
2076
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2077
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1769
2078
  project: project,
1770
2079
  location: location,
1771
2080
  collection: collection,
1772
2081
  data_store: dataStore,
1773
2082
  session: session,
2083
+ answer: answer,
1774
2084
  });
1775
2085
  }
1776
2086
  /**
1777
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
2087
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1778
2088
  *
1779
- * @param {string} projectLocationCollectionDataStoreSessionName
1780
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2089
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2090
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1781
2091
  * @returns {string} A string representing the project.
1782
2092
  */
1783
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1784
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
2093
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2094
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1785
2095
  }
1786
2096
  /**
1787
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
2097
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1788
2098
  *
1789
- * @param {string} projectLocationCollectionDataStoreSessionName
1790
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2099
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2100
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1791
2101
  * @returns {string} A string representing the location.
1792
2102
  */
1793
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1794
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
2103
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2104
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1795
2105
  }
1796
2106
  /**
1797
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
2107
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1798
2108
  *
1799
- * @param {string} projectLocationCollectionDataStoreSessionName
1800
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2109
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2110
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1801
2111
  * @returns {string} A string representing the collection.
1802
2112
  */
1803
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1804
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
2113
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2114
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1805
2115
  }
1806
2116
  /**
1807
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
2117
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1808
2118
  *
1809
- * @param {string} projectLocationCollectionDataStoreSessionName
1810
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2119
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2120
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1811
2121
  * @returns {string} A string representing the data_store.
1812
2122
  */
1813
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1814
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
2123
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2124
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1815
2125
  }
1816
2126
  /**
1817
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
2127
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1818
2128
  *
1819
- * @param {string} projectLocationCollectionDataStoreSessionName
1820
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2129
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2130
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1821
2131
  * @returns {string} A string representing the session.
1822
2132
  */
1823
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1824
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
2133
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2134
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1825
2135
  }
1826
2136
  /**
1827
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2137
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2138
+ *
2139
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2140
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2141
+ * @returns {string} A string representing the answer.
2142
+ */
2143
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2144
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2145
+ }
2146
+ /**
2147
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1828
2148
  *
1829
2149
  * @param {string} project
1830
2150
  * @param {string} location
1831
2151
  * @param {string} collection
1832
2152
  * @param {string} data_store
1833
2153
  * @param {string} session
1834
- * @param {string} answer
1835
2154
  * @returns {string} Resource name string.
1836
2155
  */
1837
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1838
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2156
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
2157
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1839
2158
  project: project,
1840
2159
  location: location,
1841
2160
  collection: collection,
1842
2161
  data_store: dataStore,
1843
2162
  session: session,
1844
- answer: answer,
1845
2163
  });
1846
2164
  }
1847
2165
  /**
1848
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2166
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1849
2167
  *
1850
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1851
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2168
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2169
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1852
2170
  * @returns {string} A string representing the project.
1853
2171
  */
1854
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1855
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2172
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2173
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1856
2174
  }
1857
2175
  /**
1858
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2176
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1859
2177
  *
1860
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1861
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2178
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2179
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1862
2180
  * @returns {string} A string representing the location.
1863
2181
  */
1864
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1865
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2182
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2183
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1866
2184
  }
1867
2185
  /**
1868
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2186
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1869
2187
  *
1870
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1871
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2188
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2189
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1872
2190
  * @returns {string} A string representing the collection.
1873
2191
  */
1874
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1875
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2192
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2193
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1876
2194
  }
1877
2195
  /**
1878
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2196
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1879
2197
  *
1880
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1881
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2198
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2199
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1882
2200
  * @returns {string} A string representing the data_store.
1883
2201
  */
1884
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1885
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2202
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2203
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1886
2204
  }
1887
2205
  /**
1888
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2206
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1889
2207
  *
1890
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1891
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2208
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2209
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1892
2210
  * @returns {string} A string representing the session.
1893
2211
  */
1894
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1895
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1896
- }
1897
- /**
1898
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1899
- *
1900
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1901
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1902
- * @returns {string} A string representing the answer.
1903
- */
1904
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1905
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2212
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2213
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1906
2214
  }
1907
2215
  /**
1908
2216
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2307,154 +2615,154 @@ class DocumentServiceClient {
2307
2615
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2308
2616
  }
2309
2617
  /**
2310
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2618
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2311
2619
  *
2312
2620
  * @param {string} project
2313
2621
  * @param {string} location
2314
2622
  * @param {string} collection
2315
2623
  * @param {string} engine
2316
2624
  * @param {string} session
2625
+ * @param {string} answer
2317
2626
  * @returns {string} Resource name string.
2318
2627
  */
2319
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2320
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2628
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2629
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2321
2630
  project: project,
2322
2631
  location: location,
2323
2632
  collection: collection,
2324
2633
  engine: engine,
2325
2634
  session: session,
2635
+ answer: answer,
2326
2636
  });
2327
2637
  }
2328
2638
  /**
2329
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2639
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2330
2640
  *
2331
- * @param {string} projectLocationCollectionEngineSessionName
2332
- * A fully-qualified path representing project_location_collection_engine_session resource.
2641
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2642
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2333
2643
  * @returns {string} A string representing the project.
2334
2644
  */
2335
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2336
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2645
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2646
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2337
2647
  }
2338
2648
  /**
2339
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2649
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2340
2650
  *
2341
- * @param {string} projectLocationCollectionEngineSessionName
2342
- * A fully-qualified path representing project_location_collection_engine_session resource.
2651
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2652
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2343
2653
  * @returns {string} A string representing the location.
2344
2654
  */
2345
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2346
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2655
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2656
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2347
2657
  }
2348
2658
  /**
2349
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2659
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2350
2660
  *
2351
- * @param {string} projectLocationCollectionEngineSessionName
2352
- * A fully-qualified path representing project_location_collection_engine_session resource.
2661
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2662
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2353
2663
  * @returns {string} A string representing the collection.
2354
2664
  */
2355
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2356
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2665
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2666
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2357
2667
  }
2358
2668
  /**
2359
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2669
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2360
2670
  *
2361
- * @param {string} projectLocationCollectionEngineSessionName
2362
- * A fully-qualified path representing project_location_collection_engine_session resource.
2671
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2672
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2363
2673
  * @returns {string} A string representing the engine.
2364
2674
  */
2365
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2366
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2675
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2676
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2367
2677
  }
2368
2678
  /**
2369
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2679
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2370
2680
  *
2371
- * @param {string} projectLocationCollectionEngineSessionName
2372
- * A fully-qualified path representing project_location_collection_engine_session resource.
2681
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2682
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2373
2683
  * @returns {string} A string representing the session.
2374
2684
  */
2375
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2376
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2685
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2686
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2377
2687
  }
2378
2688
  /**
2379
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2689
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2690
+ *
2691
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2692
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2693
+ * @returns {string} A string representing the answer.
2694
+ */
2695
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2696
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2697
+ }
2698
+ /**
2699
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2380
2700
  *
2381
2701
  * @param {string} project
2382
2702
  * @param {string} location
2383
2703
  * @param {string} collection
2384
2704
  * @param {string} engine
2385
2705
  * @param {string} session
2386
- * @param {string} answer
2387
2706
  * @returns {string} Resource name string.
2388
2707
  */
2389
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2390
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2708
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2709
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2391
2710
  project: project,
2392
2711
  location: location,
2393
2712
  collection: collection,
2394
2713
  engine: engine,
2395
2714
  session: session,
2396
- answer: answer,
2397
2715
  });
2398
2716
  }
2399
2717
  /**
2400
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2718
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2401
2719
  *
2402
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2403
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2720
+ * @param {string} projectLocationCollectionEngineSessionsName
2721
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2404
2722
  * @returns {string} A string representing the project.
2405
2723
  */
2406
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2407
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2724
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2725
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2408
2726
  }
2409
2727
  /**
2410
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2728
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2411
2729
  *
2412
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2413
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2730
+ * @param {string} projectLocationCollectionEngineSessionsName
2731
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2414
2732
  * @returns {string} A string representing the location.
2415
2733
  */
2416
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2417
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2734
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2735
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2418
2736
  }
2419
2737
  /**
2420
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2738
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2421
2739
  *
2422
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2423
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2740
+ * @param {string} projectLocationCollectionEngineSessionsName
2741
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2424
2742
  * @returns {string} A string representing the collection.
2425
2743
  */
2426
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2427
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2744
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2745
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2428
2746
  }
2429
2747
  /**
2430
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2748
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2431
2749
  *
2432
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2433
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2750
+ * @param {string} projectLocationCollectionEngineSessionsName
2751
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2434
2752
  * @returns {string} A string representing the engine.
2435
2753
  */
2436
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2437
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2754
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2755
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2438
2756
  }
2439
2757
  /**
2440
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2758
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2441
2759
  *
2442
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2443
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2760
+ * @param {string} projectLocationCollectionEngineSessionsName
2761
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2444
2762
  * @returns {string} A string representing the session.
2445
2763
  */
2446
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2447
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2448
- }
2449
- /**
2450
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2451
- *
2452
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2453
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2454
- * @returns {string} A string representing the answer.
2455
- */
2456
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2457
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2764
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2765
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2458
2766
  }
2459
2767
  /**
2460
2768
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3038,63 +3346,6 @@ class DocumentServiceClient {
3038
3346
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3039
3347
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3040
3348
  }
3041
- /**
3042
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3043
- *
3044
- * @param {string} project
3045
- * @param {string} location
3046
- * @param {string} data_store
3047
- * @param {string} session
3048
- * @returns {string} Resource name string.
3049
- */
3050
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3051
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3052
- project: project,
3053
- location: location,
3054
- data_store: dataStore,
3055
- session: session,
3056
- });
3057
- }
3058
- /**
3059
- * Parse the project from ProjectLocationDataStoreSession resource.
3060
- *
3061
- * @param {string} projectLocationDataStoreSessionName
3062
- * A fully-qualified path representing project_location_data_store_session resource.
3063
- * @returns {string} A string representing the project.
3064
- */
3065
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3066
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3067
- }
3068
- /**
3069
- * Parse the location from ProjectLocationDataStoreSession resource.
3070
- *
3071
- * @param {string} projectLocationDataStoreSessionName
3072
- * A fully-qualified path representing project_location_data_store_session resource.
3073
- * @returns {string} A string representing the location.
3074
- */
3075
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3076
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3077
- }
3078
- /**
3079
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3080
- *
3081
- * @param {string} projectLocationDataStoreSessionName
3082
- * A fully-qualified path representing project_location_data_store_session resource.
3083
- * @returns {string} A string representing the data_store.
3084
- */
3085
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3086
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3087
- }
3088
- /**
3089
- * Parse the session from ProjectLocationDataStoreSession resource.
3090
- *
3091
- * @param {string} projectLocationDataStoreSessionName
3092
- * A fully-qualified path representing project_location_data_store_session resource.
3093
- * @returns {string} A string representing the session.
3094
- */
3095
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3096
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3097
- }
3098
3349
  /**
3099
3350
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3100
3351
  *
@@ -3164,6 +3415,63 @@ class DocumentServiceClient {
3164
3415
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3165
3416
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3166
3417
  }
3418
+ /**
3419
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3420
+ *
3421
+ * @param {string} project
3422
+ * @param {string} location
3423
+ * @param {string} data_store
3424
+ * @param {string} session
3425
+ * @returns {string} Resource name string.
3426
+ */
3427
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3428
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3429
+ project: project,
3430
+ location: location,
3431
+ data_store: dataStore,
3432
+ session: session,
3433
+ });
3434
+ }
3435
+ /**
3436
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3437
+ *
3438
+ * @param {string} projectLocationDataStoreSessionsName
3439
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3440
+ * @returns {string} A string representing the project.
3441
+ */
3442
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3443
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3444
+ }
3445
+ /**
3446
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3447
+ *
3448
+ * @param {string} projectLocationDataStoreSessionsName
3449
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3450
+ * @returns {string} A string representing the location.
3451
+ */
3452
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3453
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3454
+ }
3455
+ /**
3456
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3457
+ *
3458
+ * @param {string} projectLocationDataStoreSessionsName
3459
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3460
+ * @returns {string} A string representing the data_store.
3461
+ */
3462
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3463
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3464
+ }
3465
+ /**
3466
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3467
+ *
3468
+ * @param {string} projectLocationDataStoreSessionsName
3469
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3470
+ * @returns {string} A string representing the session.
3471
+ */
3472
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3473
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3474
+ }
3167
3475
  /**
3168
3476
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3169
3477
  *