@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,15 +176,15 @@ 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
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
183
183
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
184
184
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
185
185
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
186
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
186
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
187
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
188
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
189
189
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
190
190
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -194,8 +194,8 @@ class UserEventServiceClient {
194
194
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
195
195
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
196
196
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
197
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
197
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
198
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
199
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
200
200
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
201
201
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -1532,154 +1532,154 @@ class UserEventServiceClient {
1532
1532
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1533
1533
  }
1534
1534
  /**
1535
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1535
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1536
1536
  *
1537
1537
  * @param {string} project
1538
1538
  * @param {string} location
1539
1539
  * @param {string} collection
1540
1540
  * @param {string} data_store
1541
1541
  * @param {string} session
1542
+ * @param {string} answer
1542
1543
  * @returns {string} Resource name string.
1543
1544
  */
1544
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1545
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1545
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1546
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1546
1547
  project: project,
1547
1548
  location: location,
1548
1549
  collection: collection,
1549
1550
  data_store: dataStore,
1550
1551
  session: session,
1552
+ answer: answer,
1551
1553
  });
1552
1554
  }
1553
1555
  /**
1554
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1556
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1555
1557
  *
1556
- * @param {string} projectLocationCollectionDataStoreSessionName
1557
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1558
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1559
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1558
1560
  * @returns {string} A string representing the project.
1559
1561
  */
1560
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1561
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1562
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1563
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1562
1564
  }
1563
1565
  /**
1564
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1566
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1565
1567
  *
1566
- * @param {string} projectLocationCollectionDataStoreSessionName
1567
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1568
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1569
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1568
1570
  * @returns {string} A string representing the location.
1569
1571
  */
1570
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1571
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1572
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1573
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1572
1574
  }
1573
1575
  /**
1574
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1576
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1575
1577
  *
1576
- * @param {string} projectLocationCollectionDataStoreSessionName
1577
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1578
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1579
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1578
1580
  * @returns {string} A string representing the collection.
1579
1581
  */
1580
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1581
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1582
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1583
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1582
1584
  }
1583
1585
  /**
1584
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1586
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1585
1587
  *
1586
- * @param {string} projectLocationCollectionDataStoreSessionName
1587
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1588
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1589
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1588
1590
  * @returns {string} A string representing the data_store.
1589
1591
  */
1590
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1591
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1592
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1593
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1592
1594
  }
1593
1595
  /**
1594
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1596
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1595
1597
  *
1596
- * @param {string} projectLocationCollectionDataStoreSessionName
1597
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1598
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1599
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1598
1600
  * @returns {string} A string representing the session.
1599
1601
  */
1600
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1601
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1602
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1603
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1602
1604
  }
1603
1605
  /**
1604
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1606
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1607
+ *
1608
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1609
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1610
+ * @returns {string} A string representing the answer.
1611
+ */
1612
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1613
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1614
+ }
1615
+ /**
1616
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1605
1617
  *
1606
1618
  * @param {string} project
1607
1619
  * @param {string} location
1608
1620
  * @param {string} collection
1609
1621
  * @param {string} data_store
1610
1622
  * @param {string} session
1611
- * @param {string} answer
1612
1623
  * @returns {string} Resource name string.
1613
1624
  */
1614
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1615
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1625
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1626
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1616
1627
  project: project,
1617
1628
  location: location,
1618
1629
  collection: collection,
1619
1630
  data_store: dataStore,
1620
1631
  session: session,
1621
- answer: answer,
1622
1632
  });
1623
1633
  }
1624
1634
  /**
1625
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1635
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1626
1636
  *
1627
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1628
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1637
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1638
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1629
1639
  * @returns {string} A string representing the project.
1630
1640
  */
1631
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1632
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1641
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1642
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1633
1643
  }
1634
1644
  /**
1635
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1645
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1636
1646
  *
1637
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1638
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1647
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1648
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1639
1649
  * @returns {string} A string representing the location.
1640
1650
  */
1641
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1642
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1651
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1652
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1643
1653
  }
1644
1654
  /**
1645
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1655
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1646
1656
  *
1647
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1648
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1657
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1658
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1649
1659
  * @returns {string} A string representing the collection.
1650
1660
  */
1651
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1652
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1661
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1662
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1653
1663
  }
1654
1664
  /**
1655
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1665
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1656
1666
  *
1657
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1658
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1667
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1668
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1659
1669
  * @returns {string} A string representing the data_store.
1660
1670
  */
1661
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1662
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1671
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1672
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1663
1673
  }
1664
1674
  /**
1665
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1675
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1666
1676
  *
1667
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1668
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1677
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1678
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1669
1679
  * @returns {string} A string representing the session.
1670
1680
  */
