@google-cloud/discoveryengine 2.3.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 (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -179,16 +179,16 @@ class ControlServiceClient {
179
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
180
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
181
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
182
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
183
182
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
183
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
184
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
185
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
186
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
187
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
188
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
189
189
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
190
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
191
190
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
191
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
192
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
193
193
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
194
194
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -198,8 +198,8 @@ class ControlServiceClient {
198
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
199
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
200
200
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
201
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
202
201
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
202
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
203
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
204
204
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
205
205
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -1486,154 +1486,154 @@ class ControlServiceClient {
1486
1486
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1487
1487
  }
1488
1488
  /**
1489
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1489
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1490
1490
  *
1491
1491
  * @param {string} project
1492
1492
  * @param {string} location
1493
1493
  * @param {string} collection
1494
1494
  * @param {string} data_store
1495
1495
  * @param {string} session
1496
+ * @param {string} answer
1496
1497
  * @returns {string} Resource name string.
1497
1498
  */
1498
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1499
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1499
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1500
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1500
1501
  project: project,
1501
1502
  location: location,
1502
1503
  collection: collection,
1503
1504
  data_store: dataStore,
1504
1505
  session: session,
1506
+ answer: answer,
1505
1507
  });
1506
1508
  }
1507
1509
  /**
1508
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1510
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1509
1511
  *
1510
- * @param {string} projectLocationCollectionDataStoreSessionName
1511
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1512
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1513
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1512
1514
  * @returns {string} A string representing the project.
1513
1515
  */
1514
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1515
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1516
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1517
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1516
1518
  }
1517
1519
  /**
1518
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1520
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1519
1521
  *
1520
- * @param {string} projectLocationCollectionDataStoreSessionName
1521
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1522
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1523
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1522
1524
  * @returns {string} A string representing the location.
1523
1525
  */
1524
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1525
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1526
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1527
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1526
1528
  }
1527
1529
  /**
1528
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1530
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1529
1531
  *
1530
- * @param {string} projectLocationCollectionDataStoreSessionName
1531
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1532
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1533
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1532
1534
  * @returns {string} A string representing the collection.
1533
1535
  */
1534
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1535
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1536
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1537
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1536
1538
  }
1537
1539
  /**
1538
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1540
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1539
1541
  *
1540
- * @param {string} projectLocationCollectionDataStoreSessionName
1541
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1542
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1543
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1542
1544
  * @returns {string} A string representing the data_store.
1543
1545
  */
1544
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1545
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1546
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1547
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1546
1548
  }
1547
1549
  /**
1548
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1550
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1549
1551
  *
1550
- * @param {string} projectLocationCollectionDataStoreSessionName
1551
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1552
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1553
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1552
1554
  * @returns {string} A string representing the session.
1553
1555
  */
1554
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1555
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1556
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1557
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1556
1558
  }
1557
1559
  /**
1558
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1560
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1561
+ *
1562
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1563
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1564
+ * @returns {string} A string representing the answer.
1565
+ */
1566
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1567
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1568
+ }
1569
+ /**
1570
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1559
1571
  *
1560
1572
  * @param {string} project
1561
1573
  * @param {string} location
1562
1574
  * @param {string} collection
1563
1575
  * @param {string} data_store
1564
1576
  * @param {string} session
1565
- * @param {string} answer
1566
1577
  * @returns {string} Resource name string.
1567
1578
  */
1568
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1569
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1579
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1580
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1570
1581
  project: project,
1571
1582
  location: location,
1572
1583
  collection: collection,
1573
1584
  data_store: dataStore,
1574
1585
  session: session,
1575
- answer: answer,
1576
1586
  });
1577
1587
  }
1578
1588
  /**
1579
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1589
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1580
1590
  *
1581
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1582
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1591
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1592
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1583
1593
  * @returns {string} A string representing the project.
1584
1594
  */
1585
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1586
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1595
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1596
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1587
1597
  }
1588
1598
  /**
1589
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1599
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1590
1600
  *
1591
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1592
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1601
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1602
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1593
1603
  * @returns {string} A string representing the location.
1594
1604
  */
1595
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1596
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1605
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1606
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1597
1607
  }
1598
1608
  /**
1599
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1609
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1600
1610
  *
1601
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1602
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1611
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1612
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1603
1613
  * @returns {string} A string representing the collection.
1604
1614
  */
1605
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1606
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1615
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1616
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1607
1617
  }
1608
1618
  /**
1609
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1619
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1610
1620
  *
1611
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1612
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1621
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1622
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1613
1623
  * @returns {string} A string representing the data_store.
1614
1624
  */
1615
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1616
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1625
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1626
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1617
1627
  }
