@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 SearchTuningServiceClient {
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 SearchTuningServiceClient {
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 SearchTuningServiceClient {
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}'),
@@ -656,6 +658,156 @@ class SearchTuningServiceClient {
656
658
  // --------------------
657
659
  // -- Path templates --
658
660
  // --------------------
661
+ /**
662
+ * Return a fully-qualified assistAnswer resource name string.
663
+ *
664
+ * @param {string} project
665
+ * @param {string} location
666
+ * @param {string} collection
667
+ * @param {string} engine
668
+ * @param {string} session
669
+ * @param {string} assist_answer
670
+ * @returns {string} Resource name string.
671
+ */
672
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
673
+ return this.pathTemplates.assistAnswerPathTemplate.render({
674
+ project: project,
675
+ location: location,
676
+ collection: collection,
677
+ engine: engine,
678
+ session: session,
679
+ assist_answer: assistAnswer,
680
+ });
681
+ }
682
+ /**
683
+ * Parse the project from AssistAnswer resource.
684
+ *
685
+ * @param {string} assistAnswerName
686
+ * A fully-qualified path representing AssistAnswer resource.
687
+ * @returns {string} A string representing the project.
688
+ */
689
+ matchProjectFromAssistAnswerName(assistAnswerName) {
690
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
691
+ }
692
+ /**
693
+ * Parse the location from AssistAnswer resource.
694
+ *
695
+ * @param {string} assistAnswerName
696
+ * A fully-qualified path representing AssistAnswer resource.
697
+ * @returns {string} A string representing the location.
698
+ */
699
+ matchLocationFromAssistAnswerName(assistAnswerName) {
700
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
701
+ }
702
+ /**
703
+ * Parse the collection from AssistAnswer resource.
704
+ *
705
+ * @param {string} assistAnswerName
706
+ * A fully-qualified path representing AssistAnswer resource.
707
+ * @returns {string} A string representing the collection.
708
+ */
709
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
710
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
711
+ }
712
+ /**
713
+ * Parse the engine from AssistAnswer resource.
714
+ *
715
+ * @param {string} assistAnswerName
716
+ * A fully-qualified path representing AssistAnswer resource.
717
+ * @returns {string} A string representing the engine.
718
+ */
719
+ matchEngineFromAssistAnswerName(assistAnswerName) {
720
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
721
+ }
722
+ /**
723
+ * Parse the session from AssistAnswer resource.
724
+ *
725
+ * @param {string} assistAnswerName
726
+ * A fully-qualified path representing AssistAnswer resource.
727
+ * @returns {string} A string representing the session.
728
+ */
729
+ matchSessionFromAssistAnswerName(assistAnswerName) {
730
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
731
+ }
732
+ /**
733
+ * Parse the assist_answer from AssistAnswer resource.
734
+ *
735
+ * @param {string} assistAnswerName
736
+ * A fully-qualified path representing AssistAnswer resource.
737
+ * @returns {string} A string representing the assist_answer.
738
+ */
739
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
740
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
741
+ }
742
+ /**
743
+ * Return a fully-qualified assistant resource name string.
744
+ *
745
+ * @param {string} project
746
+ * @param {string} location
747
+ * @param {string} collection
748
+ * @param {string} engine
749
+ * @param {string} assistant
750
+ * @returns {string} Resource name string.
751
+ */
752
+ assistantPath(project, location, collection, engine, assistant) {
753
+ return this.pathTemplates.assistantPathTemplate.render({
754
+ project: project,
755
+ location: location,
756
+ collection: collection,
757
+ engine: engine,
758
+ assistant: assistant,
759
+ });
760
+ }
761
+ /**
762
+ * Parse the project from Assistant resource.
763
+ *
764
+ * @param {string} assistantName
765
+ * A fully-qualified path representing Assistant resource.
766
+ * @returns {string} A string representing the project.
767
+ */
768
+ matchProjectFromAssistantName(assistantName) {
769
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
770
+ }
771
+ /**
772
+ * Parse the location from Assistant resource.
773
+ *
774
+ * @param {string} assistantName
775
+ * A fully-qualified path representing Assistant resource.
776
+ * @returns {string} A string representing the location.
777
+ */
778
+ matchLocationFromAssistantName(assistantName) {
779
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
780
+ }
781
+ /**
782
+ * Parse the collection from Assistant resource.
783
+ *
784
+ * @param {string} assistantName
785
+ * A fully-qualified path representing Assistant resource.
786
+ * @returns {string} A string representing the collection.
787
+ */
788
+ matchCollectionFromAssistantName(assistantName) {
789
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
790
+ }
791
+ /**
792
+ * Parse the engine from Assistant resource.
793
+ *
794
+ * @param {string} assistantName
795
+ * A fully-qualified path representing Assistant resource.
796
+ * @returns {string} A string representing the engine.
797
+ */
798
+ matchEngineFromAssistantName(assistantName) {
799
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
800
+ }
801
+ /**
802
+ * Parse the assistant from Assistant resource.
803
+ *
804
+ * @param {string} assistantName
805
+ * A fully-qualified path representing Assistant resource.
806
+ * @returns {string} A string representing the assistant.
807
+ */
808
+ matchAssistantFromAssistantName(assistantName) {
809
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
810
+ }
659
811
  /**
660
812
  * Return a fully-qualified engine resource name string.
661
813
  *
@@ -1491,154 +1643,154 @@ class SearchTuningServiceClient {
1491
1643
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1492
1644
  }
1493
1645
  /**
1494
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1646
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1495
1647
  *
1496
1648
  * @param {string} project
1497
1649
  * @param {string} location
1498
1650
  * @param {string} collection
1499
1651
  * @param {string} data_store
1500
1652
  * @param {string} session
1653
+ * @param {string} answer
1501
1654
  * @returns {string} Resource name string.
1502
1655
  */
