@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
@@ -163,8 +163,13 @@ class ServingConfigServiceClient {
163
163
  // identifiers to uniquely identify resources within the API.
164
164
  // Create useful helper objects for these.
165
165
  this.pathTemplates = {
166
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
167
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
166
168
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
169
+ identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
167
170
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
171
+ projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
172
+ projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
168
173
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
169
174
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
170
175
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -174,16 +179,16 @@ class ServingConfigServiceClient {
174
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
175
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
176
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
177
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
178
182
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
183
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
179
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
180
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
181
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
182
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
183
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
184
189
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
185
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
186
190
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
191
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
188
193
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
189
194
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -193,8 +198,8 @@ class ServingConfigServiceClient {
193
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
194
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
195
200
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
196
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
197
201
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
202
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
199
204
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
200
205
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -337,6 +342,12 @@ class ServingConfigServiceClient {
337
342
  ?.then(([response, options, rawResponse]) => {
338
343
  this._log.info('updateServingConfig response %j', response);
339
344
  return [response, options, rawResponse];
345
+ }).catch((error) => {
346
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
347
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
348
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
349
+ }
350
+ throw error;
340
351
  });
341
352
  }
342
353
  /**
@@ -397,6 +408,156 @@ class ServingConfigServiceClient {
397
408
  // --------------------
398
409
  // -- Path templates --
399
410
  // --------------------
411
+ /**
412
+ * Return a fully-qualified assistAnswer resource name string.
413
+ *
414
+ * @param {string} project
415
+ * @param {string} location
416
+ * @param {string} collection
417
+ * @param {string} engine
418
+ * @param {string} session
419
+ * @param {string} assist_answer
420
+ * @returns {string} Resource name string.
421
+ */
422
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
423
+ return this.pathTemplates.assistAnswerPathTemplate.render({
424
+ project: project,
425
+ location: location,
426
+ collection: collection,
427
+ engine: engine,
428
+ session: session,
429
+ assist_answer: assistAnswer,
430
+ });
431
+ }
432
+ /**
433
+ * Parse the project from AssistAnswer resource.
434
+ *
435
+ * @param {string} assistAnswerName
436
+ * A fully-qualified path representing AssistAnswer resource.
437
+ * @returns {string} A string representing the project.
438
+ */
439
+ matchProjectFromAssistAnswerName(assistAnswerName) {
440
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
441
+ }
442
+ /**
443
+ * Parse the location from AssistAnswer resource.
444
+ *
445
+ * @param {string} assistAnswerName
446
+ * A fully-qualified path representing AssistAnswer resource.
447
+ * @returns {string} A string representing the location.
448
+ */
449
+ matchLocationFromAssistAnswerName(assistAnswerName) {
450
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
451
+ }
452
+ /**
453
+ * Parse the collection from AssistAnswer resource.
454
+ *
455
+ * @param {string} assistAnswerName
456
+ * A fully-qualified path representing AssistAnswer resource.
457
+ * @returns {string} A string representing the collection.
458
+ */
459
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
460
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
461
+ }
462
+ /**
463
+ * Parse the engine from AssistAnswer resource.
464
+ *
465
+ * @param {string} assistAnswerName
466
+ * A fully-qualified path representing AssistAnswer resource.
467
+ * @returns {string} A string representing the engine.
468
+ */
469
+ matchEngineFromAssistAnswerName(assistAnswerName) {
470
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
471
+ }
472
+ /**
473
+ * Parse the session from AssistAnswer resource.
474
+ *
475
+ * @param {string} assistAnswerName
476
+ * A fully-qualified path representing AssistAnswer resource.
477
+ * @returns {string} A string representing the session.
478
+ */
479
+ matchSessionFromAssistAnswerName(assistAnswerName) {
480
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
481
+ }
482
+ /**
483
+ * Parse the assist_answer from AssistAnswer resource.
484
+ *
485
+ * @param {string} assistAnswerName
486
+ * A fully-qualified path representing AssistAnswer resource.
487
+ * @returns {string} A string representing the assist_answer.
488
+ */
489
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
490
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
491
+ }
492
+ /**
493
+ * Return a fully-qualified assistant resource name string.
494
+ *
495
+ * @param {string} project
496
+ * @param {string} location
497
+ * @param {string} collection
498
+ * @param {string} engine
499
+ * @param {string} assistant
500
+ * @returns {string} Resource name string.
501
+ */
502
+ assistantPath(project, location, collection, engine, assistant) {
503
+ return this.pathTemplates.assistantPathTemplate.render({
504
+ project: project,
505
+ location: location,
506
+ collection: collection,
507
+ engine: engine,
508
+ assistant: assistant,
509
+ });
510
+ }
511
+ /**
512
+ * Parse the project from Assistant resource.
513
+ *
514
+ * @param {string} assistantName
515
+ * A fully-qualified path representing Assistant resource.
516
+ * @returns {string} A string representing the project.
517
+ */
518
+ matchProjectFromAssistantName(assistantName) {
519
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
520
+ }
521
+ /**
522
+ * Parse the location from Assistant resource.
523
+ *
524
+ * @param {string} assistantName
525
+ * A fully-qualified path representing Assistant resource.
526
+ * @returns {string} A string representing the location.
527
+ */
528
+ matchLocationFromAssistantName(assistantName) {
529
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
530
+ }
531
+ /**
532
+ * Parse the collection from Assistant resource.
533
+ *
534
+ * @param {string} assistantName
535
+ * A fully-qualified path representing Assistant resource.
536
+ * @returns {string} A string representing the collection.
537
+ */
538
+ matchCollectionFromAssistantName(assistantName) {
539
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
540
+ }
541
+ /**
542
+ * Parse the engine from Assistant resource.
543
+ *
544
+ * @param {string} assistantName
545
+ * A fully-qualified path representing Assistant resource.
546
+ * @returns {string} A string representing the engine.
547
+ */
548
+ matchEngineFromAssistantName(assistantName) {
549
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
550
+ }
551
+ /**
552
+ * Parse the assistant from Assistant resource.
553
+ *
554
+ * @param {string} assistantName
555
+ * A fully-qualified path representing Assistant resource.
556
+ * @returns {string} A string representing the assistant.
557
+ */
558
+ matchAssistantFromAssistantName(assistantName) {
559
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
560
+ }
400
561
  /**
401
562
  * Return a fully-qualified engine resource name string.
402
563
  *
@@ -454,6 +615,51 @@ class ServingConfigServiceClient {
454
615
  matchEngineFromEngineName(engineName) {
455
616
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
456
617
  }
618
+ /**
619
+ * Return a fully-qualified identityMappingStore resource name string.
620
+ *
621
+ * @param {string} project
622
+ * @param {string} location
623
+ * @param {string} identity_mapping_store
624
+ * @returns {string} Resource name string.
625
+ */
626
+ identityMappingStorePath(project, location, identityMappingStore) {
627
+ return this.pathTemplates.identityMappingStorePathTemplate.render({
628
+ project: project,
629
+ location: location,
630
+ identity_mapping_store: identityMappingStore,
631
+ });
632
+ }
633
+ /**
634
+ * Parse the project from IdentityMappingStore resource.
635
+ *
636
+ * @param {string} identityMappingStoreName
637
+ * A fully-qualified path representing IdentityMappingStore resource.
638
+ * @returns {string} A string representing the project.
639
+ */
640
+ matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
641
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
642
+ }
643
+ /**
644
+ * Parse the location from IdentityMappingStore resource.
645
+ *
646
+ * @param {string} identityMappingStoreName
647
+ * A fully-qualified path representing IdentityMappingStore resource.
648
+ * @returns {string} A string representing the location.
649
+ */
650
+ matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
651
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
652
+ }
653
+ /**
654
+ * Parse the identity_mapping_store from IdentityMappingStore resource.
655
+ *
656
+ * @param {string} identityMappingStoreName
657
+ * A fully-qualified path representing IdentityMappingStore resource.
658
+ * @returns {string} A string representing the identity_mapping_store.
659
+ */
660
+ matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
661
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
662
+ }
457
663
  /**
458
664
  * Return a fully-qualified project resource name string.
459
665
  *
@@ -475,6 +681,84 @@ class ServingConfigServiceClient {
475
681
  matchProjectFromProjectName(projectName) {
476
682
  return this.pathTemplates.projectPathTemplate.match(projectName).project;
477
683
  }
684
+ /**
685
+ * Return a fully-qualified projectLocationCmekConfig resource name string.
686
+ *
687
+ * @param {string} project
688
+ * @param {string} location
689
+ * @returns {string} Resource name string.
690
+ */
691
+ projectLocationCmekConfigPath(project, location) {
692
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
693
+ project: project,
694
+ location: location,
695
+ });
696
+ }
697
+ /**
698
+ * Parse the project from ProjectLocationCmekConfig resource.
699
+ *
700
+ * @param {string} projectLocationCmekConfigName
701
+ * A fully-qualified path representing project_location_cmekConfig resource.
702
+ * @returns {string} A string representing the project.
703
+ */
704
+ matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
705
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
706
+ }
707
+ /**
708
+ * Parse the location from ProjectLocationCmekConfig resource.
709
+ *
710
+ * @param {string} projectLocationCmekConfigName
711
+ * A fully-qualified path representing project_location_cmekConfig resource.
712
+ * @returns {string} A string representing the location.
713
+ */
714
+ matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
715
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
716
+ }
717
+ /**
718
+ * Return a fully-qualified projectLocationCmekConfigs resource name string.
719
+ *
720
+ * @param {string} project
721
+ * @param {string} location
722
+ * @param {string} cmek_config
723
+ * @returns {string} Resource name string.
724
+ */
725
+ projectLocationCmekConfigsPath(project, location, cmekConfig) {
726
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
727
+ project: project,
728
+ location: location,
729
+ cmek_config: cmekConfig,
730
+ });
731
+ }
732
+ /**
733
+ * Parse the project from ProjectLocationCmekConfigs resource.
734
+ *
735
+ * @param {string} projectLocationCmekConfigsName
736
+ * A fully-qualified path representing project_location_cmekConfigs resource.
737
+ * @returns {string} A string representing the project.
738
+ */
739
+ matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
740
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
741
+ }
742
+ /**
743
+ * Parse the location from ProjectLocationCmekConfigs resource.
744
+ *
745
+ * @param {string} projectLocationCmekConfigsName
746
+ * A fully-qualified path representing project_location_cmekConfigs resource.
747
+ * @returns {string} A string representing the location.
748
+ */
749
+ matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
750
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
751
+ }
752
+ /**
753
+ * Parse the cmek_config from ProjectLocationCmekConfigs resource.
754
+ *
755
+ * @param {string} projectLocationCmekConfigsName
756
+ * A fully-qualified path representing project_location_cmekConfigs resource.
757
+ * @returns {string} A string representing the cmek_config.
758
+ */
759
+ matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
760
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
761
+ }
478
762
  /**
479
763
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
480
764
  *
@@ -1109,154 +1393,154 @@ class ServingConfigServiceClient {
1109
1393
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1110
1394
  }
1111
1395
  /**
1112
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1396
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1113
1397
  *
1114
1398
  * @param {string} project
1115
1399
  * @param {string} location
1116
1400
  * @param {string} collection
1117
1401
  * @param {string} data_store
1118
1402
  * @param {string} session
1403
+ * @param {string} answer
1119
1404
  * @returns {string} Resource name string.
1120
1405
  */
