@google-cloud/discoveryengine 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -179,16 +179,16 @@ class DocumentServiceClient {
179
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
180
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
181
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
182
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
183
182
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
183
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
184
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
185
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
186
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
187
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
188
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
189
189
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
190
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
191
190
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
191
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
192
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
193
193
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
194
194
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
@@ -199,8 +199,8 @@ class DocumentServiceClient {
199
199
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
200
200
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
201
201
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
202
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
203
202
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
203
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
204
204
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
205
205
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
206
206
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -1880,154 +1880,154 @@ class DocumentServiceClient {
1880
1880
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1881
1881
  }
1882
1882
  /**
1883
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1883
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1884
1884
  *
1885
1885
  * @param {string} project
1886
1886
  * @param {string} location
1887
1887
  * @param {string} collection
1888
1888
  * @param {string} data_store
1889
1889
  * @param {string} session
1890
+ * @param {string} answer
1890
1891
  * @returns {string} Resource name string.
1891
1892
  */
1892
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1893
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1893
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1894
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1894
1895
  project: project,
1895
1896
  location: location,
1896
1897
  collection: collection,
1897
1898
  data_store: dataStore,
1898
1899
  session: session,
1900
+ answer: answer,
1899
1901
  });
1900
1902
  }
1901
1903
  /**
1902
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1904
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1903
1905
  *
1904
- * @param {string} projectLocationCollectionDataStoreSessionName
1905
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1906
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1907
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1906
1908
  * @returns {string} A string representing the project.
1907
1909
  */
1908
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1909
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1910
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1911
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1910
1912
  }
1911
1913
  /**
1912
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1914
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1913
1915
  *
1914
- * @param {string} projectLocationCollectionDataStoreSessionName
1915
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1916
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1917
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1916
1918
  * @returns {string} A string representing the location.
1917
1919
  */
1918
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1919
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1920
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1921
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1920
1922
  }
1921
1923
  /**
1922
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1924
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1923
1925
  *
1924
- * @param {string} projectLocationCollectionDataStoreSessionName
1925
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1926
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1927
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1926
1928
  * @returns {string} A string representing the collection.
1927
1929
  */
1928
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1929
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1930
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1931
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1930
1932
  }
1931
1933
  /**
1932
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1934
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1933
1935
  *
1934
- * @param {string} projectLocationCollectionDataStoreSessionName
1935
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1936
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1937
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1936
1938
  * @returns {string} A string representing the data_store.
1937
1939
  */
1938
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1939
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1940
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1941
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1940
1942
  }
1941
1943
  /**
1942
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1944
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1943
1945
  *
1944
- * @param {string} projectLocationCollectionDataStoreSessionName
1945
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1946
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1947
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1946
1948
  * @returns {string} A string representing the session.
1947
1949
  */
1948
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1949
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1950
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1951
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1950
1952
  }
1951
1953
  /**
1952
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1954
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1955
+ *
1956
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1957
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1958
+ * @returns {string} A string representing the answer.
1959
+ */
1960
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1961
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1962
+ }
1963
+ /**
1964
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1953
1965
  *
1954
1966
  * @param {string} project
1955
1967
  * @param {string} location
1956
1968
  * @param {string} collection
1957
1969
  * @param {string} data_store
1958
1970
  * @param {string} session
1959
- * @param {string} answer
1960
1971
  * @returns {string} Resource name string.
1961
1972
  */
1962
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1963
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1973
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1974
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1964
1975
  project: project,
1965
1976
  location: location,
1966
1977
  collection: collection,
1967
1978
  data_store: dataStore,
1968
1979
  session: session,
1969
- answer: answer,
1970
1980
  });
1971
1981
  }
1972
1982
  /**
1973
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1983
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1974
1984
  *
1975
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1976
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1985
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1986
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1977
1987
  * @returns {string} A string representing the project.
1978
1988
  */
1979
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1980
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1989
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1990
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1981
1991
  }
1982
1992
  /**
1983
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1993
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1984
1994
  *
1985
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1986
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1995
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1996
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1987
1997
  * @returns {string} A string representing the location.
1988
1998
  */
1989
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1990
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1999
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2000
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1991
2001
  }
1992
2002
  /**
1993
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2003
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1994
2004
  *
1995
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1996
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2005
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2006
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1997
2007
  * @returns {string} A string representing the collection.
1998
2008
  */
1999
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2000
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2009
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2010
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
2001
2011
  }
2002
2012
  /**
2003
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2013
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
2004
2014
  *
2005
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2006
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2015
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2016
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2007
2017
  * @returns {string} A string representing the data_store.
2008
2018
  */