1671
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1672
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1673
- }
1674
- /**
1675
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1676
- *
1677
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1678
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1679
- * @returns {string} A string representing the answer.
1680
- */
1681
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1682
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1681
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1682
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1683
1683
  }
1684
1684
  /**
1685
1685
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2015,154 +2015,154 @@ class UserEventServiceClient {
2015
2015
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2016
2016
  }
2017
2017
  /**
2018
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2018
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2019
2019
  *
2020
2020
  * @param {string} project
2021
2021
  * @param {string} location
2022
2022
  * @param {string} collection
2023
2023
  * @param {string} engine
2024
2024
  * @param {string} session
2025
+ * @param {string} answer
2025
2026
  * @returns {string} Resource name string.
2026
2027
  */
2027
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2028
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2028
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2029
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2029
2030
  project: project,
2030
2031
  location: location,
2031
2032
  collection: collection,
2032
2033
  engine: engine,
2033
2034
  session: session,
2035
+ answer: answer,
2034
2036
  });
2035
2037
  }
2036
2038
  /**
2037
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2039
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2038
2040
  *
2039
- * @param {string} projectLocationCollectionEngineSessionName
2040
- * A fully-qualified path representing project_location_collection_engine_session resource.
2041
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2042
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2041
2043
  * @returns {string} A string representing the project.
2042
2044
  */
2043
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2044
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2045
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2046
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2045
2047
  }
2046
2048
  /**
2047
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2049
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2048
2050
  *
2049
- * @param {string} projectLocationCollectionEngineSessionName
2050
- * A fully-qualified path representing project_location_collection_engine_session resource.
2051
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2052
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2051
2053
  * @returns {string} A string representing the location.
2052
2054
  */
2053
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2054
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2055
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2056
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2055
2057
  }
2056
2058
  /**
2057
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2059
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2058
2060
  *
2059
- * @param {string} projectLocationCollectionEngineSessionName
2060
- * A fully-qualified path representing project_location_collection_engine_session resource.
2061
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2062
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2061
2063
  * @returns {string} A string representing the collection.
2062
2064
  */
2063
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2064
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2065
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2066
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2065
2067
  }
2066
2068
  /**
2067
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2069
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2068
2070
  *
2069
- * @param {string} projectLocationCollectionEngineSessionName
2070
- * A fully-qualified path representing project_location_collection_engine_session resource.
2071
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2072
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2071
2073
  * @returns {string} A string representing the engine.
2072
2074
  */
2073
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2074
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2075
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2076
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2075
2077
  }
2076
2078
  /**
2077
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2079
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2078
2080
  *
2079
- * @param {string} projectLocationCollectionEngineSessionName
2080
- * A fully-qualified path representing project_location_collection_engine_session resource.
2081
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2082
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2081
2083
  * @returns {string} A string representing the session.
2082
2084
  */
2083
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2084
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2085
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2086
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2085
2087
  }
2086
2088
  /**
2087
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2089
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2090
+ *
2091
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2092
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2093
+ * @returns {string} A string representing the answer.
2094
+ */
2095
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2096
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2097
+ }
2098
+ /**
2099
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2088
2100
  *
2089
2101
  * @param {string} project
2090
2102
  * @param {string} location
2091
2103
  * @param {string} collection
2092
2104
  * @param {string} engine
2093
2105
  * @param {string} session
2094
- * @param {string} answer
2095
2106
  * @returns {string} Resource name string.
2096
2107
  */
2097
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2098
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2108
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2109
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2099
2110
  project: project,
2100
2111
  location: location,
2101
2112
  collection: collection,
2102
2113
  engine: engine,
2103
2114
  session: session,
2104
- answer: answer,
2105
2115
  });
2106
2116
  }
2107
2117
  /**
2108
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2118
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2109
2119
  *
2110
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2111
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2120
+ * @param {string} projectLocationCollectionEngineSessionsName
2121
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2112
2122
  * @returns {string} A string representing the project.
2113
2123
  */
2114
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2115
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2124
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2125
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2116
2126
  }
2117
2127
  /**
2118
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2128
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2119
2129
  *
2120
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2121
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2130
+ * @param {string} projectLocationCollectionEngineSessionsName
2131
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2122
2132
  * @returns {string} A string representing the location.
2123
2133
  */
2124
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2125
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2134
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2135
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2126
2136
  }
2127
2137
  /**
2128
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2138
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2129
2139
  *
2130
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2131
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2140
+ * @param {string} projectLocationCollectionEngineSessionsName
2141
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2132
2142
  * @returns {string} A string representing the collection.
2133
2143
  */
2134
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2135
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2144
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2145
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2136
2146
  }
