@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
@@ -179,15 +179,15 @@ class DocumentServiceClient {
179
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
180
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
181
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
182
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
183
182
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
183
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
184
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
185
185
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
186
186
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
187
187
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
188
188
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
189
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
189
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
190
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
191
191
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
192
192
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
193
193
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
@@ -198,8 +198,8 @@ class DocumentServiceClient {
198
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
199
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
200
200
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
201
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
202
201
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
202
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
203
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
204
204
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
205
205
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -1904,154 +1904,154 @@ class DocumentServiceClient {
1904
1904
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1905
1905
  }
1906
1906
  /**
1907
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1907
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1908
1908
  *
1909
1909
  * @param {string} project
1910
1910
  * @param {string} location
1911
1911
  * @param {string} collection
1912
1912
  * @param {string} data_store
1913
1913
  * @param {string} session
1914
+ * @param {string} answer
1914
1915
  * @returns {string} Resource name string.
1915
1916
  */
1916
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1917
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1917
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1918
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1918
1919
  project: project,
1919
1920
  location: location,
1920
1921
  collection: collection,
1921
1922
  data_store: dataStore,
1922
1923
  session: session,
1924
+ answer: answer,
1923
1925
  });
1924
1926
  }
1925
1927
  /**
1926
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1928
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1927
1929
  *
1928
- * @param {string} projectLocationCollectionDataStoreSessionName
1929
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1930
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1931
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1930
1932
  * @returns {string} A string representing the project.
1931
1933
  */
1932
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1933
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1934
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1935
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1934
1936
  }
1935
1937
  /**
1936
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1938
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1937
1939
  *
1938
- * @param {string} projectLocationCollectionDataStoreSessionName
1939
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1940
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1941
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1940
1942
  * @returns {string} A string representing the location.
1941
1943
  */
1942
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1943
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1944
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1945
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1944
1946
  }
1945
1947
  /**
1946
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1948
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1947
1949
  *
1948
- * @param {string} projectLocationCollectionDataStoreSessionName
1949
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1950
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1951
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1950
1952
  * @returns {string} A string representing the collection.
1951
1953
  */
1952
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1953
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1954
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1955
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1954
1956
  }
1955
1957
  /**
1956
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1958
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1957
1959
  *
1958
- * @param {string} projectLocationCollectionDataStoreSessionName
1959
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1960
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1961
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1960
1962
  * @returns {string} A string representing the data_store.
1961
1963
  */
1962
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1963
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1964
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1965
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1964
1966
  }
1965
1967
  /**
1966
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1968
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1967
1969
  *
1968
- * @param {string} projectLocationCollectionDataStoreSessionName
1969
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1970
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1971
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1970
1972
  * @returns {string} A string representing the session.
1971
1973
  */
1972
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1973
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1974
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1975
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1974
1976
  }
1975
1977
  /**
1976
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1978
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1979
+ *
1980
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1981
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1982
+ * @returns {string} A string representing the answer.
1983
+ */
1984
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1985
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1986
+ }
1987
+ /**
1988
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1977
1989
  *
1978
1990
  * @param {string} project
1979
1991
  * @param {string} location
1980
1992
  * @param {string} collection
1981
1993
  * @param {string} data_store
1982
1994
  * @param {string} session
1983
- * @param {string} answer
1984
1995
  * @returns {string} Resource name string.
1985
1996
  */
1986
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1987
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1997
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1998
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1988
1999
  project: project,
1989
2000
  location: location,
1990
2001
  collection: collection,
1991
2002
  data_store: dataStore,
1992
2003
  session: session,
1993
- answer: answer,
1994
2004
  });
1995
2005
  }
1996
2006
  /**
1997
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2007
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1998
2008
  *
1999
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2000
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2009
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2010
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2001
2011
  * @returns {string} A string representing the project.
2002
2012
  */
2003
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2004
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2013
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2014
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
2005
2015
  }
2006
2016
  /**
2007
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2017
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
2008
2018
  *
2009
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2010
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2019
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2020
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2011
2021
  * @returns {string} A string representing the location.
2012
2022
  */
2013
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2014
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2023
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2024
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
2015
2025
  }
2016
2026
  /**
2017
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2027
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
2018
2028
  *
2019
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2020
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2029
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2030
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2021
2031
  * @returns {string} A string representing the collection.
2022
2032
  */
2023
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2024
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2033
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2034
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
2025
2035
  }
2026
2036
  /**
2027
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2037
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
2028
2038
  *
2029
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2030
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2039
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2040
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2031
2041
  * @returns {string} A string representing the data_store.
2032
2042
  */
