@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 SchemaServiceClient {
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 SchemaServiceClient {
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 SchemaServiceClient {
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}'),
@@ -205,7 +210,7 @@ class SchemaServiceClient {
205
210
  this.descriptors.page = {
206
211
  listSchemas: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'schemas')
207
212
  };
208
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
213
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
209
214
  // This API contains "long-running operations", which return a
210
215
  // an Operation object that allows for tracking of the operation,
211
216
  // rather than holding a request open.
@@ -215,7 +220,7 @@ class SchemaServiceClient {
215
220
  };
216
221
  if (opts.fallback) {
217
222
  lroOptions.protoJson = protoFilesRoot;
218
- 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: '*', }],
223
+ 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: '*', }],
219
224
  }, { 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/*}', }],
220
225
  }, { 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', }],
221
226
  }];
@@ -372,6 +377,12 @@ class SchemaServiceClient {
372
377
  ?.then(([response, options, rawResponse]) => {
373
378
  this._log.info('getSchema 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
  createSchema(request, optionsOrCallback, callback) {
@@ -886,6 +897,156 @@ class SchemaServiceClient {
886
897
  // --------------------
887
898
  // -- Path templates --
888
899
  // --------------------
900
+ /**
901
+ * Return a fully-qualified assistAnswer resource name string.
902
+ *
903
+ * @param {string} project
904
+ * @param {string} location
905
+ * @param {string} collection
906
+ * @param {string} engine
907
+ * @param {string} session
908
+ * @param {string} assist_answer
909
+ * @returns {string} Resource name string.
910
+ */
911
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
912
+ return this.pathTemplates.assistAnswerPathTemplate.render({
913
+ project: project,
914
+ location: location,
915
+ collection: collection,
916
+ engine: engine,
917
+ session: session,
918
+ assist_answer: assistAnswer,
919
+ });
920
+ }
921
+ /**
922
+ * Parse the project from AssistAnswer resource.
923
+ *
924
+ * @param {string} assistAnswerName
925
+ * A fully-qualified path representing AssistAnswer resource.
926
+ * @returns {string} A string representing the project.
927
+ */
928
+ matchProjectFromAssistAnswerName(assistAnswerName) {
929
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
930
+ }
931
+ /**
932
+ * Parse the location from AssistAnswer resource.
933
+ *
934
+ * @param {string} assistAnswerName
935
+ * A fully-qualified path representing AssistAnswer resource.
936
+ * @returns {string} A string representing the location.
937
+ */
938
+ matchLocationFromAssistAnswerName(assistAnswerName) {
939
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
940
+ }
941
+ /**
942
+ * Parse the collection from AssistAnswer resource.
943
+ *
944
+ * @param {string} assistAnswerName
945
+ * A fully-qualified path representing AssistAnswer resource.
946
+ * @returns {string} A string representing the collection.
947
+ */
948
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
949
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
950
+ }
951
+ /**
952
+ * Parse the engine from AssistAnswer resource.
953
+ *
954
+ * @param {string} assistAnswerName
955
+ * A fully-qualified path representing AssistAnswer resource.
956
+ * @returns {string} A string representing the engine.
957
+ */
958
+ matchEngineFromAssistAnswerName(assistAnswerName) {
959
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
960
+ }
961
+ /**
962
+ * Parse the session from AssistAnswer resource.
963
+ *
964
+ * @param {string} assistAnswerName
965
+ * A fully-qualified path representing AssistAnswer resource.
966
+ * @returns {string} A string representing the session.
967
+ */
968
+ matchSessionFromAssistAnswerName(assistAnswerName) {
969
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
970
+ }
971
+ /**
972
+ * Parse the assist_answer from AssistAnswer resource.
973
+ *
974
+ * @param {string} assistAnswerName
975
+ * A fully-qualified path representing AssistAnswer resource.
976
+ * @returns {string} A string representing the assist_answer.
977
+ */
978
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
979
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
980
+ }
981
+ /**
982
+ * Return a fully-qualified assistant resource name string.
983
+ *
984
+ * @param {string} project
985
+ * @param {string} location
986
+ * @param {string} collection
987
+ * @param {string} engine
988
+ * @param {string} assistant
989
+ * @returns {string} Resource name string.
990
+ */
991
+ assistantPath(project, location, collection, engine, assistant) {
992
+ return this.pathTemplates.assistantPathTemplate.render({
993
+ project: project,
994
+ location: location,
995
+ collection: collection,
996
+ engine: engine,
997
+ assistant: assistant,
998
+ });
999
+ }
1000
+ /**
1001
+ * Parse the project from Assistant resource.
1002
+ *
1003
+ * @param {string} assistantName
1004
+ * A fully-qualified path representing Assistant resource.
1005
+ * @returns {string} A string representing the project.
1006
+ */
1007
+ matchProjectFromAssistantName(assistantName) {
1008
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
1009
+ }
1010
+ /**
1011
+ * Parse the location from Assistant resource.
1012
+ *
1013
+ * @param {string} assistantName
1014
+ * A fully-qualified path representing Assistant resource.
1015
+ * @returns {string} A string representing the location.
1016
+ */
1017
+ matchLocationFromAssistantName(assistantName) {
1018
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
1019
+ }
1020
+ /**
1021
+ * Parse the collection from Assistant resource.
1022
+ *
1023
+ * @param {string} assistantName
1024
+ * A fully-qualified path representing Assistant resource.
1025
+ * @returns {string} A string representing the collection.
1026
+ */
1027
+ matchCollectionFromAssistantName(assistantName) {
1028
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
1029
+ }
1030
+ /**
1031
+ * Parse the engine from Assistant resource.
1032
+ *
1033
+ * @param {string} assistantName
1034
+ * A fully-qualified path representing Assistant resource.
1035
+ * @returns {string} A string representing the engine.
1036
+ */
1037
+ matchEngineFromAssistantName(assistantName) {
1038
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
1039
+ }
1040
+ /**
1041
+ * Parse the assistant from Assistant resource.
1042
+ *
1043
+ * @param {string} assistantName
1044
+ * A fully-qualified path representing Assistant resource.
1045
+ * @returns {string} A string representing the assistant.
1046
+ */
1047
+ matchAssistantFromAssistantName(assistantName) {
1048
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
1049
+ }
889
1050
  /**
890
1051
  * Return a fully-qualified engine resource name string.
891
1052
  *
@@ -943,6 +1104,51 @@ class SchemaServiceClient {
943
1104
  matchEngineFromEngineName(engineName) {
944
1105
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
945
1106
  }
1107
+ /**
1108
+ * Return a fully-qualified identityMappingStore resource name string.
1109
+ *
1110
+ * @param {string} project
1111
+ * @param {string} location
1112
+ * @param {string} identity_mapping_store
1113
+ * @returns {string} Resource name string.
1114
+ */
1115
+ identityMappingStorePath(project, location, identityMappingStore) {
1116
+ return this.pathTemplates.identityMappingStorePathTemplate.render({
1117
+ project: project,
1118
+ location: location,
1119
+ identity_mapping_store: identityMappingStore,
1120
+ });
1121
+ }
1122
+ /**
1123
+ * Parse the project from IdentityMappingStore resource.
1124
+ *
1125
+ * @param {string} identityMappingStoreName
1126
+ * A fully-qualified path representing IdentityMappingStore resource.
1127
+ * @returns {string} A string representing the project.
1128
+ */
1129
+ matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
1130
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
1131
+ }
1132
+ /**
1133
+ * Parse the location from IdentityMappingStore resource.
1134
+ *
1135
+ * @param {string} identityMappingStoreName
1136
+ * A fully-qualified path representing IdentityMappingStore resource.
1137
+ * @returns {string} A string representing the location.
1138
+ */
1139
+ matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
1140
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
1141
+ }
1142
+ /**
1143
+ * Parse the identity_mapping_store from IdentityMappingStore resource.
1144
+ *
1145
+ * @param {string} identityMappingStoreName
1146
+ * A fully-qualified path representing IdentityMappingStore resource.
1147
+ * @returns {string} A string representing the identity_mapping_store.
1148
+ */
1149
+ matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
1150
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
1151
+ }
946
1152
  /**
947
1153
  * Return a fully-qualified project resource name string.
948
1154
  *
@@ -964,6 +1170,84 @@ class SchemaServiceClient {
964
1170
  matchProjectFromProjectName(projectName) {
965
1171
  return this.pathTemplates.projectPathTemplate.match(projectName).project;
966
1172
  }
1173
+ /**
1174
+ * Return a fully-qualified projectLocationCmekConfig resource name string.
1175
+ *
1176
+ * @param {string} project
1177
+ * @param {string} location
1178
+ * @returns {string} Resource name string.
1179
+ */
1180
+ projectLocationCmekConfigPath(project, location) {
1181
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
1182
+ project: project,
1183
+ location: location,
1184
+ });
1185
+ }
1186
+ /**
1187
+ * Parse the project from ProjectLocationCmekConfig resource.
1188
+ *
1189
+ * @param {string} projectLocationCmekConfigName
1190
+ * A fully-qualified path representing project_location_cmekConfig resource.
1191
+ * @returns {string} A string representing the project.
1192
+ */
1193
+ matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
1194
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
1195
+ }
1196
+ /**
1197
+ * Parse the location from ProjectLocationCmekConfig resource.
1198
+ *
1199
+ * @param {string} projectLocationCmekConfigName
1200
+ * A fully-qualified path representing project_location_cmekConfig resource.
1201
+ * @returns {string} A string representing the location.
1202
+ */
1203
+ matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
1204
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
1205
+ }
1206
+ /**
1207
+ * Return a fully-qualified projectLocationCmekConfigs resource name string.
1208
+ *
1209
+ * @param {string} project
1210
+ * @param {string} location
1211
+ * @param {string} cmek_config
1212
+ * @returns {string} Resource name string.
1213
+ */
1214
+ projectLocationCmekConfigsPath(project, location, cmekConfig) {
1215
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
1216
+ project: project,
1217
+ location: location,
1218
+ cmek_config: cmekConfig,
1219
+ });
1220
+ }
1221
+ /**
1222
+ * Parse the project from ProjectLocationCmekConfigs resource.
1223
+ *
1224
+ * @param {string} projectLocationCmekConfigsName
1225
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1226
+ * @returns {string} A string representing the project.
1227
+ */
1228
+ matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1229
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
1230
+ }
1231
+ /**
1232
+ * Parse the location from ProjectLocationCmekConfigs resource.
1233
+ *
1234
+ * @param {string} projectLocationCmekConfigsName
1235
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1236
+ * @returns {string} A string representing the location.
1237
+ */
1238
+ matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1239
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
1240
+ }
1241
+ /**
1242
+ * Parse the cmek_config from ProjectLocationCmekConfigs resource.
1243
+ *
1244
+ * @param {string} projectLocationCmekConfigsName
1245
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1246
+ * @returns {string} A string representing the cmek_config.
1247
+ */
1248
+ matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1249
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
1250
+ }
967
1251
  /**
968
1252
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
969
1253
  *
@@ -1598,154 +1882,154 @@ class SchemaServiceClient {
1598
1882
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1599
1883
  }
1600
1884
  /**
1601
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1885
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1602
1886
  *
1603
1887
  * @param {string} project
1604
1888
  * @param {string} location
1605
1889
  * @param {string} collection
1606
1890
  * @param {string} data_store
1607
1891
  * @param {string} session
1892
+ * @param {string} answer
1608
1893
  * @returns {string} Resource name string.
1609
1894
  */
