@google-cloud/discoveryengine 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -163,6 +163,8 @@ class ServingConfigServiceClient {
163
163
  // identifiers to uniquely identify resources within the API.
164
164
  // Create useful helper objects for these.
165
165
  this.pathTemplates = {
166
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
167
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
166
168
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
167
169
  identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
168
170
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
@@ -177,16 +179,16 @@ class ServingConfigServiceClient {
177
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
182
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
183
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
184
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
185
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
186
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
187
189
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
188
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
190
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
191
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
191
193
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
192
194
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -196,8 +198,8 @@ class ServingConfigServiceClient {
196
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
200
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
199
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
201
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
202
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
204
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
203
205
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -406,6 +408,156 @@ class ServingConfigServiceClient {
406
408
  // --------------------
407
409
  // -- Path templates --
408
410
  // --------------------
411
+ /**
412
+ * Return a fully-qualified assistAnswer resource name string.
413
+ *
414
+ * @param {string} project
415
+ * @param {string} location
416
+ * @param {string} collection
417
+ * @param {string} engine
418
+ * @param {string} session
419
+ * @param {string} assist_answer
420
+ * @returns {string} Resource name string.
421
+ */
422
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
423
+ return this.pathTemplates.assistAnswerPathTemplate.render({
424
+ project: project,
425
+ location: location,
426
+ collection: collection,
427
+ engine: engine,
428
+ session: session,
429
+ assist_answer: assistAnswer,
430
+ });
431
+ }
432
+ /**
433
+ * Parse the project from AssistAnswer resource.
434
+ *
435
+ * @param {string} assistAnswerName
436
+ * A fully-qualified path representing AssistAnswer resource.
437
+ * @returns {string} A string representing the project.
438
+ */
439
+ matchProjectFromAssistAnswerName(assistAnswerName) {
440
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
441
+ }
442
+ /**
443
+ * Parse the location from AssistAnswer resource.
444
+ *
445
+ * @param {string} assistAnswerName
446
+ * A fully-qualified path representing AssistAnswer resource.
447
+ * @returns {string} A string representing the location.
448
+ */
449
+ matchLocationFromAssistAnswerName(assistAnswerName) {
450
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
451
+ }
452
+ /**
453
+ * Parse the collection from AssistAnswer resource.
454
+ *
455
+ * @param {string} assistAnswerName
456
+ * A fully-qualified path representing AssistAnswer resource.
457
+ * @returns {string} A string representing the collection.
458
+ */
459
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
460
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
461
+ }
462
+ /**
463
+ * Parse the engine from AssistAnswer resource.
464
+ *
465
+ * @param {string} assistAnswerName
466
+ * A fully-qualified path representing AssistAnswer resource.
467
+ * @returns {string} A string representing the engine.
468
+ */
469
+ matchEngineFromAssistAnswerName(assistAnswerName) {
470
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
471
+ }
472
+ /**
473
+ * Parse the session from AssistAnswer resource.
474
+ *
475
+ * @param {string} assistAnswerName
476
+ * A fully-qualified path representing AssistAnswer resource.
477
+ * @returns {string} A string representing the session.
478
+ */
479
+ matchSessionFromAssistAnswerName(assistAnswerName) {
480
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
481
+ }
482
+ /**
483
+ * Parse the assist_answer from AssistAnswer resource.
484
+ *
485
+ * @param {string} assistAnswerName
486
+ * A fully-qualified path representing AssistAnswer resource.
487
+ * @returns {string} A string representing the assist_answer.
488
+ */
489
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
490
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
491
+ }
492
+ /**
493
+ * Return a fully-qualified assistant resource name string.
494
+ *
495
+ * @param {string} project
496
+ * @param {string} location
497
+ * @param {string} collection
498
+ * @param {string} engine
499
+ * @param {string} assistant
500
+ * @returns {string} Resource name string.
501
+ */
502
+ assistantPath(project, location, collection, engine, assistant) {
503
+ return this.pathTemplates.assistantPathTemplate.render({
504
+ project: project,
505
+ location: location,
506
+ collection: collection,
507
+ engine: engine,
508
+ assistant: assistant,
509
+ });
510
+ }
511
+ /**
512
+ * Parse the project from Assistant resource.
513
+ *
514
+ * @param {string} assistantName
515
+ * A fully-qualified path representing Assistant resource.
516
+ * @returns {string} A string representing the project.
517
+ */
518
+ matchProjectFromAssistantName(assistantName) {
519
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
520
+ }
521
+ /**
522
+ * Parse the location from Assistant resource.
523
+ *
524
+ * @param {string} assistantName
525
+ * A fully-qualified path representing Assistant resource.
526
+ * @returns {string} A string representing the location.
527
+ */
528
+ matchLocationFromAssistantName(assistantName) {
529
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
530
+ }
531
+ /**
532
+ * Parse the collection from Assistant resource.
533
+ *
534
+ * @param {string} assistantName
535
+ * A fully-qualified path representing Assistant resource.
536
+ * @returns {string} A string representing the collection.
537
+ */
538
+ matchCollectionFromAssistantName(assistantName) {
539
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
540
+ }
541
+ /**
542
+ * Parse the engine from Assistant resource.
543
+ *
544
+ * @param {string} assistantName
545
+ * A fully-qualified path representing Assistant resource.
546
+ * @returns {string} A string representing the engine.
547
+ */
548
+ matchEngineFromAssistantName(assistantName) {
549
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
550
+ }
551
+ /**
552
+ * Parse the assistant from Assistant resource.
553
+ *
554
+ * @param {string} assistantName
555
+ * A fully-qualified path representing Assistant resource.
556
+ * @returns {string} A string representing the assistant.
557
+ */
558
+ matchAssistantFromAssistantName(assistantName) {
559
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
560
+ }
409
561
  /**
410
562
  * Return a fully-qualified engine resource name string.
411
563
  *
@@ -1241,154 +1393,154 @@ class ServingConfigServiceClient {
1241
1393
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1242
1394
  }
1243
1395
  /**
1244
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1396
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1245
1397
  *
1246
1398
  * @param {string} project
1247
1399
  * @param {string} location
1248
1400
  * @param {string} collection
1249
1401
  * @param {string} data_store
1250
1402
  * @param {string} session
1403
+ * @param {string} answer
1251
1404
  * @returns {string} Resource name string.
1252
1405
  */
1253
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1254
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1406
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1407
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1255
1408
  project: project,
1256
1409
  location: location,
1257
1410
  collection: collection,
1258
1411
  data_store: dataStore,
1259
1412
  session: session,
1413
+ answer: answer,
1260
1414
  });
