@google-cloud/discoveryengine 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/README.md +30 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
  10. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
  11. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
  12. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
  15. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
  16. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
  21. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  22. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  23. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
  24. package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  32. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  33. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  34. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  35. package/build/protos/protos.d.ts +21218 -11675
  36. package/build/protos/protos.js +92642 -66407
  37. package/build/protos/protos.json +5854 -2801
  38. package/build/src/index.d.ts +16 -1
  39. package/build/src/index.js +12 -2
  40. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  41. package/build/src/v1/assistant_service_client.js +2957 -0
  42. package/build/src/v1/assistant_service_client_config.json +43 -0
  43. package/build/src/v1/assistant_service_proto_list.json +48 -0
  44. package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
  45. package/build/src/v1/cmek_config_service_client.js +3426 -0
  46. package/build/src/v1/cmek_config_service_client_config.json +42 -0
  47. package/build/src/v1/cmek_config_service_proto_list.json +48 -0
  48. package/build/src/v1/completion_service_client.d.ts +345 -144
  49. package/build/src/v1/completion_service_client.js +482 -198
  50. package/build/src/v1/completion_service_proto_list.json +10 -1
  51. package/build/src/v1/control_service_client.d.ts +345 -144
  52. package/build/src/v1/control_service_client.js +498 -196
  53. package/build/src/v1/control_service_proto_list.json +10 -1
  54. package/build/src/v1/conversational_search_service_client.d.ts +392 -155
  55. package/build/src/v1/conversational_search_service_client.js +572 -204
  56. package/build/src/v1/conversational_search_service_proto_list.json +10 -1
  57. package/build/src/v1/data_store_service_client.d.ts +351 -144
  58. package/build/src/v1/data_store_service_client.js +488 -198
  59. package/build/src/v1/data_store_service_proto_list.json +10 -1
  60. package/build/src/v1/document_service_client.d.ts +345 -144
  61. package/build/src/v1/document_service_client.js +506 -198
  62. package/build/src/v1/document_service_proto_list.json +10 -1
  63. package/build/src/v1/engine_service_client.d.ts +345 -144
  64. package/build/src/v1/engine_service_client.js +488 -198
  65. package/build/src/v1/engine_service_proto_list.json +10 -1
  66. package/build/src/v1/gapic_metadata.json +270 -0
  67. package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
  68. package/build/src/v1/grounded_generation_service_client.js +486 -196
  69. package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
  70. package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
  71. package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
  72. package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
  73. package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
  74. package/build/src/v1/index.d.ts +5 -0
  75. package/build/src/v1/index.js +11 -1
  76. package/build/src/v1/project_service_client.d.ts +345 -144
  77. package/build/src/v1/project_service_client.js +476 -198
  78. package/build/src/v1/project_service_proto_list.json +10 -1
  79. package/build/src/v1/rank_service_client.d.ts +345 -144
  80. package/build/src/v1/rank_service_client.js +480 -196
  81. package/build/src/v1/rank_service_proto_list.json +10 -1
  82. package/build/src/v1/recommendation_service_client.d.ts +345 -144
  83. package/build/src/v1/recommendation_service_client.js +480 -196
  84. package/build/src/v1/recommendation_service_proto_list.json +10 -1
  85. package/build/src/v1/schema_service_client.d.ts +345 -144
  86. package/build/src/v1/schema_service_client.js +482 -198
  87. package/build/src/v1/schema_service_proto_list.json +10 -1
  88. package/build/src/v1/search_service_client.d.ts +393 -228
  89. package/build/src/v1/search_service_client.js +506 -252
  90. package/build/src/v1/search_service_proto_list.json +10 -1
  91. package/build/src/v1/search_tuning_service_client.d.ts +345 -144
  92. package/build/src/v1/search_tuning_service_client.js +482 -198
  93. package/build/src/v1/search_tuning_service_proto_list.json +10 -1
  94. package/build/src/v1/serving_config_service_client.d.ts +345 -144
  95. package/build/src/v1/serving_config_service_client.js +480 -196
  96. package/build/src/v1/serving_config_service_proto_list.json +10 -1
  97. package/build/src/v1/session_service_client.d.ts +2326 -0
  98. package/build/src/v1/session_service_client.js +3218 -0
  99. package/build/src/v1/session_service_client_config.json +63 -0
  100. package/build/src/v1/session_service_proto_list.json +48 -0
  101. package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
  102. package/build/src/v1/site_search_engine_service_client.js +494 -198
  103. package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
  104. package/build/src/v1/user_event_service_client.d.ts +345 -144
  105. package/build/src/v1/user_event_service_client.js +488 -198
  106. package/build/src/v1/user_event_service_proto_list.json +10 -1
  107. package/build/src/v1/user_license_service_client.d.ts +2367 -0
  108. package/build/src/v1/user_license_service_client.js +3346 -0
  109. package/build/src/v1/user_license_service_client_config.json +34 -0
  110. package/build/src/v1/user_license_service_proto_list.json +48 -0
  111. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  112. package/build/src/v1alpha/acl_config_service_client.js +208 -196
  113. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  114. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  115. package/build/src/v1alpha/chunk_service_client.js +202 -196
  116. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  117. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  118. package/build/src/v1alpha/completion_service_client.js +203 -197
  119. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  120. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  121. package/build/src/v1alpha/control_service_client.js +220 -196
  122. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  123. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  124. package/build/src/v1alpha/conversational_search_service_client.js +310 -210
  125. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  126. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  127. package/build/src/v1alpha/data_store_service_client.js +221 -197
  128. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  129. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  130. package/build/src/v1alpha/document_service_client.js +233 -197
  131. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  132. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  133. package/build/src/v1alpha/engine_service_client.js +221 -197
  134. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  135. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  136. package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
  137. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  138. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  139. package/build/src/v1alpha/evaluation_service_client.js +203 -197
  140. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  141. package/build/src/v1alpha/gapic_metadata.json +82 -0
  142. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
  144. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/index.d.ts +1 -0
  146. package/build/src/v1alpha/index.js +3 -1
  147. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  148. package/build/src/v1alpha/project_service_client.js +209 -197
  149. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  150. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  151. package/build/src/v1alpha/rank_service_client.js +202 -196
  152. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  153. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  154. package/build/src/v1alpha/recommendation_service_client.js +202 -196
  155. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  156. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  157. package/build/src/v1alpha/sample_query_service_client.js +221 -197
  158. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  159. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  160. package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
  161. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  162. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  163. package/build/src/v1alpha/schema_service_client.js +203 -197
  164. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  165. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  166. package/build/src/v1alpha/search_service_client.js +212 -224
  167. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  168. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  169. package/build/src/v1alpha/search_tuning_service_client.js +203 -197
  170. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  171. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  172. package/build/src/v1alpha/serving_config_service_client.js +208 -196
  173. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  174. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  175. package/build/src/v1alpha/session_service_client.js +3161 -0
  176. package/build/src/v1alpha/session_service_client_config.json +68 -0
  177. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  178. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  179. package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
  180. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  181. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  182. package/build/src/v1alpha/user_event_service_client.js +209 -197
  183. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  184. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  185. package/build/src/v1beta/completion_service_client.js +209 -197
  186. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  187. package/build/src/v1beta/control_service_client.d.ts +144 -144
  188. package/build/src/v1beta/control_service_client.js +220 -196
  189. package/build/src/v1beta/control_service_proto_list.json +1 -0
  190. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  191. package/build/src/v1beta/conversational_search_service_client.js +308 -208
  192. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  193. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  194. package/build/src/v1beta/data_store_service_client.js +209 -197
  195. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  196. package/build/src/v1beta/document_service_client.d.ts +144 -144
  197. package/build/src/v1beta/document_service_client.js +227 -197
  198. package/build/src/v1beta/document_service_proto_list.json +1 -0
  199. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  200. package/build/src/v1beta/engine_service_client.js +221 -197
  201. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  202. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  203. package/build/src/v1beta/evaluation_service_client.js +203 -197
  204. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  205. package/build/src/v1beta/gapic_metadata.json +68 -0
  206. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  207. package/build/src/v1beta/grounded_generation_service_client.js +208 -196
  208. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  209. package/build/src/v1beta/index.d.ts +1 -0
  210. package/build/src/v1beta/index.js +3 -1
  211. package/build/src/v1beta/project_service_client.d.ts +144 -144
  212. package/build/src/v1beta/project_service_client.js +197 -197
  213. package/build/src/v1beta/project_service_proto_list.json +1 -0
  214. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  215. package/build/src/v1beta/rank_service_client.js +202 -196
  216. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  217. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  218. package/build/src/v1beta/recommendation_service_client.js +202 -196
  219. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  220. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  221. package/build/src/v1beta/sample_query_service_client.js +221 -197
  222. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  223. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  224. package/build/src/v1beta/sample_query_set_service_client.js +220 -196
  225. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  226. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  227. package/build/src/v1beta/schema_service_client.js +203 -197
  228. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  229. package/build/src/v1beta/search_service_client.d.ts +192 -228
  230. package/build/src/v1beta/search_service_client.js +228 -252
  231. package/build/src/v1beta/search_service_proto_list.json +1 -0
  232. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  233. package/build/src/v1beta/search_tuning_service_client.js +203 -197
  234. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  235. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  236. package/build/src/v1beta/serving_config_service_client.js +208 -196
  237. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  238. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  239. package/build/src/v1beta/session_service_client.js +3136 -0
  240. package/build/src/v1beta/session_service_client_config.json +63 -0
  241. package/build/src/v1beta/session_service_proto_list.json +45 -0
  242. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  243. package/build/src/v1beta/site_search_engine_service_client.js +215 -197
  244. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  245. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  246. package/build/src/v1beta/user_event_service_client.js +209 -197
  247. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  248. package/package.json +7 -7
  249. package/CHANGELOG.md +0 -274
