@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 DataStoreServiceClient {
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 DataStoreServiceClient {
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 DataStoreServiceClient {
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}'),
@@ -900,6 +902,156 @@ class DataStoreServiceClient {
900
902
  // --------------------
901
903
  // -- Path templates --
902
904
  // --------------------
905
+ /**
906
+ * Return a fully-qualified assistAnswer resource name string.
907
+ *
908
+ * @param {string} project
909
+ * @param {string} location
910
+ * @param {string} collection
911
+ * @param {string} engine
912
+ * @param {string} session
913
+ * @param {string} assist_answer
914
+ * @returns {string} Resource name string.
915
+ */
916
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
917
+ return this.pathTemplates.assistAnswerPathTemplate.render({
918
+ project: project,
919
+ location: location,
920
+ collection: collection,
921
+ engine: engine,
922
+ session: session,
923
+ assist_answer: assistAnswer,
924
+ });
925
+ }
926
+ /**
927
+ * Parse the project from AssistAnswer resource.
928
+ *
929
+ * @param {string} assistAnswerName
930
+ * A fully-qualified path representing AssistAnswer resource.
931
+ * @returns {string} A string representing the project.
932
+ */
933
+ matchProjectFromAssistAnswerName(assistAnswerName) {
934
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
935
+ }
936
+ /**
937
+ * Parse the location from AssistAnswer resource.
938
+ *
939
+ * @param {string} assistAnswerName
940
+ * A fully-qualified path representing AssistAnswer resource.
941
+ * @returns {string} A string representing the location.
942
+ */
943
+ matchLocationFromAssistAnswerName(assistAnswerName) {
944
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
945
+ }
946
+ /**
947
+ * Parse the collection from AssistAnswer resource.
948
+ *
949
+ * @param {string} assistAnswerName
950
+ * A fully-qualified path representing AssistAnswer resource.
951
+ * @returns {string} A string representing the collection.
952
+ */
953
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
954
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
955
+ }
956
+ /**
957
+ * Parse the engine from AssistAnswer resource.
958
+ *
959
+ * @param {string} assistAnswerName
960
+ * A fully-qualified path representing AssistAnswer resource.
961
+ * @returns {string} A string representing the engine.
962
+ */
963
+ matchEngineFromAssistAnswerName(assistAnswerName) {
964
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
965
+ }
966
+ /**
967
+ * Parse the session from AssistAnswer resource.
968
+ *
969
+ * @param {string} assistAnswerName
970
+ * A fully-qualified path representing AssistAnswer resource.
971
+ * @returns {string} A string representing the session.
972
+ */
973
+ matchSessionFromAssistAnswerName(assistAnswerName) {
974
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
975
+ }
976
+ /**
977
+ * Parse the assist_answer from AssistAnswer resource.
978
+ *
979
+ * @param {string} assistAnswerName
980
+ * A fully-qualified path representing AssistAnswer resource.
981
+ * @returns {string} A string representing the assist_answer.
982
+ */
983
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
984
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
985
+ }
986
+ /**
987
+ * Return a fully-qualified assistant resource name string.
988
+ *
989
+ * @param {string} project
990
+ * @param {string} location
991
+ * @param {string} collection
992
+ * @param {string} engine
993
+ * @param {string} assistant
994
+ * @returns {string} Resource name string.
995
+ */
996
+ assistantPath(project, location, collection, engine, assistant) {
997
+ return this.pathTemplates.assistantPathTemplate.render({
998
+ project: project,
999
+ location: location,
1000
+ collection: collection,
1001
+ engine: engine,
1002
+ assistant: assistant,
1003
+ });
1004
+ }
1005
+ /**
1006
+ * Parse the project from Assistant resource.
1007
+ *
1008
+ * @param {string} assistantName
1009
+ * A fully-qualified path representing Assistant resource.
1010
+ * @returns {string} A string representing the project.
1011
+ */
1012
+ matchProjectFromAssistantName(assistantName) {
1013
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
1014
+ }
1015
+ /**
1016
+ * Parse the location from Assistant resource.
1017
+ *
1018
+ * @param {string} assistantName
1019
+ * A fully-qualified path representing Assistant resource.
1020
+ * @returns {string} A string representing the location.
1021
+ */
1022
+ matchLocationFromAssistantName(assistantName) {
1023
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
1024
+ }
1025
+ /**
1026
+ * Parse the collection from Assistant resource.
1027
+ *
1028
+ * @param {string} assistantName
1029
+ * A fully-qualified path representing Assistant resource.
1030
+ * @returns {string} A string representing the collection.
1031
+ */
1032
+ matchCollectionFromAssistantName(assistantName) {
1033
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
1034
+ }
1035
+ /**
1036
+ * Parse the engine from Assistant resource.
1037
+ *
1038
+ * @param {string} assistantName
1039
+ * A fully-qualified path representing Assistant resource.
1040
+ * @returns {string} A string representing the engine.
1041
+ */
1042
+ matchEngineFromAssistantName(assistantName) {
1043
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
1044
+ }
1045
+ /**
1046
+ * Parse the assistant from Assistant resource.
1047
+ *
1048
+ * @param {string} assistantName
1049
+ * A fully-qualified path representing Assistant resource.
1050
+ * @returns {string} A string representing the assistant.
1051
+ */
1052
+ matchAssistantFromAssistantName(assistantName) {
1053
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
1054
+ }
903
1055
  /**
904
1056
  * Return a fully-qualified collection resource name string.
905
1057
  *
@@ -1780,154 +1932,154 @@ class DataStoreServiceClient {
1780
1932
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1781
1933
  }
1782
1934
  /**
1783
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1935
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1784
1936
  *
1785
1937
  * @param {string} project
1786
1938
  * @param {string} location
1787
1939
  * @param {string} collection
1788
1940
  * @param {string} data_store
1789
1941
  * @param {string} session
1942
+ * @param {string} answer
1790
1943
  * @returns {string} Resource name string.
1791
1944
  */
