@google-cloud/discoveryengine 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/README.md +30 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
  10. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
  11. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
  12. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
  15. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
  16. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
  21. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  22. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  23. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
  24. package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  32. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  33. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  34. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  35. package/build/protos/protos.d.ts +21218 -11675
  36. package/build/protos/protos.js +92642 -66407
  37. package/build/protos/protos.json +5854 -2801
  38. package/build/src/index.d.ts +16 -1
  39. package/build/src/index.js +12 -2
  40. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  41. package/build/src/v1/assistant_service_client.js +2957 -0
  42. package/build/src/v1/assistant_service_client_config.json +43 -0
  43. package/build/src/v1/assistant_service_proto_list.json +48 -0
  44. package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
  45. package/build/src/v1/cmek_config_service_client.js +3426 -0
  46. package/build/src/v1/cmek_config_service_client_config.json +42 -0
  47. package/build/src/v1/cmek_config_service_proto_list.json +48 -0
  48. package/build/src/v1/completion_service_client.d.ts +345 -144
  49. package/build/src/v1/completion_service_client.js +482 -198
  50. package/build/src/v1/completion_service_proto_list.json +10 -1
  51. package/build/src/v1/control_service_client.d.ts +345 -144
  52. package/build/src/v1/control_service_client.js +498 -196
  53. package/build/src/v1/control_service_proto_list.json +10 -1
  54. package/build/src/v1/conversational_search_service_client.d.ts +392 -155
  55. package/build/src/v1/conversational_search_service_client.js +572 -204
  56. package/build/src/v1/conversational_search_service_proto_list.json +10 -1
  57. package/build/src/v1/data_store_service_client.d.ts +351 -144
  58. package/build/src/v1/data_store_service_client.js +488 -198
  59. package/build/src/v1/data_store_service_proto_list.json +10 -1
  60. package/build/src/v1/document_service_client.d.ts +345 -144
  61. package/build/src/v1/document_service_client.js +506 -198
  62. package/build/src/v1/document_service_proto_list.json +10 -1
  63. package/build/src/v1/engine_service_client.d.ts +345 -144
  64. package/build/src/v1/engine_service_client.js +488 -198
  65. package/build/src/v1/engine_service_proto_list.json +10 -1
  66. package/build/src/v1/gapic_metadata.json +270 -0
  67. package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
  68. package/build/src/v1/grounded_generation_service_client.js +486 -196
  69. package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
  70. package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
  71. package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
  72. package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
  73. package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
  74. package/build/src/v1/index.d.ts +5 -0
  75. package/build/src/v1/index.js +11 -1
  76. package/build/src/v1/project_service_client.d.ts +345 -144
  77. package/build/src/v1/project_service_client.js +476 -198
  78. package/build/src/v1/project_service_proto_list.json +10 -1
  79. package/build/src/v1/rank_service_client.d.ts +345 -144
  80. package/build/src/v1/rank_service_client.js +480 -196
  81. package/build/src/v1/rank_service_proto_list.json +10 -1
  82. package/build/src/v1/recommendation_service_client.d.ts +345 -144
  83. package/build/src/v1/recommendation_service_client.js +480 -196
  84. package/build/src/v1/recommendation_service_proto_list.json +10 -1
  85. package/build/src/v1/schema_service_client.d.ts +345 -144
  86. package/build/src/v1/schema_service_client.js +482 -198
  87. package/build/src/v1/schema_service_proto_list.json +10 -1
  88. package/build/src/v1/search_service_client.d.ts +393 -228
  89. package/build/src/v1/search_service_client.js +506 -252
  90. package/build/src/v1/search_service_proto_list.json +10 -1
  91. package/build/src/v1/search_tuning_service_client.d.ts +345 -144
  92. package/build/src/v1/search_tuning_service_client.js +482 -198
  93. package/build/src/v1/search_tuning_service_proto_list.json +10 -1
  94. package/build/src/v1/serving_config_service_client.d.ts +345 -144
  95. package/build/src/v1/serving_config_service_client.js +480 -196
  96. package/build/src/v1/serving_config_service_proto_list.json +10 -1
  97. package/build/src/v1/session_service_client.d.ts +2326 -0
  98. package/build/src/v1/session_service_client.js +3218 -0
  99. package/build/src/v1/session_service_client_config.json +63 -0
  100. package/build/src/v1/session_service_proto_list.json +48 -0
  101. package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
  102. package/build/src/v1/site_search_engine_service_client.js +494 -198
  103. package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
  104. package/build/src/v1/user_event_service_client.d.ts +345 -144
  105. package/build/src/v1/user_event_service_client.js +488 -198
  106. package/build/src/v1/user_event_service_proto_list.json +10 -1
  107. package/build/src/v1/user_license_service_client.d.ts +2367 -0
  108. package/build/src/v1/user_license_service_client.js +3346 -0
  109. package/build/src/v1/user_license_service_client_config.json +34 -0
  110. package/build/src/v1/user_license_service_proto_list.json +48 -0
  111. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  112. package/build/src/v1alpha/acl_config_service_client.js +208 -196
  113. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  114. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  115. package/build/src/v1alpha/chunk_service_client.js +202 -196
  116. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  117. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  118. package/build/src/v1alpha/completion_service_client.js +203 -197
  119. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  120. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  121. package/build/src/v1alpha/control_service_client.js +220 -196
  122. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  123. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  124. package/build/src/v1alpha/conversational_search_service_client.js +310 -210
  125. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  126. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  127. package/build/src/v1alpha/data_store_service_client.js +221 -197
  128. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  129. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  130. package/build/src/v1alpha/document_service_client.js +233 -197
  131. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  132. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  133. package/build/src/v1alpha/engine_service_client.js +221 -197
  134. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  135. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  136. package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
  137. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  138. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  139. package/build/src/v1alpha/evaluation_service_client.js +203 -197
  140. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  141. package/build/src/v1alpha/gapic_metadata.json +82 -0
  142. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
  144. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/index.d.ts +1 -0
  146. package/build/src/v1alpha/index.js +3 -1
  147. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  148. package/build/src/v1alpha/project_service_client.js +209 -197
  149. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  150. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  151. package/build/src/v1alpha/rank_service_client.js +202 -196
  152. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  153. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  154. package/build/src/v1alpha/recommendation_service_client.js +202 -196
  155. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  156. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  157. package/build/src/v1alpha/sample_query_service_client.js +221 -197
  158. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  159. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  160. package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
  161. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  162. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  163. package/build/src/v1alpha/schema_service_client.js +203 -197
  164. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  165. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  166. package/build/src/v1alpha/search_service_client.js +212 -224
  167. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  168. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  169. package/build/src/v1alpha/search_tuning_service_client.js +203 -197
  170. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  171. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  172. package/build/src/v1alpha/serving_config_service_client.js +208 -196
  173. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  174. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  175. package/build/src/v1alpha/session_service_client.js +3161 -0
  176. package/build/src/v1alpha/session_service_client_config.json +68 -0
  177. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  178. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  179. package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
  180. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  181. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  182. package/build/src/v1alpha/user_event_service_client.js +209 -197
  183. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  184. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  185. package/build/src/v1beta/completion_service_client.js +209 -197
  186. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  187. package/build/src/v1beta/control_service_client.d.ts +144 -144
  188. package/build/src/v1beta/control_service_client.js +220 -196
  189. package/build/src/v1beta/control_service_proto_list.json +1 -0
  190. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  191. package/build/src/v1beta/conversational_search_service_client.js +308 -208
  192. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  193. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  194. package/build/src/v1beta/data_store_service_client.js +209 -197
  195. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  196. package/build/src/v1beta/document_service_client.d.ts +144 -144
  197. package/build/src/v1beta/document_service_client.js +227 -197
  198. package/build/src/v1beta/document_service_proto_list.json +1 -0
  199. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  200. package/build/src/v1beta/engine_service_client.js +221 -197
  201. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  202. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  203. package/build/src/v1beta/evaluation_service_client.js +203 -197
  204. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  205. package/build/src/v1beta/gapic_metadata.json +68 -0
  206. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  207. package/build/src/v1beta/grounded_generation_service_client.js +208 -196
  208. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  209. package/build/src/v1beta/index.d.ts +1 -0
  210. package/build/src/v1beta/index.js +3 -1
  211. package/build/src/v1beta/project_service_client.d.ts +144 -144
  212. package/build/src/v1beta/project_service_client.js +197 -197
  213. package/build/src/v1beta/project_service_proto_list.json +1 -0
  214. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  215. package/build/src/v1beta/rank_service_client.js +202 -196
  216. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  217. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  218. package/build/src/v1beta/recommendation_service_client.js +202 -196
  219. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  220. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  221. package/build/src/v1beta/sample_query_service_client.js +221 -197
  222. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  223. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  224. package/build/src/v1beta/sample_query_set_service_client.js +220 -196
  225. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  226. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  227. package/build/src/v1beta/schema_service_client.js +203 -197
  228. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  229. package/build/src/v1beta/search_service_client.d.ts +192 -228
  230. package/build/src/v1beta/search_service_client.js +228 -252
  231. package/build/src/v1beta/search_service_proto_list.json +1 -0
  232. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  233. package/build/src/v1beta/search_tuning_service_client.js +203 -197
  234. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  235. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  236. package/build/src/v1beta/serving_config_service_client.js +208 -196
  237. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  238. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  239. package/build/src/v1beta/session_service_client.js +3136 -0
  240. package/build/src/v1beta/session_service_client_config.json +63 -0
  241. package/build/src/v1beta/session_service_proto_list.json +45 -0
  242. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  243. package/build/src/v1beta/site_search_engine_service_client.js +215 -197
  244. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  245. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  246. package/build/src/v1beta/user_event_service_client.js +209 -197
  247. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  248. package/package.json +7 -7
  249. package/CHANGELOG.md +0 -274
