@google-cloud/discoveryengine 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -164,6 +164,8 @@ class DocumentServiceClient {
164
164
  // identifiers to uniquely identify resources within the API.
165
165
  // Create useful helper objects for these.
166
166
  this.pathTemplates = {
167
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
168
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
167
169
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
168
170
  identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
169
171
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
@@ -179,16 +181,16 @@ class DocumentServiceClient {
179
181
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
180
182
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
181
183
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
182
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
183
184
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
185
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
184
186
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
185
187
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
186
188
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
187
189
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
188
190
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
189
191
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
190
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
191
192
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
193
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
192
194
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
193
195
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
194
196
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
@@ -199,8 +201,8 @@ class DocumentServiceClient {
199
201
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
200
202
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
201
203
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
202
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
203
204
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
205
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
204
206
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
205
207
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
206
208
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -1007,6 +1009,156 @@ class DocumentServiceClient {
1007
1009
  // --------------------
1008
1010
  // -- Path templates --
1009
1011
  // --------------------
1012
+ /**
1013
+ * Return a fully-qualified assistAnswer resource name string.
1014
+ *
1015
+ * @param {string} project
1016
+ * @param {string} location
1017
+ * @param {string} collection
1018
+ * @param {string} engine
1019
+ * @param {string} session
1020
+ * @param {string} assist_answer
1021
+ * @returns {string} Resource name string.
1022
+ */
1023
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
1024
+ return this.pathTemplates.assistAnswerPathTemplate.render({
1025
+ project: project,
1026
+ location: location,
1027
+ collection: collection,
1028
+ engine: engine,
1029
+ session: session,
1030
+ assist_answer: assistAnswer,
1031
+ });
1032
+ }
1033
+ /**
1034
+ * Parse the project from AssistAnswer resource.
1035
+ *
1036
+ * @param {string} assistAnswerName
1037
+ * A fully-qualified path representing AssistAnswer resource.
1038
+ * @returns {string} A string representing the project.
1039
+ */
1040
+ matchProjectFromAssistAnswerName(assistAnswerName) {
1041
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
1042
+ }
1043
+ /**
1044
+ * Parse the location from AssistAnswer resource.
1045
+ *
1046
+ * @param {string} assistAnswerName
1047
+ * A fully-qualified path representing AssistAnswer resource.
1048
+ * @returns {string} A string representing the location.
1049
+ */
1050
+ matchLocationFromAssistAnswerName(assistAnswerName) {
1051
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
1052
+ }
1053
+ /**
1054
+ * Parse the collection from AssistAnswer resource.
1055
+ *
1056
+ * @param {string} assistAnswerName
1057
+ * A fully-qualified path representing AssistAnswer resource.
1058
+ * @returns {string} A string representing the collection.
1059
+ */
1060
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
1061
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
1062
+ }
1063
+ /**
1064
+ * Parse the engine from AssistAnswer resource.
1065
+ *
1066
+ * @param {string} assistAnswerName
1067
+ * A fully-qualified path representing AssistAnswer resource.
1068
+ * @returns {string} A string representing the engine.
1069
+ */
1070
+ matchEngineFromAssistAnswerName(assistAnswerName) {
1071
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
1072
+ }
1073
+ /**
1074
+ * Parse the session from AssistAnswer resource.
1075
+ *
1076
+ * @param {string} assistAnswerName
1077
+ * A fully-qualified path representing AssistAnswer resource.
1078
+ * @returns {string} A string representing the session.
1079
+ */
1080
+ matchSessionFromAssistAnswerName(assistAnswerName) {
1081
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
1082
+ }
1083
+ /**
1084
+ * Parse the assist_answer from AssistAnswer resource.
1085
+ *
1086
+ * @param {string} assistAnswerName
1087
+ * A fully-qualified path representing AssistAnswer resource.
1088
+ * @returns {string} A string representing the assist_answer.
1089
+ */
1090
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
1091
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
1092
+ }
1093
+ /**
1094
+ * Return a fully-qualified assistant resource name string.
1095
+ *
1096
+ * @param {string} project
1097
+ * @param {string} location
1098
+ * @param {string} collection
1099
+ * @param {string} engine
1100
+ * @param {string} assistant
1101
+ * @returns {string} Resource name string.
1102
+ */
1103
+ assistantPath(project, location, collection, engine, assistant) {
1104
+ return this.pathTemplates.assistantPathTemplate.render({
1105
+ project: project,
1106
+ location: location,
1107
+ collection: collection,
1108
+ engine: engine,
1109
+ assistant: assistant,
1110
+ });
1111
+ }
1112
+ /**
1113
+ * Parse the project from Assistant resource.
1114
+ *
1115
+ * @param {string} assistantName
1116
+ * A fully-qualified path representing Assistant resource.
1117
+ * @returns {string} A string representing the project.
1118
+ */
1119
+ matchProjectFromAssistantName(assistantName) {
1120
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
1121
+ }
1122
+ /**
1123
+ * Parse the location from Assistant resource.
1124
+ *
1125
+ * @param {string} assistantName
1126
+ * A fully-qualified path representing Assistant resource.
1127
+ * @returns {string} A string representing the location.
1128
+ */
1129
+ matchLocationFromAssistantName(assistantName) {
1130
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
1131
+ }
1132
+ /**
1133
+ * Parse the collection from Assistant resource.
1134
+ *
1135
+ * @param {string} assistantName
1136
+ * A fully-qualified path representing Assistant resource.
1137
+ * @returns {string} A string representing the collection.
1138
+ */
1139
+ matchCollectionFromAssistantName(assistantName) {
1140
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
1141
+ }
1142
+ /**
1143
+ * Parse the engine from Assistant resource.
1144
+ *
1145
+ * @param {string} assistantName
1146
+ * A fully-qualified path representing Assistant resource.
1147
+ * @returns {string} A string representing the engine.
1148
+ */
1149
+ matchEngineFromAssistantName(assistantName) {
1150
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
1151
+ }
1152
+ /**
1153
+ * Parse the assistant from Assistant resource.
1154
+ *
1155
+ * @param {string} assistantName
1156
+ * A fully-qualified path representing Assistant resource.
1157
+ * @returns {string} A string representing the assistant.
1158
+ */
1159
+ matchAssistantFromAssistantName(assistantName) {
1160
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
1161
+ }
1010
1162
  /**
1011
1163
  * Return a fully-qualified engine resource name string.
1012
1164
  *
@@ -1911,154 +2063,154 @@ class DocumentServiceClient {
1911
2063
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1912
2064
  }
1913
2065
  /**
1914
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
2066
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1915
2067
  *
1916
2068
  * @param {string} project
1917
2069
  * @param {string} location
1918
2070
  * @param {string} collection
1919
2071
  * @param {string} data_store
1920
2072
  * @param {string} session
2073
+ * @param {string} answer
1921
2074
  * @returns {string} Resource name string.
1922
2075
  */
1923
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1924
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
2076
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2077
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1925
2078
  project: project,
1926
2079
  location: location,
1927
2080
  collection: collection,
1928
2081
  data_store: dataStore,
1929
2082
  session: session,
2083
+ answer: answer,
1930
2084
  });
