@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
@@ -177,15 +177,15 @@ class ProjectServiceClient {
177
177
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
178
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
179
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
180
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
181
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
182
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
184
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
185
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
186
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
187
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
188
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
189
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
190
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
191
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,8 +195,8 @@ class ProjectServiceClient {
195
195
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
196
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
197
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
198
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
199
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
200
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
201
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
202
202
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -1482,154 +1482,154 @@ class ProjectServiceClient {
1482
1482
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1483
1483
  }
1484
1484
  /**
1485
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1485
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1486
1486
  *
1487
1487
  * @param {string} project
1488
1488
  * @param {string} location
1489
1489
  * @param {string} collection
1490
1490
  * @param {string} data_store
1491
1491
  * @param {string} session
1492
+ * @param {string} answer
1492
1493
  * @returns {string} Resource name string.
1493
1494
  */
1494
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1495
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1495
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1496
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1496
1497
  project: project,
1497
1498
  location: location,
1498
1499
  collection: collection,
1499
1500
  data_store: dataStore,
1500
1501
  session: session,
1502
+ answer: answer,
1501
1503
  });
1502
1504
  }
1503
1505
  /**
1504
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1506
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1505
1507
  *
1506
- * @param {string} projectLocationCollectionDataStoreSessionName
1507
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1508
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1509
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1508
1510
  * @returns {string} A string representing the project.
1509
1511
  */
1510
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1511
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1512
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1513
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1512
1514
  }
1513
1515
  /**
1514
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1516
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1515
1517
  *
1516
- * @param {string} projectLocationCollectionDataStoreSessionName
1517
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1518
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1519
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1518
1520
  * @returns {string} A string representing the location.
1519
1521
  */
1520
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1521
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1522
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1523
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1522
1524
  }
1523
1525
  /**
1524
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1526
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1525
1527
  *
1526
- * @param {string} projectLocationCollectionDataStoreSessionName
1527
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1528
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1529
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1528
1530
  * @returns {string} A string representing the collection.
1529
1531
  */
1530
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1531
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1532
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1533
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1532
1534
  }
1533
1535
  /**
1534
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1536
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1535
1537
  *
1536
- * @param {string} projectLocationCollectionDataStoreSessionName
1537
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1538
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1539
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1538
1540
  * @returns {string} A string representing the data_store.
1539
1541
  */
1540
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1541
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1542
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1543
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1542
1544
  }
1543
1545
  /**
1544
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1546
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1545
1547
  *
1546
- * @param {string} projectLocationCollectionDataStoreSessionName
1547
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1548
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1549
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1548
1550
  * @returns {string} A string representing the session.
1549
1551
  */
1550
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1551
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1552
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1553
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1552
1554
  }
1553
1555
  /**
1554
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1556
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1557
+ *
1558
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1559
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1560
+ * @returns {string} A string representing the answer.
1561
+ */
1562
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1563
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1564
+ }
1565
+ /**
1566
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1555
1567
  *
1556
1568
  * @param {string} project
1557
1569
  * @param {string} location
1558
1570
  * @param {string} collection
1559
1571
  * @param {string} data_store
1560
1572
  * @param {string} session
1561
- * @param {string} answer
1562
1573
  * @returns {string} Resource name string.
1563
1574
  */
1564
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1565
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1575
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1576
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1566
1577
  project: project,
1567
1578
  location: location,
1568
1579
  collection: collection,
1569
1580
  data_store: dataStore,
1570
1581
  session: session,
1571
- answer: answer,
1572
1582
  });
1573
1583
  }
1574
1584
  /**
1575
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1585
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1576
1586
  *
1577
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1578
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1587
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1588
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1579
1589
  * @returns {string} A string representing the project.
1580
1590
  */
1581
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1582
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1591
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1592
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1583
1593
  }
1584
1594
  /**
1585
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1595
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1586
1596
  *
1587
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1588
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1597
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1598
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1589
1599
  * @returns {string} A string representing the location.
1590
1600
  */
1591
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1592
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1601
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1602
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1593
1603
  }
1594
1604
  /**
1595
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1605
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1596
1606
  *
1597
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1598
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1607
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1608
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1599
1609
  * @returns {string} A string representing the collection.
1600
1610
  */
1601
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1602
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1611
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1612
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1603
1613
  }
1604
1614
  /**
1605
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1615
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1606
1616
  *
1607
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1608
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1617
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1618
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1609
1619
  * @returns {string} A string representing the data_store.
1610
1620
  */
1611
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1612
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1621
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1622
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1613
1623
  }