@@ -164,8 +164,13 @@ class ProjectServiceClient {
164
164
  // identifiers to uniquely identify resources within the API.
165
165
  // Create useful helper objects for these.
166
166
  this.pathTemplates = {
167
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
168
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
167
169
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
170
+ identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
168
171
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
172
+ projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
173
+ projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
169
174
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
170
175
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
171
176
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -175,16 +180,16 @@ class ProjectServiceClient {
175
180
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
176
181
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
177
182
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
178
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
179
183
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
184
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
185
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
181
186
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
182
187
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
183
188
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
184
189
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
185
190
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
186
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
191
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
192
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
193
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
189
194
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
190
195
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -194,13 +199,13 @@ class ProjectServiceClient {
194
199
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
195
200
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
196
201
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
197
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
202
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
203
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
204
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
200
205
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
201
206
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
202
207
  };
203
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
208
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
204
209
  // This API contains "long-running operations", which return a
205
210
  // an Operation object that allows for tracking of the operation,
206
211
  // rather than holding a request open.
@@ -210,7 +215,7 @@ class ProjectServiceClient {
210
215
  };
211
216
  if (opts.fallback) {
212
217
  lroOptions.protoJson = protoFilesRoot;
213
- 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: '*', }],
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/*/collections/*/engines/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
214
219
  }, { 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/*}', }],
215
220
  }, { 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', }],
216
221
  }];
@@ -618,6 +623,156 @@ class ProjectServiceClient {
618
623
  // --------------------
619
624
  // -- Path templates --
620
625
  // --------------------
626
+ /**
627
+ * Return a fully-qualified assistAnswer resource name string.
628
+ *
629
+ * @param {string} project
630
+ * @param {string} location
631
+ * @param {string} collection
632
+ * @param {string} engine
633
+ * @param {string} session
634
+ * @param {string} assist_answer
635
+ * @returns {string} Resource name string.
636
+ */
637
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
638
+ return this.pathTemplates.assistAnswerPathTemplate.render({
639
+ project: project,
640
+ location: location,
641
+ collection: collection,
642
+ engine: engine,
643
+ session: session,
644
+ assist_answer: assistAnswer,
645
+ });
646
+ }
647
+ /**
648
+ * Parse the project from AssistAnswer resource.
649
+ *
650
+ * @param {string} assistAnswerName
651
+ * A fully-qualified path representing AssistAnswer resource.
652
+ * @returns {string} A string representing the project.
653
+ */
654
+ matchProjectFromAssistAnswerName(assistAnswerName) {
655
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
656
+ }
657
+ /**
658
+ * Parse the location from AssistAnswer resource.
659
+ *
660
+ * @param {string} assistAnswerName
661
+ * A fully-qualified path representing AssistAnswer resource.
662
+ * @returns {string} A string representing the location.
663
+ */
664
+ matchLocationFromAssistAnswerName(assistAnswerName) {
665
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
666
+ }
667
+ /**
668
+ * Parse the collection from AssistAnswer resource.
669
+ *
670
+ * @param {string} assistAnswerName
671
+ * A fully-qualified path representing AssistAnswer resource.
672
+ * @returns {string} A string representing the collection.
673
+ */
674
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
675
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
676
+ }
677
+ /**
678
+ * Parse the engine from AssistAnswer resource.
679
+ *
680
+ * @param {string} assistAnswerName
681
+ * A fully-qualified path representing AssistAnswer resource.
682
+ * @returns {string} A string representing the engine.
683
+ */
684
+ matchEngineFromAssistAnswerName(assistAnswerName) {
685
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
686
+ }
687
+ /**
688
+ * Parse the session from AssistAnswer resource.
689
+ *
690
+ * @param {string} assistAnswerName
691
+ * A fully-qualified path representing AssistAnswer resource.
692
+ * @returns {string} A string representing the session.
693
+ */
694
+ matchSessionFromAssistAnswerName(assistAnswerName) {
695
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
696
+ }
697
+ /**
698
+ * Parse the assist_answer from AssistAnswer resource.
699
+ *
700
+ * @param {string} assistAnswerName
701
+ * A fully-qualified path representing AssistAnswer resource.
702
+ * @returns {string} A string representing the assist_answer.
703
+ */
704
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
705
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
706
+ }
707
+ /**
708
+ * Return a fully-qualified assistant resource name string.
709
+ *
710
+ * @param {string} project
711
+ * @param {string} location
712
+ * @param {string} collection
713
+ * @param {string} engine
714
+ * @param {string} assistant
715
+ * @returns {string} Resource name string.
716
+ */
717
+ assistantPath(project, location, collection, engine, assistant) {
718
+ return this.pathTemplates.assistantPathTemplate.render({
719
+ project: project,
720
+ location: location,
721
+ collection: collection,
722
+ engine: engine,
723
+ assistant: assistant,
724
+ });
725
+ }
726
+ /**
727
+ * Parse the project from Assistant resource.
728
+ *
729
+ * @param {string} assistantName
730
+ * A fully-qualified path representing Assistant resource.
731
+ * @returns {string} A string representing the project.
732
+ */
733
+ matchProjectFromAssistantName(assistantName) {
734
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
735
+ }
736
+ /**
737
+ * Parse the location from Assistant resource.
738
+ *
739
+ * @param {string} assistantName
740
+ * A fully-qualified path representing Assistant resource.
741
+ * @returns {string} A string representing the location.
742
+ */
743
+ matchLocationFromAssistantName(assistantName) {
744
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
745
+ }
746
+ /**
747
+ * Parse the collection from Assistant resource.
748
+ *
749
+ * @param {string} assistantName
750
+ * A fully-qualified path representing Assistant resource.
751
+ * @returns {string} A string representing the collection.
752
+ */
753
+ matchCollectionFromAssistantName(assistantName) {
754
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
755
+ }
756
+ /**
757
+ * Parse the engine from Assistant resource.
758
+ *
759
+ * @param {string} assistantName
760
+ * A fully-qualified path representing Assistant resource.
761
+ * @returns {string} A string representing the engine.
762
+ */
763
+ matchEngineFromAssistantName(assistantName) {
764
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
765
+ }
766
+ /**
767
+ * Parse the assistant from Assistant resource.
768
+ *
769
+ * @param {string} assistantName
770
+ * A fully-qualified path representing Assistant resource.
771
+ * @returns {string} A string representing the assistant.
772
+ */
773
+ matchAssistantFromAssistantName(assistantName) {
774
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
775
+ }
621
776
  /**
622
777
  * Return a fully-qualified engine resource name string.
623
778
  *
@@ -675,6 +830,51 @@ class ProjectServiceClient {
675
830
  matchEngineFromEngineName(engineName) {
676
831
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
677
832
  }
833
+ /**
834
+ * Return a fully-qualified identityMappingStore resource name string.
835
+ *
836
+ * @param {string} project
837
+ * @param {string} location
838
+ * @param {string} identity_mapping_store
839
+ * @returns {string} Resource name string.
840
+ */
841
+ identityMappingStorePath(project, location, identityMappingStore) {
842
+ return this.pathTemplates.identityMappingStorePathTemplate.render({
843
+ project: project,
844
+ location: location,
845
+ identity_mapping_store: identityMappingStore,
846
+ });
847
+ }
848
+ /**
849
+ * Parse the project from IdentityMappingStore resource.
850
+ *
851
+ * @param {string} identityMappingStoreName
852
+ * A fully-qualified path representing IdentityMappingStore resource.
853
+ * @returns {string} A string representing the project.
854
+ */
855
+ matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
856
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
857
+ }
858
+ /**
859
+ * Parse the location from IdentityMappingStore resource.
860
+ *
861
+ * @param {string} identityMappingStoreName
862
+ * A fully-qualified path representing IdentityMappingStore resource.
863
+ * @returns {string} A string representing the location.
864
+ */
865
+ matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
866
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
867
+ }
868
+ /**
869
+ * Parse the identity_mapping_store from IdentityMappingStore resource.
870
+ *
871
+ * @param {string} identityMappingStoreName
872
+ * A fully-qualified path representing IdentityMappingStore resource.
873
+ * @returns {string} A string representing the identity_mapping_store.
874
+ */
875
+ matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
876
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
877
+ }
678
878
  /**
679
879
  * Return a fully-qualified project resource name string.
680
880
  *
@@ -696,6 +896,84 @@ class ProjectServiceClient {
696
896
  matchProjectFromProjectName(projectName) {
697
897
  return this.pathTemplates.projectPathTemplate.match(projectName).project;
698
898
  }
899
+ /**
900
+ * Return a fully-qualified projectLocationCmekConfig resource name string.
901
+ *
902
+ * @param {string} project
903
+ * @param {string} location
904
+ * @returns {string} Resource name string.
905
+ */
906
+ projectLocationCmekConfigPath(project, location) {
907
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
908
+ project: project,
909
+ location: location,
910
+ });
911
+ }
912
+ /**
913
+ * Parse the project from ProjectLocationCmekConfig resource.
914
+ *
915
+ * @param {string} projectLocationCmekConfigName
916
+ * A fully-qualified path representing project_location_cmekConfig resource.
917
+ * @returns {string} A string representing the project.
918
+ */
919
+ matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
920
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
921
+ }
922
+ /**
923
+ * Parse the location from ProjectLocationCmekConfig resource.
924
+ *
925
+ * @param {string} projectLocationCmekConfigName
926
+ * A fully-qualified path representing project_location_cmekConfig resource.
927
+ * @returns {string} A string representing the location.
928
+ */
929
+ matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
930
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
931
+ }
932
+ /**
933
+ * Return a fully-qualified projectLocationCmekConfigs resource name string.
934
+ *
935
+ * @param {string} project
936
+ * @param {string} location
937
+ * @param {string} cmek_config
938
+ * @returns {string} Resource name string.
939
+ */
940
+ projectLocationCmekConfigsPath(project, location, cmekConfig) {
941
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
942
+ project: project,
943
+ location: location,
944
+ cmek_config: cmekConfig,
945
+ });
946
+ }
947
+ /**
948
+ * Parse the project from ProjectLocationCmekConfigs resource.
949
+ *
950
+ * @param {string} projectLocationCmekConfigsName
951
+ * A fully-qualified path representing project_location_cmekConfigs resource.
952
+ * @returns {string} A string representing the project.
953
+ */
954
+ matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
955
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
956
+ }
957
+ /**
958
+ * Parse the location from ProjectLocationCmekConfigs resource.
959
+ *
960
+ * @param {string} projectLocationCmekConfigsName
961
+ * A fully-qualified path representing project_location_cmekConfigs resource.
962
+ * @returns {string} A string representing the location.
963
+ */
964
+ matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
965
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
966
+ }
967
+ /**
968
+ * Parse the cmek_config from ProjectLocationCmekConfigs resource.
969
+ *
970
+ * @param {string} projectLocationCmekConfigsName
971
+ * A fully-qualified path representing project_location_cmekConfigs resource.
972
+ * @returns {string} A string representing the cmek_config.
973
+ */
974
+ matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
975
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
976
+ }
699
977
  /**
700
978
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
701
979
  *
@@ -1330,154 +1608,154 @@ class ProjectServiceClient {
1330
1608
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1331
1609
  }
1332
1610
  /**
1333
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1611
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1334
1612
  *
1335
1613
  * @param {string} project
1336
1614
  * @param {string} location
1337
1615
  * @param {string} collection
1338
1616
  * @param {string} data_store
1339
1617
  * @param {string} session
1618
+ * @param {string} answer
1340
1619
  * @returns {string} Resource name string.
1341
1620
  */
