@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
@@ -176,16 +176,16 @@ class UserEventServiceClient {
176
176
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
177
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
178
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
179
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
180
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
181
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
182
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
184
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
185
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
186
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
187
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
188
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
189
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
190
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
191
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,8 +195,8 @@ class UserEventServiceClient {
195
195
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
196
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
197
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
198
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
199
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
200
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
201
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
202
202
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -1546,154 +1546,154 @@ class UserEventServiceClient {
1546
1546
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1547
1547
  }
1548
1548
  /**
1549
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1549
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1550
1550
  *
1551
1551
  * @param {string} project
1552
1552
  * @param {string} location
1553
1553
  * @param {string} collection
1554
1554
  * @param {string} data_store
1555
1555
  * @param {string} session
1556
+ * @param {string} answer
1556
1557
  * @returns {string} Resource name string.
1557
1558
  */
1558
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1559
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1559
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1560
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1560
1561
  project: project,
1561
1562
  location: location,
1562
1563
  collection: collection,
1563
1564
  data_store: dataStore,
1564
1565
  session: session,
1566
+ answer: answer,
1565
1567
  });
1566
1568
  }
1567
1569
  /**
1568
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1570
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1569
1571
  *
1570
- * @param {string} projectLocationCollectionDataStoreSessionName
1571
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1572
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1573
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1572
1574
  * @returns {string} A string representing the project.
1573
1575
  */
1574
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1575
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1576
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1577
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1576
1578
  }
1577
1579
  /**
1578
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1580
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1579
1581
  *
1580
- * @param {string} projectLocationCollectionDataStoreSessionName
1581
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1582
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1583
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1582
1584
  * @returns {string} A string representing the location.
1583
1585
  */
1584
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1585
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1586
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1587
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1586
1588
  }
1587
1589
  /**
1588
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1590
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1589
1591
  *
1590
- * @param {string} projectLocationCollectionDataStoreSessionName
1591
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1592
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1593
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1592
1594
  * @returns {string} A string representing the collection.
1593
1595
  */
1594
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1595
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1596
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1597
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1596
1598
  }
1597
1599
  /**
1598
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1600
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1599
1601
  *
1600
- * @param {string} projectLocationCollectionDataStoreSessionName
1601
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1602
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1603
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1602
1604
  * @returns {string} A string representing the data_store.
1603
1605
  */
1604
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1605
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1606
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1607
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1606
1608
  }
1607
1609
  /**
1608
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1610
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1609
1611
  *
1610
- * @param {string} projectLocationCollectionDataStoreSessionName
1611
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1612
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1613
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1612
1614
  * @returns {string} A string representing the session.
1613
1615
  */
1614
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1615
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1616
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1617
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1616
1618
  }
1617
1619
  /**
1618
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1620
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1621
+ *
1622
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1623
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1624
+ * @returns {string} A string representing the answer.
1625
+ */
1626
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1627
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1628
+ }
1629
+ /**
1630
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1619
1631
  *
1620
1632
  * @param {string} project
1621
1633
  * @param {string} location
1622
1634
  * @param {string} collection
1623
1635
  * @param {string} data_store
1624
1636
  * @param {string} session
1625
- * @param {string} answer
1626
1637
  * @returns {string} Resource name string.
1627
1638
  */
1628
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1629
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1639
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1640
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1630
1641
  project: project,
1631
1642
  location: location,
1632
1643
  collection: collection,
1633
1644
  data_store: dataStore,
1634
1645
  session: session,
1635
- answer: answer,
1636
1646
  });
1637
1647
  }
1638
1648
  /**
1639
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1649
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1640
1650
  *
1641
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1642
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1651
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1652
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1643
1653
  * @returns {string} A string representing the project.
1644
1654
  */
1645
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1646
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1655
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1656
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1647
1657
  }
1648
1658
  /**
1649
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1659
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1650
1660
  *
1651
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1652
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1661
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1662
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1653
1663
  * @returns {string} A string representing the location.
1654
1664
  */
1655
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1656
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1665
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1666
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1657
1667
  }
1658
1668
  /**
1659
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1669
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1660
1670
  *
1661
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1662
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1671
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1672
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1663
1673
  * @returns {string} A string representing the collection.
1664
1674
  */
1665
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1666
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1675
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1676
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1667
1677
  }
1668
1678
  /**
1669
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1679
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1670
1680
  *
1671
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1672
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1681
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1682
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1673
1683
  * @returns {string} A string representing the data_store.
1674
1684
  */
1675
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1676
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1685
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1686
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1677
1687
  }