1503
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1504
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1656
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1657
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1505
1658
  project: project,
1506
1659
  location: location,
1507
1660
  collection: collection,
1508
1661
  data_store: dataStore,
1509
1662
  session: session,
1663
+ answer: answer,
1510
1664
  });
1511
1665
  }
1512
1666
  /**
1513
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1667
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1514
1668
  *
1515
- * @param {string} projectLocationCollectionDataStoreSessionName
1516
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1669
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1670
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1517
1671
  * @returns {string} A string representing the project.
1518
1672
  */
1519
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1520
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1673
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1674
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1521
1675
  }
1522
1676
  /**
1523
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1677
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1524
1678
  *
1525
- * @param {string} projectLocationCollectionDataStoreSessionName
1526
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1679
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1680
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1527
1681
  * @returns {string} A string representing the location.
1528
1682
  */
1529
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1530
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1683
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1684
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1531
1685
  }
1532
1686
  /**
1533
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1687
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1534
1688
  *
1535
- * @param {string} projectLocationCollectionDataStoreSessionName
1536
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1689
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1690
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1537
1691
  * @returns {string} A string representing the collection.
1538
1692
  */
1539
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1540
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1693
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1694
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1541
1695
  }
1542
1696
  /**
1543
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1697
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1544
1698
  *
1545
- * @param {string} projectLocationCollectionDataStoreSessionName
1546
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1699
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1700
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1547
1701
  * @returns {string} A string representing the data_store.
1548
1702
  */
1549
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1550
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1703
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1704
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1551
1705
  }
1552
1706
  /**
1553
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1707
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1554
1708
  *
1555
- * @param {string} projectLocationCollectionDataStoreSessionName
1556
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1709
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1710
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1557
1711
  * @returns {string} A string representing the session.
1558
1712
  */
1559
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1560
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1713
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1714
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1561
1715
  }
1562
1716
  /**
1563
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1717
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1718
+ *
1719
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1720
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1721
+ * @returns {string} A string representing the answer.
1722
+ */
1723
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1724
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1725
+ }
1726
+ /**
1727
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1564
1728
  *
1565
1729
  * @param {string} project
1566
1730
  * @param {string} location
1567
1731
  * @param {string} collection
1568
1732
  * @param {string} data_store
1569
1733
  * @param {string} session
1570
- * @param {string} answer
1571
1734
  * @returns {string} Resource name string.
1572
1735
  */
1573
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1574
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1736
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1737
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1575
1738
  project: project,
1576
1739
  location: location,
1577
1740
  collection: collection,
1578
1741
  data_store: dataStore,
1579
1742
  session: session,
1580
- answer: answer,
1581
1743
  });
1582
1744
  }
1583
1745
  /**
1584
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1746
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1585
1747
  *
1586
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1587
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1748
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1749
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1588
1750
  * @returns {string} A string representing the project.
1589
1751
  */
1590
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1591
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1752
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1753
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1592
1754
  }
1593
1755
  /**
1594
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1756
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1595
1757
  *
1596
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1597
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1758
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1759
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1598
1760
  * @returns {string} A string representing the location.
1599
1761
  */
1600
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1601
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1762
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1763
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1602
1764
  }
1603
1765
  /**
1604
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1766
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1605
1767
  *
1606
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1607
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1768
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1769
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1608
1770
  * @returns {string} A string representing the collection.
1609
1771
  */
1610
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1611
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1772
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1773
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1612
1774
  }