1342
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1343
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1621
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1622
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1344
1623
  project: project,
1345
1624
  location: location,
1346
1625
  collection: collection,
1347
1626
  data_store: dataStore,
1348
1627
  session: session,
1628
+ answer: answer,
1349
1629
  });
1350
1630
  }
1351
1631
  /**
1352
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1632
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1353
1633
  *
1354
- * @param {string} projectLocationCollectionDataStoreSessionName
1355
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1634
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1635
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1356
1636
  * @returns {string} A string representing the project.
1357
1637
  */
1358
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1359
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1638
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1639
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1360
1640
  }
1361
1641
  /**
1362
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1642
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1363
1643
  *
1364
- * @param {string} projectLocationCollectionDataStoreSessionName
1365
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1644
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1645
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1366
1646
  * @returns {string} A string representing the location.
1367
1647
  */
1368
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1369
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1648
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1649
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1370
1650
  }
1371
1651
  /**
1372
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1652
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1373
1653
  *
1374
- * @param {string} projectLocationCollectionDataStoreSessionName
1375
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1654
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1655
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1376
1656
  * @returns {string} A string representing the collection.
1377
1657
  */
1378
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1379
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1658
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1659
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1380
1660
  }
1381
1661
  /**
1382
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1662
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1383
1663
  *
1384
- * @param {string} projectLocationCollectionDataStoreSessionName
1385
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1664
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1665
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1386
1666
  * @returns {string} A string representing the data_store.
1387
1667
  */
