@google-cloud/discoveryengine 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -176,15 +176,15 @@ class CompletionServiceClient {
176
176
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
177
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
178
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
179
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
180
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
181
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
182
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
183
183
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
184
184
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
185
185
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
186
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
186
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
187
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
188
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
189
189
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
190
190
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -194,8 +194,8 @@ class CompletionServiceClient {
194
194
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
195
195
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
196
196
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
197
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
197
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
198
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
199
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
200
200
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
201
201
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -1598,154 +1598,154 @@ class CompletionServiceClient {
1598
1598
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1599
1599
  }
1600
1600
  /**
1601
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1601
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1602
1602
  *
1603
1603
  * @param {string} project
1604
1604
  * @param {string} location
1605
1605
  * @param {string} collection
1606
1606
  * @param {string} data_store
1607
1607
  * @param {string} session
1608
+ * @param {string} answer
1608
1609
  * @returns {string} Resource name string.
1609
1610
  */
1610
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1611
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1611
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1612
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1612
1613
  project: project,
1613
1614
  location: location,
1614
1615
  collection: collection,
1615
1616
  data_store: dataStore,
1616
1617
  session: session,
1618
+ answer: answer,
1617
1619
  });
1618
1620
  }
1619
1621
  /**
1620
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1622
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1621
1623
  *
1622
- * @param {string} projectLocationCollectionDataStoreSessionName
1623
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1624
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1625
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1624
1626
  * @returns {string} A string representing the project.
1625
1627
  */
1626
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1627
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1628
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1629
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1628
1630
  }
1629
1631
  /**
1630
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1632
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1631
1633
  *
1632
- * @param {string} projectLocationCollectionDataStoreSessionName
1633
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1634
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1635
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1634
1636
  * @returns {string} A string representing the location.
1635
1637
  */
1636
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1637
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1638
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1639
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1638
1640
  }
1639
1641
  /**
1640
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1642
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1641
1643
  *
1642
- * @param {string} projectLocationCollectionDataStoreSessionName
1643
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1644
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1645
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1644
1646
  * @returns {string} A string representing the collection.
1645
1647
  */
1646
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1647
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1648
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1649
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1648
1650
  }
1649
1651
  /**
1650
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1652
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1651
1653
  *
1652
- * @param {string} projectLocationCollectionDataStoreSessionName
1653
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1654
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1655
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1654
1656
  * @returns {string} A string representing the data_store.
1655
1657
  */
1656
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1657
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1658
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1659
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1658
1660
  }
1659
1661
  /**
1660
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1662
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1661
1663
  *
1662
- * @param {string} projectLocationCollectionDataStoreSessionName
1663
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1664
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1665
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1664
1666
  * @returns {string} A string representing the session.
1665
1667
  */
1666
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1667
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1668
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1669
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1668
1670
  }
1669
1671
  /**
1670
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1672
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1673
+ *
1674
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1675
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1676
+ * @returns {string} A string representing the answer.
1677
+ */
1678
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1679
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1680
+ }
1681
+ /**
1682
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1671
1683
  *
1672
1684
  * @param {string} project
1673
1685
  * @param {string} location
1674
1686
  * @param {string} collection
1675
1687
  * @param {string} data_store
1676
1688
  * @param {string} session
1677
- * @param {string} answer
1678
1689
  * @returns {string} Resource name string.
1679
1690
  */
1680
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1681
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1691
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1692
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1682
1693
  project: project,
1683
1694
  location: location,
1684
1695
  collection: collection,
1685
1696
  data_store: dataStore,
1686
1697
  session: session,
1687
- answer: answer,
1688
1698
  });
1689
1699
  }
1690
1700
  /**
1691
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1701
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1692
1702
  *
1693
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1694
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1703
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1704
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1695
1705
  * @returns {string} A string representing the project.
1696
1706
  */
1697
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1698
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1707
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1708
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1699
1709
  }
1700
1710
  /**
1701
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1711
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1702
1712
  *
1703
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1704
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1713
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1714
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1705
1715
  * @returns {string} A string representing the location.
1706
1716
  */
1707
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1708
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1717
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1718
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1709
1719
  }
1710
1720
  /**
1711
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1721
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1712
1722
  *
1713
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1714
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1723
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1724
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1715
1725
  * @returns {string} A string representing the collection.
1716
1726
  */
1717
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1718
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1727
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1728
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1719
1729
  }
1720
1730
  /**
1721
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1731
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1722
1732
  *
1723
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1724
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1733
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1734
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1725
1735
  * @returns {string} A string representing the data_store.
1726
1736
  */