1618
1628
  /**
1619
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1629
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1620
1630
  *
1621
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1622
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1631
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1632
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1623
1633
  * @returns {string} A string representing the session.
1624
1634
  */
1625
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1626
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1627
- }
1628
- /**
1629
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1630
- *
1631
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1632
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1633
- * @returns {string} A string representing the answer.
1634
- */
1635
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1636
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1635
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1636
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1637
1637
  }
1638
1638
  /**
1639
1639
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2038,154 +2038,154 @@ class ControlServiceClient {
2038
2038
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2039
2039
  }
2040
2040
  /**
2041
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2041
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2042
2042
  *
2043
2043
  * @param {string} project
2044
2044
  * @param {string} location
2045
2045
  * @param {string} collection
2046
2046
  * @param {string} engine
2047
2047
  * @param {string} session
2048
+ * @param {string} answer
2048
2049
  * @returns {string} Resource name string.
2049
2050
  */
2050
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2051
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2051
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2052
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2052
2053
  project: project,
2053
2054
  location: location,
2054
2055
  collection: collection,
2055
2056
  engine: engine,
2056
2057
  session: session,
2058
+ answer: answer,
2057
2059
  });
2058
2060
  }
2059
2061
  /**
2060
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2062
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2061
2063
  *
2062
- * @param {string} projectLocationCollectionEngineSessionName
2063
- * A fully-qualified path representing project_location_collection_engine_session resource.
2064
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2065
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2064
2066
  * @returns {string} A string representing the project.
2065
2067
  */
2066
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2067
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2068
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2069
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2068
2070
  }
2069
2071
  /**
2070
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2072
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2071
2073
  *
2072
- * @param {string} projectLocationCollectionEngineSessionName
2073
- * A fully-qualified path representing project_location_collection_engine_session resource.
2074
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2075
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2074
2076
  * @returns {string} A string representing the location.
2075
2077
  */
2076
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2077
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2078
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2079
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2078
2080
  }
2079
2081
  /**
2080
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2082
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2081
2083
  *
2082
- * @param {string} projectLocationCollectionEngineSessionName
2083
- * A fully-qualified path representing project_location_collection_engine_session resource.
2084
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2085
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2084
2086
  * @returns {string} A string representing the collection.
2085
2087
  */
2086
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2087
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2088
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2089
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2088
2090
  }
2089
2091
  /**
2090
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2092
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2091
2093
  *
2092
- * @param {string} projectLocationCollectionEngineSessionName
2093
- * A fully-qualified path representing project_location_collection_engine_session resource.
2094
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2095
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2094
2096
  * @returns {string} A string representing the engine.
2095
2097
  */
2096
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2097
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2098
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2099
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2098
2100
  }
2099
2101
  /**
2100
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2102
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2101
2103
  *
2102
- * @param {string} projectLocationCollectionEngineSessionName
2103
- * A fully-qualified path representing project_location_collection_engine_session resource.
2104
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2105
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2104
2106
  * @returns {string} A string representing the session.
2105
2107
  */
2106
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2107
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2108
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2109
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2108
2110
  }
2109
2111
  /**
2110
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2112
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2113
+ *
2114
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2115
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2116
+ * @returns {string} A string representing the answer.
2117
+ */
2118
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2119
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2120
+ }
2121
+ /**
2122
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2111
2123
  *
2112
2124
  * @param {string} project
2113
2125
  * @param {string} location
2114
2126
  * @param {string} collection
2115
2127
  * @param {string} engine
2116
2128
  * @param {string} session
2117
- * @param {string} answer
2118
2129
  * @returns {string} Resource name string.
2119
2130
  */
2120
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2121
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2131
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2132
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2122
2133
  project: project,
2123
2134
  location: location,
2124
2135
  collection: collection,
2125
2136
  engine: engine,
2126
2137
  session: session,
2127
- answer: answer,
2128
2138
  });
2129
2139
  }
2130
2140
  /**
2131
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2141
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2132
2142
  *
2133
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2134
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2143
+ * @param {string} projectLocationCollectionEngineSessionsName
2144
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2135
2145
  * @returns {string} A string representing the project.
2136
2146
  */
2137
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2138
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2147
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2148
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2139
2149
  }
2140
2150
  /**
2141
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2151
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2142
2152
  *
2143
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2144
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2153
+ * @param {string} projectLocationCollectionEngineSessionsName
2154
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2145
2155
  * @returns {string} A string representing the location.
2146
2156
  */
2147
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2148
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2157
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2158
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2149
2159
  }
2150
2160
  /**
2151
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2161
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2152
2162
  *
2153
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2154
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2163
+ * @param {string} projectLocationCollectionEngineSessionsName
2164
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2155
2165
  * @returns {string} A string representing the collection.
2156
2166
  */
2157
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2158
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2167
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2168
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2159
2169
  }