1388
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1389
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1668
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1669
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1390
1670
  }
1391
1671
  /**
1392
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1672
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1393
1673
  *
1394
- * @param {string} projectLocationCollectionDataStoreSessionName
1395
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1674
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1675
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1396
1676
  * @returns {string} A string representing the session.
1397
1677
  */
1398
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1399
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1678
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1679
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1400
1680
  }
1401
1681
  /**
1402
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1682
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1683
+ *
1684
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1685
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1686
+ * @returns {string} A string representing the answer.
1687
+ */
1688
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1689
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1690
+ }
1691
+ /**
1692
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1403
1693
  *
1404
1694
  * @param {string} project
1405
1695
  * @param {string} location
1406
1696
  * @param {string} collection
1407
1697
  * @param {string} data_store
1408
1698
  * @param {string} session
1409
- * @param {string} answer
1410
1699
  * @returns {string} Resource name string.
1411
1700
  */
1412
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1413
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1701
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1702
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1414
1703
  project: project,
1415
1704
  location: location,
1416
1705
  collection: collection,
1417
1706
  data_store: dataStore,
1418
1707
  session: session,
1419
- answer: answer,
1420
1708
  });
1421
1709
  }
1422
1710
  /**
1423
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1711
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1424
1712
  *
1425
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1426
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1713
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1714
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1427
1715
  * @returns {string} A string representing the project.
1428
1716
  */