1610
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1611
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1895
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1896
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1612
1897
  project: project,
1613
1898
  location: location,
1614
1899
  collection: collection,
1615
1900
  data_store: dataStore,
1616
1901
  session: session,
1902
+ answer: answer,
1617
1903
  });
1618
1904
  }
1619
1905
  /**
1620
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1906
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1621
1907
  *
1622
- * @param {string} projectLocationCollectionDataStoreSessionName
1623
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1908
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1909
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1624
1910
  * @returns {string} A string representing the project.
1625
1911
  */
1626
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1627
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1912
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1913
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1628
1914
  }
1629
1915
  /**
1630
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1916
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1631
1917
  *
1632
- * @param {string} projectLocationCollectionDataStoreSessionName
1633
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1918
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1919
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1634
1920
  * @returns {string} A string representing the location.
1635
1921
  */
1636
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1637
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1922
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1923
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1638
1924
  }
1639
1925
  /**
1640
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1926
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1641
1927
  *
1642
- * @param {string} projectLocationCollectionDataStoreSessionName
1643
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1928
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1929
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1644
1930
  * @returns {string} A string representing the collection.
1645
1931
  */
1646
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1647
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1932
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1933
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1648
1934
  }
1649
1935
  /**
1650
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1936
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1651
1937
  *
1652
- * @param {string} projectLocationCollectionDataStoreSessionName
1653
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1938
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1939
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1654
1940
  * @returns {string} A string representing the data_store.
1655
1941
  */
