@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
@@ -164,6 +164,8 @@ class EngineServiceClient {
164
164
  // identifiers to uniquely identify resources within the API.
165
165
  // Create useful helper objects for these.
166
166
  this.pathTemplates = {
167
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
168
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
167
169
  collectionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}'),
168
170
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
169
171
  identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
@@ -179,16 +181,16 @@ class EngineServiceClient {
179
181
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
180
182
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
181
183
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
182
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
183
184
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
185
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
184
186
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
185
187
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
186
188
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
187
189
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
188
190
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
189
191
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
190
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
191
192
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
193
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
192
194
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
193
195
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
194
196
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -198,8 +200,8 @@ class EngineServiceClient {
198
200
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
199
201
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
200
202
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
201
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
202
203
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
204
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
203
205
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
204
206
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
205
207
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -864,6 +866,156 @@ class EngineServiceClient {
864
866
  // --------------------
865
867
  // -- Path templates --
866
868
  // --------------------
869
+ /**
870
+ * Return a fully-qualified assistAnswer resource name string.
871
+ *
872
+ * @param {string} project
873
+ * @param {string} location
874
+ * @param {string} collection
875
+ * @param {string} engine
876
+ * @param {string} session
877
+ * @param {string} assist_answer
878
+ * @returns {string} Resource name string.
879
+ */
880
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
881
+ return this.pathTemplates.assistAnswerPathTemplate.render({
882
+ project: project,
883
+ location: location,
884
+ collection: collection,
885
+ engine: engine,
886
+ session: session,
887
+ assist_answer: assistAnswer,
888
+ });
889
+ }
890
+ /**
891
+ * Parse the project from AssistAnswer resource.
892
+ *
893
+ * @param {string} assistAnswerName
894
+ * A fully-qualified path representing AssistAnswer resource.
895
+ * @returns {string} A string representing the project.
896
+ */
897
+ matchProjectFromAssistAnswerName(assistAnswerName) {
898
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
899
+ }
900
+ /**
901
+ * Parse the location from AssistAnswer resource.
902
+ *
903
+ * @param {string} assistAnswerName
904
+ * A fully-qualified path representing AssistAnswer resource.
905
+ * @returns {string} A string representing the location.
906
+ */
907
+ matchLocationFromAssistAnswerName(assistAnswerName) {
908
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
909
+ }
910
+ /**
911
+ * Parse the collection from AssistAnswer resource.
912
+ *
913
+ * @param {string} assistAnswerName
914
+ * A fully-qualified path representing AssistAnswer resource.
915
+ * @returns {string} A string representing the collection.
916
+ */
917
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
918
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
919
+ }
920
+ /**
921
+ * Parse the engine from AssistAnswer resource.
922
+ *
923
+ * @param {string} assistAnswerName
924
+ * A fully-qualified path representing AssistAnswer resource.
925
+ * @returns {string} A string representing the engine.
926
+ */
927
+ matchEngineFromAssistAnswerName(assistAnswerName) {
928
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
929
+ }
930
+ /**
931
+ * Parse the session from AssistAnswer resource.
932
+ *
933
+ * @param {string} assistAnswerName
934
+ * A fully-qualified path representing AssistAnswer resource.
935
+ * @returns {string} A string representing the session.
936
+ */
937
+ matchSessionFromAssistAnswerName(assistAnswerName) {
938
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
939
+ }
940
+ /**
941
+ * Parse the assist_answer from AssistAnswer resource.
942
+ *
943
+ * @param {string} assistAnswerName
944
+ * A fully-qualified path representing AssistAnswer resource.
945
+ * @returns {string} A string representing the assist_answer.
946
+ */
947
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
948
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
949
+ }
950
+ /**
951
+ * Return a fully-qualified assistant resource name string.
952
+ *
953
+ * @param {string} project
954
+ * @param {string} location
955
+ * @param {string} collection
956
+ * @param {string} engine
957
+ * @param {string} assistant
958
+ * @returns {string} Resource name string.
959
+ */
960
+ assistantPath(project, location, collection, engine, assistant) {
961
+ return this.pathTemplates.assistantPathTemplate.render({
962
+ project: project,
963
+ location: location,
964
+ collection: collection,
965
+ engine: engine,
966
+ assistant: assistant,
967
+ });
968
+ }
969
+ /**
970
+ * Parse the project from Assistant resource.
971
+ *
972
+ * @param {string} assistantName
973
+ * A fully-qualified path representing Assistant resource.
974
+ * @returns {string} A string representing the project.
975
+ */
976
+ matchProjectFromAssistantName(assistantName) {
977
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
978
+ }
979
+ /**
980
+ * Parse the location from Assistant resource.
981
+ *
982
+ * @param {string} assistantName
983
+ * A fully-qualified path representing Assistant resource.
984
+ * @returns {string} A string representing the location.
985
+ */
986
+ matchLocationFromAssistantName(assistantName) {
987
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
988
+ }
989
+ /**
990
+ * Parse the collection from Assistant resource.
991
+ *
992
+ * @param {string} assistantName
993
+ * A fully-qualified path representing Assistant resource.
994
+ * @returns {string} A string representing the collection.
995
+ */
996
+ matchCollectionFromAssistantName(assistantName) {
997
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
998
+ }
999
+ /**
1000
+ * Parse the engine from Assistant resource.
1001
+ *
1002
+ * @param {string} assistantName
1003
+ * A fully-qualified path representing Assistant resource.
1004
+ * @returns {string} A string representing the engine.
1005
+ */
1006
+ matchEngineFromAssistantName(assistantName) {
1007
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
1008
+ }
1009
+ /**
1010
+ * Parse the assistant from Assistant resource.
1011
+ *
1012
+ * @param {string} assistantName
1013
+ * A fully-qualified path representing Assistant resource.
1014
+ * @returns {string} A string representing the assistant.
1015
+ */
1016
+ matchAssistantFromAssistantName(assistantName) {
1017
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
1018
+ }
867
1019
  /**
868
1020
  * Return a fully-qualified collection resource name string.
869
1021
  *
@@ -1744,154 +1896,154 @@ class EngineServiceClient {
1744
1896
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1745
1897
  }
1746
1898
  /**
1747
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1899
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1748
1900
  *
1749
1901
  * @param {string} project
1750
1902
  * @param {string} location
1751
1903
  * @param {string} collection
1752
1904
  * @param {string} data_store
1753
1905
  * @param {string} session
1906
+ * @param {string} answer
1754
1907
  * @returns {string} Resource name string.
1755
1908
  */
1756
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1757
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1909
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1910
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1758
1911
  project: project,
1759
1912
  location: location,
1760
1913
  collection: collection,
1761
1914
  data_store: dataStore,
1762
1915
  session: session,
1916
+ answer: answer,
1763
1917
  });