1613
1775
  /**
1614
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1776
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1615
1777
  *
1616
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1617
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1778
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1779
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1618
1780
  * @returns {string} A string representing the data_store.
1619
1781
  */
1620
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1621
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1782
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1783
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1622
1784
  }
1623
1785
  /**
1624
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1786
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1625
1787
  *
1626
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1627
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1788
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1789
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1628
1790
  * @returns {string} A string representing the session.
1629
1791
  */
1630
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1631
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1632
- }
1633
- /**
1634
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1635
- *
1636
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1637
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1638
- * @returns {string} A string representing the answer.
1639
- */
1640
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1641
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1792
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1793
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1642
1794
  }
1643
1795
  /**
1644
1796
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2043,154 +2195,154 @@ class SearchTuningServiceClient {
2043
2195
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2044
2196
  }
2045
2197
  /**
2046
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2198
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2047
2199
  *
2048
2200
  * @param {string} project
2049
2201
  * @param {string} location
2050
2202
  * @param {string} collection
2051
2203
  * @param {string} engine
2052
2204
  * @param {string} session
2205
+ * @param {string} answer
2053
2206
  * @returns {string} Resource name string.
2054
2207
  */
2055
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2056
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2208
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2209
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2057
2210
  project: project,
2058
2211
  location: location,
2059
2212
  collection: collection,
2060
2213
  engine: engine,
2061
2214
  session: session,
2215
+ answer: answer,
2062
2216
  });
2063
2217
  }
2064
2218
  /**
2065
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2219
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2066
2220
  *
2067
- * @param {string} projectLocationCollectionEngineSessionName
2068
- * A fully-qualified path representing project_location_collection_engine_session resource.
2221
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2222
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2069
2223
  * @returns {string} A string representing the project.
2070
2224
  */
2071
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2072
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2225
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2226
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2073
2227
  }
2074
2228
  /**
2075
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2229
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2076
2230
  *
2077
- * @param {string} projectLocationCollectionEngineSessionName
2078
- * A fully-qualified path representing project_location_collection_engine_session resource.
2231
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2232
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2079
2233
  * @returns {string} A string representing the location.
2080
2234
  */
2081
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2082
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2235
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2236
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2083
2237
  }
2084
2238
  /**
2085
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2239
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2086
2240
  *
2087
- * @param {string} projectLocationCollectionEngineSessionName
2088
- * A fully-qualified path representing project_location_collection_engine_session resource.
2241
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2242
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2089
2243
  * @returns {string} A string representing the collection.
2090
2244
  */
2091
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2092
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2245
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2246
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2093
2247
  }
2094
2248
  /**
2095
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2249
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2096
2250
  *
2097
- * @param {string} projectLocationCollectionEngineSessionName
2098
- * A fully-qualified path representing project_location_collection_engine_session resource.
2251
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2252
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2099
2253
  * @returns {string} A string representing the engine.
2100
2254
  */
2101
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2102
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2255
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2256
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2103
2257
  }
2104
2258
  /**
2105
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2259
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2106
2260
  *
2107
- * @param {string} projectLocationCollectionEngineSessionName
2108
- * A fully-qualified path representing project_location_collection_engine_session resource.
2261
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2262
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2109
2263
  * @returns {string} A string representing the session.
2110
2264
  */
2111
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2112
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2265
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2266
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2113
2267
  }
2114
2268
  /**
2115
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2269
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2270
+ *
2271
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2272
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2273
+ * @returns {string} A string representing the answer.
2274
+ */
2275
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2276
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2277
+ }
2278
+ /**
2279
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2116
2280
  *
2117
2281
  * @param {string} project
2118
2282
  * @param {string} location
2119
2283
  * @param {string} collection
2120
2284
  * @param {string} engine
2121
2285
  * @param {string} session
2122
- * @param {string} answer
2123
2286
  * @returns {string} Resource name string.
2124
2287
  */
2125
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2126
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2288
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2289
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2127
2290
  project: project,
2128
2291
  location: location,
2129
2292
  collection: collection,
2130
2293
  engine: engine,
2131
2294
  session: session,
2132
- answer: answer,
2133
2295
  });
2134
2296
  }
2135
2297
  /**
2136
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2298
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2137
2299
  *
2138
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2139
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2300
+ * @param {string} projectLocationCollectionEngineSessionsName
2301
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2140
2302
  * @returns {string} A string representing the project.
2141
2303
  */
2142
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2143
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2304
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2305
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2144
2306
  }
2145
2307
  /**
2146
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2308
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2147
2309
  *
2148
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2149
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2310
+ * @param {string} projectLocationCollectionEngineSessionsName
2311
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2150
2312
  * @returns {string} A string representing the location.
2151
2313
  */