1678
1688
  /**
1679
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1689
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1680
1690
  *
1681
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1682
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1691
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1692
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1683
1693
  * @returns {string} A string representing the session.
1684
1694
  */
1685
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1686
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1687
- }
1688
- /**
1689
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1690
- *
1691
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1692
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1693
- * @returns {string} A string representing the answer.
1694
- */
1695
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1696
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1695
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1696
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1697
1697
  }
1698
1698
  /**
1699
1699
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2098,154 +2098,154 @@ class UserEventServiceClient {
2098
2098
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2099
2099
  }
2100
2100
  /**
2101
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2101
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2102
2102
  *
2103
2103
  * @param {string} project
2104
2104
  * @param {string} location
2105
2105
  * @param {string} collection
2106
2106
  * @param {string} engine
2107
2107
  * @param {string} session
2108
+ * @param {string} answer
2108
2109
  * @returns {string} Resource name string.
2109
2110
  */
2110
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2111
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2111
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2112
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2112
2113
  project: project,
2113
2114
  location: location,
2114
2115
  collection: collection,
2115
2116
  engine: engine,
2116
2117
  session: session,
2118
+ answer: answer,
2117
2119
  });
2118
2120
  }
2119
2121
  /**
2120
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2122
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2121
2123
  *
2122
- * @param {string} projectLocationCollectionEngineSessionName
2123
- * A fully-qualified path representing project_location_collection_engine_session resource.
2124
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2125
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2124
2126
  * @returns {string} A string representing the project.
2125
2127
  */
2126
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2127
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2128
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2129
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2128
2130
  }
2129
2131
  /**
2130
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2132
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2131
2133
  *
2132
- * @param {string} projectLocationCollectionEngineSessionName
2133
- * A fully-qualified path representing project_location_collection_engine_session resource.
2134
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2135
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2134
2136
  * @returns {string} A string representing the location.
2135
2137
  */
2136
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2137
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2138
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2139
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2138
2140
  }
2139
2141
  /**
2140
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2142
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2141
2143
  *
2142
- * @param {string} projectLocationCollectionEngineSessionName
2143
- * A fully-qualified path representing project_location_collection_engine_session resource.
2144
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2145
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2144
2146
  * @returns {string} A string representing the collection.
2145
2147
  */
2146
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2147
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2148
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2149
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2148
2150
  }
2149
2151
  /**
2150
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2152
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2151
2153
  *
2152
- * @param {string} projectLocationCollectionEngineSessionName
2153
- * A fully-qualified path representing project_location_collection_engine_session resource.
2154
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2155
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2154
2156
  * @returns {string} A string representing the engine.
2155
2157
  */
2156
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2157
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2158
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2159
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2158
2160
  }
2159
2161
  /**
2160
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2162
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2161
2163
  *
2162
- * @param {string} projectLocationCollectionEngineSessionName
2163
- * A fully-qualified path representing project_location_collection_engine_session resource.
2164
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2165
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2164
2166
  * @returns {string} A string representing the session.
2165
2167
  */
2166
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2167
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2168
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2169
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2168
2170
  }
2169
2171
  /**
2170
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2172
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2173
+ *
2174
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2175
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2176
+ * @returns {string} A string representing the answer.
2177
+ */
2178
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2179
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2180
+ }
2181
+ /**
2182
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2171
2183
  *
2172
2184
  * @param {string} project
2173
2185
  * @param {string} location
2174
2186
  * @param {string} collection
2175
2187
  * @param {string} engine
2176
2188
  * @param {string} session
2177
- * @param {string} answer
2178
2189
  * @returns {string} Resource name string.
2179
2190
  */
2180
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2181
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2191
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2192
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2182
2193
  project: project,
2183
2194
  location: location,
2184
2195
  collection: collection,
2185
2196
  engine: engine,
2186
2197
  session: session,
2187
- answer: answer,
2188
2198
  });
2189
2199
  }
2190
2200
  /**
2191
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2201
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2192
2202
  *
2193
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2194
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2203
+ * @param {string} projectLocationCollectionEngineSessionsName
2204
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2195
2205
  * @returns {string} A string representing the project.
2196
2206
  */
2197
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2198
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2207
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2208
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2199
2209
  }
2200
2210
  /**
2201
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2211
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2202
2212
  *
2203
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2204
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2213
+ * @param {string} projectLocationCollectionEngineSessionsName
2214
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2205
2215
  * @returns {string} A string representing the location.
2206
2216
  */
2207
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2208
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2217
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2218
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2209
2219
  }
