@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
@@ -163,6 +163,8 @@ class UserEventServiceClient {
163
163
  // identifiers to uniquely identify resources within the API.
164
164
  // Create useful helper objects for these.
165
165
  this.pathTemplates = {
166
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
167
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
166
168
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
167
169
  identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
168
170
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
@@ -177,16 +179,16 @@ class UserEventServiceClient {
177
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
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}'),
182
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
184
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
185
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
186
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
187
189
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
188
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
190
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
191
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
191
193
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
192
194
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -196,8 +198,8 @@ class UserEventServiceClient {
196
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
200
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
199
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
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}'),
201
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
204
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
203
205
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -743,6 +745,156 @@ class UserEventServiceClient {
743
745
  // --------------------
744
746
  // -- Path templates --
745
747
  // --------------------
748
+ /**
749
+ * Return a fully-qualified assistAnswer resource name string.
750
+ *
751
+ * @param {string} project
752
+ * @param {string} location
753
+ * @param {string} collection
754
+ * @param {string} engine
755
+ * @param {string} session
756
+ * @param {string} assist_answer
757
+ * @returns {string} Resource name string.
758
+ */
759
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
760
+ return this.pathTemplates.assistAnswerPathTemplate.render({
761
+ project: project,
762
+ location: location,
763
+ collection: collection,
764
+ engine: engine,
765
+ session: session,
766
+ assist_answer: assistAnswer,
767
+ });
768
+ }
769
+ /**
770
+ * Parse the project from AssistAnswer resource.
771
+ *
772
+ * @param {string} assistAnswerName
773
+ * A fully-qualified path representing AssistAnswer resource.
774
+ * @returns {string} A string representing the project.
775
+ */
776
+ matchProjectFromAssistAnswerName(assistAnswerName) {
777
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
778
+ }
779
+ /**
780
+ * Parse the location from AssistAnswer resource.
781
+ *
782
+ * @param {string} assistAnswerName
783
+ * A fully-qualified path representing AssistAnswer resource.
784
+ * @returns {string} A string representing the location.
785
+ */
786
+ matchLocationFromAssistAnswerName(assistAnswerName) {
787
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
788
+ }
789
+ /**
790
+ * Parse the collection from AssistAnswer resource.
791
+ *
792
+ * @param {string} assistAnswerName
793
+ * A fully-qualified path representing AssistAnswer resource.
794
+ * @returns {string} A string representing the collection.
795
+ */
796
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
797
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
798
+ }
799
+ /**
800
+ * Parse the engine from AssistAnswer resource.
801
+ *
802
+ * @param {string} assistAnswerName
803
+ * A fully-qualified path representing AssistAnswer resource.
804
+ * @returns {string} A string representing the engine.
805
+ */
806
+ matchEngineFromAssistAnswerName(assistAnswerName) {
807
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
808
+ }
809
+ /**
810
+ * Parse the session from AssistAnswer resource.
811
+ *
812
+ * @param {string} assistAnswerName
813
+ * A fully-qualified path representing AssistAnswer resource.
814
+ * @returns {string} A string representing the session.
815
+ */
816
+ matchSessionFromAssistAnswerName(assistAnswerName) {
817
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
818
+ }
819
+ /**
820
+ * Parse the assist_answer from AssistAnswer resource.
821
+ *
822
+ * @param {string} assistAnswerName
823
+ * A fully-qualified path representing AssistAnswer resource.
824
+ * @returns {string} A string representing the assist_answer.
825
+ */
826
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
827
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
828
+ }
829
+ /**
830
+ * Return a fully-qualified assistant resource name string.
831
+ *
832
+ * @param {string} project
833
+ * @param {string} location
834
+ * @param {string} collection
835
+ * @param {string} engine
836
+ * @param {string} assistant
837
+ * @returns {string} Resource name string.
838
+ */
839
+ assistantPath(project, location, collection, engine, assistant) {
840
+ return this.pathTemplates.assistantPathTemplate.render({
841
+ project: project,
842
+ location: location,
843
+ collection: collection,
844
+ engine: engine,
845
+ assistant: assistant,
846
+ });
847
+ }
848
+ /**
849
+ * Parse the project from Assistant resource.
850
+ *
851
+ * @param {string} assistantName
852
+ * A fully-qualified path representing Assistant resource.
853
+ * @returns {string} A string representing the project.
854
+ */
855
+ matchProjectFromAssistantName(assistantName) {
856
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
857
+ }
858
+ /**
859
+ * Parse the location from Assistant resource.
860
+ *
861
+ * @param {string} assistantName
862
+ * A fully-qualified path representing Assistant resource.
863
+ * @returns {string} A string representing the location.
864
+ */
865
+ matchLocationFromAssistantName(assistantName) {
866
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
867
+ }
868
+ /**
869
+ * Parse the collection from Assistant resource.
870
+ *
871
+ * @param {string} assistantName
872
+ * A fully-qualified path representing Assistant resource.
873
+ * @returns {string} A string representing the collection.
874
+ */
875
+ matchCollectionFromAssistantName(assistantName) {
876
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
877
+ }
878
+ /**
879
+ * Parse the engine from Assistant resource.
880
+ *
881
+ * @param {string} assistantName
882
+ * A fully-qualified path representing Assistant resource.
883
+ * @returns {string} A string representing the engine.
884
+ */
885
+ matchEngineFromAssistantName(assistantName) {
886
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
887
+ }
888
+ /**
889
+ * Parse the assistant from Assistant resource.
890
+ *
891
+ * @param {string} assistantName
892
+ * A fully-qualified path representing Assistant resource.
893
+ * @returns {string} A string representing the assistant.
894
+ */
895
+ matchAssistantFromAssistantName(assistantName) {
896
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
897
+ }
746
898
  /**
747
899
  * Return a fully-qualified engine resource name string.
748
900
  *
@@ -1578,154 +1730,154 @@ class UserEventServiceClient {
1578
1730
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1579
1731
  }
1580
1732
  /**
1581
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1733
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1582
1734
  *
1583
1735
  * @param {string} project
1584
1736
  * @param {string} location
1585
1737
  * @param {string} collection
1586
1738
  * @param {string} data_store
1587
1739
  * @param {string} session
1740
+ * @param {string} answer
1588
1741
  * @returns {string} Resource name string.
1589
1742
  */