2152
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2153
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2314
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2315
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2154
2316
  }
2155
2317
  /**
2156
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2318
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2157
2319
  *
2158
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2159
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2320
+ * @param {string} projectLocationCollectionEngineSessionsName
2321
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2160
2322
  * @returns {string} A string representing the collection.
2161
2323
  */
2162
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2163
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2324
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2325
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2164
2326
  }
2165
2327
  /**
2166
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2328
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2167
2329
  *
2168
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2169
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2330
+ * @param {string} projectLocationCollectionEngineSessionsName
2331
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2170
2332
  * @returns {string} A string representing the engine.
2171
2333
  */
2172
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2173
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2334
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2335
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2174
2336
  }
2175
2337
  /**
2176
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2338
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2177
2339
  *
2178
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2179
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2340
+ * @param {string} projectLocationCollectionEngineSessionsName
2341
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2180
2342
  * @returns {string} A string representing the session.
2181
2343
  */
2182
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2183
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2184
- }
2185
- /**
2186
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2187
- *
2188
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2189
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2190
- * @returns {string} A string representing the answer.
2191
- */
2192
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2193
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2344
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2345
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2194
2346
  }
2195
2347
  /**
2196
2348
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2717,63 +2869,6 @@ class SearchTuningServiceClient {
2717
2869
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2718
2870
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2719
2871
  }
2720
- /**
2721
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2722
- *
2723
- * @param {string} project
2724
- * @param {string} location
2725
- * @param {string} data_store
2726
- * @param {string} session
2727
- * @returns {string} Resource name string.
2728
- */
2729
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2730
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2731
- project: project,
2732
- location: location,
2733
- data_store: dataStore,
2734
- session: session,
2735
- });
2736
- }
2737
- /**
2738
- * Parse the project from ProjectLocationDataStoreSession resource.
2739
- *
2740
- * @param {string} projectLocationDataStoreSessionName
2741
- * A fully-qualified path representing project_location_data_store_session resource.
2742
- * @returns {string} A string representing the project.
2743
- */
2744
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2745
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2746
- }
2747
- /**
2748
- * Parse the location from ProjectLocationDataStoreSession resource.
2749
- *
2750
- * @param {string} projectLocationDataStoreSessionName
2751
- * A fully-qualified path representing project_location_data_store_session resource.
2752
- * @returns {string} A string representing the location.
2753
- */
2754
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2755
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2756
- }
2757
- /**
2758
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2759
- *
2760
- * @param {string} projectLocationDataStoreSessionName
2761
- * A fully-qualified path representing project_location_data_store_session resource.
2762
- * @returns {string} A string representing the data_store.
2763
- */
2764
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2765
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2766
- }
2767
- /**
2768
- * Parse the session from ProjectLocationDataStoreSession resource.
2769
- *
2770
- * @param {string} projectLocationDataStoreSessionName
2771
- * A fully-qualified path representing project_location_data_store_session resource.
2772
- * @returns {string} A string representing the session.
2773
- */
2774
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2775
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2776
- }
2777
2872
  /**
2778
2873
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2779
2874
  *
@@ -2843,6 +2938,63 @@ class SearchTuningServiceClient {
2843
2938
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2844
2939
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2845
2940
  }
2941
+ /**
2942
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2943
+ *
2944
+ * @param {string} project
2945
+ * @param {string} location
2946
+ * @param {string} data_store
2947
+ * @param {string} session
2948
+ * @returns {string} Resource name string.
2949
+ */
2950
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2951
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2952
+ project: project,
2953
+ location: location,
2954
+ data_store: dataStore,
2955
+ session: session,
2956
+ });
2957
+ }
2958
+ /**
2959
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2960
+ *
2961
+ * @param {string} projectLocationDataStoreSessionsName
2962
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2963
+ * @returns {string} A string representing the project.
2964
+ */
2965
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2966
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2967
+ }
2968
+ /**
2969
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2970
+ *
2971
+ * @param {string} projectLocationDataStoreSessionsName
2972
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2973
+ * @returns {string} A string representing the location.
2974
+ */
2975
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2976
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2977
+ }
2978
+ /**
2979
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2980
+ *
2981
+ * @param {string} projectLocationDataStoreSessionsName
2982
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2983
+ * @returns {string} A string representing the data_store.
2984
+ */
2985
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2986
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2987
+ }
2988
+ /**
2989
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2990
+ *
2991
+ * @param {string} projectLocationDataStoreSessionsName
2992
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2993
+ * @returns {string} A string representing the session.
2994
+ */
2995
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2996
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2997
+ }
2846
2998
  /**
2847
2999
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2848
3000
  *