2137
2147
  /**
2138
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2148
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2139
2149
  *
2140
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2141
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2150
+ * @param {string} projectLocationCollectionEngineSessionsName
2151
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2142
2152
  * @returns {string} A string representing the engine.
2143
2153
  */
2144
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2145
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2154
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2155
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2146
2156
  }
2147
2157
  /**
2148
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2158
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2149
2159
  *
2150
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2151
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2160
+ * @param {string} projectLocationCollectionEngineSessionsName
2161
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2152
2162
  * @returns {string} A string representing the session.
2153
2163
  */
2154
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2155
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2156
- }
2157
- /**
2158
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2159
- *
2160
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2161
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2162
- * @returns {string} A string representing the answer.
2163
- */
2164
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2165
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2164
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2165
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2166
2166
  }
2167
2167
  /**
2168
2168
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2689,63 +2689,6 @@ class UserEventServiceClient {
2689
2689
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2690
2690
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2691
2691
  }
2692
- /**
2693
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2694
- *
2695
- * @param {string} project
2696
- * @param {string} location
2697
- * @param {string} data_store
2698
- * @param {string} session
2699
- * @returns {string} Resource name string.
2700
- */
2701
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2702
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2703
- project: project,
2704
- location: location,
2705
- data_store: dataStore,
2706
- session: session,
2707
- });
2708
- }
2709
- /**
2710
- * Parse the project from ProjectLocationDataStoreSession resource.
2711
- *
2712
- * @param {string} projectLocationDataStoreSessionName
2713
- * A fully-qualified path representing project_location_data_store_session resource.
2714
- * @returns {string} A string representing the project.
2715
- */
2716
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2717
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2718
- }
2719
- /**
2720
- * Parse the location from ProjectLocationDataStoreSession resource.
2721
- *
2722
- * @param {string} projectLocationDataStoreSessionName
2723
- * A fully-qualified path representing project_location_data_store_session resource.
2724
- * @returns {string} A string representing the location.
2725
- */
2726
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2727
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2728
- }
2729
- /**
2730
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2731
- *
2732
- * @param {string} projectLocationDataStoreSessionName
2733
- * A fully-qualified path representing project_location_data_store_session resource.
2734
- * @returns {string} A string representing the data_store.
2735
- */
2736
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2737
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2738
- }
2739
- /**
2740
- * Parse the session from ProjectLocationDataStoreSession resource.
2741
- *
2742
- * @param {string} projectLocationDataStoreSessionName
2743
- * A fully-qualified path representing project_location_data_store_session resource.
2744
- * @returns {string} A string representing the session.
2745
- */
2746
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2747
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2748
- }
2749
2692
  /**
2750
2693
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2751
2694
  *
@@ -2815,6 +2758,63 @@ class UserEventServiceClient {
2815
2758
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2816
2759
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2817
2760
  }
2761
+ /**
2762
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2763
+ *
2764
+ * @param {string} project
2765
+ * @param {string} location
2766
+ * @param {string} data_store
2767
+ * @param {string} session
2768
+ * @returns {string} Resource name string.
2769
+ */
2770
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2771
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2772
+ project: project,
2773
+ location: location,
2774
+ data_store: dataStore,
2775
+ session: session,
2776
+ });
2777
+ }
2778
+ /**
2779
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2780
+ *
2781
+ * @param {string} projectLocationDataStoreSessionsName
2782
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2783
+ * @returns {string} A string representing the project.
2784
+ */
2785
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2786
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2787
+ }
2788
+ /**
2789
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2790
+ *
2791
+ * @param {string} projectLocationDataStoreSessionsName
2792
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2793
+ * @returns {string} A string representing the location.
2794
+ */
2795
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2796
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2797
+ }
2798
+ /**
2799
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2800
+ *
2801
+ * @param {string} projectLocationDataStoreSessionsName
2802
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2803
+ * @returns {string} A string representing the data_store.
2804
+ */
2805
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2806
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2807
+ }
2808
+ /**
2809
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2810
+ *
2811
+ * @param {string} projectLocationDataStoreSessionsName
2812
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2813
+ * @returns {string} A string representing the session.
2814
+ */
2815
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2816
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2817
+ }
2818
2818
  /**
2819
2819
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2820
2820
  *
@@ -41,6 +41,7 @@
41
41
  "../../protos/google/cloud/discoveryengine/v1alpha/serving_config.proto",
42
42
  "../../protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto",
43
43
  "../../protos/google/cloud/discoveryengine/v1alpha/session.proto",
44
+ "../../protos/google/cloud/discoveryengine/v1alpha/session_service.proto",
44
45
  "../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto",
45
46
  "../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto",
46
47
  "../../protos/google/cloud/discoveryengine/v1alpha/user_event.proto",