1764
1918
  }
1765
1919
  /**
1766
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1920
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1767
1921
  *
1768
- * @param {string} projectLocationCollectionDataStoreSessionName
1769
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1922
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1923
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1770
1924
  * @returns {string} A string representing the project.
1771
1925
  */
1772
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1773
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1926
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1927
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1774
1928
  }
1775
1929
  /**
1776
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1930
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1777
1931
  *
1778
- * @param {string} projectLocationCollectionDataStoreSessionName
1779
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1932
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1933
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1780
1934
  * @returns {string} A string representing the location.
1781
1935
  */
1782
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1783
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1936
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1937
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1784
1938
  }
1785
1939
  /**
1786
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1940
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1787
1941
  *
1788
- * @param {string} projectLocationCollectionDataStoreSessionName
1789
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1942
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1943
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1790
1944
  * @returns {string} A string representing the collection.
1791
1945
  */
1792
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1793
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1946
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1947
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1794
1948
  }
1795
1949
  /**
1796
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1950
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1797
1951
  *
1798
- * @param {string} projectLocationCollectionDataStoreSessionName
1799
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1952
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1953
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1800
1954
  * @returns {string} A string representing the data_store.
1801
1955
  */
1802
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1803
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1956
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1957
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1804
1958
  }
1805
1959
  /**
1806
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1960
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1807
1961
  *
1808
- * @param {string} projectLocationCollectionDataStoreSessionName
1809
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1962
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1963
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1810
1964
  * @returns {string} A string representing the session.
1811
1965
  */