1429
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1430
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1717
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1718
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1431
1719
  }
1432
1720
  /**
1433
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1721
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1434
1722
  *
1435
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1436
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1723
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1724
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1437
1725
  * @returns {string} A string representing the location.
1438
1726
  */
1439
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1440
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1727
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1728
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1441
1729
  }
1442
1730
  /**
1443
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1731
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1444
1732
  *
1445
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1446
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1733
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1734
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1447
1735
  * @returns {string} A string representing the collection.
1448
1736
  */
1449
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1450
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1737
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1738
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1451
1739
  }
1452
1740
  /**
1453
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1741
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1454
1742
  *
1455
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1456
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1743
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1744
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1457
1745
  * @returns {string} A string representing the data_store.
1458
1746
  */
1459
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1460
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1747
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1748
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1461
1749
  }
1462
1750
  /**
1463
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1751
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1464
1752
  *
1465
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1466
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1753
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1754
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1467
1755
  * @returns {string} A string representing the session.
1468
1756
  */
1469
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1470
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1471
- }
1472
- /**
1473
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1474
- *
1475
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1476
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1477
- * @returns {string} A string representing the answer.
1478
- */
1479
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1480
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1757
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1758
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1481
1759
  }
1482
1760
  /**
1483
1761
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1882,154 +2160,154 @@ class ProjectServiceClient {
1882
2160
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1883
2161
  }
1884
2162
  /**
1885
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2163
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1886
2164
  *
1887
2165
  * @param {string} project
1888
2166
  * @param {string} location
1889
2167
  * @param {string} collection
1890
2168
  * @param {string} engine
1891
2169
  * @param {string} session
2170
+ * @param {string} answer
1892
2171
  * @returns {string} Resource name string.
1893
2172
  */