1590
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1591
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1743
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1744
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1592
1745
  project: project,
1593
1746
  location: location,
1594
1747
  collection: collection,
1595
1748
  data_store: dataStore,
1596
1749
  session: session,
1750
+ answer: answer,
1597
1751
  });
1598
1752
  }
1599
1753
  /**
1600
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1754
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1601
1755
  *
1602
- * @param {string} projectLocationCollectionDataStoreSessionName
1603
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1756
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1757
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1604
1758
  * @returns {string} A string representing the project.
1605
1759
  */
1606
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1607
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1760
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1761
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1608
1762
  }
1609
1763
  /**
1610
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1764
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1611
1765
  *
1612
- * @param {string} projectLocationCollectionDataStoreSessionName
1613
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1766
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1767
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1614
1768
  * @returns {string} A string representing the location.
1615
1769
  */
1616
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1617
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1770
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1771
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1618
1772
  }
1619
1773
  /**
1620
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1774
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1621
1775
  *
1622
- * @param {string} projectLocationCollectionDataStoreSessionName
1623
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1776
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1777
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1624
1778
  * @returns {string} A string representing the collection.
1625
1779
  */
1626
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1627
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1780
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1781
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1628
1782
  }
1629
1783
  /**
1630
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1784
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1631
1785
  *
1632
- * @param {string} projectLocationCollectionDataStoreSessionName
1633
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1786
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1787
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1634
1788
  * @returns {string} A string representing the data_store.
1635
1789
  */
1636
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1637
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1790
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1791
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1638
1792
  }
1639
1793
  /**
1640
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1794
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1641
1795
  *
1642
- * @param {string} projectLocationCollectionDataStoreSessionName
1643
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1796
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1797
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1644
1798
  * @returns {string} A string representing the session.
1645
1799
  */
1646
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1647
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1800
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1801
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1648
1802
  }
1649
1803
  /**
1650
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1804
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1805
+ *
1806
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1807
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1808
+ * @returns {string} A string representing the answer.
1809
+ */
1810
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1811
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1812
+ }
1813
+ /**
1814
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1651
1815
  *
1652
1816
  * @param {string} project
1653
1817
  * @param {string} location
1654
1818
  * @param {string} collection
1655
1819
  * @param {string} data_store
1656
1820
  * @param {string} session
1657
- * @param {string} answer
1658
1821
  * @returns {string} Resource name string.
1659
1822
  */
1660
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1661
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1823
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1824
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1662
1825
  project: project,
1663
1826
  location: location,
1664
1827
  collection: collection,
1665
1828
  data_store: dataStore,
1666
1829
  session: session,
1667
- answer: answer,
1668
1830
  });
1669
1831
  }
1670
1832
  /**
1671
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1833
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1672
1834
  *
1673
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1674
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1835
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1836
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1675
1837
  * @returns {string} A string representing the project.
1676
1838
  */
1677
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1678
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1839
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1840
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1679
1841
  }
1680
1842
  /**
1681
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1843
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1682
1844
  *
1683
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1684
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1845
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1846
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1685
1847
  * @returns {string} A string representing the location.
1686
1848
  */
1687
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1688
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1849
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1850
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1689
1851
  }