1812
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1813
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1966
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1967
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1814
1968
  }
1815
1969
  /**
1816
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1970
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1971
+ *
1972
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1973
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1974
+ * @returns {string} A string representing the answer.
1975
+ */
1976
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1977
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1978
+ }
1979
+ /**
1980
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1817
1981
  *
1818
1982
  * @param {string} project
1819
1983
  * @param {string} location
1820
1984
  * @param {string} collection
1821
1985
  * @param {string} data_store
1822
1986
  * @param {string} session
1823
- * @param {string} answer
1824
1987
  * @returns {string} Resource name string.
1825
1988
  */
1826
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1827
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1989
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1990
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1828
1991
  project: project,
1829
1992
  location: location,
1830
1993
  collection: collection,
1831
1994
  data_store: dataStore,
1832
1995
  session: session,
1833
- answer: answer,
1834
1996
  });
1835
1997
  }
1836
1998
  /**
1837
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1999
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1838
2000
  *
1839
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1840
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2001
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2002
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1841
2003
  * @returns {string} A string representing the project.
1842
2004
  */
1843
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1844
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2005
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2006
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1845
2007
  }
1846
2008
  /**
1847
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2009
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1848
2010
  *
1849
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1850
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2011
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2012
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1851
2013
  * @returns {string} A string representing the location.
1852
2014
  */
1853
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1854
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2015
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2016
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1855
2017
  }
1856
2018
  /**
1857
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2019
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1858
2020
  *
1859
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1860
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2021
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2022
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1861
2023
  * @returns {string} A string representing the collection.
1862
2024
  */
1863
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1864
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2025
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2026
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1865
2027
  }
1866
2028
  /**
1867
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2029
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1868
2030
  *
1869
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1870
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2031
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2032
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1871
2033
  * @returns {string} A string representing the data_store.
1872
2034
  */
1873
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1874
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2035
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2036
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1875
2037
  }
1876
2038
  /**
1877
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2039
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1878
2040
  *
1879
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1880
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2041
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2042
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1881
2043
  * @returns {string} A string representing the session.
1882
2044
  */
1883
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1884
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1885
- }
1886
- /**
1887
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1888
- *
1889
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1890
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1891
- * @returns {string} A string representing the answer.
1892
- */
1893
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1894
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2045
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2046
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1895
2047
  }
1896
2048
  /**
1897
2049
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2296,154 +2448,154 @@ class EngineServiceClient {
2296
2448
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2297
2449
  }
2298
2450
  /**
2299
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2451
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2300
2452
  *
2301
2453
  * @param {string} project
2302
2454
  * @param {string} location
2303
2455
  * @param {string} collection
2304
2456
  * @param {string} engine
2305
2457
  * @param {string} session
2458
+ * @param {string} answer
2306
2459
  * @returns {string} Resource name string.
2307
2460
  */
2308
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2309
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2461
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2462
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2310
2463
  project: project,
2311
2464
  location: location,
2312
2465
  collection: collection,
2313
2466
  engine: engine,
2314
2467
  session: session,
2468
+ answer: answer,
2315
2469
  });
2316
2470
  }