1261
1415
  }
1262
1416
  /**
1263
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1417
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1264
1418
  *
1265
- * @param {string} projectLocationCollectionDataStoreSessionName
1266
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1419
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1420
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1267
1421
  * @returns {string} A string representing the project.
1268
1422
  */
1269
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1270
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1423
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1424
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1271
1425
  }
1272
1426
  /**
1273
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1427
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1274
1428
  *
1275
- * @param {string} projectLocationCollectionDataStoreSessionName
1276
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1429
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1430
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1277
1431
  * @returns {string} A string representing the location.
1278
1432
  */
1279
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1280
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1433
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1434
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1281
1435
  }
1282
1436
  /**
1283
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1437
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1284
1438
  *
1285
- * @param {string} projectLocationCollectionDataStoreSessionName
1286
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1439
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1440
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1287
1441
  * @returns {string} A string representing the collection.
1288
1442
  */
1289
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1290
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1443
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1444
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1291
1445
  }
1292
1446
  /**
1293
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1447
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1294
1448
  *
1295
- * @param {string} projectLocationCollectionDataStoreSessionName
1296
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1449
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1450
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1297
1451
  * @returns {string} A string representing the data_store.
1298
1452
  */
1299
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1300
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1453
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1454
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1301
1455
  }
1302
1456
  /**
1303
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1457
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1304
1458
  *
1305
- * @param {string} projectLocationCollectionDataStoreSessionName
1306
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1459
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1460
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1307
1461
  * @returns {string} A string representing the session.
1308
1462
  */
1309
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1310
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1463
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1464
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1311
1465
  }
1312
1466
  /**
1313
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1467
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1468
+ *
1469
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1470
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1471
+ * @returns {string} A string representing the answer.
1472
+ */
1473
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1474
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1475
+ }
1476
+ /**
1477
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1314
1478
  *
1315
1479
  * @param {string} project
1316
1480
  * @param {string} location
1317
1481
  * @param {string} collection
1318
1482
  * @param {string} data_store
1319
1483
  * @param {string} session
1320
- * @param {string} answer
1321
1484
  * @returns {string} Resource name string.
1322
1485
  */
1323
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1324
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1486
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1487
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1325
1488
  project: project,
1326
1489
  location: location,
1327
1490
  collection: collection,
1328
1491
  data_store: dataStore,
1329
1492
  session: session,
1330
- answer: answer,
1331
1493
  });
1332
1494
  }
1333
1495
  /**
1334
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1496
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1335
1497
  *
1336
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1337
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1498
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1499
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1338
1500
  * @returns {string} A string representing the project.
1339
1501
  */
1340
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1341
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1502
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1503
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1342
1504
  }
1343
1505
  /**
1344
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1506
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1345
1507
  *
1346
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1347
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1508
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1509
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1348
1510
  * @returns {string} A string representing the location.
1349
1511
  */
1350
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1351
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1512
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1513
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1352
1514
  }