2009
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2010
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2019
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2020
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
2011
2021
  }
2012
2022
  /**
2013
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2023
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
2014
2024
  *
2015
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2016
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2025
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2026
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2017
2027
  * @returns {string} A string representing the session.
2018
2028
  */
2019
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2020
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2021
- }
2022
- /**
2023
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2024
- *
2025
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2026
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2027
- * @returns {string} A string representing the answer.
2028
- */
2029
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2030
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2029
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2030
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2031
2031
  }
2032
2032
  /**
2033
2033
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2432,154 +2432,154 @@ class DocumentServiceClient {
2432
2432
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2433
2433
  }
2434
2434
  /**
2435
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2435
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2436
2436
  *
2437
2437
  * @param {string} project
2438
2438
  * @param {string} location
2439
2439
  * @param {string} collection
2440
2440
  * @param {string} engine
2441
2441
  * @param {string} session
2442
+ * @param {string} answer
2442
2443
  * @returns {string} Resource name string.
2443
2444
  */
2444
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2445
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2445
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2446
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2446
2447
  project: project,
2447
2448
  location: location,
2448
2449
  collection: collection,
2449
2450
  engine: engine,
2450
2451
  session: session,
2452
+ answer: answer,
2451
2453
  });
2452
2454
  }
2453
2455
  /**
2454
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2456
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2455
2457
  *
2456
- * @param {string} projectLocationCollectionEngineSessionName
2457
- * A fully-qualified path representing project_location_collection_engine_session resource.
2458
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2459
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2458
2460
  * @returns {string} A string representing the project.
2459
2461
  */
2460
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2461
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2462
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2463
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2462
2464
  }
2463
2465
  /**
2464
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2466
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2465
2467
  *
2466
- * @param {string} projectLocationCollectionEngineSessionName
2467
- * A fully-qualified path representing project_location_collection_engine_session resource.
2468
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2469
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2468
2470
  * @returns {string} A string representing the location.
2469
2471
  */
2470
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2471
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2472
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2473
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2472
2474
  }
2473
2475
  /**
2474
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2476
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2475
2477
  *
2476
- * @param {string} projectLocationCollectionEngineSessionName
2477
- * A fully-qualified path representing project_location_collection_engine_session resource.
2478
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2479
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2478
2480
  * @returns {string} A string representing the collection.
2479
2481
  */
2480
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2481
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2482
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2483
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2482
2484
  }
2483
2485
  /**
2484
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2486
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2485
2487
  *
2486
- * @param {string} projectLocationCollectionEngineSessionName
2487
- * A fully-qualified path representing project_location_collection_engine_session resource.
2488
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2489
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2488
2490
  * @returns {string} A string representing the engine.
2489
2491
  */
2490
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2491
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2492
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2493
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2492
2494
  }
2493
2495
  /**
2494
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2496
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2495
2497
  *
2496
- * @param {string} projectLocationCollectionEngineSessionName
2497
- * A fully-qualified path representing project_location_collection_engine_session resource.
2498
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2499
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2498
2500
  * @returns {string} A string representing the session.
2499
2501
  */
2500
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2501
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2502
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2503
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2502
2504
  }
2503
2505
  /**
2504
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2506
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2507
+ *
2508
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2509
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2510
+ * @returns {string} A string representing the answer.
2511
+ */
2512
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2513
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2514
+ }
2515
+ /**
2516
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2505
2517
  *
2506
2518
  * @param {string} project
2507
2519
  * @param {string} location
2508
2520
  * @param {string} collection
2509
2521
  * @param {string} engine
2510
2522
  * @param {string} session
2511
- * @param {string} answer
2512
2523
  * @returns {string} Resource name string.
2513
2524
  */
2514
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2515
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2525
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2526
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2516
2527
  project: project,
2517
2528
  location: location,
2518
2529
  collection: collection,
2519
2530
  engine: engine,
2520
2531
  session: session,
2521
- answer: answer,
2522
2532
  });
2523
2533
  }
2524
2534
  /**
2525
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2535
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2526
2536
  *
2527
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2528
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2537
+ * @param {string} projectLocationCollectionEngineSessionsName
2538
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2529
2539
  * @returns {string} A string representing the project.
2530
2540
  */
2531
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2532
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2541
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2542
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2533
2543
  }
2534
2544
  /**
2535
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2545
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2536
2546
  *
2537
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2538
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2547
+ * @param {string} projectLocationCollectionEngineSessionsName
2548
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2539
2549
  * @returns {string} A string representing the location.
2540
2550
  */
2541
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2542
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2551
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2552
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2543
2553
  }
