@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
@@ -178,15 +178,15 @@ class EvaluationServiceClient {
178
178
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
179
179
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
180
180
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
181
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
181
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
182
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
183
183
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
184
184
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
185
185
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
186
186
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
187
187
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
188
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
188
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
189
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
190
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
191
191
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
192
192
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -196,8 +196,8 @@ class EvaluationServiceClient {
196
196
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
197
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
198
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
199
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
199
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
200
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
201
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
202
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
203
203
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -1772,154 +1772,154 @@ class EvaluationServiceClient {
1772
1772
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1773
1773
  }
1774
1774
  /**
1775
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1775
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1776
1776
  *
1777
1777
  * @param {string} project
1778
1778
  * @param {string} location
1779
1779
  * @param {string} collection
1780
1780
  * @param {string} data_store
1781
1781
  * @param {string} session
1782
+ * @param {string} answer
1782
1783
  * @returns {string} Resource name string.
1783
1784
  */
1784
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1785
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1785
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1786
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1786
1787
  project: project,
1787
1788
  location: location,
1788
1789
  collection: collection,
1789
1790
  data_store: dataStore,
1790
1791
  session: session,
1792
+ answer: answer,
1791
1793
  });
1792
1794
  }
1793
1795
  /**
1794
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1796
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1795
1797
  *
1796
- * @param {string} projectLocationCollectionDataStoreSessionName
1797
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1798
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1799
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1798
1800
  * @returns {string} A string representing the project.
1799
1801
  */
1800
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1801
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1802
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1803
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1802
1804
  }
1803
1805
  /**
1804
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1806
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1805
1807
  *
1806
- * @param {string} projectLocationCollectionDataStoreSessionName
1807
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1808
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1809
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1808
1810
  * @returns {string} A string representing the location.
1809
1811
  */
1810
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1811
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1812
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1813
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1812
1814
  }
1813
1815
  /**
1814
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1816
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1815
1817
  *
1816
- * @param {string} projectLocationCollectionDataStoreSessionName
1817
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1818
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1819
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1818
1820
  * @returns {string} A string representing the collection.
1819
1821
  */
1820
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1821
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1822
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1823
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1822
1824
  }
1823
1825
  /**
1824
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1826
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1825
1827
  *
1826
- * @param {string} projectLocationCollectionDataStoreSessionName
1827
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1828
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1829
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1828
1830
  * @returns {string} A string representing the data_store.
1829
1831
  */
1830
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1831
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1832
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1833
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1832
1834
  }
1833
1835
  /**
1834
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1836
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1835
1837
  *
1836
- * @param {string} projectLocationCollectionDataStoreSessionName
1837
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1838
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1839
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1838
1840
  * @returns {string} A string representing the session.
1839
1841
  */
1840
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1841
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1842
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1843
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1842
1844
  }
1843
1845
  /**
1844
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1846
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1847
+ *
1848
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1849
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1850
+ * @returns {string} A string representing the answer.
1851
+ */
1852
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1853
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1854
+ }
1855
+ /**
1856
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1845
1857
  *
1846
1858
  * @param {string} project
1847
1859
  * @param {string} location
1848
1860
  * @param {string} collection
1849
1861
  * @param {string} data_store
1850
1862
  * @param {string} session
1851
- * @param {string} answer
1852
1863
  * @returns {string} Resource name string.
1853
1864
  */
1854
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1855
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1865
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1866
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1856
1867
  project: project,
1857
1868
  location: location,
1858
1869
  collection: collection,
1859
1870
  data_store: dataStore,
1860
1871
  session: session,
1861
- answer: answer,
1862
1872
  });
1863
1873
  }
1864
1874
  /**
1865
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1875
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1866
1876
  *
1867
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1868
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1877
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1878
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1869
1879
  * @returns {string} A string representing the project.
1870
1880
  */
1871
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1872
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1881
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1882
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1873
1883
  }
1874
1884
  /**
1875
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1885
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1876
1886
  *
1877
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1878
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1887
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1888
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1879
1889
  * @returns {string} A string representing the location.
1880
1890
  */
1881
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1882
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1891
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1892
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1883
1893
  }
1884
1894
  /**
1885
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1895
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1886
1896
  *
1887
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1888
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1897
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1898
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1889
1899
  * @returns {string} A string representing the collection.
1890
1900
  */
1891
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1892
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1901
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1902
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1893
1903
  }
1894
1904
  /**
1895
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1905
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1896
1906
  *
1897
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1898
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1907
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1908
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1899
1909
  * @returns {string} A string representing the data_store.
1900
1910
  */