1727
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1728
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1737
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1738
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1729
1739
  }
1730
1740
  /**
1731
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1741
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1732
1742
  *
1733
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1734
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1743
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1744
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1735
1745
  * @returns {string} A string representing the session.
1736
1746
  */
1737
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1738
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1739
- }
1740
- /**
1741
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1742
- *
1743
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1744
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1745
- * @returns {string} A string representing the answer.
1746
- */
1747
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1748
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1747
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1748
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1749
1749
  }
1750
1750
  /**
1751
1751
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2081,154 +2081,154 @@ class CompletionServiceClient {
2081
2081
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2082
2082
  }
2083
2083
  /**
2084
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2084
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2085
2085
  *
2086
2086
  * @param {string} project
2087
2087
  * @param {string} location
2088
2088
  * @param {string} collection
2089
2089
  * @param {string} engine
2090
2090
  * @param {string} session
2091
+ * @param {string} answer
2091
2092
  * @returns {string} Resource name string.
2092
2093
  */
2093
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2094
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2094
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2095
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2095
2096
  project: project,
2096
2097
  location: location,
2097
2098
  collection: collection,
2098
2099
  engine: engine,
2099
2100
  session: session,
2101
+ answer: answer,
2100
2102
  });
2101
2103
  }
2102
2104
  /**
2103
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2105
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2104
2106
  *
2105
- * @param {string} projectLocationCollectionEngineSessionName
2106
- * A fully-qualified path representing project_location_collection_engine_session resource.
2107
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2108
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2107
2109
  * @returns {string} A string representing the project.
2108
2110
  */
2109
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2110
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2111
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2112
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2111
2113
  }
2112
2114
  /**
2113
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2115
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2114
2116
  *
2115
- * @param {string} projectLocationCollectionEngineSessionName
2116
- * A fully-qualified path representing project_location_collection_engine_session resource.
2117
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2118
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2117
2119
  * @returns {string} A string representing the location.
2118
2120
  */
2119
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2120
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2121
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2122
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2121
2123
  }
2122
2124
  /**
2123
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2125
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2124
2126
  *
2125
- * @param {string} projectLocationCollectionEngineSessionName
2126
- * A fully-qualified path representing project_location_collection_engine_session resource.
2127
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2128
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2127
2129
  * @returns {string} A string representing the collection.
2128
2130
  */
2129
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2130
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2131
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2132
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2131
2133
  }
2132
2134
  /**
2133
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2135
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2134
2136
  *
2135
- * @param {string} projectLocationCollectionEngineSessionName
2136
- * A fully-qualified path representing project_location_collection_engine_session resource.
2137
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2138
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2137
2139
  * @returns {string} A string representing the engine.
2138
2140
  */
2139
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2140
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2141
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2142
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2141
2143
  }
2142
2144
  /**
2143
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2145
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2144
2146
  *
2145
- * @param {string} projectLocationCollectionEngineSessionName
2146
- * A fully-qualified path representing project_location_collection_engine_session resource.
2147
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2148
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2147
2149
  * @returns {string} A string representing the session.
2148
2150
  */
2149
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2150
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2151
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2152
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2151
2153
  }
2152
2154
  /**
2153
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2155
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2156
+ *
2157
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2158
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2159
+ * @returns {string} A string representing the answer.
2160
+ */
2161
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2162
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2163
+ }
2164
+ /**
2165
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2154
2166
  *
2155
2167
  * @param {string} project
2156
2168
  * @param {string} location
2157
2169
  * @param {string} collection
2158
2170
  * @param {string} engine
2159
2171
  * @param {string} session
2160
- * @param {string} answer
2161
2172
  * @returns {string} Resource name string.
2162
2173
  */
2163
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2164
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2174
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2175
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2165
2176
  project: project,
2166
2177
  location: location,
2167
2178
  collection: collection,
2168
2179
  engine: engine,
2169
2180
  session: session,
2170
- answer: answer,
2171
2181
  });
2172
2182
  }
2173
2183
  /**
2174
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2184
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2175
2185
  *
2176
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2177
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2186
+ * @param {string} projectLocationCollectionEngineSessionsName
2187
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2178
2188
  * @returns {string} A string representing the project.
2179
2189
  */
2180
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2181
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2190
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2191
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2182
2192
  }
2183
2193
  /**
2184
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2194
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2185
2195
  *
2186
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2187
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2196
+ * @param {string} projectLocationCollectionEngineSessionsName
2197
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2188
2198
  * @returns {string} A string representing the location.
2189
2199
  */
2190
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2191
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2200
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2201
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2192
2202
  }