1656
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1657
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1942
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1943
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1658
1944
  }
1659
1945
  /**
1660
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1946
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1661
1947
  *
1662
- * @param {string} projectLocationCollectionDataStoreSessionName
1663
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1948
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1949
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1664
1950
  * @returns {string} A string representing the session.
1665
1951
  */
1666
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1667
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1952
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1953
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1668
1954
  }
1669
1955
  /**
1670
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1956
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1957
+ *
1958
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1959
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1960
+ * @returns {string} A string representing the answer.
1961
+ */
1962
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1963
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1964
+ }
1965
+ /**
1966
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1671
1967
  *
1672
1968
  * @param {string} project
1673
1969
  * @param {string} location
1674
1970
  * @param {string} collection
1675
1971
  * @param {string} data_store
1676
1972
  * @param {string} session
1677
- * @param {string} answer
1678
1973
  * @returns {string} Resource name string.
1679
1974
  */
1680
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1681
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1975
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1976
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1682
1977
  project: project,
1683
1978
  location: location,
1684
1979
  collection: collection,
1685
1980
  data_store: dataStore,
1686
1981
  session: session,
1687
- answer: answer,
1688
1982
  });
1689
1983
  }
1690
1984
  /**
1691
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1985
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1692
1986
  *
1693
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1694
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1987
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1988
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1695
1989
  * @returns {string} A string representing the project.
1696
1990
  */