@@ -164,9 +164,14 @@ class EngineServiceClient {
164
164
  // identifiers to uniquely identify resources within the API.
165
165
  // Create useful helper objects for these.
166
166
  this.pathTemplates = {
167
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
168
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
167
169
  collectionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}'),
168
170
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
171
+ identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
169
172
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
173
+ projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
174
+ projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
170
175
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
171
176
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
172
177
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -176,16 +181,16 @@ class EngineServiceClient {
176
181
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
182
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
183
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
184
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
185
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
186
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
187
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
183
188
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
189
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
190
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
191
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
192
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
193
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
194
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
195
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
196
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,8 +200,8 @@ class EngineServiceClient {
195
200
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
201
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
202
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
203
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
204
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
205
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
206
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
202
207
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -207,7 +212,7 @@ class EngineServiceClient {
207
212
  this.descriptors.page = {
208
213
  listEngines: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'engines')
209
214
  };
210
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
215
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
211
216
  // This API contains "long-running operations", which return a
212
217
  // an Operation object that allows for tracking of the operation,
213
218
  // rather than holding a request open.
@@ -217,7 +222,7 @@ class EngineServiceClient {
217
222
  };
218
223
  if (opts.fallback) {
219
224
  lroOptions.protoJson = protoFilesRoot;
220
- 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: '*', }],
225
+ 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: '*', }],
221
226
  }, { 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/*}', }],
222
227
  }, { 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', }],
223
228
  }];
@@ -371,6 +376,12 @@ class EngineServiceClient {
371
376
  ?.then(([response, options, rawResponse]) => {
372
377
  this._log.info('updateEngine response %j', response);
373
378
  return [response, options, rawResponse];
379
+ }).catch((error) => {
380
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
381
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
382
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
383
+ }
384
+ throw error;
374
385
  });
375
386
  }
376
387
  getEngine(request, optionsOrCallback, callback) {
@@ -401,6 +412,12 @@ class EngineServiceClient {
401
412
  ?.then(([response, options, rawResponse]) => {
402
413
  this._log.info('getEngine response %j', response);
403
414
  return [response, options, rawResponse];
415
+ }).catch((error) => {
416
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
417
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
418
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
419
+ }
420
+ throw error;
404
421
  });
405
422
  }
406
423
  createEngine(request, optionsOrCallback, callback) {
@@ -849,6 +866,156 @@ class EngineServiceClient {
849
866
  // --------------------
850
867
  // -- Path templates --
851
868
  // --------------------
869
+ /**
870
+ * Return a fully-qualified assistAnswer resource name string.
871
+ *
872
+ * @param {string} project
873
+ * @param {string} location
874
+ * @param {string} collection
875
+ * @param {string} engine
876
+ * @param {string} session
877
+ * @param {string} assist_answer
878
+ * @returns {string} Resource name string.
879
+ */
880
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
881
+ return this.pathTemplates.assistAnswerPathTemplate.render({
882
+ project: project,
883
+ location: location,
884
+ collection: collection,
885
+ engine: engine,
886
+ session: session,
887
+ assist_answer: assistAnswer,
888
+ });
889
+ }
890
+ /**
891
+ * Parse the project from AssistAnswer resource.
892
+ *
893
+ * @param {string} assistAnswerName
894
+ * A fully-qualified path representing AssistAnswer resource.
895
+ * @returns {string} A string representing the project.
896
+ */
897
+ matchProjectFromAssistAnswerName(assistAnswerName) {
898
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
899
+ }
900
+ /**
901
+ * Parse the location from AssistAnswer resource.
902
+ *
903
+ * @param {string} assistAnswerName
904
+ * A fully-qualified path representing AssistAnswer resource.
905
+ * @returns {string} A string representing the location.
906
+ */
907
+ matchLocationFromAssistAnswerName(assistAnswerName) {
908
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
909
+ }
910
+ /**
911
+ * Parse the collection from AssistAnswer resource.
912
+ *
913
+ * @param {string} assistAnswerName
914
+ * A fully-qualified path representing AssistAnswer resource.
915
+ * @returns {string} A string representing the collection.
916
+ */
917
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
918
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
919
+ }
920
+ /**
921
+ * Parse the engine from AssistAnswer resource.
922
+ *
923
+ * @param {string} assistAnswerName
924
+ * A fully-qualified path representing AssistAnswer resource.
925
+ * @returns {string} A string representing the engine.
926
+ */
927
+ matchEngineFromAssistAnswerName(assistAnswerName) {
928
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
929
+ }
930
+ /**
931
+ * Parse the session from AssistAnswer resource.
932
+ *
933
+ * @param {string} assistAnswerName
934
+ * A fully-qualified path representing AssistAnswer resource.
935
+ * @returns {string} A string representing the session.
936
+ */
937
+ matchSessionFromAssistAnswerName(assistAnswerName) {
938
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
939
+ }
940
+ /**
941
+ * Parse the assist_answer from AssistAnswer resource.
942
+ *
943
+ * @param {string} assistAnswerName
944
+ * A fully-qualified path representing AssistAnswer resource.
945
+ * @returns {string} A string representing the assist_answer.
946
+ */
947
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
948
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
949
+ }
950
+ /**
951
+ * Return a fully-qualified assistant resource name string.
952
+ *
953
+ * @param {string} project
954
+ * @param {string} location
955
+ * @param {string} collection
956
+ * @param {string} engine
957
+ * @param {string} assistant
958
+ * @returns {string} Resource name string.
959
+ */
960
+ assistantPath(project, location, collection, engine, assistant) {
961
+ return this.pathTemplates.assistantPathTemplate.render({
962
+ project: project,
963
+ location: location,
964
+ collection: collection,
965
+ engine: engine,
966
+ assistant: assistant,
967
+ });
968
+ }
969
+ /**
970
+ * Parse the project from Assistant resource.
971
+ *
972
+ * @param {string} assistantName
973
+ * A fully-qualified path representing Assistant resource.
974
+ * @returns {string} A string representing the project.
975
+ */
976
+ matchProjectFromAssistantName(assistantName) {
977
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
978
+ }
979
+ /**
980
+ * Parse the location from Assistant resource.
981
+ *
982
+ * @param {string} assistantName
983
+ * A fully-qualified path representing Assistant resource.
984
+ * @returns {string} A string representing the location.
985
+ */
986
+ matchLocationFromAssistantName(assistantName) {
987
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
988
+ }
989
+ /**
990
+ * Parse the collection from Assistant resource.
991
+ *
992
+ * @param {string} assistantName
993
+ * A fully-qualified path representing Assistant resource.
994
+ * @returns {string} A string representing the collection.
995
+ */
996
+ matchCollectionFromAssistantName(assistantName) {
997
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
998
+ }
999
+ /**
1000
+ * Parse the engine from Assistant resource.
1001
+ *
1002
+ * @param {string} assistantName
1003
+ * A fully-qualified path representing Assistant resource.
1004
+ * @returns {string} A string representing the engine.
1005
+ */
1006
+ matchEngineFromAssistantName(assistantName) {
1007
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
1008
+ }
1009
+ /**
1010
+ * Parse the assistant from Assistant resource.
1011
+ *
1012
+ * @param {string} assistantName
1013
+ * A fully-qualified path representing Assistant resource.
1014
+ * @returns {string} A string representing the assistant.
1015
+ */
1016
+ matchAssistantFromAssistantName(assistantName) {
1017
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
1018
+ }
852
1019
  /**
853
1020
  * Return a fully-qualified collection resource name string.
854
1021
  *
@@ -951,6 +1118,51 @@ class EngineServiceClient {
951
1118
  matchEngineFromEngineName(engineName) {
952
1119
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
953
1120
  }
1121
+ /**
1122
+ * Return a fully-qualified identityMappingStore resource name string.
1123
+ *
1124
+ * @param {string} project
1125
+ * @param {string} location
1126
+ * @param {string} identity_mapping_store
1127
+ * @returns {string} Resource name string.
1128
+ */
1129
+ identityMappingStorePath(project, location, identityMappingStore) {
1130
+ return this.pathTemplates.identityMappingStorePathTemplate.render({
1131
+ project: project,
1132
+ location: location,
1133
+ identity_mapping_store: identityMappingStore,
1134
+ });
1135
+ }
1136
+ /**
1137
+ * Parse the project from IdentityMappingStore resource.
1138
+ *
1139
+ * @param {string} identityMappingStoreName
1140
+ * A fully-qualified path representing IdentityMappingStore resource.
1141
+ * @returns {string} A string representing the project.
1142
+ */
1143
+ matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
1144
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
1145
+ }
1146
+ /**
1147
+ * Parse the location from IdentityMappingStore resource.
1148
+ *
1149
+ * @param {string} identityMappingStoreName
1150
+ * A fully-qualified path representing IdentityMappingStore resource.
1151
+ * @returns {string} A string representing the location.
1152
+ */
1153
+ matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
1154
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
1155
+ }
1156
+ /**
1157
+ * Parse the identity_mapping_store from IdentityMappingStore resource.
1158
+ *
1159
+ * @param {string} identityMappingStoreName
1160
+ * A fully-qualified path representing IdentityMappingStore resource.
1161
+ * @returns {string} A string representing the identity_mapping_store.
1162
+ */
1163
+ matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
1164
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
1165
+ }
954
1166
  /**
955
1167
  * Return a fully-qualified project resource name string.
956
1168
  *
@@ -972,6 +1184,84 @@ class EngineServiceClient {
972
1184
  matchProjectFromProjectName(projectName) {
973
1185
  return this.pathTemplates.projectPathTemplate.match(projectName).project;
974
1186
  }
1187
+ /**
1188
+ * Return a fully-qualified projectLocationCmekConfig resource name string.
1189
+ *
1190
+ * @param {string} project
1191
+ * @param {string} location
1192
+ * @returns {string} Resource name string.
1193
+ */
1194
+ projectLocationCmekConfigPath(project, location) {
1195
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
1196
+ project: project,
1197
+ location: location,
1198
+ });
1199
+ }
1200
+ /**
1201
+ * Parse the project from ProjectLocationCmekConfig resource.
1202
+ *
1203
+ * @param {string} projectLocationCmekConfigName
1204
+ * A fully-qualified path representing project_location_cmekConfig resource.
1205
+ * @returns {string} A string representing the project.
1206
+ */
1207
+ matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
1208
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
1209
+ }
1210
+ /**
1211
+ * Parse the location from ProjectLocationCmekConfig resource.
1212
+ *
1213
+ * @param {string} projectLocationCmekConfigName
1214
+ * A fully-qualified path representing project_location_cmekConfig resource.
1215
+ * @returns {string} A string representing the location.
1216
+ */
1217
+ matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
1218
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
1219
+ }
1220
+ /**
1221
+ * Return a fully-qualified projectLocationCmekConfigs resource name string.
1222
+ *
1223
+ * @param {string} project
1224
+ * @param {string} location
1225
+ * @param {string} cmek_config
1226
+ * @returns {string} Resource name string.
1227
+ */
1228
+ projectLocationCmekConfigsPath(project, location, cmekConfig) {
1229
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
1230
+ project: project,
1231
+ location: location,
1232
+ cmek_config: cmekConfig,
1233
+ });
1234
+ }
1235
+ /**
1236
+ * Parse the project from ProjectLocationCmekConfigs resource.
1237
+ *
1238
+ * @param {string} projectLocationCmekConfigsName
1239
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1240
+ * @returns {string} A string representing the project.
1241
+ */
1242
+ matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1243
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
1244
+ }
1245
+ /**
1246
+ * Parse the location from ProjectLocationCmekConfigs resource.
1247
+ *
1248
+ * @param {string} projectLocationCmekConfigsName
1249
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1250
+ * @returns {string} A string representing the location.
1251
+ */
1252
+ matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1253
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
1254
+ }
1255
+ /**
1256
+ * Parse the cmek_config from ProjectLocationCmekConfigs resource.
1257
+ *
1258
+ * @param {string} projectLocationCmekConfigsName
1259
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1260
+ * @returns {string} A string representing the cmek_config.
1261
+ */
1262
+ matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1263
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
1264
+ }
975
1265
  /**
976
1266
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
977
1267
  *
@@ -1606,154 +1896,154 @@ class EngineServiceClient {
1606
1896
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1607
1897
  }
1608
1898
  /**
1609
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1899
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1610
1900
  *
1611
1901
  * @param {string} project
1612
1902
  * @param {string} location
1613
1903
  * @param {string} collection
1614
1904
  * @param {string} data_store
1615
1905
  * @param {string} session
1906
+ * @param {string} answer
1616
1907
  * @returns {string} Resource name string.
1617
1908
  */