1931
2085
  }
1932
2086
  /**
1933
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
2087
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1934
2088
  *
1935
- * @param {string} projectLocationCollectionDataStoreSessionName
1936
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2089
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2090
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1937
2091
  * @returns {string} A string representing the project.
1938
2092
  */
1939
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1940
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
2093
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2094
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1941
2095
  }
1942
2096
  /**
1943
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
2097
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1944
2098
  *
1945
- * @param {string} projectLocationCollectionDataStoreSessionName
1946
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2099
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2100
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1947
2101
  * @returns {string} A string representing the location.
1948
2102
  */
1949
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1950
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
2103
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2104
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1951
2105
  }
1952
2106
  /**
1953
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
2107
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1954
2108
  *
1955
- * @param {string} projectLocationCollectionDataStoreSessionName
1956
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2109
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2110
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1957
2111
  * @returns {string} A string representing the collection.
1958
2112
  */
1959
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1960
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
2113
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2114
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1961
2115
  }
1962
2116
  /**
1963
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
2117
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1964
2118
  *
1965
- * @param {string} projectLocationCollectionDataStoreSessionName
1966
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2119
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2120
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1967
2121
  * @returns {string} A string representing the data_store.
1968
2122
  */
1969
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1970
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
2123
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2124
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1971
2125
  }