1792
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1793
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1945
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1946
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1794
1947
  project: project,
1795
1948
  location: location,
1796
1949
  collection: collection,
1797
1950
  data_store: dataStore,
1798
1951
  session: session,
1952
+ answer: answer,
1799
1953
  });
1800
1954
  }
1801
1955
  /**
1802
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1956
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1803
1957
  *
1804
- * @param {string} projectLocationCollectionDataStoreSessionName
1805
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1958
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1959
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1806
1960
  * @returns {string} A string representing the project.
1807
1961
  */
1808
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1809
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1962
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1963
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1810
1964
  }
1811
1965
  /**
1812
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1966
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1813
1967
  *
1814
- * @param {string} projectLocationCollectionDataStoreSessionName
1815
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1968
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1969
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1816
1970
  * @returns {string} A string representing the location.
1817
1971
  */
1818
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1819
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1972
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1973
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1820
1974
  }
1821
1975
  /**
1822
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1976
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1823
1977
  *
1824
- * @param {string} projectLocationCollectionDataStoreSessionName
1825
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1978
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1979
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1826
1980
  * @returns {string} A string representing the collection.
1827
1981
  */
1828
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1829
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1982
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1983
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1830
1984
  }
1831
1985
  /**
1832
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1986
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1833
1987
  *
1834
- * @param {string} projectLocationCollectionDataStoreSessionName
1835
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1988
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1989
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1836
1990
  * @returns {string} A string representing the data_store.
1837
1991
  */
1838
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1839
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1992
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1993
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1840
1994
  }
1841
1995
  /**
1842
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1996
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1843
1997
  *
1844
- * @param {string} projectLocationCollectionDataStoreSessionName
1845
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1998
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1999
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1846
2000
  * @returns {string} A string representing the session.
1847
2001
  */
1848
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1849
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
2002
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2003
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1850
2004
  }
1851
2005
  /**
1852
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2006
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2007
+ *
2008
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2009
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2010
+ * @returns {string} A string representing the answer.
2011
+ */
2012
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2013
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2014
+ }
2015
+ /**
2016
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1853
2017
  *
1854
2018
  * @param {string} project
1855
2019
  * @param {string} location
1856
2020
  * @param {string} collection
1857
2021
  * @param {string} data_store
1858
2022
  * @param {string} session
1859
- * @param {string} answer
1860
2023
  * @returns {string} Resource name string.
1861
2024
  */
1862
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1863
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2025
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
2026
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1864
2027
  project: project,
1865
2028
  location: location,
1866
2029
  collection: collection,
1867
2030
  data_store: dataStore,
1868
2031
  session: session,
1869
- answer: answer,
1870
2032
  });
1871
2033
  }
1872
2034
  /**
1873
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2035
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1874
2036
  *
1875
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1876
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2037
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2038
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1877
2039
  * @returns {string} A string representing the project.
1878
2040
  */
1879
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1880
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2041
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2042
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1881
2043
  }
1882
2044
  /**
1883
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2045
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1884
2046
  *
1885
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1886
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2047
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2048
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1887
2049
  * @returns {string} A string representing the location.
1888
2050
  */
1889
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1890
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2051
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2052
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1891
2053
  }
1892
2054
  /**
1893
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2055
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1894
2056
  *
1895
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1896
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2057
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2058
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1897
2059
  * @returns {string} A string representing the collection.
1898
2060
  */