2160
2170
  /**
2161
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2171
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2162
2172
  *
2163
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2164
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2173
+ * @param {string} projectLocationCollectionEngineSessionsName
2174
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2165
2175
  * @returns {string} A string representing the engine.
2166
2176
  */
2167
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2168
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2177
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2178
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2169
2179
  }
2170
2180
  /**
2171
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2181
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2172
2182
  *
2173
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2174
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2183
+ * @param {string} projectLocationCollectionEngineSessionsName
2184
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2175
2185
  * @returns {string} A string representing the session.
2176
2186
  */
2177
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2178
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2179
- }
2180
- /**
2181
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2182
- *
2183
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2184
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2185
- * @returns {string} A string representing the answer.
2186
- */
2187
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2188
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2187
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2188
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2189
2189
  }
2190
2190
  /**
2191
2191
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2712,63 +2712,6 @@ class ControlServiceClient {
2712
2712
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2713
2713
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2714
2714
  }
2715
- /**
2716
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2717
- *
2718
- * @param {string} project
2719
- * @param {string} location
2720
- * @param {string} data_store
2721
- * @param {string} session
2722
- * @returns {string} Resource name string.
2723
- */
2724
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2725
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2726
- project: project,
2727
- location: location,
2728
- data_store: dataStore,
2729
- session: session,
2730
- });
2731
- }
2732
- /**
2733
- * Parse the project from ProjectLocationDataStoreSession resource.
2734
- *
2735
- * @param {string} projectLocationDataStoreSessionName
2736
- * A fully-qualified path representing project_location_data_store_session resource.
2737
- * @returns {string} A string representing the project.
2738
- */
2739
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2740
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2741
- }
2742
- /**
2743
- * Parse the location from ProjectLocationDataStoreSession resource.
2744
- *
2745
- * @param {string} projectLocationDataStoreSessionName
2746
- * A fully-qualified path representing project_location_data_store_session resource.
2747
- * @returns {string} A string representing the location.
2748
- */
2749
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2750
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2751
- }
2752
- /**
2753
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2754
- *
2755
- * @param {string} projectLocationDataStoreSessionName
2756
- * A fully-qualified path representing project_location_data_store_session resource.
2757
- * @returns {string} A string representing the data_store.
2758
- */
2759
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2760
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2761
- }
2762
- /**
2763
- * Parse the session from ProjectLocationDataStoreSession resource.
2764
- *
2765
- * @param {string} projectLocationDataStoreSessionName
2766
- * A fully-qualified path representing project_location_data_store_session resource.
2767
- * @returns {string} A string representing the session.
2768
- */
2769
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2770
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2771
- }
2772
2715
  /**
2773
2716
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2774
2717
  *
@@ -2838,6 +2781,63 @@ class ControlServiceClient {
2838
2781
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2839
2782
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2840
2783
  }
2784
+ /**
2785
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2786
+ *
2787
+ * @param {string} project
2788
+ * @param {string} location
2789
+ * @param {string} data_store
2790
+ * @param {string} session
2791
+ * @returns {string} Resource name string.
2792
+ */
2793
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2794
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2795
+ project: project,
2796
+ location: location,
2797
+ data_store: dataStore,
2798
+ session: session,
2799
+ });
2800
+ }
2801
+ /**
2802
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2803
+ *
2804
+ * @param {string} projectLocationDataStoreSessionsName
2805
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2806
+ * @returns {string} A string representing the project.
2807
+ */
2808
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2809
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2810
+ }
2811
+ /**
2812
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2813
+ *
2814
+ * @param {string} projectLocationDataStoreSessionsName
2815
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2816
+ * @returns {string} A string representing the location.
2817
+ */
2818
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2819
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2820
+ }
2821
+ /**
2822
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2823
+ *
2824
+ * @param {string} projectLocationDataStoreSessionsName
2825
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2826
+ * @returns {string} A string representing the data_store.
2827
+ */
2828
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2829
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2830
+ }
2831
+ /**
2832
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2833
+ *
2834
+ * @param {string} projectLocationDataStoreSessionsName
2835
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2836
+ * @returns {string} A string representing the session.
2837
+ */
2838
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2839
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2840
+ }
2841
2841
  /**
2842
2842
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2843
2843
  *
@@ -37,6 +37,7 @@
37
37
  "../../protos/google/cloud/discoveryengine/v1beta/serving_config.proto",
38
38
  "../../protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto",
39
39
  "../../protos/google/cloud/discoveryengine/v1beta/session.proto",
40
+ "../../protos/google/cloud/discoveryengine/v1beta/session_service.proto",
40
41
  "../../protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto",
41
42
  "../../protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto",
42
43
  "../../protos/google/cloud/discoveryengine/v1beta/user_event.proto",