1894
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1895
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2173
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2174
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1896
2175
  project: project,
1897
2176
  location: location,
1898
2177
  collection: collection,
1899
2178
  engine: engine,
1900
2179
  session: session,
2180
+ answer: answer,
1901
2181
  });
1902
2182
  }
1903
2183
  /**
1904
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2184
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1905
2185
  *
1906
- * @param {string} projectLocationCollectionEngineSessionName
1907
- * A fully-qualified path representing project_location_collection_engine_session resource.
2186
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2187
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1908
2188
  * @returns {string} A string representing the project.
1909
2189
  */
1910
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1911
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2190
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2191
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1912
2192
  }
1913
2193
  /**
1914
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2194
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1915
2195
  *
1916
- * @param {string} projectLocationCollectionEngineSessionName
1917
- * A fully-qualified path representing project_location_collection_engine_session resource.
2196
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2197
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1918
2198
  * @returns {string} A string representing the location.
1919
2199
  */
1920
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1921
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2200
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2201
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1922
2202
  }
1923
2203
  /**
1924
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2204
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1925
2205
  *
1926
- * @param {string} projectLocationCollectionEngineSessionName
1927
- * A fully-qualified path representing project_location_collection_engine_session resource.
2206
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2207
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1928
2208
  * @returns {string} A string representing the collection.
1929
2209
  */
