@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 DataStoreServiceClient {
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 DataStoreServiceClient {
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}'),
@@ -1808,154 +1808,154 @@ class DataStoreServiceClient {
1808
1808
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1809
1809
  }
1810
1810
  /**
1811
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1811
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1812
1812
  *
1813
1813
  * @param {string} project
1814
1814
  * @param {string} location
1815
1815
  * @param {string} collection
1816
1816
  * @param {string} data_store
1817
1817
  * @param {string} session
1818
+ * @param {string} answer
1818
1819
  * @returns {string} Resource name string.
1819
1820
  */
1820
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1821
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1821
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1822
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1822
1823
  project: project,
1823
1824
  location: location,
1824
1825
  collection: collection,
1825
1826
  data_store: dataStore,
1826
1827
  session: session,
1828
+ answer: answer,
1827
1829
  });
1828
1830
  }
1829
1831
  /**
1830
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1832
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1831
1833
  *
1832
- * @param {string} projectLocationCollectionDataStoreSessionName
1833
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1834
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1835
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1834
1836
  * @returns {string} A string representing the project.
1835
1837
  */
1836
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1837
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1838
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1839
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1838
1840
  }
1839
1841
  /**
1840
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1842
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1841
1843
  *
1842
- * @param {string} projectLocationCollectionDataStoreSessionName
1843
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1844
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1845
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1844
1846
  * @returns {string} A string representing the location.
1845
1847
  */
1846
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1847
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1848
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1849
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1848
1850
  }
1849
1851
  /**
1850
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1852
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1851
1853
  *
1852
- * @param {string} projectLocationCollectionDataStoreSessionName
1853
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1854
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1855
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1854
1856
  * @returns {string} A string representing the collection.
1855
1857
  */
1856
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1857
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1858
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1859
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1858
1860
  }
1859
1861
  /**
1860
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1862
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1861
1863
  *
1862
- * @param {string} projectLocationCollectionDataStoreSessionName
1863
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1864
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1865
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1864
1866
  * @returns {string} A string representing the data_store.
1865
1867
  */
1866
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1867
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1868
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1869
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1868
1870
  }
1869
1871
  /**
1870
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1872
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1871
1873
  *
1872
- * @param {string} projectLocationCollectionDataStoreSessionName
1873
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1874
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1875
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1874
1876
  * @returns {string} A string representing the session.
1875
1877
  */
1876
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1877
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1878
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1879
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1878
1880
  }
1879
1881
  /**
1880
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1882
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1883
+ *
1884
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1885
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1886
+ * @returns {string} A string representing the answer.
1887
+ */
1888
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1889
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1890
+ }
1891
+ /**
1892
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1881
1893
  *
1882
1894
  * @param {string} project
1883
1895
  * @param {string} location
1884
1896
  * @param {string} collection
1885
1897
  * @param {string} data_store
1886
1898
  * @param {string} session
1887
- * @param {string} answer
1888
1899
  * @returns {string} Resource name string.
1889
1900
  */
1890
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1891
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1901
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1902
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1892
1903
  project: project,
1893
1904
  location: location,
1894
1905
  collection: collection,
1895
1906
  data_store: dataStore,
1896
1907
  session: session,
1897
- answer: answer,
1898
1908
  });
1899
1909
  }
1900
1910
  /**
1901
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1911
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1902
1912
  *
1903
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1904
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1913
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1914
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1905
1915
  * @returns {string} A string representing the project.
1906
1916
  */
1907
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1908
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1917
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1918
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1909
1919
  }
1910
1920
  /**
1911
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1921
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1912
1922
  *
1913
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1914
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1923
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1924
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1915
1925
  * @returns {string} A string representing the location.
1916
1926
  */
1917
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1918
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1927
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1928
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1919
1929
  }
1920
1930
  /**
1921
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1931
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1922
1932
  *
1923
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1924
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1933
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1934
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1925
1935
  * @returns {string} A string representing the collection.
1926
1936
  */
1927
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1928
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1937
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1938
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1929
1939
  }
1930
1940
  /**
1931
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1941
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1932
1942
  *
1933
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1934
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1943
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1944
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1935
1945
  * @returns {string} A string representing the data_store.
1936
1946
  */
1937
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1938
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1947
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1948
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1939
1949
  }
1940
1950
  /**
1941
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1951
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1942
1952
  *
1943
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1944
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1953
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1954
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1945
1955
  * @returns {string} A string representing the session.
1946
1956
  */