1690
1852
  /**
1691
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1853
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1692
1854
  *
1693
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1694
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1855
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1856
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1695
1857
  * @returns {string} A string representing the collection.
1696
1858
  */
1697
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1698
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1859
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1860
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1699
1861
  }
1700
1862
  /**
1701
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1863
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1702
1864
  *
1703
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1704
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1865
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1866
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1705
1867
  * @returns {string} A string representing the data_store.
1706
1868
  */
1707
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1708
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1869
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1870
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1709
1871
  }
1710
1872
  /**
1711
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1873
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1712
1874
  *
1713
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1714
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1875
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1876
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1715
1877
  * @returns {string} A string representing the session.
1716
1878
  */
1717
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1718
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1719
- }
1720
- /**
1721
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1722
- *
1723
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1724
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1725
- * @returns {string} A string representing the answer.
1726
- */
1727
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1728
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1879
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1880
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1729
1881
  }
1730
1882
  /**
1731
1883
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2130,154 +2282,154 @@ class UserEventServiceClient {
2130
2282
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2131
2283
  }
2132
2284
  /**
2133
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2285
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2134
2286
  *
2135
2287
  * @param {string} project
2136
2288
  * @param {string} location
2137
2289
  * @param {string} collection
2138
2290
  * @param {string} engine
2139
2291
  * @param {string} session
2292
+ * @param {string} answer
2140
2293
  * @returns {string} Resource name string.
2141
2294
  */
2142
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2143
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2295
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2296
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2144
2297
  project: project,
2145
2298
  location: location,
2146
2299
  collection: collection,
2147
2300
  engine: engine,
2148
2301
  session: session,
2302
+ answer: answer,
2149
2303
  });
2150
2304
  }
2151
2305
  /**
2152
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2306
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2153
2307
  *
2154
- * @param {string} projectLocationCollectionEngineSessionName
2155
- * A fully-qualified path representing project_location_collection_engine_session resource.
2308
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2309
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2156
2310
  * @returns {string} A string representing the project.
2157
2311
  */
2158
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2159
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2312
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2313
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2160
2314
  }
2161
2315
  /**
2162
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2316
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2163
2317
  *
2164
- * @param {string} projectLocationCollectionEngineSessionName
2165
- * A fully-qualified path representing project_location_collection_engine_session resource.
2318
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2319
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2166
2320
  * @returns {string} A string representing the location.
2167
2321
  */
2168
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2169
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2322
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2323
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2170
2324
  }
2171
2325
  /**
2172
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2326
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2173
2327
  *
2174
- * @param {string} projectLocationCollectionEngineSessionName
2175
- * A fully-qualified path representing project_location_collection_engine_session resource.
2328
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2329
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2176
2330
  * @returns {string} A string representing the collection.
2177
2331
  */
2178
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2179
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2332
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2333
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2180
2334
  }
2181
2335
  /**
2182
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2336
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2183
2337
  *
2184
- * @param {string} projectLocationCollectionEngineSessionName
2185
- * A fully-qualified path representing project_location_collection_engine_session resource.
2338
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2339
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2186
2340
  * @returns {string} A string representing the engine.
2187
2341
  */
2188
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2189
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2342
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2343
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2190
2344
  }
2191
2345
  /**
2192
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2346
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2193
2347
  *
2194
- * @param {string} projectLocationCollectionEngineSessionName
2195
- * A fully-qualified path representing project_location_collection_engine_session resource.
2348
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2349
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2196
2350
  * @returns {string} A string representing the session.
2197
2351
  */
2198
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2199
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2352
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2353
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2200
2354
  }
2201
2355
  /**
2202
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2356
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2357
+ *
2358
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2359
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2360
+ * @returns {string} A string representing the answer.
2361
+ */
2362
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2363
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2364
+ }
2365
+ /**
2366
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2203
2367
  *
2204
2368
  * @param {string} project
2205
2369
  * @param {string} location
2206
2370
  * @param {string} collection
2207
2371
  * @param {string} engine
2208
2372
  * @param {string} session
2209
- * @param {string} answer
2210
2373
  * @returns {string} Resource name string.
2211
2374
  */
2212
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2213
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2375
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2376
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2214
2377
  project: project,
2215
2378
  location: location,
2216
2379
  collection: collection,
2217
2380
  engine: engine,
2218
2381
  session: session,
2219
- answer: answer,
2220
2382
  });
2221
2383
  }
2222
2384
  /**
2223
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2385
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2224
2386
  *
2225
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2226
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2387
+ * @param {string} projectLocationCollectionEngineSessionsName
2388
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2227
2389
  * @returns {string} A string representing the project.
2228
2390
  */
2229
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2230
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2391
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2392
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2231
2393
  }