1618
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1619
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1909
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1910
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1620
1911
  project: project,
1621
1912
  location: location,
1622
1913
  collection: collection,
1623
1914
  data_store: dataStore,
1624
1915
  session: session,
1916
+ answer: answer,
1625
1917
  });
1626
1918
  }
1627
1919
  /**
1628
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1920
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1629
1921
  *
1630
- * @param {string} projectLocationCollectionDataStoreSessionName
1631
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1922
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1923
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1632
1924
  * @returns {string} A string representing the project.
1633
1925
  */
1634
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1635
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1926
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1927
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1636
1928
  }
1637
1929
  /**
1638
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1930
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1639
1931
  *
1640
- * @param {string} projectLocationCollectionDataStoreSessionName
1641
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1932
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1933
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1642
1934
  * @returns {string} A string representing the location.
1643
1935
  */
1644
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1645
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1936
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1937
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1646
1938
  }
1647
1939
  /**
1648
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1940
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1649
1941
  *
1650
- * @param {string} projectLocationCollectionDataStoreSessionName
1651
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1942
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1943
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1652
1944
  * @returns {string} A string representing the collection.
1653
1945
  */
1654
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1655
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1946
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1947
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1656
1948
  }
1657
1949
  /**
1658
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1950
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1659
1951
  *
1660
- * @param {string} projectLocationCollectionDataStoreSessionName
1661
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1952
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1953
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1662
1954
  * @returns {string} A string representing the data_store.
1663
1955
  */