2317
2471
  /**
2318
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2472
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2319
2473
  *
2320
- * @param {string} projectLocationCollectionEngineSessionName
2321
- * A fully-qualified path representing project_location_collection_engine_session resource.
2474
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2475
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2322
2476
  * @returns {string} A string representing the project.
2323
2477
  */
2324
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2325
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2478
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2479
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2326
2480
  }
2327
2481
  /**
2328
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2482
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2329
2483
  *
2330
- * @param {string} projectLocationCollectionEngineSessionName
2331
- * A fully-qualified path representing project_location_collection_engine_session resource.
2484
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2485
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2332
2486
  * @returns {string} A string representing the location.
2333
2487
  */
2334
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2335
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2488
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2489
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2336
2490
  }
2337
2491
  /**
2338
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2492
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2339
2493
  *
2340
- * @param {string} projectLocationCollectionEngineSessionName
2341
- * A fully-qualified path representing project_location_collection_engine_session resource.
2494
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2495
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2342
2496
  * @returns {string} A string representing the collection.
2343
2497
  */
2344
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2345
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2498
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2499
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2346
2500
  }
2347
2501
  /**
2348
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2502
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2349
2503
  *
2350
- * @param {string} projectLocationCollectionEngineSessionName
2351
- * A fully-qualified path representing project_location_collection_engine_session resource.
2504
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2505
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2352
2506
  * @returns {string} A string representing the engine.
2353
2507
  */
2354
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2355
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2508
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2509
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2356
2510
  }
2357
2511
  /**
2358
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2512
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2359
2513
  *
2360
- * @param {string} projectLocationCollectionEngineSessionName
2361
- * A fully-qualified path representing project_location_collection_engine_session resource.
2514
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2515
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2362
2516
  * @returns {string} A string representing the session.
2363
2517
  */
2364
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2365
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2518
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2519
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2366
2520
  }
2367
2521
  /**
2368
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2522
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2523
+ *
2524
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2525
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2526
+ * @returns {string} A string representing the answer.
2527
+ */
2528
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2529
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2530
+ }
2531
+ /**
2532
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2369
2533
  *
2370
2534
  * @param {string} project
2371
2535
  * @param {string} location
2372
2536
  * @param {string} collection
2373
2537
  * @param {string} engine
2374
2538
  * @param {string} session
2375
- * @param {string} answer
2376
2539
  * @returns {string} Resource name string.
2377
2540
  */
2378
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2379
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2541
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2542
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2380
2543
  project: project,
2381
2544
  location: location,
2382
2545
  collection: collection,
2383
2546
  engine: engine,
2384
2547
  session: session,
2385
- answer: answer,
2386
2548
  });
2387
2549
  }
2388
2550
  /**
2389
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2551
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2390
2552
  *
2391
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2392
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2553
+ * @param {string} projectLocationCollectionEngineSessionsName
2554
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2393
2555
  * @returns {string} A string representing the project.
2394
2556
  */
2395
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2396
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2557
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2558
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2397
2559
  }
2398
2560
  /**
2399
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2561
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2400
2562
  *
2401
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2402
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2563
+ * @param {string} projectLocationCollectionEngineSessionsName
2564
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2403
2565
  * @returns {string} A string representing the location.
2404
2566
  */
2405
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2406
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2567
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2568
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2407
2569
  }
2408
2570
  /**
2409
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2571
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2410
2572
  *
2411
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2412
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2573
+ * @param {string} projectLocationCollectionEngineSessionsName
2574
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2413
2575
  * @returns {string} A string representing the collection.
2414
2576
  */
2415
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2416
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2577
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2578
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2417
2579
  }
2418
2580
  /**
2419
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2581
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2420
2582
  *
2421
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2422
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2583
+ * @param {string} projectLocationCollectionEngineSessionsName
2584
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2423
2585
  * @returns {string} A string representing the engine.
2424
2586
  */
2425
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2426
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2587
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2588
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2427
2589
  }