1947
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1948
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1949
- }
1950
- /**
1951
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1952
- *
1953
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1954
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1955
- * @returns {string} A string representing the answer.
1956
- */
1957
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1958
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1957
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1958
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1959
1959
  }
1960
1960
  /**
1961
1961
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2291,154 +2291,154 @@ class DataStoreServiceClient {
2291
2291
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2292
2292
  }
2293
2293
  /**
2294
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2294
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2295
2295
  *
2296
2296
  * @param {string} project
2297
2297
  * @param {string} location
2298
2298
  * @param {string} collection
2299
2299
  * @param {string} engine
2300
2300
  * @param {string} session
2301
+ * @param {string} answer
2301
2302
  * @returns {string} Resource name string.
2302
2303
  */
2303
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2304
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2304
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2305
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2305
2306
  project: project,
2306
2307
  location: location,
2307
2308
  collection: collection,
2308
2309
  engine: engine,
2309
2310
  session: session,
2311
+ answer: answer,
2310
2312
  });
2311
2313
  }
2312
2314
  /**
2313
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2315
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2314
2316
  *
2315
- * @param {string} projectLocationCollectionEngineSessionName
2316
- * A fully-qualified path representing project_location_collection_engine_session resource.
2317
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2318
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2317
2319
  * @returns {string} A string representing the project.
2318
2320
  */
2319
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2320
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2321
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2322
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2321
2323
  }
2322
2324
  /**
2323
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2325
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2324
2326
  *
2325
- * @param {string} projectLocationCollectionEngineSessionName
2326
- * A fully-qualified path representing project_location_collection_engine_session resource.
2327
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2328
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2327
2329
  * @returns {string} A string representing the location.
2328
2330
  */
2329
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2330
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2331
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2332
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2331
2333
  }
2332
2334
  /**
2333
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2335
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2334
2336
  *
2335
- * @param {string} projectLocationCollectionEngineSessionName
2336
- * A fully-qualified path representing project_location_collection_engine_session resource.
2337
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2338
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2337
2339
  * @returns {string} A string representing the collection.
2338
2340
  */
2339
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2340
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2341
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2342
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2341
2343
  }
2342
2344
  /**
2343
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2345
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2344
2346
  *
2345
- * @param {string} projectLocationCollectionEngineSessionName
2346
- * A fully-qualified path representing project_location_collection_engine_session resource.
2347
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2348
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2347
2349
  * @returns {string} A string representing the engine.
2348
2350
  */
2349
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2350
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2351
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2352
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2351
2353
  }
2352
2354
  /**
2353
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2355
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2354
2356
  *
2355
- * @param {string} projectLocationCollectionEngineSessionName
2356
- * A fully-qualified path representing project_location_collection_engine_session resource.
2357
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2358
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2357
2359
  * @returns {string} A string representing the session.
2358
2360
  */
2359
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2360
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2361
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2362
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2361
2363
  }
2362
2364
  /**
2363
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2365
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2366
+ *
2367
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2368
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2369
+ * @returns {string} A string representing the answer.
2370
+ */
2371
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2372
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2373
+ }
2374
+ /**
2375
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2364
2376
  *
2365
2377
  * @param {string} project
2366
2378
  * @param {string} location
2367
2379
  * @param {string} collection
2368
2380
  * @param {string} engine
2369
2381
  * @param {string} session
2370
- * @param {string} answer
2371
2382
  * @returns {string} Resource name string.
2372
2383
  */
2373
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2374
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2384
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2385
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2375
2386
  project: project,
2376
2387
  location: location,
2377
2388
  collection: collection,
2378
2389
  engine: engine,
2379
2390
  session: session,
2380
- answer: answer,
2381
2391
  });
2382
2392
  }
2383
2393
  /**
2384
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2394
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2385
2395
  *
2386
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2387
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2396
+ * @param {string} projectLocationCollectionEngineSessionsName
2397
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2388
2398
  * @returns {string} A string representing the project.
2389
2399
  */
2390
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2391
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2400
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2401
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2392
2402
  }
2393
2403
  /**
2394
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2404
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2395
2405
  *
2396
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2397
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2406
+ * @param {string} projectLocationCollectionEngineSessionsName
2407
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2398
2408
  * @returns {string} A string representing the location.
2399
2409
  */
2400
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2401
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2410
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2411
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2402
2412
  }