1899
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1900
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2061
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2062
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1901
2063
  }
1902
2064
  /**
1903
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2065
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1904
2066
  *
1905
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1906
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2067
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2068
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1907
2069
  * @returns {string} A string representing the data_store.
1908
2070
  */
1909
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1910
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2071
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2072
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1911
2073
  }
1912
2074
  /**
1913
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2075
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1914
2076
  *
1915
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1916
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2077
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2078
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1917
2079
  * @returns {string} A string representing the session.
1918
2080
  */
1919
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1920
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1921
- }
1922
- /**
1923
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1924
- *
1925
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1926
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1927
- * @returns {string} A string representing the answer.
1928
- */
1929
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1930
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2081
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2082
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1931
2083
  }
1932
2084
  /**
1933
2085
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2332,154 +2484,154 @@ class DataStoreServiceClient {
2332
2484
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2333
2485
  }
2334
2486
  /**
2335
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2487
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2336
2488
  *
2337
2489
  * @param {string} project
2338
2490
  * @param {string} location
2339
2491
  * @param {string} collection
2340
2492
  * @param {string} engine
2341
2493
  * @param {string} session
2494
+ * @param {string} answer
2342
2495
  * @returns {string} Resource name string.
2343
2496
  */
2344
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2345
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2497
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2498
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2346
2499
  project: project,
2347
2500
  location: location,
2348
2501
  collection: collection,
2349
2502
  engine: engine,
2350
2503
  session: session,
2504
+ answer: answer,
2351
2505
  });
2352
2506
  }
2353
2507
  /**
2354
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2508
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2355
2509
  *
2356
- * @param {string} projectLocationCollectionEngineSessionName
2357
- * A fully-qualified path representing project_location_collection_engine_session resource.
2510
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2511
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2358
2512
  * @returns {string} A string representing the project.
2359
2513
  */
2360
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2361
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2514
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2515
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2362
2516
  }
2363
2517
  /**
2364
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2518
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2365
2519
  *
2366
- * @param {string} projectLocationCollectionEngineSessionName
2367
- * A fully-qualified path representing project_location_collection_engine_session resource.
2520
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2521
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2368
2522
  * @returns {string} A string representing the location.
2369
2523
  */
2370
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2371
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2524
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2525
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2372
2526
  }
2373
2527
  /**
2374
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2528
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2375
2529
  *
2376
- * @param {string} projectLocationCollectionEngineSessionName
2377
- * A fully-qualified path representing project_location_collection_engine_session resource.
2530
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2531
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2378
2532
  * @returns {string} A string representing the collection.
2379
2533
  */
2380
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2381
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2534
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2535
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2382
2536
  }
2383
2537
  /**
2384
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2538
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2385
2539
  *
2386
- * @param {string} projectLocationCollectionEngineSessionName
2387
- * A fully-qualified path representing project_location_collection_engine_session resource.
2540
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2541
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2388
2542
  * @returns {string} A string representing the engine.
2389
2543
  */
2390
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2391
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2544
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2545
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2392
2546
  }
2393
2547
  /**
2394
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2548
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2395
2549
  *
2396
- * @param {string} projectLocationCollectionEngineSessionName
2397
- * A fully-qualified path representing project_location_collection_engine_session resource.
2550
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2551
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2398
2552
  * @returns {string} A string representing the session.
2399
2553
  */
2400
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2401
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2554
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2555
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2402
2556
  }
2403
2557
  /**
2404
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2558
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2559
+ *
2560
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2561
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2562
+ * @returns {string} A string representing the answer.
2563
+ */
2564
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2565
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2566
+ }
2567
+ /**
2568
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2405
2569
  *
2406
2570
  * @param {string} project
2407
2571
  * @param {string} location
2408
2572
  * @param {string} collection
2409
2573
  * @param {string} engine
2410
2574
  * @param {string} session
2411
- * @param {string} answer
2412
2575
  * @returns {string} Resource name string.
2413
2576
  */
2414
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2415
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2577
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2578
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2416
2579
  project: project,
2417
2580
  location: location,
2418
2581
  collection: collection,
2419
2582
  engine: engine,
2420
2583
  session: session,
2421
- answer: answer,
2422
2584
  });
2423
2585
  }
2424
2586
  /**
2425
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2587
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2426
2588
  *
2427
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2428
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2589
+ * @param {string} projectLocationCollectionEngineSessionsName
2590
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2429
2591
  * @returns {string} A string representing the project.
2430
2592
  */
2431
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2432
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2593
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2594
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2433
2595
  }
2434
2596
  /**
2435
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2597
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2436
2598
  *
2437
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2438
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2599
+ * @param {string} projectLocationCollectionEngineSessionsName
2600
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2439
2601
  * @returns {string} A string representing the location.
2440
2602
  */