2428
2590
  /**
2429
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2591
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2430
2592
  *
2431
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2432
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2593
+ * @param {string} projectLocationCollectionEngineSessionsName
2594
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2433
2595
  * @returns {string} A string representing the session.
2434
2596
  */
2435
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2436
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2437
- }
2438
- /**
2439
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2440
- *
2441
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2442
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2443
- * @returns {string} A string representing the answer.
2444
- */
2445
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2446
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2597
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2598
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2447
2599
  }
2448
2600
  /**
2449
2601
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2970,63 +3122,6 @@ class EngineServiceClient {
2970
3122
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2971
3123
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2972
3124
  }
2973
- /**
2974
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2975
- *
2976
- * @param {string} project
2977
- * @param {string} location
2978
- * @param {string} data_store
2979
- * @param {string} session
2980
- * @returns {string} Resource name string.
2981
- */
2982
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2983
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2984
- project: project,
2985
- location: location,
2986
- data_store: dataStore,
2987
- session: session,
2988
- });
2989
- }
2990
- /**
2991
- * Parse the project from ProjectLocationDataStoreSession resource.
2992
- *
2993
- * @param {string} projectLocationDataStoreSessionName
2994
- * A fully-qualified path representing project_location_data_store_session resource.
2995
- * @returns {string} A string representing the project.
2996
- */
2997
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2998
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2999
- }
3000
- /**
3001
- * Parse the location from ProjectLocationDataStoreSession resource.
3002
- *
3003
- * @param {string} projectLocationDataStoreSessionName
3004
- * A fully-qualified path representing project_location_data_store_session resource.
3005
- * @returns {string} A string representing the location.
3006
- */
3007
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3008
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3009
- }
3010
- /**
3011
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3012
- *
3013
- * @param {string} projectLocationDataStoreSessionName
3014
- * A fully-qualified path representing project_location_data_store_session resource.
3015
- * @returns {string} A string representing the data_store.
3016
- */
3017
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3018
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3019
- }
3020
- /**
3021
- * Parse the session from ProjectLocationDataStoreSession resource.
3022
- *
3023
- * @param {string} projectLocationDataStoreSessionName
3024
- * A fully-qualified path representing project_location_data_store_session resource.
3025
- * @returns {string} A string representing the session.
3026
- */
3027
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3028
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3029
- }
3030
3125
  /**
3031
3126
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3032
3127
  *
@@ -3096,6 +3191,63 @@ class EngineServiceClient {
3096
3191
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3097
3192
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3098
3193
  }
3194
+ /**
3195
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3196
+ *
3197
+ * @param {string} project
3198
+ * @param {string} location
3199
+ * @param {string} data_store
3200
+ * @param {string} session
3201
+ * @returns {string} Resource name string.
3202
+ */
3203
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3204
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3205
+ project: project,
3206
+ location: location,
3207
+ data_store: dataStore,
3208
+ session: session,
3209
+ });
3210
+ }
3211
+ /**
3212
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3213
+ *
3214
+ * @param {string} projectLocationDataStoreSessionsName
3215
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3216
+ * @returns {string} A string representing the project.
3217
+ */
3218
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3219
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3220
+ }
3221
+ /**
3222
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3223
+ *
3224
+ * @param {string} projectLocationDataStoreSessionsName
3225
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3226
+ * @returns {string} A string representing the location.
3227
+ */
3228
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3229
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3230
+ }
3231
+ /**
3232
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3233
+ *
3234
+ * @param {string} projectLocationDataStoreSessionsName
3235
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3236
+ * @returns {string} A string representing the data_store.
3237
+ */
3238
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3239
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3240
+ }
3241
+ /**
3242
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3243
+ *
3244
+ * @param {string} projectLocationDataStoreSessionsName
3245
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3246
+ * @returns {string} A string representing the session.
3247
+ */
3248
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3249
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3250
+ }
3099
3251
  /**
3100
3252
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3101
3253
  *