2403
2413
  /**
2404
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2414
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2405
2415
  *
2406
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2407
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2416
+ * @param {string} projectLocationCollectionEngineSessionsName
2417
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2408
2418
  * @returns {string} A string representing the collection.
2409
2419
  */
2410
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2411
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2420
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2421
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2412
2422
  }
2413
2423
  /**
2414
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2424
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2415
2425
  *
2416
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2417
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2426
+ * @param {string} projectLocationCollectionEngineSessionsName
2427
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2418
2428
  * @returns {string} A string representing the engine.
2419
2429
  */
2420
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2421
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2430
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2431
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2422
2432
  }
2423
2433
  /**
2424
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2434
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2425
2435
  *
2426
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2427
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2436
+ * @param {string} projectLocationCollectionEngineSessionsName
2437
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2428
2438
  * @returns {string} A string representing the session.
2429
2439
  */
2430
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2431
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2432
- }
2433
- /**
2434
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2435
- *
2436
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2437
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2438
- * @returns {string} A string representing the answer.
2439
- */
2440
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2441
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2440
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2441
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2442
2442
  }
2443
2443
  /**
2444
2444
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2965,63 +2965,6 @@ class DataStoreServiceClient {
2965
2965
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2966
2966
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2967
2967
  }
2968
- /**
2969
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2970
- *
2971
- * @param {string} project
2972
- * @param {string} location
2973
- * @param {string} data_store
2974
- * @param {string} session
2975
- * @returns {string} Resource name string.
2976
- */
2977
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2978
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2979
- project: project,
2980
- location: location,
2981
- data_store: dataStore,
2982
- session: session,
2983
- });
2984
- }
2985
- /**
2986
- * Parse the project from ProjectLocationDataStoreSession resource.
2987
- *
2988
- * @param {string} projectLocationDataStoreSessionName
2989
- * A fully-qualified path representing project_location_data_store_session resource.
2990
- * @returns {string} A string representing the project.
2991
- */
2992
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2993
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2994
- }
2995
- /**
2996
- * Parse the location from ProjectLocationDataStoreSession resource.
2997
- *
2998
- * @param {string} projectLocationDataStoreSessionName
2999
- * A fully-qualified path representing project_location_data_store_session resource.
3000
- * @returns {string} A string representing the location.
3001
- */
3002
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3003
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3004
- }
3005
- /**
3006
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3007
- *
3008
- * @param {string} projectLocationDataStoreSessionName
3009
- * A fully-qualified path representing project_location_data_store_session resource.
3010
- * @returns {string} A string representing the data_store.
3011
- */
3012
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3013
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3014
- }
3015
- /**
3016
- * Parse the session from ProjectLocationDataStoreSession resource.
3017
- *
3018
- * @param {string} projectLocationDataStoreSessionName
3019
- * A fully-qualified path representing project_location_data_store_session resource.
3020
- * @returns {string} A string representing the session.
3021
- */
3022
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3023
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3024
- }
3025
2968
  /**
3026
2969
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3027
2970
  *
@@ -3091,6 +3034,63 @@ class DataStoreServiceClient {
3091
3034
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3092
3035
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3093
3036
  }
3037
+ /**
3038
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3039
+ *
3040
+ * @param {string} project
3041
+ * @param {string} location
3042
+ * @param {string} data_store
3043
+ * @param {string} session
3044
+ * @returns {string} Resource name string.
3045
+ */
3046
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3047
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3048
+ project: project,
3049
+ location: location,
3050
+ data_store: dataStore,
3051
+ session: session,
3052
+ });
3053
+ }
3054
+ /**
3055
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3056
+ *
3057
+ * @param {string} projectLocationDataStoreSessionsName
3058
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3059
+ * @returns {string} A string representing the project.
3060
+ */
3061
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3062
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3063
+ }
3064
+ /**
3065
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3066
+ *
3067
+ * @param {string} projectLocationDataStoreSessionsName
3068
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3069
+ * @returns {string} A string representing the location.
3070
+ */
3071
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3072
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3073
+ }
3074
+ /**
3075
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3076
+ *
3077
+ * @param {string} projectLocationDataStoreSessionsName
3078
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3079
+ * @returns {string} A string representing the data_store.
3080
+ */
3081
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3082
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3083
+ }
3084
+ /**
3085
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3086
+ *
3087
+ * @param {string} projectLocationDataStoreSessionsName
3088
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3089
+ * @returns {string} A string representing the session.
3090
+ */
3091
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3092
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3093
+ }
3094
3094
  /**
3095
3095
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3096
3096
  *
@@ -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",