1664
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1665
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1956
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1957
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1666
1958
  }
1667
1959
  /**
1668
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1960
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1669
1961
  *
1670
- * @param {string} projectLocationCollectionDataStoreSessionName
1671
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1962
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1963
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1672
1964
  * @returns {string} A string representing the session.
1673
1965
  */
1674
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1675
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1966
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1967
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1676
1968
  }
1677
1969
  /**
1678
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1970
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1971
+ *
1972
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1973
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1974
+ * @returns {string} A string representing the answer.
1975
+ */
1976
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1977
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1978
+ }
1979
+ /**
1980
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1679
1981
  *
1680
1982
  * @param {string} project
1681
1983
  * @param {string} location
1682
1984
  * @param {string} collection
1683
1985
  * @param {string} data_store
1684
1986
  * @param {string} session
1685
- * @param {string} answer
1686
1987
  * @returns {string} Resource name string.
1687
1988
  */
1688
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1689
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1989
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1990
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1690
1991
  project: project,
1691
1992
  location: location,
1692
1993
  collection: collection,
1693
1994
  data_store: dataStore,
1694
1995
  session: session,
1695
- answer: answer,
1696
1996
  });
1697
1997
  }
1698
1998
  /**
1699
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1999
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1700
2000
  *
1701
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1702
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2001
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2002
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1703
2003
  * @returns {string} A string representing the project.
1704
2004
  */