2232
2394
  /**
2233
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2395
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2234
2396
  *
2235
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2236
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2397
+ * @param {string} projectLocationCollectionEngineSessionsName
2398
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2237
2399
  * @returns {string} A string representing the location.
2238
2400
  */
2239
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2240
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2401
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2402
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2241
2403
  }
2242
2404
  /**
2243
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2405
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2244
2406
  *
2245
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2246
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2407
+ * @param {string} projectLocationCollectionEngineSessionsName
2408
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2247
2409
  * @returns {string} A string representing the collection.
2248
2410
  */
2249
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2250
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2411
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2412
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2251
2413
  }
2252
2414
  /**
2253
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2415
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2254
2416
  *
2255
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2256
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2417
+ * @param {string} projectLocationCollectionEngineSessionsName
2418
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2257
2419
  * @returns {string} A string representing the engine.
2258
2420
  */
2259
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2260
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2421
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2422
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2261
2423
  }
2262
2424
  /**
2263
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2425
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2264
2426
  *
2265
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2266
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2427
+ * @param {string} projectLocationCollectionEngineSessionsName
2428
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2267
2429
  * @returns {string} A string representing the session.
2268
2430
  */
2269
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2270
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2271
- }
2272
- /**
2273
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2274
- *
2275
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2276
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2277
- * @returns {string} A string representing the answer.
2278
- */
2279
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2280
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2431
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2432
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2281
2433
  }
2282
2434
  /**
2283
2435
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2804,63 +2956,6 @@ class UserEventServiceClient {
2804
2956
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2805
2957
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2806
2958
  }
2807
- /**
2808
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2809
- *
2810
- * @param {string} project
2811
- * @param {string} location
2812
- * @param {string} data_store
2813
- * @param {string} session
2814
- * @returns {string} Resource name string.
2815
- */
2816
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2817
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2818
- project: project,
2819
- location: location,
2820
- data_store: dataStore,
2821
- session: session,
2822
- });
2823
- }
2824
- /**
2825
- * Parse the project from ProjectLocationDataStoreSession resource.
2826
- *
2827
- * @param {string} projectLocationDataStoreSessionName
2828
- * A fully-qualified path representing project_location_data_store_session resource.
2829
- * @returns {string} A string representing the project.
2830
- */
2831
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2832
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2833
- }
2834
- /**
2835
- * Parse the location from ProjectLocationDataStoreSession resource.
2836
- *
2837
- * @param {string} projectLocationDataStoreSessionName
2838
- * A fully-qualified path representing project_location_data_store_session resource.
2839
- * @returns {string} A string representing the location.
2840
- */
2841
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2842
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2843
- }
2844
- /**
2845
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2846
- *
2847
- * @param {string} projectLocationDataStoreSessionName
2848
- * A fully-qualified path representing project_location_data_store_session resource.
2849
- * @returns {string} A string representing the data_store.
2850
- */
2851
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2852
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2853
- }
2854
- /**
2855
- * Parse the session from ProjectLocationDataStoreSession resource.
2856
- *
2857
- * @param {string} projectLocationDataStoreSessionName
2858
- * A fully-qualified path representing project_location_data_store_session resource.
2859
- * @returns {string} A string representing the session.
2860
- */
2861
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2862
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2863
- }
2864
2959
  /**
2865
2960
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2866
2961
  *
@@ -2930,6 +3025,63 @@ class UserEventServiceClient {
2930
3025
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2931
3026
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2932
3027
  }
3028
+ /**
3029
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3030
+ *
3031
+ * @param {string} project
3032
+ * @param {string} location
3033
+ * @param {string} data_store
3034
+ * @param {string} session
3035
+ * @returns {string} Resource name string.
3036
+ */
3037
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3038
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3039
+ project: project,
3040
+ location: location,
3041
+ data_store: dataStore,
3042
+ session: session,
3043
+ });
3044
+ }
3045
+ /**
3046
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3047
+ *
3048
+ * @param {string} projectLocationDataStoreSessionsName
3049
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3050
+ * @returns {string} A string representing the project.
3051
+ */
3052
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3053
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3054
+ }
3055
+ /**
3056
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3057
+ *
3058
+ * @param {string} projectLocationDataStoreSessionsName
3059
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3060
+ * @returns {string} A string representing the location.
3061
+ */
3062
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3063
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3064
+ }
3065
+ /**
3066
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3067
+ *
3068
+ * @param {string} projectLocationDataStoreSessionsName
3069
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3070
+ * @returns {string} A string representing the data_store.
3071
+ */
3072
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3073
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3074
+ }
3075
+ /**
3076
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3077
+ *
3078
+ * @param {string} projectLocationDataStoreSessionsName
3079
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3080
+ * @returns {string} A string representing the session.
3081
+ */
3082
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3083
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3084
+ }
2933
3085
  /**
2934
3086
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2935
3087
  *