2193
2203
  /**
2194
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2204
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2195
2205
  *
2196
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2197
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2206
+ * @param {string} projectLocationCollectionEngineSessionsName
2207
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2198
2208
  * @returns {string} A string representing the collection.
2199
2209
  */
2200
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2201
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2210
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2211
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2202
2212
  }
2203
2213
  /**
2204
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2214
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2205
2215
  *
2206
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2207
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2216
+ * @param {string} projectLocationCollectionEngineSessionsName
2217
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2208
2218
  * @returns {string} A string representing the engine.
2209
2219
  */
2210
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2211
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2220
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2221
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2212
2222
  }
2213
2223
  /**
2214
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2224
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2215
2225
  *
2216
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2217
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2226
+ * @param {string} projectLocationCollectionEngineSessionsName
2227
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2218
2228
  * @returns {string} A string representing the session.
2219
2229
  */
2220
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2221
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2222
- }
2223
- /**
2224
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2225
- *
2226
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2227
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2228
- * @returns {string} A string representing the answer.
2229
- */
2230
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2231
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2230
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2231
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2232
2232
  }
2233
2233
  /**
2234
2234
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2755,63 +2755,6 @@ class CompletionServiceClient {
2755
2755
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2756
2756
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2757
2757
  }
2758
- /**
2759
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2760
- *
2761
- * @param {string} project
2762
- * @param {string} location
2763
- * @param {string} data_store
2764
- * @param {string} session
2765
- * @returns {string} Resource name string.
2766
- */
2767
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2768
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2769
- project: project,
2770
- location: location,
2771
- data_store: dataStore,
2772
- session: session,
2773
- });
2774
- }
2775
- /**
2776
- * Parse the project from ProjectLocationDataStoreSession resource.
2777
- *
2778
- * @param {string} projectLocationDataStoreSessionName
2779
- * A fully-qualified path representing project_location_data_store_session resource.
2780
- * @returns {string} A string representing the project.
2781
- */
2782
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2783
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2784
- }
2785
- /**
2786
- * Parse the location from ProjectLocationDataStoreSession resource.
2787
- *
2788
- * @param {string} projectLocationDataStoreSessionName
2789
- * A fully-qualified path representing project_location_data_store_session resource.
2790
- * @returns {string} A string representing the location.
2791
- */
2792
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2793
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2794
- }
2795
- /**
2796
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2797
- *
2798
- * @param {string} projectLocationDataStoreSessionName
2799
- * A fully-qualified path representing project_location_data_store_session resource.
2800
- * @returns {string} A string representing the data_store.
2801
- */
2802
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2803
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2804
- }
2805
- /**
2806
- * Parse the session from ProjectLocationDataStoreSession resource.
2807
- *
2808
- * @param {string} projectLocationDataStoreSessionName
2809
- * A fully-qualified path representing project_location_data_store_session resource.
2810
- * @returns {string} A string representing the session.
2811
- */
2812
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2813
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2814
- }
2815
2758
  /**
2816
2759
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2817
2760
  *
@@ -2881,6 +2824,63 @@ class CompletionServiceClient {
2881
2824
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2882
2825
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2883
2826
  }
2827
+ /**
2828
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2829
+ *
2830
+ * @param {string} project
2831
+ * @param {string} location
2832
+ * @param {string} data_store
2833
+ * @param {string} session
2834
+ * @returns {string} Resource name string.
2835
+ */
2836
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2837
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2838
+ project: project,
2839
+ location: location,
2840
+ data_store: dataStore,
2841
+ session: session,
2842
+ });
2843
+ }
2844
+ /**
2845
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2846
+ *
2847
+ * @param {string} projectLocationDataStoreSessionsName
2848
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2849
+ * @returns {string} A string representing the project.
2850
+ */
2851
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2852
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2853
+ }
2854
+ /**
2855
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2856
+ *
2857
+ * @param {string} projectLocationDataStoreSessionsName
2858
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2859
+ * @returns {string} A string representing the location.
2860
+ */
2861
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2862
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2863
+ }
2864
+ /**
2865
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2866
+ *
2867
+ * @param {string} projectLocationDataStoreSessionsName
2868
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2869
+ * @returns {string} A string representing the data_store.
2870
+ */
2871
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2872
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2873
+ }
2874
+ /**
2875
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2876
+ *
2877
+ * @param {string} projectLocationDataStoreSessionsName
2878
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2879
+ * @returns {string} A string representing the session.
2880
+ */
2881
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2882
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2883
+ }
2884
2884
  /**
2885
2885
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2886
2886
  *
@@ -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",