1930
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1931
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2210
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2211
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1932
2212
  }
1933
2213
  /**
1934
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2214
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1935
2215
  *
1936
- * @param {string} projectLocationCollectionEngineSessionName
1937
- * A fully-qualified path representing project_location_collection_engine_session resource.
2216
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2217
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1938
2218
  * @returns {string} A string representing the engine.
1939
2219
  */
1940
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1941
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2220
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2221
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1942
2222
  }
1943
2223
  /**
1944
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2224
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1945
2225
  *
1946
- * @param {string} projectLocationCollectionEngineSessionName
1947
- * A fully-qualified path representing project_location_collection_engine_session resource.
2226
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2227
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1948
2228
  * @returns {string} A string representing the session.
1949
2229
  */
1950
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1951
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2230
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2231
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1952
2232
  }
1953
2233
  /**
1954
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2234
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2235
+ *
2236
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2237
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2238
+ * @returns {string} A string representing the answer.
2239
+ */
2240
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2241
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2242
+ }
2243
+ /**
2244
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1955
2245
  *
1956
2246
  * @param {string} project
1957
2247
  * @param {string} location
1958
2248
  * @param {string} collection
1959
2249
  * @param {string} engine
1960
2250
  * @param {string} session
1961
- * @param {string} answer
1962
2251
  * @returns {string} Resource name string.
1963
2252
  */
1964
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1965
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2253
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2254
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1966
2255
  project: project,
1967
2256
  location: location,
1968
2257
  collection: collection,
1969
2258
  engine: engine,
1970
2259
  session: session,
1971
- answer: answer,
1972
2260
  });
1973
2261
  }
1974
2262
  /**
1975
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2263
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1976
2264
  *
1977
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1978
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2265
+ * @param {string} projectLocationCollectionEngineSessionsName
2266
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1979
2267
  * @returns {string} A string representing the project.
1980
2268
  */
1981
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1982
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2269
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2270
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1983
2271
  }
1984
2272
  /**
1985
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2273
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1986
2274
  *
1987
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1988
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2275
+ * @param {string} projectLocationCollectionEngineSessionsName
2276
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1989
2277
  * @returns {string} A string representing the location.
1990
2278
  */
1991
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1992
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2279
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2280
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1993
2281
  }
1994
2282
  /**
1995
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2283
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1996
2284
  *
1997
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1998
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2285
+ * @param {string} projectLocationCollectionEngineSessionsName
2286
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1999
2287
  * @returns {string} A string representing the collection.
2000
2288
  */