1697
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1698
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1991
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1992
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1699
1993
  }
1700
1994
  /**
1701
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1995
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1702
1996
  *
1703
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1704
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1997
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1998
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1705
1999
  * @returns {string} A string representing the location.
1706
2000
  */
1707
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1708
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2001
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2002
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1709
2003
  }
1710
2004
  /**
1711
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2005
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1712
2006
  *
1713
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1714
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2007
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2008
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1715
2009
  * @returns {string} A string representing the collection.
1716
2010
  */
1717
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1718
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2011
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2012
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1719
2013
  }
1720
2014
  /**
1721
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2015
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1722
2016
  *
1723
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1724
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2017
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2018
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1725
2019
  * @returns {string} A string representing the data_store.
1726
2020
  */
1727
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1728
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2021
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2022
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1729
2023
  }
1730
2024
  /**
1731
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2025
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1732
2026
  *
1733
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1734
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2027
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2028
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1735
2029
  * @returns {string} A string representing the session.
1736
2030
  */
1737
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1738
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1739
- }
1740
- /**
1741
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1742
- *
1743
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1744
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1745
- * @returns {string} A string representing the answer.
1746
- */
1747
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1748
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2031
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2032
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1749
2033
  }
1750
2034
  /**
1751
2035
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2150,154 +2434,154 @@ class SchemaServiceClient {
2150
2434
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2151
2435
  }
2152
2436
  /**
2153
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2437
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2154
2438
  *
2155
2439
  * @param {string} project
2156
2440
  * @param {string} location
2157
2441
  * @param {string} collection
2158
2442
  * @param {string} engine
2159
2443
  * @param {string} session
2444
+ * @param {string} answer
2160
2445
  * @returns {string} Resource name string.
2161
2446
  */