1901
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1902
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1911
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1912
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1903
1913
  }
1904
1914
  /**
1905
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1915
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1906
1916
  *
1907
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1908
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1917
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1918
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1909
1919
  * @returns {string} A string representing the session.
1910
1920
  */
1911
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1912
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1913
- }
1914
- /**
1915
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1916
- *
1917
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1918
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1919
- * @returns {string} A string representing the answer.
1920
- */
1921
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1922
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1921
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1922
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1923
1923
  }
1924
1924
  /**
1925
1925
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2255,154 +2255,154 @@ class EvaluationServiceClient {
2255
2255
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2256
2256
  }
2257
2257
  /**
2258
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2258
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2259
2259
  *
2260
2260
  * @param {string} project
2261
2261
  * @param {string} location
2262
2262
  * @param {string} collection
2263
2263
  * @param {string} engine
2264
2264
  * @param {string} session
2265
+ * @param {string} answer
2265
2266
  * @returns {string} Resource name string.
2266
2267
  */
2267
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2268
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2268
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2269
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2269
2270
  project: project,
2270
2271
  location: location,
2271
2272
  collection: collection,
2272
2273
  engine: engine,
2273
2274
  session: session,
2275
+ answer: answer,
2274
2276
  });
2275
2277
  }
2276
2278
  /**
2277
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2279
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2278
2280
  *
2279
- * @param {string} projectLocationCollectionEngineSessionName
2280
- * A fully-qualified path representing project_location_collection_engine_session resource.
2281
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2282
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2281
2283
  * @returns {string} A string representing the project.
2282
2284
  */
2283
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2284
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2285
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2286
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2285
2287
  }
2286
2288
  /**
2287
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2289
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2288
2290
  *
2289
- * @param {string} projectLocationCollectionEngineSessionName
2290
- * A fully-qualified path representing project_location_collection_engine_session resource.
2291
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2292
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2291
2293
  * @returns {string} A string representing the location.
2292
2294
  */
2293
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2294
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2295
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2296
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2295
2297
  }
2296
2298
  /**
2297
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2299
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2298
2300
  *
2299
- * @param {string} projectLocationCollectionEngineSessionName
2300
- * A fully-qualified path representing project_location_collection_engine_session resource.
2301
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2302
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2301
2303
  * @returns {string} A string representing the collection.
2302
2304
  */
2303
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2304
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2305
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2306
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2305
2307
  }
2306
2308
  /**
2307
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2309
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2308
2310
  *
2309
- * @param {string} projectLocationCollectionEngineSessionName
2310
- * A fully-qualified path representing project_location_collection_engine_session resource.
2311
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2312
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2311
2313
  * @returns {string} A string representing the engine.
2312
2314
  */
2313
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2314
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2315
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2316
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2315
2317
  }
2316
2318
  /**
2317
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2319
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2318
2320
  *
2319
- * @param {string} projectLocationCollectionEngineSessionName
2320
- * A fully-qualified path representing project_location_collection_engine_session resource.
2321
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2322
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2321
2323
  * @returns {string} A string representing the session.
2322
2324
  */
2323
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2324
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2325
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2326
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2325
2327
  }
2326
2328
  /**
2327
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2329
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2330
+ *
2331
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2332
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2333
+ * @returns {string} A string representing the answer.
2334
+ */
2335
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2336
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2337
+ }
2338
+ /**
2339
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2328
2340
  *
2329
2341
  * @param {string} project
2330
2342
  * @param {string} location
2331
2343
  * @param {string} collection
2332
2344
  * @param {string} engine
2333
2345
  * @param {string} session
2334
- * @param {string} answer
2335
2346
  * @returns {string} Resource name string.
2336
2347
  */
2337
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2338
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2348
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2349
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2339
2350
  project: project,
2340
2351
  location: location,
2341
2352
  collection: collection,
2342
2353
  engine: engine,
2343
2354
  session: session,
2344
- answer: answer,
2345
2355
  });
2346
2356
  }
2347
2357
  /**
2348
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2358
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2349
2359
  *
2350
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2351
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2360
+ * @param {string} projectLocationCollectionEngineSessionsName
2361
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2352
2362
  * @returns {string} A string representing the project.
2353
2363
  */
2354
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2355
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2364
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2365
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2356
2366
  }
2357
2367
  /**
2358
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2368
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2359
2369
  *
2360
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2361
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2370
+ * @param {string} projectLocationCollectionEngineSessionsName
2371
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2362
2372
  * @returns {string} A string representing the location.
2363
2373
  */
2364
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2365
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2374
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2375
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2366
2376
  }
