@google-cloud/discoveryengine 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -176,15 +176,15 @@ class SchemaServiceClient {
176
176
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
177
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
178
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
179
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
180
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
181
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
182
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
183
183
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
184
184
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
185
185
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
186
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
186
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
187
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
188
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
189
189
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
190
190
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -194,8 +194,8 @@ class SchemaServiceClient {
194
194
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
195
195
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
196
196
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
197
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
197
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
198
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
199
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
200
200
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
201
201
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -1686,154 +1686,154 @@ class SchemaServiceClient {
1686
1686
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1687
1687
  }
1688
1688
  /**
1689
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1689
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1690
1690
  *
1691
1691
  * @param {string} project
1692
1692
  * @param {string} location
1693
1693
  * @param {string} collection
1694
1694
  * @param {string} data_store
1695
1695
  * @param {string} session
1696
+ * @param {string} answer
1696
1697
  * @returns {string} Resource name string.
1697
1698
  */
1698
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1699
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1699
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1700
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1700
1701
  project: project,
1701
1702
  location: location,
1702
1703
  collection: collection,
1703
1704
  data_store: dataStore,
1704
1705
  session: session,
1706
+ answer: answer,
1705
1707
  });
1706
1708
  }
1707
1709
  /**
1708
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1710
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1709
1711
  *
1710
- * @param {string} projectLocationCollectionDataStoreSessionName
1711
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1712
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1713
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1712
1714
  * @returns {string} A string representing the project.
1713
1715
  */
1714
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1715
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1716
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1717
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1716
1718
  }
1717
1719
  /**
1718
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1720
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1719
1721
  *
1720
- * @param {string} projectLocationCollectionDataStoreSessionName
1721
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1722
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1723
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1722
1724
  * @returns {string} A string representing the location.
1723
1725
  */
1724
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1725
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1726
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1727
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1726
1728
  }
1727
1729
  /**
1728
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1730
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1729
1731
  *
1730
- * @param {string} projectLocationCollectionDataStoreSessionName
1731
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1732
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1733
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1732
1734
  * @returns {string} A string representing the collection.
1733
1735
  */
1734
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1735
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1736
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1737
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1736
1738
  }
1737
1739
  /**
1738
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1740
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1739
1741
  *
1740
- * @param {string} projectLocationCollectionDataStoreSessionName
1741
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1742
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1743
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1742
1744
  * @returns {string} A string representing the data_store.
1743
1745
  */
1744
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1745
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1746
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1747
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1746
1748
  }
1747
1749
  /**
1748
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1750
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1749
1751
  *
1750
- * @param {string} projectLocationCollectionDataStoreSessionName
1751
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1752
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1753
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1752
1754
  * @returns {string} A string representing the session.
1753
1755
  */
1754
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1755
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1756
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1757
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1756
1758
  }
1757
1759
  /**
1758
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1760
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1761
+ *
1762
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1763
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1764
+ * @returns {string} A string representing the answer.
1765
+ */
1766
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1767
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1768
+ }
1769
+ /**
1770
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1759
1771
  *
1760
1772
  * @param {string} project
1761
1773
  * @param {string} location
1762
1774
  * @param {string} collection
1763
1775
  * @param {string} data_store
1764
1776
  * @param {string} session
1765
- * @param {string} answer
1766
1777
  * @returns {string} Resource name string.
1767
1778
  */
1768
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1769
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1779
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1780
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1770
1781
  project: project,
1771
1782
  location: location,
1772
1783
  collection: collection,
1773
1784
  data_store: dataStore,
1774
1785
  session: session,
1775
- answer: answer,
1776
1786
  });
1777
1787
  }
1778
1788
  /**
1779
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1789
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1780
1790
  *
1781
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1782
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1791
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1792
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1783
1793
  * @returns {string} A string representing the project.
1784
1794
  */
1785
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1786
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1795
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1796
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1787
1797
  }
1788
1798
  /**
1789
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1799
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1790
1800
  *
1791
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1792
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1801
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1802
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1793
1803
  * @returns {string} A string representing the location.
1794
1804
  */
1795
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1796
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1805
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1806
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1797
1807
  }
1798
1808
  /**
1799
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1809
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1800
1810
  *
1801
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1802
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1811
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1812
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1803
1813
  * @returns {string} A string representing the collection.
1804
1814
  */
1805
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1806
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1815
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1816
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1807
1817
  }
1808
1818
  /**
1809
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1819
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1810
1820
  *
1811
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1812
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1821
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1822
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1813
1823
  * @returns {string} A string representing the data_store.
1814
1824
  */