2162
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2163
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2447
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2448
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2164
2449
  project: project,
2165
2450
  location: location,
2166
2451
  collection: collection,
2167
2452
  engine: engine,
2168
2453
  session: session,
2454
+ answer: answer,
2169
2455
  });
2170
2456
  }
2171
2457
  /**
2172
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2458
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2173
2459
  *
2174
- * @param {string} projectLocationCollectionEngineSessionName
2175
- * A fully-qualified path representing project_location_collection_engine_session resource.
2460
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2461
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2176
2462
  * @returns {string} A string representing the project.
2177
2463
  */
2178
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2179
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2464
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2465
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2180
2466
  }
2181
2467
  /**
2182
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2468
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2183
2469
  *
2184
- * @param {string} projectLocationCollectionEngineSessionName
2185
- * A fully-qualified path representing project_location_collection_engine_session resource.
2470
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2471
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2186
2472
  * @returns {string} A string representing the location.
2187
2473
  */
2188
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2189
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2474
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2475
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2190
2476
  }
2191
2477
  /**
2192
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2478
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2193
2479
  *
2194
- * @param {string} projectLocationCollectionEngineSessionName
2195
- * A fully-qualified path representing project_location_collection_engine_session resource.
2480
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2481
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2196
2482
  * @returns {string} A string representing the collection.
2197
2483
  */
2198
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2199
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2484
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2485
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2200
2486
  }
2201
2487
  /**
2202
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2488
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2203
2489
  *
2204
- * @param {string} projectLocationCollectionEngineSessionName
2205
- * A fully-qualified path representing project_location_collection_engine_session resource.
2490
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2491
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2206
2492
  * @returns {string} A string representing the engine.
2207
2493
  */
2208
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2209
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2494
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2495
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2210
2496
  }
2211
2497
  /**
2212
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2498
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2213
2499
  *
2214
- * @param {string} projectLocationCollectionEngineSessionName
2215
- * A fully-qualified path representing project_location_collection_engine_session resource.
2500
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2501
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2216
2502
  * @returns {string} A string representing the session.
2217
2503
  */
2218
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2219
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2504
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2505
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2220
2506
  }
2221
2507
  /**
2222
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2508
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2509
+ *
2510
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2511
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2512
+ * @returns {string} A string representing the answer.
2513
+ */
2514
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2515
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2516
+ }
2517
+ /**
2518
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2223
2519
  *
2224
2520
  * @param {string} project
2225
2521
  * @param {string} location
2226
2522
  * @param {string} collection
2227
2523
  * @param {string} engine
2228
2524
  * @param {string} session
2229
- * @param {string} answer
2230
2525
  * @returns {string} Resource name string.
2231
2526
  */
2232
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2233
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2527
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2528
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2234
2529
  project: project,
2235
2530
  location: location,
2236
2531
  collection: collection,
2237
2532
  engine: engine,
2238
2533
  session: session,
2239
- answer: answer,
2240
2534
  });
2241
2535
  }
2242
2536
  /**
2243
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2537
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2244
2538
  *
2245
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2246
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2539
+ * @param {string} projectLocationCollectionEngineSessionsName
2540
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2247
2541
  * @returns {string} A string representing the project.
2248
2542
  */
2249
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2250
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2543
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2544
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2251
2545
  }
2252
2546
  /**
2253
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2547
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2254
2548
  *
2255
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2256
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2549
+ * @param {string} projectLocationCollectionEngineSessionsName
2550
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2257
2551
  * @returns {string} A string representing the location.
2258
2552
  */
2259
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2260
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2553
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2554
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2261
2555
  }
2262
2556
  /**
2263
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2557
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2264
2558
  *
2265
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2266
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2559
+ * @param {string} projectLocationCollectionEngineSessionsName
2560
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2267
2561
  * @returns {string} A string representing the collection.
2268
2562
  */
2269
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2270
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2563
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2564
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2271
2565
  }
2272
2566
  /**
2273
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2567
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2274
2568
  *
2275
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2276
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2569
+ * @param {string} projectLocationCollectionEngineSessionsName
2570
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2277
2571
  * @returns {string} A string representing the engine.
2278
2572
  */