1705
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1706
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2005
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2006
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1707
2007
  }
1708
2008
  /**
1709
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2009
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1710
2010
  *
1711
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1712
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2011
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2012
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1713
2013
  * @returns {string} A string representing the location.
1714
2014
  */
1715
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1716
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2015
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2016
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1717
2017
  }
1718
2018
  /**
1719
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2019
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1720
2020
  *
1721
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1722
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2021
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2022
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1723
2023
  * @returns {string} A string representing the collection.
1724
2024
  */
1725
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1726
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2025
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2026
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1727
2027
  }
1728
2028
  /**
1729
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2029
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1730
2030
  *
1731
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1732
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2031
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2032
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1733
2033
  * @returns {string} A string representing the data_store.
1734
2034
  */
1735
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1736
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2035
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2036
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1737
2037
  }
1738
2038
  /**
1739
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2039
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1740
2040
  *
1741
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1742
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2041
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2042
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1743
2043
  * @returns {string} A string representing the session.
1744
2044
  */
1745
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1746
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1747
- }
1748
- /**
1749
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1750
- *
1751
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1752
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1753
- * @returns {string} A string representing the answer.
1754
- */
1755
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1756
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2045
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2046
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1757
2047
  }
1758
2048
  /**
1759
2049
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2158,154 +2448,154 @@ class EngineServiceClient {
2158
2448
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2159
2449
  }
2160
2450
  /**
2161
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2451
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2162
2452
  *
2163
2453
  * @param {string} project
2164
2454
  * @param {string} location
2165
2455
  * @param {string} collection
2166
2456
  * @param {string} engine
2167
2457
  * @param {string} session
2458
+ * @param {string} answer
2168
2459
  * @returns {string} Resource name string.
2169
2460
  */