1353
1515
  /**
1354
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1516
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1355
1517
  *
1356
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1357
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1518
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1519
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1358
1520
  * @returns {string} A string representing the collection.
1359
1521
  */
1360
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1361
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1522
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1523
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1362
1524
  }
1363
1525
  /**
1364
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1526
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1365
1527
  *
1366
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1367
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1528
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1529
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1368
1530
  * @returns {string} A string representing the data_store.
1369
1531
  */
1370
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1371
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1532
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1533
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1372
1534
  }
1373
1535
  /**
1374
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1536
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1375
1537
  *
1376
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1377
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1538
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1539
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1378
1540
  * @returns {string} A string representing the session.
1379
1541
  */
1380
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1381
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1382
- }
1383
- /**
1384
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1385
- *
1386
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1387
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1388
- * @returns {string} A string representing the answer.
1389
- */
1390
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1391
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1542
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1543
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1392
1544
  }
1393
1545
  /**
1394
1546
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1793,154 +1945,154 @@ class ServingConfigServiceClient {
1793
1945
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1794
1946
  }
1795
1947
  /**
1796
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1948
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1797
1949
  *
1798
1950
  * @param {string} project
1799
1951
  * @param {string} location
1800
1952
  * @param {string} collection
1801
1953
  * @param {string} engine
1802
1954
  * @param {string} session
1955
+ * @param {string} answer
1803
1956
  * @returns {string} Resource name string.
1804
1957
  */
1805
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1806
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1958
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1959
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1807
1960
  project: project,
1808
1961
  location: location,
1809
1962
  collection: collection,
1810
1963
  engine: engine,
1811
1964
  session: session,
1965
+ answer: answer,
1812
1966
  });
1813
1967
  }
1814
1968
  /**
1815
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1969
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1816
1970
  *
1817
- * @param {string} projectLocationCollectionEngineSessionName
1818
- * A fully-qualified path representing project_location_collection_engine_session resource.
1971
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1972
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1819
1973
  * @returns {string} A string representing the project.
1820
1974
  */
1821
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1822
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1975
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1976
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1823
1977
  }
1824
1978
  /**
1825
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1979
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1826
1980
  *
1827
- * @param {string} projectLocationCollectionEngineSessionName
1828
- * A fully-qualified path representing project_location_collection_engine_session resource.
1981
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1982
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1829
1983
  * @returns {string} A string representing the location.
1830
1984
  */
1831
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1832
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1985
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1986
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1833
1987
  }
1834
1988
  /**
1835
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1989
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1836
1990
  *
1837
- * @param {string} projectLocationCollectionEngineSessionName
1838
- * A fully-qualified path representing project_location_collection_engine_session resource.
1991
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1992
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1839
1993
  * @returns {string} A string representing the collection.
1840
1994
  */
1841
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1842
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1995
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1996
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1843
1997
  }
1844
1998
  /**
1845
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1999
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1846
2000
  *
1847
- * @param {string} projectLocationCollectionEngineSessionName
1848
- * A fully-qualified path representing project_location_collection_engine_session resource.
2001
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2002
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1849
2003
  * @returns {string} A string representing the engine.
1850
2004
  */
1851
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1852
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2005
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2006
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1853
2007
  }
1854
2008
  /**
1855
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2009
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1856
2010
  *
1857
- * @param {string} projectLocationCollectionEngineSessionName
1858
- * A fully-qualified path representing project_location_collection_engine_session resource.
2011
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2012
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1859
2013
  * @returns {string} A string representing the session.
1860
2014
  */
1861
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1862
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2015
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2016
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1863
2017
  }
1864
2018
  /**
1865
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2019
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2020
+ *
2021
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2022
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2023
+ * @returns {string} A string representing the answer.
2024
+ */
2025
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2026
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2027
+ }
2028
+ /**
2029
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1866
2030
  *
1867
2031
  * @param {string} project
1868
2032
  * @param {string} location
1869
2033
  * @param {string} collection
1870
2034
  * @param {string} engine
1871
2035
  * @param {string} session
1872
- * @param {string} answer
1873
2036
  * @returns {string} Resource name string.
1874
2037
  */
1875
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1876
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2038
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2039
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1877
2040
  project: project,
1878
2041
  location: location,
1879
2042
  collection: collection,
1880
2043
  engine: engine,
1881
2044
  session: session,
1882
- answer: answer,
1883
2045
  });
1884
2046
  }
1885
2047
  /**
1886
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2048
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1887
2049
  *
1888
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1889
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2050
+ * @param {string} projectLocationCollectionEngineSessionsName
2051
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1890
2052
  * @returns {string} A string representing the project.
1891
2053
  */
1892
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1893
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2054
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2055
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1894
2056
  }