1121
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1122
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1406
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1407
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1123
1408
  project: project,
1124
1409
  location: location,
1125
1410
  collection: collection,
1126
1411
  data_store: dataStore,
1127
1412
  session: session,
1413
+ answer: answer,
1128
1414
  });
1129
1415
  }
1130
1416
  /**
1131
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1417
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1132
1418
  *
1133
- * @param {string} projectLocationCollectionDataStoreSessionName
1134
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1419
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1420
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1135
1421
  * @returns {string} A string representing the project.
1136
1422
  */
1137
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1138
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1423
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1424
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1139
1425
  }
1140
1426
  /**
1141
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1427
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1142
1428
  *
1143
- * @param {string} projectLocationCollectionDataStoreSessionName
1144
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1429
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1430
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1145
1431
  * @returns {string} A string representing the location.
1146
1432
  */
1147
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1148
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1433
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1434
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1149
1435
  }
1150
1436
  /**
1151
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1437
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1152
1438
  *
1153
- * @param {string} projectLocationCollectionDataStoreSessionName
1154
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1439
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1440
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1155
1441
  * @returns {string} A string representing the collection.
1156
1442
  */
1157
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1158
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1443
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1444
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1159
1445
  }
1160
1446
  /**
1161
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1447
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1162
1448
  *
1163
- * @param {string} projectLocationCollectionDataStoreSessionName
1164
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1449
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1450
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1165
1451
  * @returns {string} A string representing the data_store.
1166
1452
  */