1815
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1816
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1825
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1826
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1817
1827
  }
1818
1828
  /**
1819
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1829
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1820
1830
  *
1821
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1822
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1831
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1832
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1823
1833
  * @returns {string} A string representing the session.
1824
1834
  */
1825
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1826
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1827
- }
1828
- /**
1829
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1830
- *
1831
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1832
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1833
- * @returns {string} A string representing the answer.
1834
- */
1835
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1836
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1835
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1836
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1837
1837
  }
1838
1838
  /**
1839
1839
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2169,154 +2169,154 @@ class SchemaServiceClient {
2169
2169
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2170
2170
  }
2171
2171
  /**
2172
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2172
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2173
2173
  *
2174
2174
  * @param {string} project
2175
2175
  * @param {string} location
2176
2176
  * @param {string} collection
2177
2177
  * @param {string} engine
2178
2178
  * @param {string} session
2179
+ * @param {string} answer
2179
2180
  * @returns {string} Resource name string.
2180
2181
  */
2181
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2182
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2182
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2183
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2183
2184
  project: project,
2184
2185
  location: location,
2185
2186
  collection: collection,
2186
2187
  engine: engine,
2187
2188
  session: session,
2189
+ answer: answer,
2188
2190
  });
2189
2191
  }
2190
2192
  /**
2191
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2193
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2192
2194
  *
2193
- * @param {string} projectLocationCollectionEngineSessionName
2194
- * A fully-qualified path representing project_location_collection_engine_session resource.
2195
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2196
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2195
2197
  * @returns {string} A string representing the project.
2196
2198
  */
2197
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2198
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2199
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2200
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2199
2201
  }
2200
2202
  /**
2201
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2203
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2202
2204
  *
2203
- * @param {string} projectLocationCollectionEngineSessionName
2204
- * A fully-qualified path representing project_location_collection_engine_session resource.
2205
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2206
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2205
2207
  * @returns {string} A string representing the location.
2206
2208
  */
2207
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2208
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2209
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2210
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2209
2211
  }
2210
2212
  /**
2211
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2213
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2212
2214
  *
2213
- * @param {string} projectLocationCollectionEngineSessionName
2214
- * A fully-qualified path representing project_location_collection_engine_session resource.
2215
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2216
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2215
2217
  * @returns {string} A string representing the collection.
2216
2218
  */
2217
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2218
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2219
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2220
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2219
2221
  }
2220
2222
  /**
2221
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2223
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2222
2224
  *
2223
- * @param {string} projectLocationCollectionEngineSessionName
2224
- * A fully-qualified path representing project_location_collection_engine_session resource.
2225
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2226
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2225
2227
  * @returns {string} A string representing the engine.
2226
2228
  */
2227
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2228
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2229
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2230
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2229
2231
  }
2230
2232
  /**
2231
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2233
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2232
2234
  *
2233
- * @param {string} projectLocationCollectionEngineSessionName
2234
- * A fully-qualified path representing project_location_collection_engine_session resource.
2235
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2236
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2235
2237
  * @returns {string} A string representing the session.
2236
2238
  */
2237
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2238
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2239
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2240
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2239
2241
  }
2240
2242
  /**
2241
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2243
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2244
+ *
2245
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2246
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2247
+ * @returns {string} A string representing the answer.
2248
+ */
2249
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2250
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2251
+ }
2252
+ /**
2253
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2242
2254
  *
2243
2255
  * @param {string} project
2244
2256
  * @param {string} location
2245
2257
  * @param {string} collection
2246
2258
  * @param {string} engine
2247
2259
  * @param {string} session
2248
- * @param {string} answer
2249
2260
  * @returns {string} Resource name string.
2250
2261
  */
2251
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2252
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2262
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2263
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2253
2264
  project: project,
2254
2265
  location: location,
2255
2266
  collection: collection,
2256
2267
  engine: engine,
2257
2268
  session: session,
2258
- answer: answer,
2259
2269
  });
2260
2270
  }
2261
2271
  /**
2262
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2272
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2263
2273
  *
2264
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2265
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2274
+ * @param {string} projectLocationCollectionEngineSessionsName
2275
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2266
2276
  * @returns {string} A string representing the project.
2267
2277
  */
2268
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2269
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2278
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2279
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2270
2280
  }
2271
2281
  /**
2272
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2282
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2273
2283
  *
2274
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2275
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2284
+ * @param {string} projectLocationCollectionEngineSessionsName
2285
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2276
2286
  * @returns {string} A string representing the location.
2277
2287
  */
2278
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2279
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2288
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2289
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2280
2290
  }