2367
2377
  /**
2368
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2378
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2369
2379
  *
2370
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2371
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2380
+ * @param {string} projectLocationCollectionEngineSessionsName
2381
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2372
2382
  * @returns {string} A string representing the collection.
2373
2383
  */
2374
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2375
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2384
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2385
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2376
2386
  }
2377
2387
  /**
2378
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2388
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2379
2389
  *
2380
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2381
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2390
+ * @param {string} projectLocationCollectionEngineSessionsName
2391
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2382
2392
  * @returns {string} A string representing the engine.
2383
2393
  */
2384
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2385
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2394
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2395
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2386
2396
  }
2387
2397
  /**
2388
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2398
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2389
2399
  *
2390
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2391
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2400
+ * @param {string} projectLocationCollectionEngineSessionsName
2401
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2392
2402
  * @returns {string} A string representing the session.
2393
2403
  */
2394
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2395
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2396
- }
2397
- /**
2398
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2399
- *
2400
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2401
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2402
- * @returns {string} A string representing the answer.
2403
- */
2404
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2405
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2404
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2405
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2406
2406
  }
2407
2407
  /**
2408
2408
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2929,63 +2929,6 @@ class EvaluationServiceClient {
2929
2929
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2930
2930
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2931
2931
  }
2932
- /**
2933
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2934
- *
2935
- * @param {string} project
2936
- * @param {string} location
2937
- * @param {string} data_store
2938
- * @param {string} session
2939
- * @returns {string} Resource name string.
2940
- */
2941
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2942
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2943
- project: project,
2944
- location: location,
2945
- data_store: dataStore,
2946
- session: session,
2947
- });
2948
- }
2949
- /**
2950
- * Parse the project from ProjectLocationDataStoreSession resource.
2951
- *
2952
- * @param {string} projectLocationDataStoreSessionName
2953
- * A fully-qualified path representing project_location_data_store_session resource.
2954
- * @returns {string} A string representing the project.
2955
- */
2956
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2957
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2958
- }
2959
- /**
2960
- * Parse the location from ProjectLocationDataStoreSession resource.
2961
- *
2962
- * @param {string} projectLocationDataStoreSessionName
2963
- * A fully-qualified path representing project_location_data_store_session resource.
2964
- * @returns {string} A string representing the location.
2965
- */
2966
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2967
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2968
- }
2969
- /**
2970
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2971
- *
2972
- * @param {string} projectLocationDataStoreSessionName
2973
- * A fully-qualified path representing project_location_data_store_session resource.
2974
- * @returns {string} A string representing the data_store.
2975
- */
2976
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2977
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2978
- }
2979
- /**
2980
- * Parse the session from ProjectLocationDataStoreSession resource.
2981
- *
2982
- * @param {string} projectLocationDataStoreSessionName
2983
- * A fully-qualified path representing project_location_data_store_session resource.
2984
- * @returns {string} A string representing the session.
2985
- */
2986
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2987
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2988
- }
2989
2932
  /**
2990
2933
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2991
2934
  *
@@ -3055,6 +2998,63 @@ class EvaluationServiceClient {
3055
2998
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3056
2999
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3057
3000
  }
3001
+ /**
3002
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3003
+ *
3004
+ * @param {string} project
3005
+ * @param {string} location
3006
+ * @param {string} data_store
3007
+ * @param {string} session
3008
+ * @returns {string} Resource name string.
3009
+ */
3010
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3011
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3012
+ project: project,
3013
+ location: location,
3014
+ data_store: dataStore,
3015
+ session: session,
3016
+ });
3017
+ }
3018
+ /**
3019
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3020
+ *
3021
+ * @param {string} projectLocationDataStoreSessionsName
3022
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3023
+ * @returns {string} A string representing the project.
3024
+ */
3025
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3026
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3027
+ }
3028
+ /**
3029
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3030
+ *
3031
+ * @param {string} projectLocationDataStoreSessionsName
3032
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3033
+ * @returns {string} A string representing the location.
3034
+ */
3035
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3036
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3037
+ }
3038
+ /**
3039
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3040
+ *
3041
+ * @param {string} projectLocationDataStoreSessionsName
3042
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3043
+ * @returns {string} A string representing the data_store.
3044
+ */
3045
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3046
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3047
+ }
3048
+ /**
3049
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3050
+ *
3051
+ * @param {string} projectLocationDataStoreSessionsName
3052
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3053
+ * @returns {string} A string representing the session.
3054
+ */
3055
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3056
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3057
+ }
3058
3058
  /**
3059
3059
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3060
3060
  *
@@ -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",