1167
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1168
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1453
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1454
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1169
1455
  }
1170
1456
  /**
1171
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1457
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1172
1458
  *
1173
- * @param {string} projectLocationCollectionDataStoreSessionName
1174
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1459
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1460
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1175
1461
  * @returns {string} A string representing the session.
1176
1462
  */
1177
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1178
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1463
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1464
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1179
1465
  }
1180
1466
  /**
1181
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1467
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1468
+ *
1469
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1470
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1471
+ * @returns {string} A string representing the answer.
1472
+ */
1473
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1474
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1475
+ }
1476
+ /**
1477
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1182
1478
  *
1183
1479
  * @param {string} project
1184
1480
  * @param {string} location
1185
1481
  * @param {string} collection
1186
1482
  * @param {string} data_store
1187
1483
  * @param {string} session
1188
- * @param {string} answer
1189
1484
  * @returns {string} Resource name string.
1190
1485
  */
1191
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1192
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1486
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1487
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1193
1488
  project: project,
1194
1489
  location: location,
1195
1490
  collection: collection,
1196
1491
  data_store: dataStore,
1197
1492
  session: session,
1198
- answer: answer,
1199
1493
  });
1200
1494
  }
1201
1495
  /**
1202
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1496
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1203
1497
  *
1204
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1205
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1498
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1499
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1206
1500
  * @returns {string} A string representing the project.
1207
1501
  */