1614
1624
  /**
1615
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1625
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1616
1626
  *
1617
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1618
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1627
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1628
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1619
1629
  * @returns {string} A string representing the session.
1620
1630
  */
1621
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1622
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1623
- }
1624
- /**
1625
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1626
- *
1627
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1628
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1629
- * @returns {string} A string representing the answer.
1630
- */
1631
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1632
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1631
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1632
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1633
1633
  }
1634
1634
  /**
1635
1635
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1965,154 +1965,154 @@ class ProjectServiceClient {
1965
1965
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1966
1966
  }
1967
1967
  /**
1968
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1968
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1969
1969
  *
1970
1970
  * @param {string} project
1971
1971
  * @param {string} location
1972
1972
  * @param {string} collection
1973
1973
  * @param {string} engine
1974
1974
  * @param {string} session
1975
+ * @param {string} answer
1975
1976
  * @returns {string} Resource name string.
1976
1977
  */
1977
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1978
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1978
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1979
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1979
1980
  project: project,
1980
1981
  location: location,
1981
1982
  collection: collection,
1982
1983
  engine: engine,
1983
1984
  session: session,
1985
+ answer: answer,
1984
1986
  });
1985
1987
  }
1986
1988
  /**
1987
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1989
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1988
1990
  *
1989
- * @param {string} projectLocationCollectionEngineSessionName
1990
- * A fully-qualified path representing project_location_collection_engine_session resource.
1991
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1992
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1991
1993
  * @returns {string} A string representing the project.
1992
1994
  */
1993
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1994
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1995
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1996
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1995
1997
  }
1996
1998
  /**
1997
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1999
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1998
2000
  *
1999
- * @param {string} projectLocationCollectionEngineSessionName
2000
- * A fully-qualified path representing project_location_collection_engine_session resource.
2001
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2002
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2001
2003
  * @returns {string} A string representing the location.
2002
2004
  */
2003
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2004
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2005
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2006
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2005
2007
  }
2006
2008
  /**
2007
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2009
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2008
2010
  *
2009
- * @param {string} projectLocationCollectionEngineSessionName
2010
- * A fully-qualified path representing project_location_collection_engine_session resource.
2011
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2012
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2011
2013
  * @returns {string} A string representing the collection.
2012
2014
  */
2013
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2014
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2015
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2016
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2015
2017
  }
2016
2018
  /**
2017
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2019
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2018
2020
  *
2019
- * @param {string} projectLocationCollectionEngineSessionName
2020
- * A fully-qualified path representing project_location_collection_engine_session resource.
2021
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2022
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2021
2023
  * @returns {string} A string representing the engine.
2022
2024
  */
2023
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2024
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2025
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2026
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2025
2027
  }
2026
2028
  /**
2027
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2029
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2028
2030
  *
2029
- * @param {string} projectLocationCollectionEngineSessionName
2030
- * A fully-qualified path representing project_location_collection_engine_session resource.
2031
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2032
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2031
2033
  * @returns {string} A string representing the session.
2032
2034
  */
2033
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2034
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2035
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2036
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2035
2037
  }
2036
2038
  /**
2037
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2039
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2040
+ *
2041
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2042
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2043
+ * @returns {string} A string representing the answer.
2044
+ */
2045
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2046
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2047
+ }
2048
+ /**
2049
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2038
2050
  *
2039
2051
  * @param {string} project
2040
2052
  * @param {string} location
2041
2053
  * @param {string} collection
2042
2054
  * @param {string} engine
2043
2055
  * @param {string} session
2044
- * @param {string} answer
2045
2056
  * @returns {string} Resource name string.
2046
2057
  */
2047
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2048
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2058
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2059
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2049
2060
  project: project,
2050
2061
  location: location,
2051
2062
  collection: collection,
2052
2063
  engine: engine,
2053
2064
  session: session,
2054
- answer: answer,
2055
2065
  });
2056
2066
  }
2057
2067
  /**
2058
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2068
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2059
2069
  *
2060
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2061
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2070
+ * @param {string} projectLocationCollectionEngineSessionsName
2071
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2062
2072
  * @returns {string} A string representing the project.
2063
2073
  */
2064
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2065
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2074
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2075
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2066
2076
  }
2067
2077
  /**
2068
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2078
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2069
2079
  *
2070
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2071
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2080
+ * @param {string} projectLocationCollectionEngineSessionsName
2081
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2072
2082
  * @returns {string} A string representing the location.
2073
2083
  */
2074
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2075
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2084
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2085
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2076
2086
  }