1972
2126
  /**
1973
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
2127
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1974
2128
  *
1975
- * @param {string} projectLocationCollectionDataStoreSessionName
1976
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2129
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2130
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1977
2131
  * @returns {string} A string representing the session.
1978
2132
  */
1979
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1980
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
2133
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2134
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1981
2135
  }
1982
2136
  /**
1983
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2137
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2138
+ *
2139
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2140
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2141
+ * @returns {string} A string representing the answer.
2142
+ */
2143
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2144
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2145
+ }
2146
+ /**
2147
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1984
2148
  *
1985
2149
  * @param {string} project
1986
2150
  * @param {string} location
1987
2151
  * @param {string} collection
1988
2152
  * @param {string} data_store
1989
2153
  * @param {string} session
1990
- * @param {string} answer
1991
2154
  * @returns {string} Resource name string.
1992
2155
  */
1993
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1994
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2156
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
2157
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1995
2158
  project: project,
1996
2159
  location: location,
1997
2160
  collection: collection,
1998
2161
  data_store: dataStore,
1999
2162
  session: session,
2000
- answer: answer,
2001
2163
  });
2002
2164
  }
2003
2165
  /**
2004
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2166
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
2005
2167
  *
2006
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2007
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2168
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2169
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2008
2170
  * @returns {string} A string representing the project.
2009
2171
  */
2010
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2011
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2172
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2173
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
2012
2174
  }
2013
2175
  /**
2014
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2176
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
2015
2177
  *
2016
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2017
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2178
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2179
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2018
2180
  * @returns {string} A string representing the location.
2019
2181
  */
2020
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2021
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2182
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2183
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
2022
2184
  }
2023
2185
  /**
2024
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2186
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
2025
2187
  *
2026
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2027
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2188
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2189
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2028
2190
  * @returns {string} A string representing the collection.
2029
2191
  */
2030
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2031
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2192
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2193
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
2032
2194
  }
2033
2195
  /**
2034
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2196
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
2035
2197
  *
2036
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2037
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2198
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2199
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2038
2200
  * @returns {string} A string representing the data_store.
2039
2201
  */
2040
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2041
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2202
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2203
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
2042
2204
  }
2043
2205
  /**
2044
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2206
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
2045
2207
  *
2046
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2047
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2208
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2209
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2048
2210
  * @returns {string} A string representing the session.
2049
2211
  */
2050
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2051
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2052
- }
2053
- /**
2054
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2055
- *
2056
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2057
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2058
- * @returns {string} A string representing the answer.
2059
- */
2060
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2061
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2212
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2213
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2062
2214
  }
2063
2215
  /**
2064
2216
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2463,154 +2615,154 @@ class DocumentServiceClient {
2463
2615
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2464
2616
  }
2465
2617
  /**
2466
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2618
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2467
2619
  *
2468
2620
  * @param {string} project
2469
2621
  * @param {string} location
2470
2622
  * @param {string} collection
2471
2623
  * @param {string} engine
2472
2624
  * @param {string} session
2625
+ * @param {string} answer
2473
2626
  * @returns {string} Resource name string.
2474
2627
  */
2475
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2476
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2628
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2629
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2477
2630
  project: project,
2478
2631
  location: location,
2479
2632
  collection: collection,
2480
2633
  engine: engine,
2481
2634
  session: session,
2635
+ answer: answer,
2482
2636
  });