1208
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1209
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1502
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1503
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1210
1504
  }
1211
1505
  /**
1212
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1506
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1213
1507
  *
1214
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1215
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1508
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1509
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1216
1510
  * @returns {string} A string representing the location.
1217
1511
  */
1218
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1219
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1512
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1513
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1220
1514
  }
1221
1515
  /**
1222
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1516
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1223
1517
  *
1224
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1225
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1518
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1519
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1226
1520
  * @returns {string} A string representing the collection.
1227
1521
  */
1228
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1229
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1522
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1523
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1230
1524
  }
1231
1525
  /**
1232
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1526
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1233
1527
  *
1234
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1235
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1528
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1529
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1236
1530
  * @returns {string} A string representing the data_store.
1237
1531
  */
1238
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1239
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1532
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1533
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1240
1534
  }
1241
1535
  /**
1242
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1536
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1243
1537
  *
1244
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1245
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1538
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1539
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1246
1540
  * @returns {string} A string representing the session.
1247
1541
  */
1248
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1249
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1250
- }
1251
- /**
1252
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1253
- *
1254
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1255
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1256
- * @returns {string} A string representing the answer.
1257
- */
1258
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1259
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1542
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1543
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1260
1544
  }
1261
1545
  /**
1262
1546
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1661,154 +1945,154 @@ class ServingConfigServiceClient {
1661
1945
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1662
1946
  }
1663
1947
  /**
1664
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1948
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1665
1949
  *
1666
1950
  * @param {string} project
1667
1951
  * @param {string} location
1668
1952
  * @param {string} collection
1669
1953
  * @param {string} engine
1670
1954
  * @param {string} session
1955
+ * @param {string} answer
1671
1956
  * @returns {string} Resource name string.
1672
1957
  */
