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