2279
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2280
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2573
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2574
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2281
2575
  }
2282
2576
  /**
2283
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2577
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2284
2578
  *
2285
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2286
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2579
+ * @param {string} projectLocationCollectionEngineSessionsName
2580
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2287
2581
  * @returns {string} A string representing the session.
2288
2582
  */
2289
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2290
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2291
- }
2292
- /**
2293
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2294
- *
2295
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2296
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2297
- * @returns {string} A string representing the answer.
2298
- */
2299
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2300
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2583
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2584
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2301
2585
  }
2302
2586
  /**
2303
2587
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2824,63 +3108,6 @@ class SchemaServiceClient {
2824
3108
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2825
3109
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2826
3110
  }
2827
- /**
2828
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2829
- *
2830
- * @param {string} project
2831
- * @param {string} location
2832
- * @param {string} data_store
2833
- * @param {string} session
2834
- * @returns {string} Resource name string.
2835
- */
2836
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2837
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2838
- project: project,
2839
- location: location,
2840
- data_store: dataStore,
2841
- session: session,
2842
- });
2843
- }
2844
- /**
2845
- * Parse the project from ProjectLocationDataStoreSession resource.
2846
- *
2847
- * @param {string} projectLocationDataStoreSessionName
2848
- * A fully-qualified path representing project_location_data_store_session resource.
2849
- * @returns {string} A string representing the project.
2850
- */
2851
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2852
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2853
- }
2854
- /**
2855
- * Parse the location from ProjectLocationDataStoreSession resource.
2856
- *
2857
- * @param {string} projectLocationDataStoreSessionName
2858
- * A fully-qualified path representing project_location_data_store_session resource.
2859
- * @returns {string} A string representing the location.
2860
- */
2861
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2862
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2863
- }
2864
- /**
2865
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2866
- *
2867
- * @param {string} projectLocationDataStoreSessionName
2868
- * A fully-qualified path representing project_location_data_store_session resource.
2869
- * @returns {string} A string representing the data_store.
2870
- */
2871
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2872
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2873
- }
2874
- /**
2875
- * Parse the session from ProjectLocationDataStoreSession resource.
2876
- *
2877
- * @param {string} projectLocationDataStoreSessionName
2878
- * A fully-qualified path representing project_location_data_store_session resource.
2879
- * @returns {string} A string representing the session.
2880
- */
2881
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2882
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2883
- }
2884
3111
  /**
2885
3112
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2886
3113
  *
@@ -2950,6 +3177,63 @@ class SchemaServiceClient {
2950
3177
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2951
3178
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2952
3179
  }
3180
+ /**
3181
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3182
+ *
3183
+ * @param {string} project
3184
+ * @param {string} location
3185
+ * @param {string} data_store
3186
+ * @param {string} session
3187
+ * @returns {string} Resource name string.
3188
+ */
3189
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3190
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3191
+ project: project,
3192
+ location: location,
3193
+ data_store: dataStore,
3194
+ session: session,
3195
+ });
3196
+ }
3197
+ /**
3198
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3199
+ *
3200
+ * @param {string} projectLocationDataStoreSessionsName
3201
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3202
+ * @returns {string} A string representing the project.
3203
+ */
3204
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3205
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3206
+ }
3207
+ /**
3208
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3209
+ *
3210
+ * @param {string} projectLocationDataStoreSessionsName
3211
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3212
+ * @returns {string} A string representing the location.
3213
+ */
3214
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3215
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3216
+ }
3217
+ /**
3218
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3219
+ *
3220
+ * @param {string} projectLocationDataStoreSessionsName
3221
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3222
+ * @returns {string} A string representing the data_store.
3223
+ */
3224
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3225
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3226
+ }
3227
+ /**
3228
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3229
+ *
3230
+ * @param {string} projectLocationDataStoreSessionsName
3231
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3232
+ * @returns {string} A string representing the session.
3233
+ */
3234
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3235
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3236
+ }
2953
3237
  /**
2954
3238
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2955
3239
  *