2483
2637
  }
2484
2638
  /**
2485
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2639
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2486
2640
  *
2487
- * @param {string} projectLocationCollectionEngineSessionName
2488
- * A fully-qualified path representing project_location_collection_engine_session resource.
2641
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2642
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2489
2643
  * @returns {string} A string representing the project.
2490
2644
  */
2491
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2492
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2645
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2646
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2493
2647
  }
2494
2648
  /**
2495
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2649
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2496
2650
  *
2497
- * @param {string} projectLocationCollectionEngineSessionName
2498
- * A fully-qualified path representing project_location_collection_engine_session resource.
2651
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2652
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2499
2653
  * @returns {string} A string representing the location.
2500
2654
  */
2501
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2502
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2655
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2656
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2503
2657
  }
2504
2658
  /**
2505
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2659
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2506
2660
  *
2507
- * @param {string} projectLocationCollectionEngineSessionName
2508
- * A fully-qualified path representing project_location_collection_engine_session resource.
2661
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2662
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2509
2663
  * @returns {string} A string representing the collection.
2510
2664
  */
2511
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2512
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2665
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2666
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2513
2667
  }
2514
2668
  /**
2515
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2669
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2516
2670
  *
2517
- * @param {string} projectLocationCollectionEngineSessionName
2518
- * A fully-qualified path representing project_location_collection_engine_session resource.
2671
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2672
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2519
2673
  * @returns {string} A string representing the engine.
2520
2674
  */
2521
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2522
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2675
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2676
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2523
2677
  }
2524
2678
  /**
2525
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2679
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2526
2680
  *
2527
- * @param {string} projectLocationCollectionEngineSessionName
2528
- * A fully-qualified path representing project_location_collection_engine_session resource.
2681
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2682
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2529
2683
  * @returns {string} A string representing the session.
2530
2684
  */
2531
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2532
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2685
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2686
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2533
2687
  }
2534
2688
  /**
2535
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2689
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2690
+ *
2691
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2692
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2693
+ * @returns {string} A string representing the answer.
2694
+ */
2695
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2696
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2697
+ }
2698
+ /**
2699
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2536
2700
  *
2537
2701
  * @param {string} project
2538
2702
  * @param {string} location
2539
2703
  * @param {string} collection
2540
2704
  * @param {string} engine
2541
2705
  * @param {string} session
2542
- * @param {string} answer
2543
2706
  * @returns {string} Resource name string.
2544
2707
  */
2545
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2546
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2708
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2709
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2547
2710
  project: project,
2548
2711
  location: location,
2549
2712
  collection: collection,
2550
2713
  engine: engine,
2551
2714
  session: session,
2552
- answer: answer,
2553
2715
  });
2554
2716
  }
2555
2717
  /**
2556
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2718
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2557
2719
  *
2558
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2559
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2720
+ * @param {string} projectLocationCollectionEngineSessionsName
2721
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2560
2722
  * @returns {string} A string representing the project.
2561
2723
  */
2562
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2563
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2724
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2725
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2564
2726
  }
2565
2727
  /**
2566
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2728
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2567
2729
  *
2568
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2569
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2730
+ * @param {string} projectLocationCollectionEngineSessionsName
2731
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2570
2732
  * @returns {string} A string representing the location.
2571
2733
  */
2572
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2573
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2734
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2735
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2574
2736
  }
2575
2737
  /**
2576
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2738
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2577
2739
  *
2578
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2579
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2740
+ * @param {string} projectLocationCollectionEngineSessionsName
2741
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2580
2742
  * @returns {string} A string representing the collection.
2581
2743
  */
2582
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2583
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2744
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2745
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2584
2746
  }
2585
2747
  /**
2586
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2748
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2587
2749
  *
2588
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2589
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2750
+ * @param {string} projectLocationCollectionEngineSessionsName
2751
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2590
2752
  * @returns {string} A string representing the engine.
2591
2753
  */
2592
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2593
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2754
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2755
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2594
2756
  }