1673
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1674
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1958
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1959
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1675
1960
  project: project,
1676
1961
  location: location,
1677
1962
  collection: collection,
1678
1963
  engine: engine,
1679
1964
  session: session,
1965
+ answer: answer,
1680
1966
  });
1681
1967
  }
1682
1968
  /**
1683
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1969
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1684
1970
  *
1685
- * @param {string} projectLocationCollectionEngineSessionName
1686
- * A fully-qualified path representing project_location_collection_engine_session resource.
1971
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1972
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1687
1973
  * @returns {string} A string representing the project.
1688
1974
  */
1689
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1690
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1975
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1976
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1691
1977
  }
1692
1978
  /**
1693
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1979
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1694
1980
  *
1695
- * @param {string} projectLocationCollectionEngineSessionName
1696
- * A fully-qualified path representing project_location_collection_engine_session resource.
1981
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1982
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1697
1983
  * @returns {string} A string representing the location.
1698
1984
  */
1699
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1700
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1985
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1986
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1701
1987
  }
1702
1988
  /**
1703
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1989
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1704
1990
  *
1705
- * @param {string} projectLocationCollectionEngineSessionName
1706
- * A fully-qualified path representing project_location_collection_engine_session resource.
1991
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1992
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1707
1993
  * @returns {string} A string representing the collection.
1708
1994
  */
1709
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1710
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1995
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1996
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1711
1997
  }
1712
1998
  /**
1713
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1999
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1714
2000
  *
1715
- * @param {string} projectLocationCollectionEngineSessionName
1716
- * A fully-qualified path representing project_location_collection_engine_session resource.
2001
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2002
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1717
2003
  * @returns {string} A string representing the engine.
1718
2004
  */
1719
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1720
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2005
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2006
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1721
2007
  }
1722
2008
  /**
1723
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2009
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1724
2010
  *
1725
- * @param {string} projectLocationCollectionEngineSessionName
1726
- * A fully-qualified path representing project_location_collection_engine_session resource.
2011
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2012
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1727
2013
  * @returns {string} A string representing the session.
1728
2014
  */
1729
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1730
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2015
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2016
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1731
2017
  }
1732
2018
  /**
1733
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2019
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2020
+ *
2021
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2022
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2023
+ * @returns {string} A string representing the answer.
2024
+ */
2025
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2026
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2027
+ }
2028
+ /**
2029
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1734
2030
  *
1735
2031
  * @param {string} project
1736
2032
  * @param {string} location
1737
2033
  * @param {string} collection
1738
2034
  * @param {string} engine
1739
2035
  * @param {string} session
1740
- * @param {string} answer
1741
2036
  * @returns {string} Resource name string.
1742
2037
  */
1743
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1744
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2038
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2039
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1745
2040
  project: project,
1746
2041
  location: location,
1747
2042
  collection: collection,
1748
2043
  engine: engine,
1749
2044
  session: session,
1750
- answer: answer,
1751
2045
  });
1752
2046
  }
1753
2047
  /**
1754
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2048
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1755
2049
  *
1756
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1757
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2050
+ * @param {string} projectLocationCollectionEngineSessionsName
2051
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1758
2052
  * @returns {string} A string representing the project.
1759
2053
  */
1760
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1761
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2054
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2055
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1762
2056
  }
1763
2057
  /**
1764
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2058
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1765
2059
  *
1766
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1767
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2060
+ * @param {string} projectLocationCollectionEngineSessionsName
2061
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1768
2062
  * @returns {string} A string representing the location.
1769
2063
  */
1770
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1771
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2064
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2065
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1772
2066
  }
1773
2067
  /**
1774
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2068
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1775
2069
  *
1776
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1777
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2070
+ * @param {string} projectLocationCollectionEngineSessionsName
2071
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1778
2072
  * @returns {string} A string representing the collection.
1779
2073
  */
1780
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1781
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2074
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2075
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1782
2076
  }
1783
2077
  /**
1784
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2078
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1785
2079
  *
1786
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1787
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2080
+ * @param {string} projectLocationCollectionEngineSessionsName
2081
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1788
2082
  * @returns {string} A string representing the engine.
1789
2083
  */