2001
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2002
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2289
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2290
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2003
2291
  }
2004
2292
  /**
2005
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2293
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2006
2294
  *
2007
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2008
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2295
+ * @param {string} projectLocationCollectionEngineSessionsName
2296
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2009
2297
  * @returns {string} A string representing the engine.
2010
2298
  */
2011
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2012
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2299
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2300
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2013
2301
  }
2014
2302
  /**
2015
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2303
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2016
2304
  *
2017
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2018
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2305
+ * @param {string} projectLocationCollectionEngineSessionsName
2306
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2019
2307
  * @returns {string} A string representing the session.
2020
2308
  */
2021
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2022
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2023
- }
2024
- /**
2025
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2026
- *
2027
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2028
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2029
- * @returns {string} A string representing the answer.
2030
- */
2031
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2032
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2309
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2310
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2033
2311
  }
2034
2312
  /**
2035
2313
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2556,63 +2834,6 @@ class ProjectServiceClient {
2556
2834
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2557
2835
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2558
2836
  }
2559
- /**
2560
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2561
- *
2562
- * @param {string} project
2563
- * @param {string} location
2564
- * @param {string} data_store
2565
- * @param {string} session
2566
- * @returns {string} Resource name string.
2567
- */
2568
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2569
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2570
- project: project,
2571
- location: location,
2572
- data_store: dataStore,
2573
- session: session,
2574
- });
2575
- }
2576
- /**
2577
- * Parse the project from ProjectLocationDataStoreSession resource.
2578
- *
2579
- * @param {string} projectLocationDataStoreSessionName
2580
- * A fully-qualified path representing project_location_data_store_session resource.
2581
- * @returns {string} A string representing the project.
2582
- */
2583
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2584
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2585
- }
2586
- /**
2587
- * Parse the location from ProjectLocationDataStoreSession resource.
2588
- *
2589
- * @param {string} projectLocationDataStoreSessionName
2590
- * A fully-qualified path representing project_location_data_store_session resource.
2591
- * @returns {string} A string representing the location.
2592
- */
2593
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2594
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2595
- }
2596
- /**
2597
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2598
- *
2599
- * @param {string} projectLocationDataStoreSessionName
2600
- * A fully-qualified path representing project_location_data_store_session resource.
2601
- * @returns {string} A string representing the data_store.
2602
- */
2603
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2604
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2605
- }
2606
- /**
2607
- * Parse the session from ProjectLocationDataStoreSession resource.
2608
- *
2609
- * @param {string} projectLocationDataStoreSessionName
2610
- * A fully-qualified path representing project_location_data_store_session resource.
2611
- * @returns {string} A string representing the session.
2612
- */
2613
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2614
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2615
- }
2616
2837
  /**
2617
2838
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2618
2839
  *
@@ -2682,6 +2903,63 @@ class ProjectServiceClient {
2682
2903
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2683
2904
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2684
2905
  }
2906
+ /**
2907
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2908
+ *
2909
+ * @param {string} project
2910
+ * @param {string} location
2911
+ * @param {string} data_store
2912
+ * @param {string} session
2913
+ * @returns {string} Resource name string.
2914
+ */
2915
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2916
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2917
+ project: project,
2918
+ location: location,
2919
+ data_store: dataStore,
2920
+ session: session,
2921
+ });
2922
+ }
2923
+ /**
2924
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2925
+ *
2926
+ * @param {string} projectLocationDataStoreSessionsName
2927
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2928
+ * @returns {string} A string representing the project.
2929
+ */
2930
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2931
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2932
+ }
2933
+ /**
2934
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2935
+ *
2936
+ * @param {string} projectLocationDataStoreSessionsName
2937
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2938
+ * @returns {string} A string representing the location.
2939
+ */
2940
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2941
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2942
+ }
2943
+ /**
2944
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2945
+ *
2946
+ * @param {string} projectLocationDataStoreSessionsName
2947
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2948
+ * @returns {string} A string representing the data_store.
2949
+ */
2950
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2951
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2952
+ }
2953
+ /**
2954
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2955
+ *
2956
+ * @param {string} projectLocationDataStoreSessionsName
2957
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2958
+ * @returns {string} A string representing the session.
2959
+ */
2960
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2961
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2962
+ }
2685
2963
  /**
2686
2964
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2687
2965
  *