2441
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2442
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2603
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2604
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2443
2605
  }
2444
2606
  /**
2445
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2607
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2446
2608
  *
2447
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2448
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2609
+ * @param {string} projectLocationCollectionEngineSessionsName
2610
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2449
2611
  * @returns {string} A string representing the collection.
2450
2612
  */
2451
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2452
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2613
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2614
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2453
2615
  }
2454
2616
  /**
2455
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2617
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2456
2618
  *
2457
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2458
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2619
+ * @param {string} projectLocationCollectionEngineSessionsName
2620
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2459
2621
  * @returns {string} A string representing the engine.
2460
2622
  */
2461
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2462
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2623
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2624
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2463
2625
  }
2464
2626
  /**
2465
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2627
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2466
2628
  *
2467
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2468
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2629
+ * @param {string} projectLocationCollectionEngineSessionsName
2630
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2469
2631
  * @returns {string} A string representing the session.
2470
2632
  */
2471
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2472
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2473
- }
2474
- /**
2475
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2476
- *
2477
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2478
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2479
- * @returns {string} A string representing the answer.
2480
- */
2481
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2482
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2633
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2634
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2483
2635
  }
2484
2636
  /**
2485
2637
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3006,63 +3158,6 @@ class DataStoreServiceClient {
3006
3158
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3007
3159
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3008
3160
  }
3009
- /**
3010
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3011
- *
3012
- * @param {string} project
3013
- * @param {string} location
3014
- * @param {string} data_store
3015
- * @param {string} session
3016
- * @returns {string} Resource name string.
3017
- */
3018
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3019
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3020
- project: project,
3021
- location: location,
3022
- data_store: dataStore,
3023
- session: session,
3024
- });
3025
- }
3026
- /**
3027
- * Parse the project from ProjectLocationDataStoreSession resource.
3028
- *
3029
- * @param {string} projectLocationDataStoreSessionName
3030
- * A fully-qualified path representing project_location_data_store_session resource.
3031
- * @returns {string} A string representing the project.
3032
- */
3033
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3034
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3035
- }
3036
- /**
3037
- * Parse the location from ProjectLocationDataStoreSession resource.
3038
- *
3039
- * @param {string} projectLocationDataStoreSessionName
3040
- * A fully-qualified path representing project_location_data_store_session resource.
3041
- * @returns {string} A string representing the location.
3042
- */
3043
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3044
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3045
- }
3046
- /**
3047
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3048
- *
3049
- * @param {string} projectLocationDataStoreSessionName
3050
- * A fully-qualified path representing project_location_data_store_session resource.
3051
- * @returns {string} A string representing the data_store.
3052
- */
3053
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3054
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3055
- }
3056
- /**
3057
- * Parse the session from ProjectLocationDataStoreSession resource.
3058
- *
3059
- * @param {string} projectLocationDataStoreSessionName
3060
- * A fully-qualified path representing project_location_data_store_session resource.
3061
- * @returns {string} A string representing the session.
3062
- */
3063
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3064
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3065
- }
3066
3161
  /**
3067
3162
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3068
3163
  *
@@ -3132,6 +3227,63 @@ class DataStoreServiceClient {
3132
3227
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3133
3228
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3134
3229
  }
3230
+ /**
3231
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3232
+ *
3233
+ * @param {string} project
3234
+ * @param {string} location
3235
+ * @param {string} data_store
3236
+ * @param {string} session
3237
+ * @returns {string} Resource name string.
3238
+ */
3239
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3240
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3241
+ project: project,
3242
+ location: location,
3243
+ data_store: dataStore,
3244
+ session: session,
3245
+ });
3246
+ }
3247
+ /**
3248
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3249
+ *
3250
+ * @param {string} projectLocationDataStoreSessionsName
3251
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3252
+ * @returns {string} A string representing the project.
3253
+ */
3254
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3255
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3256
+ }
3257
+ /**
3258
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3259
+ *
3260
+ * @param {string} projectLocationDataStoreSessionsName
3261
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3262
+ * @returns {string} A string representing the location.
3263
+ */
3264
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3265
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3266
+ }
3267
+ /**
3268
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3269
+ *
3270
+ * @param {string} projectLocationDataStoreSessionsName
3271
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3272
+ * @returns {string} A string representing the data_store.
3273
+ */
3274
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3275
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3276
+ }
3277
+ /**
3278
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3279
+ *
3280
+ * @param {string} projectLocationDataStoreSessionsName
3281
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3282
+ * @returns {string} A string representing the session.
3283
+ */
3284
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3285
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3286
+ }
3135
3287
  /**
3136
3288
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3137
3289
  *