2544
2554
  /**
2545
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2555
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2546
2556
  *
2547
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2548
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2557
+ * @param {string} projectLocationCollectionEngineSessionsName
2558
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2549
2559
  * @returns {string} A string representing the collection.
2550
2560
  */
2551
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2552
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2561
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2562
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2553
2563
  }
2554
2564
  /**
2555
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2565
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2556
2566
  *
2557
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2558
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2567
+ * @param {string} projectLocationCollectionEngineSessionsName
2568
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2559
2569
  * @returns {string} A string representing the engine.
2560
2570
  */
2561
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2562
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2571
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2572
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2563
2573
  }
2564
2574
  /**
2565
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2575
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2566
2576
  *
2567
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2568
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2577
+ * @param {string} projectLocationCollectionEngineSessionsName
2578
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2569
2579
  * @returns {string} A string representing the session.
2570
2580
  */
2571
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2572
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2573
- }
2574
- /**
2575
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2576
- *
2577
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2578
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2579
- * @returns {string} A string representing the answer.
2580
- */
2581
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2582
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2581
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2582
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2583
2583
  }
2584
2584
  /**
2585
2585
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3163,63 +3163,6 @@ class DocumentServiceClient {
3163
3163
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3164
3164
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3165
3165
  }
3166
- /**
3167
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3168
- *
3169
- * @param {string} project
3170
- * @param {string} location
3171
- * @param {string} data_store
3172
- * @param {string} session
3173
- * @returns {string} Resource name string.
3174
- */
3175
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3176
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3177
- project: project,
3178
- location: location,
3179
- data_store: dataStore,
3180
- session: session,
3181
- });
3182
- }
3183
- /**
3184
- * Parse the project from ProjectLocationDataStoreSession resource.
3185
- *
3186
- * @param {string} projectLocationDataStoreSessionName
3187
- * A fully-qualified path representing project_location_data_store_session resource.
3188
- * @returns {string} A string representing the project.
3189
- */
3190
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3191
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3192
- }
3193
- /**
3194
- * Parse the location from ProjectLocationDataStoreSession resource.
3195
- *
3196
- * @param {string} projectLocationDataStoreSessionName
3197
- * A fully-qualified path representing project_location_data_store_session resource.
3198
- * @returns {string} A string representing the location.
3199
- */
3200
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3201
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3202
- }
3203
- /**
3204
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3205
- *
3206
- * @param {string} projectLocationDataStoreSessionName
3207
- * A fully-qualified path representing project_location_data_store_session resource.
3208
- * @returns {string} A string representing the data_store.
3209
- */
3210
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3211
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3212
- }
3213
- /**
3214
- * Parse the session from ProjectLocationDataStoreSession resource.
3215
- *
3216
- * @param {string} projectLocationDataStoreSessionName
3217
- * A fully-qualified path representing project_location_data_store_session resource.
3218
- * @returns {string} A string representing the session.
3219
- */
3220
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3221
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3222
- }
3223
3166
  /**
3224
3167
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3225
3168
  *
@@ -3289,6 +3232,63 @@ class DocumentServiceClient {
3289
3232
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3290
3233
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3291
3234
  }
3235
+ /**
3236
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3237
+ *
3238
+ * @param {string} project
3239
+ * @param {string} location
3240
+ * @param {string} data_store
3241
+ * @param {string} session
3242
+ * @returns {string} Resource name string.
3243
+ */
3244
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3245
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3246
+ project: project,
3247
+ location: location,
3248
+ data_store: dataStore,
3249
+ session: session,
3250
+ });
3251
+ }
3252
+ /**
3253
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3254
+ *
3255
+ * @param {string} projectLocationDataStoreSessionsName
3256
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3257
+ * @returns {string} A string representing the project.
3258
+ */
3259
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3260
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3261
+ }
3262
+ /**
3263
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3264
+ *
3265
+ * @param {string} projectLocationDataStoreSessionsName
3266
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3267
+ * @returns {string} A string representing the location.
3268
+ */
3269
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3270
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3271
+ }
3272
+ /**
3273
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3274
+ *
3275
+ * @param {string} projectLocationDataStoreSessionsName
3276
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3277
+ * @returns {string} A string representing the data_store.
3278
+ */
3279
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3280
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3281
+ }
3282
+ /**
3283
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3284
+ *
3285
+ * @param {string} projectLocationDataStoreSessionsName
3286
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3287
+ * @returns {string} A string representing the session.
3288
+ */
3289
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3290
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3291
+ }
3292
3292
  /**
3293
3293
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3294
3294
  *
@@ -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",