2033
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2034
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2043
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2044
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
2035
2045
  }
2036
2046
  /**
2037
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2047
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
2038
2048
  *
2039
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2040
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2049
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2050
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2041
2051
  * @returns {string} A string representing the session.
2042
2052
  */
2043
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2044
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2045
- }
2046
- /**
2047
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2048
- *
2049
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2050
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2051
- * @returns {string} A string representing the answer.
2052
- */
2053
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2054
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2053
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2054
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2055
2055
  }
2056
2056
  /**
2057
2057
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2387,154 +2387,154 @@ class DocumentServiceClient {
2387
2387
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2388
2388
  }
2389
2389
  /**
2390
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2390
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2391
2391
  *
2392
2392
  * @param {string} project
2393
2393
  * @param {string} location
2394
2394
  * @param {string} collection
2395
2395
  * @param {string} engine
2396
2396
  * @param {string} session
2397
+ * @param {string} answer
2397
2398
  * @returns {string} Resource name string.
2398
2399
  */
2399
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2400
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2400
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2401
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2401
2402
  project: project,
2402
2403
  location: location,
2403
2404
  collection: collection,
2404
2405
  engine: engine,
2405
2406
  session: session,
2407
+ answer: answer,
2406
2408
  });
2407
2409
  }
2408
2410
  /**
2409
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2411
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2410
2412
  *
2411
- * @param {string} projectLocationCollectionEngineSessionName
2412
- * A fully-qualified path representing project_location_collection_engine_session resource.
2413
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2414
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2413
2415
  * @returns {string} A string representing the project.
2414
2416
  */
2415
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2416
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2417
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2418
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2417
2419
  }
2418
2420
  /**
2419
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2421
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2420
2422
  *
2421
- * @param {string} projectLocationCollectionEngineSessionName
2422
- * A fully-qualified path representing project_location_collection_engine_session resource.
2423
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2424
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2423
2425
  * @returns {string} A string representing the location.
2424
2426
  */
2425
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2426
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2427
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2428
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2427
2429
  }
2428
2430
  /**
2429
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2431
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2430
2432
  *
2431
- * @param {string} projectLocationCollectionEngineSessionName
2432
- * A fully-qualified path representing project_location_collection_engine_session resource.
2433
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2434
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2433
2435
  * @returns {string} A string representing the collection.
2434
2436
  */
2435
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2436
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2437
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2438
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2437
2439
  }
2438
2440
  /**
2439
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2441
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2440
2442
  *
2441
- * @param {string} projectLocationCollectionEngineSessionName
2442
- * A fully-qualified path representing project_location_collection_engine_session resource.
2443
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2444
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2443
2445
  * @returns {string} A string representing the engine.
2444
2446
  */
2445
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2446
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2447
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2448
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2447
2449
  }
2448
2450
  /**
2449
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2451
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2450
2452
  *
2451
- * @param {string} projectLocationCollectionEngineSessionName
2452
- * A fully-qualified path representing project_location_collection_engine_session resource.
2453
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2454
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2453
2455
  * @returns {string} A string representing the session.
2454
2456
  */
2455
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2456
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2457
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2458
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2457
2459
  }
2458
2460
  /**
2459
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2461
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2462
+ *
2463
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2464
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2465
+ * @returns {string} A string representing the answer.
2466
+ */
2467
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2468
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2469
+ }
2470
+ /**
2471
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2460
2472
  *
2461
2473
  * @param {string} project
2462
2474
  * @param {string} location
2463
2475
  * @param {string} collection
2464
2476
  * @param {string} engine
2465
2477
  * @param {string} session
2466
- * @param {string} answer
2467
2478
  * @returns {string} Resource name string.
2468
2479
  */
2469
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2470
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2480
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2481
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2471
2482
  project: project,
2472
2483
  location: location,
2473
2484
  collection: collection,
2474
2485
  engine: engine,
2475
2486
  session: session,
2476
- answer: answer,
2477
2487
  });
2478
2488
  }
2479
2489
  /**
2480
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2490
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2481
2491
  *
2482
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2483
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2492
+ * @param {string} projectLocationCollectionEngineSessionsName
2493
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2484
2494
  * @returns {string} A string representing the project.
2485
2495
  */
2486
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2487
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2496
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2497
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2488
2498
  }
2489
2499
  /**
2490
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2500
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2491
2501
  *
2492
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2493
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2502
+ * @param {string} projectLocationCollectionEngineSessionsName
2503
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2494
2504
  * @returns {string} A string representing the location.
2495
2505
  */
2496
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2497
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2506
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2507
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2498
2508
  }