2077
2087
  /**
2078
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2088
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2079
2089
  *
2080
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2081
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2090
+ * @param {string} projectLocationCollectionEngineSessionsName
2091
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2082
2092
  * @returns {string} A string representing the collection.
2083
2093
  */
2084
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2085
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2094
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2095
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2086
2096
  }
2087
2097
  /**
2088
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2098
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2089
2099
  *
2090
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2091
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2100
+ * @param {string} projectLocationCollectionEngineSessionsName
2101
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2092
2102
  * @returns {string} A string representing the engine.
2093
2103
  */
2094
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2095
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2104
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2105
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2096
2106
  }
2097
2107
  /**
2098
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2108
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2099
2109
  *
2100
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2101
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2110
+ * @param {string} projectLocationCollectionEngineSessionsName
2111
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2102
2112
  * @returns {string} A string representing the session.
2103
2113
  */
2104
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2105
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2106
- }
2107
- /**
2108
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2109
- *
2110
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2111
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2112
- * @returns {string} A string representing the answer.
2113
- */
2114
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2115
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2114
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2115
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2116
2116
  }
2117
2117
  /**
2118
2118
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2639,63 +2639,6 @@ class ProjectServiceClient {
2639
2639
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2640
2640
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2641
2641
  }
2642
- /**
2643
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2644
- *
2645
- * @param {string} project
2646
- * @param {string} location
2647
- * @param {string} data_store
2648
- * @param {string} session
2649
- * @returns {string} Resource name string.
2650
- */
2651
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2652
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2653
- project: project,
2654
- location: location,
2655
- data_store: dataStore,
2656
- session: session,
2657
- });
2658
- }
2659
- /**
2660
- * Parse the project from ProjectLocationDataStoreSession resource.
2661
- *
2662
- * @param {string} projectLocationDataStoreSessionName
2663
- * A fully-qualified path representing project_location_data_store_session resource.
2664
- * @returns {string} A string representing the project.
2665
- */
2666
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2667
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2668
- }
2669
- /**
2670
- * Parse the location from ProjectLocationDataStoreSession resource.
2671
- *
2672
- * @param {string} projectLocationDataStoreSessionName
2673
- * A fully-qualified path representing project_location_data_store_session resource.
2674
- * @returns {string} A string representing the location.
2675
- */
2676
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2677
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2678
- }
2679
- /**
2680
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2681
- *
2682
- * @param {string} projectLocationDataStoreSessionName
2683
- * A fully-qualified path representing project_location_data_store_session resource.
2684
- * @returns {string} A string representing the data_store.
2685
- */
2686
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2687
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2688
- }
2689
- /**
2690
- * Parse the session from ProjectLocationDataStoreSession resource.
2691
- *
2692
- * @param {string} projectLocationDataStoreSessionName
2693
- * A fully-qualified path representing project_location_data_store_session resource.
2694
- * @returns {string} A string representing the session.
2695
- */
2696
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2697
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2698
- }
2699
2642
  /**
2700
2643
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2701
2644
  *
@@ -2765,6 +2708,63 @@ class ProjectServiceClient {
2765
2708
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2766
2709
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2767
2710
  }
2711
+ /**
2712
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2713
+ *
2714
+ * @param {string} project
2715
+ * @param {string} location
2716
+ * @param {string} data_store
2717
+ * @param {string} session
2718
+ * @returns {string} Resource name string.
2719
+ */
2720
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2721
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2722
+ project: project,
2723
+ location: location,
2724
+ data_store: dataStore,
2725
+ session: session,
2726
+ });
2727
+ }
2728
+ /**
2729
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2730
+ *
2731
+ * @param {string} projectLocationDataStoreSessionsName
2732
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2733
+ * @returns {string} A string representing the project.
2734
+ */
2735
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2736
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2737
+ }
2738
+ /**
2739
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2740
+ *
2741
+ * @param {string} projectLocationDataStoreSessionsName
2742
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2743
+ * @returns {string} A string representing the location.
2744
+ */
2745
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2746
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2747
+ }
2748
+ /**
2749
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2750
+ *
2751
+ * @param {string} projectLocationDataStoreSessionsName
2752
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2753
+ * @returns {string} A string representing the data_store.
2754
+ */
2755
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2756
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2757
+ }
2758
+ /**
2759
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2760
+ *
2761
+ * @param {string} projectLocationDataStoreSessionsName
2762
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2763
+ * @returns {string} A string representing the session.
2764
+ */
2765
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2766
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2767
+ }
2768
2768
  /**
2769
2769
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2770
2770
  *
@@ -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",