2170
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2171
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2461
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2462
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2172
2463
  project: project,
2173
2464
  location: location,
2174
2465
  collection: collection,
2175
2466
  engine: engine,
2176
2467
  session: session,
2468
+ answer: answer,
2177
2469
  });
2178
2470
  }
2179
2471
  /**
2180
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2472
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2181
2473
  *
2182
- * @param {string} projectLocationCollectionEngineSessionName
2183
- * A fully-qualified path representing project_location_collection_engine_session resource.
2474
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2475
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2184
2476
  * @returns {string} A string representing the project.
2185
2477
  */
2186
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2187
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2478
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2479
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2188
2480
  }
2189
2481
  /**
2190
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2482
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2191
2483
  *
2192
- * @param {string} projectLocationCollectionEngineSessionName
2193
- * A fully-qualified path representing project_location_collection_engine_session resource.
2484
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2485
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2194
2486
  * @returns {string} A string representing the location.
2195
2487
  */
2196
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2197
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2488
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2489
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2198
2490
  }
2199
2491
  /**
2200
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2492
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2201
2493
  *
2202
- * @param {string} projectLocationCollectionEngineSessionName
2203
- * A fully-qualified path representing project_location_collection_engine_session resource.
2494
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2495
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2204
2496
  * @returns {string} A string representing the collection.
2205
2497
  */