2499
2509
  /**
2500
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2510
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2501
2511
  *
2502
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2503
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2512
+ * @param {string} projectLocationCollectionEngineSessionsName
2513
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2504
2514
  * @returns {string} A string representing the collection.
2505
2515
  */
2506
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2507
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2516
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2517
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2508
2518
  }
2509
2519
  /**
2510
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2520
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2511
2521
  *
2512
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2513
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2522
+ * @param {string} projectLocationCollectionEngineSessionsName
2523
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2514
2524
  * @returns {string} A string representing the engine.
2515
2525
  */
2516
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2517
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2526
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2527
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2518
2528
  }
2519
2529
  /**
2520
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2530
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2521
2531
  *
2522
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2523
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2532
+ * @param {string} projectLocationCollectionEngineSessionsName
2533
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2524
2534
  * @returns {string} A string representing the session.
2525
2535
  */
2526
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2527
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2528
- }
2529
- /**
2530
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2531
- *
2532
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2533
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2534
- * @returns {string} A string representing the answer.
2535
- */
2536
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2537
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2536
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2537
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2538
2538
  }
2539
2539
  /**
2540
2540
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3118,63 +3118,6 @@ class DocumentServiceClient {
3118
3118
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3119
3119
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3120
3120
  }
3121
- /**
3122
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3123
- *
3124
- * @param {string} project
3125
- * @param {string} location
3126
- * @param {string} data_store
3127
- * @param {string} session
3128
- * @returns {string} Resource name string.
3129
- */
3130
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3131
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3132
- project: project,
3133
- location: location,
3134
- data_store: dataStore,
3135
- session: session,
3136
- });
3137
- }
3138
- /**
3139
- * Parse the project from ProjectLocationDataStoreSession resource.
3140
- *
3141
- * @param {string} projectLocationDataStoreSessionName
3142
- * A fully-qualified path representing project_location_data_store_session resource.
3143
- * @returns {string} A string representing the project.
3144
- */
3145
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3146
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3147
- }
3148
- /**
3149
- * Parse the location from ProjectLocationDataStoreSession resource.
3150
- *
3151
- * @param {string} projectLocationDataStoreSessionName
3152
- * A fully-qualified path representing project_location_data_store_session resource.
3153
- * @returns {string} A string representing the location.
3154
- */
3155
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3156
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3157
- }
3158
- /**
3159
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3160
- *
3161
- * @param {string} projectLocationDataStoreSessionName
3162
- * A fully-qualified path representing project_location_data_store_session resource.
3163
- * @returns {string} A string representing the data_store.
3164
- */
3165
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3166
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3167
- }
3168
- /**
3169
- * Parse the session from ProjectLocationDataStoreSession resource.
3170
- *
3171
- * @param {string} projectLocationDataStoreSessionName
3172
- * A fully-qualified path representing project_location_data_store_session resource.
3173
- * @returns {string} A string representing the session.
3174
- */
3175
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3176
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3177
- }
3178
3121
  /**
3179
3122
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3180
3123
  *
@@ -3244,6 +3187,63 @@ class DocumentServiceClient {
3244
3187
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3245
3188
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3246
3189
  }
3190
+ /**
3191
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3192
+ *
3193
+ * @param {string} project
3194
+ * @param {string} location
3195
+ * @param {string} data_store
3196
+ * @param {string} session
3197
+ * @returns {string} Resource name string.
3198
+ */
3199
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3200
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3201
+ project: project,
3202
+ location: location,
3203
+ data_store: dataStore,
3204
+ session: session,
3205
+ });
3206
+ }
3207
+ /**
3208
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3209
+ *
3210
+ * @param {string} projectLocationDataStoreSessionsName
3211
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3212
+ * @returns {string} A string representing the project.
3213
+ */
3214
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3215
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3216
+ }
3217
+ /**
3218
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3219
+ *
3220
+ * @param {string} projectLocationDataStoreSessionsName
3221
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3222
+ * @returns {string} A string representing the location.
3223
+ */
3224
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3225
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3226
+ }
3227
+ /**
3228
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3229
+ *
3230
+ * @param {string} projectLocationDataStoreSessionsName
3231
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3232
+ * @returns {string} A string representing the data_store.
3233
+ */
3234
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3235
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3236
+ }
3237
+ /**
3238
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3239
+ *
3240
+ * @param {string} projectLocationDataStoreSessionsName
3241
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3242
+ * @returns {string} A string representing the session.
3243
+ */
3244
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3245
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3246
+ }
3247
3247
  /**
3248
3248
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3249
3249
  *
@@ -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",