2210
2220
  /**
2211
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2221
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2212
2222
  *
2213
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2214
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2223
+ * @param {string} projectLocationCollectionEngineSessionsName
2224
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2215
2225
  * @returns {string} A string representing the collection.
2216
2226
  */
2217
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2218
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2227
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2228
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2219
2229
  }
2220
2230
  /**
2221
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2231
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2222
2232
  *
2223
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2224
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2233
+ * @param {string} projectLocationCollectionEngineSessionsName
2234
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2225
2235
  * @returns {string} A string representing the engine.
2226
2236
  */
2227
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2228
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2237
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2238
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2229
2239
  }
2230
2240
  /**
2231
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2241
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2232
2242
  *
2233
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2234
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2243
+ * @param {string} projectLocationCollectionEngineSessionsName
2244
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2235
2245
  * @returns {string} A string representing the session.
2236
2246
  */
2237
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2238
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2239
- }
2240
- /**
2241
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2242
- *
2243
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2244
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2245
- * @returns {string} A string representing the answer.
2246
- */
2247
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2248
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2247
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2248
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2249
2249
  }
2250
2250
  /**
2251
2251
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2772,63 +2772,6 @@ class UserEventServiceClient {
2772
2772
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2773
2773
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2774
2774
  }
2775
- /**
2776
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2777
- *
2778
- * @param {string} project
2779
- * @param {string} location
2780
- * @param {string} data_store
2781
- * @param {string} session
2782
- * @returns {string} Resource name string.
2783
- */
2784
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2785
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2786
- project: project,
2787
- location: location,
2788
- data_store: dataStore,
2789
- session: session,
2790
- });
2791
- }
2792
- /**
2793
- * Parse the project from ProjectLocationDataStoreSession resource.
2794
- *
2795
- * @param {string} projectLocationDataStoreSessionName
2796
- * A fully-qualified path representing project_location_data_store_session resource.
2797
- * @returns {string} A string representing the project.
2798
- */
2799
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2800
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2801
- }
2802
- /**
2803
- * Parse the location from ProjectLocationDataStoreSession resource.
2804
- *
2805
- * @param {string} projectLocationDataStoreSessionName
2806
- * A fully-qualified path representing project_location_data_store_session resource.
2807
- * @returns {string} A string representing the location.
2808
- */
2809
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2810
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2811
- }
2812
- /**
2813
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2814
- *
2815
- * @param {string} projectLocationDataStoreSessionName
2816
- * A fully-qualified path representing project_location_data_store_session resource.
2817
- * @returns {string} A string representing the data_store.
2818
- */
2819
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2820
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2821
- }
2822
- /**
2823
- * Parse the session from ProjectLocationDataStoreSession resource.
2824
- *
2825
- * @param {string} projectLocationDataStoreSessionName
2826
- * A fully-qualified path representing project_location_data_store_session resource.
2827
- * @returns {string} A string representing the session.
2828
- */
2829
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2830
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2831
- }
2832
2775
  /**
2833
2776
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2834
2777
  *
@@ -2898,6 +2841,63 @@ class UserEventServiceClient {
2898
2841
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2899
2842
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2900
2843
  }
2844
+ /**
2845
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2846
+ *
2847
+ * @param {string} project
2848
+ * @param {string} location
2849
+ * @param {string} data_store
2850
+ * @param {string} session
2851
+ * @returns {string} Resource name string.
2852
+ */
2853
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2854
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2855
+ project: project,
2856
+ location: location,
2857
+ data_store: dataStore,
2858
+ session: session,
2859
+ });
2860
+ }
2861
+ /**
2862
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2863
+ *
2864
+ * @param {string} projectLocationDataStoreSessionsName
2865
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2866
+ * @returns {string} A string representing the project.
2867
+ */
2868
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2869
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2870
+ }
2871
+ /**
2872
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2873
+ *
2874
+ * @param {string} projectLocationDataStoreSessionsName
2875
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2876
+ * @returns {string} A string representing the location.
2877
+ */
2878
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2879
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2880
+ }
2881
+ /**
2882
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2883
+ *
2884
+ * @param {string} projectLocationDataStoreSessionsName
2885
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2886
+ * @returns {string} A string representing the data_store.
2887
+ */
2888
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2889
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2890
+ }
2891
+ /**
2892
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2893
+ *
2894
+ * @param {string} projectLocationDataStoreSessionsName
2895
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2896
+ * @returns {string} A string representing the session.
2897
+ */
2898
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2899
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2900
+ }
2901
2901
  /**
2902
2902
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2903
2903
  *
@@ -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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google-cloud/discoveryengine",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "Discovery Engine API client for Node.js",
5
5
  "repository": {
6
6
  "type": "git",