1895
2057
  /**
1896
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2058
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1897
2059
  *
1898
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1899
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2060
+ * @param {string} projectLocationCollectionEngineSessionsName
2061
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1900
2062
  * @returns {string} A string representing the location.
1901
2063
  */
1902
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1903
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2064
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2065
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1904
2066
  }
1905
2067
  /**
1906
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2068
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1907
2069
  *
1908
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1909
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2070
+ * @param {string} projectLocationCollectionEngineSessionsName
2071
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1910
2072
  * @returns {string} A string representing the collection.
1911
2073
  */
1912
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1913
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2074
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2075
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1914
2076
  }
1915
2077
  /**
1916
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2078
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1917
2079
  *
1918
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1919
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2080
+ * @param {string} projectLocationCollectionEngineSessionsName
2081
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1920
2082
  * @returns {string} A string representing the engine.
1921
2083
  */
1922
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1923
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2084
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2085
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1924
2086
  }
1925
2087
  /**
1926
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2088
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
1927
2089
  *
1928
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1929
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2090
+ * @param {string} projectLocationCollectionEngineSessionsName
2091
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1930
2092
  * @returns {string} A string representing the session.
1931
2093
  */
1932
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1933
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1934
- }
1935
- /**
1936
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1937
- *
1938
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1939
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1940
- * @returns {string} A string representing the answer.
1941
- */
1942
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1943
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2094
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2095
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
1944
2096
  }
1945
2097
  /**
1946
2098
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2467,63 +2619,6 @@ class ServingConfigServiceClient {
2467
2619
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2468
2620
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2469
2621
  }
2470
- /**
2471
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2472
- *
2473
- * @param {string} project
2474
- * @param {string} location
2475
- * @param {string} data_store
2476
- * @param {string} session
2477
- * @returns {string} Resource name string.
2478
- */
2479
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2480
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2481
- project: project,
2482
- location: location,
2483
- data_store: dataStore,
2484
- session: session,
2485
- });
2486
- }
2487
- /**
2488
- * Parse the project from ProjectLocationDataStoreSession resource.
2489
- *
2490
- * @param {string} projectLocationDataStoreSessionName
2491
- * A fully-qualified path representing project_location_data_store_session resource.
2492
- * @returns {string} A string representing the project.
2493
- */
2494
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2495
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2496
- }
2497
- /**
2498
- * Parse the location from ProjectLocationDataStoreSession resource.
2499
- *
2500
- * @param {string} projectLocationDataStoreSessionName
2501
- * A fully-qualified path representing project_location_data_store_session resource.
2502
- * @returns {string} A string representing the location.
2503
- */
2504
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2505
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2506
- }
2507
- /**
2508
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2509
- *
2510
- * @param {string} projectLocationDataStoreSessionName
2511
- * A fully-qualified path representing project_location_data_store_session resource.
2512
- * @returns {string} A string representing the data_store.
2513
- */
2514
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2515
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2516
- }
2517
- /**
2518
- * Parse the session from ProjectLocationDataStoreSession resource.
2519
- *
2520
- * @param {string} projectLocationDataStoreSessionName
2521
- * A fully-qualified path representing project_location_data_store_session resource.
2522
- * @returns {string} A string representing the session.
2523
- */
2524
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2525
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2526
- }
2527
2622
  /**
2528
2623
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2529
2624
  *
@@ -2593,6 +2688,63 @@ class ServingConfigServiceClient {
2593
2688
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2594
2689
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2595
2690
  }
2691
+ /**
2692
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2693
+ *
2694
+ * @param {string} project
2695
+ * @param {string} location
2696
+ * @param {string} data_store
2697
+ * @param {string} session
2698
+ * @returns {string} Resource name string.
2699
+ */
2700
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2701
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2702
+ project: project,
2703
+ location: location,
2704
+ data_store: dataStore,
2705
+ session: session,
2706
+ });
2707
+ }
2708
+ /**
2709
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2710
+ *
2711
+ * @param {string} projectLocationDataStoreSessionsName
2712
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2713
+ * @returns {string} A string representing the project.
2714
+ */
2715
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2716
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2717
+ }
2718
+ /**
2719
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2720
+ *
2721
+ * @param {string} projectLocationDataStoreSessionsName
2722
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2723
+ * @returns {string} A string representing the location.
2724
+ */
2725
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2726
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2727
+ }
2728
+ /**
2729
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2730
+ *
2731
+ * @param {string} projectLocationDataStoreSessionsName
2732
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2733
+ * @returns {string} A string representing the data_store.
2734
+ */
2735
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2736
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2737
+ }
2738
+ /**
2739
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2740
+ *
2741
+ * @param {string} projectLocationDataStoreSessionsName
2742
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2743
+ * @returns {string} A string representing the session.
2744
+ */
2745
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2746
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2747
+ }
2596
2748
  /**
2597
2749
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2598
2750
  *