2595
2757
  /**
2596
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2758
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2597
2759
  *
2598
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2599
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2760
+ * @param {string} projectLocationCollectionEngineSessionsName
2761
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2600
2762
  * @returns {string} A string representing the session.
2601
2763
  */
2602
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2603
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2604
- }
2605
- /**
2606
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2607
- *
2608
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2609
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2610
- * @returns {string} A string representing the answer.
2611
- */
2612
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2613
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2764
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2765
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2614
2766
  }
2615
2767
  /**
2616
2768
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3194,63 +3346,6 @@ class DocumentServiceClient {
3194
3346
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3195
3347
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3196
3348
  }
3197
- /**
3198
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3199
- *
3200
- * @param {string} project
3201
- * @param {string} location
3202
- * @param {string} data_store
3203
- * @param {string} session
3204
- * @returns {string} Resource name string.
3205
- */
3206
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3207
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3208
- project: project,
3209
- location: location,
3210
- data_store: dataStore,
3211
- session: session,
3212
- });
3213
- }
3214
- /**
3215
- * Parse the project from ProjectLocationDataStoreSession resource.
3216
- *
3217
- * @param {string} projectLocationDataStoreSessionName
3218
- * A fully-qualified path representing project_location_data_store_session resource.
3219
- * @returns {string} A string representing the project.
3220
- */
3221
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3222
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3223
- }
3224
- /**
3225
- * Parse the location from ProjectLocationDataStoreSession resource.
3226
- *
3227
- * @param {string} projectLocationDataStoreSessionName
3228
- * A fully-qualified path representing project_location_data_store_session resource.
3229
- * @returns {string} A string representing the location.
3230
- */
3231
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3232
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3233
- }
3234
- /**
3235
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3236
- *
3237
- * @param {string} projectLocationDataStoreSessionName
3238
- * A fully-qualified path representing project_location_data_store_session resource.
3239
- * @returns {string} A string representing the data_store.
3240
- */
3241
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3242
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3243
- }
3244
- /**
3245
- * Parse the session from ProjectLocationDataStoreSession resource.
3246
- *
3247
- * @param {string} projectLocationDataStoreSessionName
3248
- * A fully-qualified path representing project_location_data_store_session resource.
3249
- * @returns {string} A string representing the session.
3250
- */
3251
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3252
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3253
- }
3254
3349
  /**
3255
3350
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3256
3351
  *
@@ -3320,6 +3415,63 @@ class DocumentServiceClient {
3320
3415
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3321
3416
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3322
3417
  }
3418
+ /**
3419
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3420
+ *
3421
+ * @param {string} project
3422
+ * @param {string} location
3423
+ * @param {string} data_store
3424
+ * @param {string} session
3425
+ * @returns {string} Resource name string.
3426
+ */
3427
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3428
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3429
+ project: project,
3430
+ location: location,
3431
+ data_store: dataStore,
3432
+ session: session,
3433
+ });
3434
+ }
3435
+ /**
3436
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3437
+ *
3438
+ * @param {string} projectLocationDataStoreSessionsName
3439
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3440
+ * @returns {string} A string representing the project.
3441
+ */
3442
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3443
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3444
+ }
3445
+ /**
3446
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3447
+ *
3448
+ * @param {string} projectLocationDataStoreSessionsName
3449
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3450
+ * @returns {string} A string representing the location.
3451
+ */
3452
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3453
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3454
+ }
3455
+ /**
3456
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3457
+ *
3458
+ * @param {string} projectLocationDataStoreSessionsName
3459
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3460
+ * @returns {string} A string representing the data_store.
3461
+ */
3462
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3463
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3464
+ }
3465
+ /**
3466
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3467
+ *
3468
+ * @param {string} projectLocationDataStoreSessionsName
3469
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3470
+ * @returns {string} A string representing the session.
3471
+ */
3472
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3473
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3474
+ }
3323
3475
  /**
3324
3476
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3325
3477
  *