1790
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1791
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2084
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2085
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1792
2086
  }
1793
2087
  /**
1794
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2088
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
1795
2089
  *
1796
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1797
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2090
+ * @param {string} projectLocationCollectionEngineSessionsName
2091
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1798
2092
  * @returns {string} A string representing the session.
1799
2093
  */
1800
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1801
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1802
- }
1803
- /**
1804
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1805
- *
1806
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1807
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1808
- * @returns {string} A string representing the answer.
1809
- */
1810
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1811
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2094
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2095
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
1812
2096
  }
1813
2097
  /**
1814
2098
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2335,63 +2619,6 @@ class ServingConfigServiceClient {
2335
2619
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2336
2620
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2337
2621
  }
2338
- /**
2339
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2340
- *
2341
- * @param {string} project
2342
- * @param {string} location
2343
- * @param {string} data_store
2344
- * @param {string} session
2345
- * @returns {string} Resource name string.
2346
- */
2347
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2348
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2349
- project: project,
2350
- location: location,
2351
- data_store: dataStore,
2352
- session: session,
2353
- });
2354
- }
2355
- /**
2356
- * Parse the project from ProjectLocationDataStoreSession resource.
2357
- *
2358
- * @param {string} projectLocationDataStoreSessionName
2359
- * A fully-qualified path representing project_location_data_store_session resource.
2360
- * @returns {string} A string representing the project.
2361
- */
2362
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2363
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2364
- }
2365
- /**
2366
- * Parse the location from ProjectLocationDataStoreSession resource.
2367
- *
2368
- * @param {string} projectLocationDataStoreSessionName
2369
- * A fully-qualified path representing project_location_data_store_session resource.
2370
- * @returns {string} A string representing the location.
2371
- */
2372
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2373
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2374
- }
2375
- /**
2376
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2377
- *
2378
- * @param {string} projectLocationDataStoreSessionName
2379
- * A fully-qualified path representing project_location_data_store_session resource.
2380
- * @returns {string} A string representing the data_store.
2381
- */
2382
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2383
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2384
- }
2385
- /**
2386
- * Parse the session from ProjectLocationDataStoreSession resource.
2387
- *
2388
- * @param {string} projectLocationDataStoreSessionName
2389
- * A fully-qualified path representing project_location_data_store_session resource.
2390
- * @returns {string} A string representing the session.
2391
- */
2392
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2393
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2394
- }
2395
2622
  /**
2396
2623
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2397
2624
  *
@@ -2461,6 +2688,63 @@ class ServingConfigServiceClient {
2461
2688
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2462
2689
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2463
2690
  }
2691
+ /**
2692
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2693
+ *
2694
+ * @param {string} project
2695
+ * @param {string} location
2696
+ * @param {string} data_store
2697
+ * @param {string} session
2698
+ * @returns {string} Resource name string.
2699
+ */
2700
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2701
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2702
+ project: project,
2703
+ location: location,
2704
+ data_store: dataStore,
2705
+ session: session,
2706
+ });
2707
+ }
2708
+ /**
2709
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2710
+ *
2711
+ * @param {string} projectLocationDataStoreSessionsName
2712
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2713
+ * @returns {string} A string representing the project.
2714
+ */
2715
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2716
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2717
+ }
2718
+ /**
2719
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2720
+ *
2721
+ * @param {string} projectLocationDataStoreSessionsName
2722
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2723
+ * @returns {string} A string representing the location.
2724
+ */
2725
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2726
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2727
+ }
2728
+ /**
2729
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2730
+ *
2731
+ * @param {string} projectLocationDataStoreSessionsName
2732
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2733
+ * @returns {string} A string representing the data_store.
2734
+ */
2735
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2736
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2737
+ }
2738
+ /**
2739
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2740
+ *
2741
+ * @param {string} projectLocationDataStoreSessionsName
2742
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2743
+ * @returns {string} A string representing the session.
2744
+ */
2745
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2746
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2747
+ }
2464
2748
  /**
2465
2749
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2466
2750
  *