2281
2291
  /**
2282
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2292
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2283
2293
  *
2284
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2285
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2294
+ * @param {string} projectLocationCollectionEngineSessionsName
2295
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2286
2296
  * @returns {string} A string representing the collection.
2287
2297
  */
2288
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2289
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2298
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2299
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2290
2300
  }
2291
2301
  /**
2292
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2302
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2293
2303
  *
2294
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2295
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2304
+ * @param {string} projectLocationCollectionEngineSessionsName
2305
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2296
2306
  * @returns {string} A string representing the engine.
2297
2307
  */
2298
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2299
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2308
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2309
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2300
2310
  }
2301
2311
  /**
2302
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2312
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2303
2313
  *
2304
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2305
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2314
+ * @param {string} projectLocationCollectionEngineSessionsName
2315
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2306
2316
  * @returns {string} A string representing the session.
2307
2317
  */
2308
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2309
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2310
- }
2311
- /**
2312
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2313
- *
2314
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2315
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2316
- * @returns {string} A string representing the answer.
2317
- */
2318
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2319
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2318
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2319
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2320
2320
  }
2321
2321
  /**
2322
2322
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2843,63 +2843,6 @@ class SchemaServiceClient {
2843
2843
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2844
2844
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2845
2845
  }
2846
- /**
2847
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2848
- *
2849
- * @param {string} project
2850
- * @param {string} location
2851
- * @param {string} data_store
2852
- * @param {string} session
2853
- * @returns {string} Resource name string.
2854
- */
2855
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2856
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2857
- project: project,
2858
- location: location,
2859
- data_store: dataStore,
2860
- session: session,
2861
- });
2862
- }
2863
- /**
2864
- * Parse the project from ProjectLocationDataStoreSession resource.
2865
- *
2866
- * @param {string} projectLocationDataStoreSessionName
2867
- * A fully-qualified path representing project_location_data_store_session resource.
2868
- * @returns {string} A string representing the project.
2869
- */
2870
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2871
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2872
- }
2873
- /**
2874
- * Parse the location from ProjectLocationDataStoreSession resource.
2875
- *
2876
- * @param {string} projectLocationDataStoreSessionName
2877
- * A fully-qualified path representing project_location_data_store_session resource.
2878
- * @returns {string} A string representing the location.
2879
- */
2880
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2881
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2882
- }
2883
- /**
2884
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2885
- *
2886
- * @param {string} projectLocationDataStoreSessionName
2887
- * A fully-qualified path representing project_location_data_store_session resource.
2888
- * @returns {string} A string representing the data_store.
2889
- */
2890
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2891
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2892
- }
2893
- /**
2894
- * Parse the session from ProjectLocationDataStoreSession resource.
2895
- *
2896
- * @param {string} projectLocationDataStoreSessionName
2897
- * A fully-qualified path representing project_location_data_store_session resource.
2898
- * @returns {string} A string representing the session.
2899
- */
2900
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2901
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2902
- }
2903
2846
  /**
2904
2847
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2905
2848
  *
@@ -2969,6 +2912,63 @@ class SchemaServiceClient {
2969
2912
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2970
2913
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2971
2914
  }
2915
+ /**
2916
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2917
+ *
2918
+ * @param {string} project
2919
+ * @param {string} location
2920
+ * @param {string} data_store
2921
+ * @param {string} session
2922
+ * @returns {string} Resource name string.
2923
+ */
2924
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2925
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2926
+ project: project,
2927
+ location: location,
2928
+ data_store: dataStore,
2929
+ session: session,
2930
+ });
2931
+ }
2932
+ /**
2933
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2934
+ *
2935
+ * @param {string} projectLocationDataStoreSessionsName
2936
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2937
+ * @returns {string} A string representing the project.
2938
+ */
2939
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2940
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2941
+ }
2942
+ /**
2943
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2944
+ *
2945
+ * @param {string} projectLocationDataStoreSessionsName
2946
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2947
+ * @returns {string} A string representing the location.
2948
+ */
2949
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2950
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2951
+ }
2952
+ /**
2953
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2954
+ *
2955
+ * @param {string} projectLocationDataStoreSessionsName
2956
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2957
+ * @returns {string} A string representing the data_store.
2958
+ */
2959
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2960
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2961
+ }
2962
+ /**
2963
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2964
+ *
2965
+ * @param {string} projectLocationDataStoreSessionsName
2966
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2967
+ * @returns {string} A string representing the session.
2968
+ */
2969
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2970
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2971
+ }
2972
2972
  /**
2973
2973
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2974
2974
  *
@@ -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",