2206
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2207
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2498
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2499
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2208
2500
  }
2209
2501
  /**
2210
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2502
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2211
2503
  *
2212
- * @param {string} projectLocationCollectionEngineSessionName
2213
- * A fully-qualified path representing project_location_collection_engine_session resource.
2504
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2505
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2214
2506
  * @returns {string} A string representing the engine.
2215
2507
  */
2216
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2217
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2508
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2509
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2218
2510
  }
2219
2511
  /**
2220
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2512
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2221
2513
  *
2222
- * @param {string} projectLocationCollectionEngineSessionName
2223
- * A fully-qualified path representing project_location_collection_engine_session resource.
2514
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2515
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2224
2516
  * @returns {string} A string representing the session.
2225
2517
  */
2226
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2227
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2518
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2519
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2228
2520
  }
2229
2521
  /**
2230
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2522
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2523
+ *
2524
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2525
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2526
+ * @returns {string} A string representing the answer.
2527
+ */
2528
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2529
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2530
+ }
2531
+ /**
2532
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2231
2533
  *
2232
2534
  * @param {string} project
2233
2535
  * @param {string} location
2234
2536
  * @param {string} collection
2235
2537
  * @param {string} engine
2236
2538
  * @param {string} session
2237
- * @param {string} answer
2238
2539
  * @returns {string} Resource name string.
2239
2540
  */
2240
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2241
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2541
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2542
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2242
2543
  project: project,
2243
2544
  location: location,
2244
2545
  collection: collection,
2245
2546
  engine: engine,
2246
2547
  session: session,
2247
- answer: answer,
2248
2548
  });
2249
2549
  }
2250
2550
  /**
2251
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2551
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2252
2552
  *
2253
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2254
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2553
+ * @param {string} projectLocationCollectionEngineSessionsName
2554
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2255
2555
  * @returns {string} A string representing the project.
2256
2556
  */
2257
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2258
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2557
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2558
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2259
2559
  }
2260
2560
  /**
2261
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2561
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2262
2562
  *
2263
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2264
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2563
+ * @param {string} projectLocationCollectionEngineSessionsName
2564
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2265
2565
  * @returns {string} A string representing the location.
2266
2566
  */
2267
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2268
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2567
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2568
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2269
2569
  }
2270
2570
  /**
2271
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2571
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2272
2572
  *
2273
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2274
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2573
+ * @param {string} projectLocationCollectionEngineSessionsName
2574
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2275
2575
  * @returns {string} A string representing the collection.
2276
2576
  */
2277
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2278
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2577
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2578
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2279
2579
  }
2280
2580
  /**
2281
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2581
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2282
2582
  *
2283
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2284
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2583
+ * @param {string} projectLocationCollectionEngineSessionsName
2584
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2285
2585
  * @returns {string} A string representing the engine.
2286
2586
  */
2287
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2288
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2587
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2588
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2289
2589
  }
2290
2590
  /**
2291
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2591
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2292
2592
  *
2293
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2294
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2593
+ * @param {string} projectLocationCollectionEngineSessionsName
2594
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2295
2595
  * @returns {string} A string representing the session.
2296
2596
  */
2297
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2298
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2299
- }
2300
- /**
2301
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2302
- *
2303
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2304
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2305
- * @returns {string} A string representing the answer.
2306
- */
2307
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2308
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2597
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2598
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2309
2599
  }
2310
2600
  /**
2311
2601
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2832,63 +3122,6 @@ class EngineServiceClient {
2832
3122
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2833
3123
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2834
3124
  }
2835
- /**
2836
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2837
- *
2838
- * @param {string} project
2839
- * @param {string} location
2840
- * @param {string} data_store
2841
- * @param {string} session
2842
- * @returns {string} Resource name string.
2843
- */
2844
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2845
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2846
- project: project,
2847
- location: location,
2848
- data_store: dataStore,
2849
- session: session,
2850
- });
2851
- }
2852
- /**
2853
- * Parse the project from ProjectLocationDataStoreSession resource.
2854
- *
2855
- * @param {string} projectLocationDataStoreSessionName
2856
- * A fully-qualified path representing project_location_data_store_session resource.
2857
- * @returns {string} A string representing the project.
2858
- */
2859
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2860
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2861
- }
2862
- /**
2863
- * Parse the location from ProjectLocationDataStoreSession resource.
2864
- *
2865
- * @param {string} projectLocationDataStoreSessionName
2866
- * A fully-qualified path representing project_location_data_store_session resource.
2867
- * @returns {string} A string representing the location.
2868
- */
2869
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2870
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2871
- }
2872
- /**
2873
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2874
- *
2875
- * @param {string} projectLocationDataStoreSessionName
2876
- * A fully-qualified path representing project_location_data_store_session resource.
2877
- * @returns {string} A string representing the data_store.
2878
- */
2879
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2880
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2881
- }
2882
- /**
2883
- * Parse the session from ProjectLocationDataStoreSession resource.
2884
- *
2885
- * @param {string} projectLocationDataStoreSessionName
2886
- * A fully-qualified path representing project_location_data_store_session resource.
2887
- * @returns {string} A string representing the session.
2888
- */
2889
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2890
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2891
- }
2892
3125
  /**
2893
3126
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2894
3127
  *
@@ -2958,6 +3191,63 @@ class EngineServiceClient {
2958
3191
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2959
3192
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2960
3193
  }
3194
+ /**
3195
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3196
+ *
3197
+ * @param {string} project
3198
+ * @param {string} location
3199
+ * @param {string} data_store
3200
+ * @param {string} session
3201
+ * @returns {string} Resource name string.
3202
+ */
3203
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3204
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3205
+ project: project,
3206
+ location: location,
3207
+ data_store: dataStore,
3208
+ session: session,
3209
+ });
3210
+ }
3211
+ /**
3212
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3213
+ *
3214
+ * @param {string} projectLocationDataStoreSessionsName
3215
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3216
+ * @returns {string} A string representing the project.
3217
+ */
3218
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3219
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3220
+ }
3221
+ /**
3222
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3223
+ *
3224
+ * @param {string} projectLocationDataStoreSessionsName
3225
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3226
+ * @returns {string} A string representing the location.
3227
+ */
3228
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3229
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3230
+ }
3231
+ /**
3232
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3233
+ *
3234
+ * @param {string} projectLocationDataStoreSessionsName
3235
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3236
+ * @returns {string} A string representing the data_store.
3237
+ */
3238
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3239
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3240
+ }
3241
+ /**
3242
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3243
+ *
3244
+ * @param {string} projectLocationDataStoreSessionsName
3245
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3246
+ * @returns {string} A string representing the session.
3247
+ */
3248
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3249
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3250
+ }
2961
3251
  /**
2962
3252
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2963
3253
  *