@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
@@ -165,6 +165,8 @@ class ControlServiceClient {
165
165
  // identifiers to uniquely identify resources within the API.
166
166
  // Create useful helper objects for these.
167
167
  this.pathTemplates = {
168
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
169
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
168
170
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
169
171
  identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
170
172
  locationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}'),
@@ -180,16 +182,16 @@ class ControlServiceClient {
180
182
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
181
183
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
182
184
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
183
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
184
185
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
186
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
185
187
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
186
188
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
187
189
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
188
190
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
189
191
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
190
192
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
191
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
192
193
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
194
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
193
195
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
194
196
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
195
197
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -199,8 +201,8 @@ class ControlServiceClient {
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}'),
@@ -650,6 +652,156 @@ class ControlServiceClient {
650
652
  // --------------------
651
653
  // -- Path templates --
652
654
  // --------------------
655
+ /**
656
+ * Return a fully-qualified assistAnswer resource name string.
657
+ *
658
+ * @param {string} project
659
+ * @param {string} location
660
+ * @param {string} collection
661
+ * @param {string} engine
662
+ * @param {string} session
663
+ * @param {string} assist_answer
664
+ * @returns {string} Resource name string.
665
+ */
666
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
667
+ return this.pathTemplates.assistAnswerPathTemplate.render({
668
+ project: project,
669
+ location: location,
670
+ collection: collection,
671
+ engine: engine,
672
+ session: session,
673
+ assist_answer: assistAnswer,
674
+ });
675
+ }
676
+ /**
677
+ * Parse the project from AssistAnswer resource.
678
+ *
679
+ * @param {string} assistAnswerName
680
+ * A fully-qualified path representing AssistAnswer resource.
681
+ * @returns {string} A string representing the project.
682
+ */
683
+ matchProjectFromAssistAnswerName(assistAnswerName) {
684
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
685
+ }
686
+ /**
687
+ * Parse the location from AssistAnswer resource.
688
+ *
689
+ * @param {string} assistAnswerName
690
+ * A fully-qualified path representing AssistAnswer resource.
691
+ * @returns {string} A string representing the location.
692
+ */
693
+ matchLocationFromAssistAnswerName(assistAnswerName) {
694
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
695
+ }
696
+ /**
697
+ * Parse the collection from AssistAnswer resource.
698
+ *
699
+ * @param {string} assistAnswerName
700
+ * A fully-qualified path representing AssistAnswer resource.
701
+ * @returns {string} A string representing the collection.
702
+ */
703
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
704
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
705
+ }
706
+ /**
707
+ * Parse the engine from AssistAnswer resource.
708
+ *
709
+ * @param {string} assistAnswerName
710
+ * A fully-qualified path representing AssistAnswer resource.
711
+ * @returns {string} A string representing the engine.
712
+ */
713
+ matchEngineFromAssistAnswerName(assistAnswerName) {
714
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
715
+ }
716
+ /**
717
+ * Parse the session from AssistAnswer resource.
718
+ *
719
+ * @param {string} assistAnswerName
720
+ * A fully-qualified path representing AssistAnswer resource.
721
+ * @returns {string} A string representing the session.
722
+ */
723
+ matchSessionFromAssistAnswerName(assistAnswerName) {
724
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
725
+ }
726
+ /**
727
+ * Parse the assist_answer from AssistAnswer resource.
728
+ *
729
+ * @param {string} assistAnswerName
730
+ * A fully-qualified path representing AssistAnswer resource.
731
+ * @returns {string} A string representing the assist_answer.
732
+ */
733
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
734
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
735
+ }
736
+ /**
737
+ * Return a fully-qualified assistant resource name string.
738
+ *
739
+ * @param {string} project
740
+ * @param {string} location
741
+ * @param {string} collection
742
+ * @param {string} engine
743
+ * @param {string} assistant
744
+ * @returns {string} Resource name string.
745
+ */
746
+ assistantPath(project, location, collection, engine, assistant) {
747
+ return this.pathTemplates.assistantPathTemplate.render({
748
+ project: project,
749
+ location: location,
750
+ collection: collection,
751
+ engine: engine,
752
+ assistant: assistant,
753
+ });
754
+ }
755
+ /**
756
+ * Parse the project from Assistant resource.
757
+ *
758
+ * @param {string} assistantName
759
+ * A fully-qualified path representing Assistant resource.
760
+ * @returns {string} A string representing the project.
761
+ */
762
+ matchProjectFromAssistantName(assistantName) {
763
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
764
+ }
765
+ /**
766
+ * Parse the location from Assistant resource.
767
+ *
768
+ * @param {string} assistantName
769
+ * A fully-qualified path representing Assistant resource.
770
+ * @returns {string} A string representing the location.
771
+ */
772
+ matchLocationFromAssistantName(assistantName) {
773
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
774
+ }
775
+ /**
776
+ * Parse the collection from Assistant resource.
777
+ *
778
+ * @param {string} assistantName
779
+ * A fully-qualified path representing Assistant resource.
780
+ * @returns {string} A string representing the collection.
781
+ */
782
+ matchCollectionFromAssistantName(assistantName) {
783
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
784
+ }
785
+ /**
786
+ * Parse the engine from Assistant resource.
787
+ *
788
+ * @param {string} assistantName
789
+ * A fully-qualified path representing Assistant resource.
790
+ * @returns {string} A string representing the engine.
791
+ */
792
+ matchEngineFromAssistantName(assistantName) {
793
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
794
+ }
795
+ /**
796
+ * Parse the assistant from Assistant resource.
797
+ *
798
+ * @param {string} assistantName
799
+ * A fully-qualified path representing Assistant resource.
800
+ * @returns {string} A string representing the assistant.
801
+ */
802
+ matchAssistantFromAssistantName(assistantName) {
803
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
804
+ }
653
805
  /**
654
806
  * Return a fully-qualified engine resource name string.
655
807
  *
@@ -1518,154 +1670,154 @@ class ControlServiceClient {
1518
1670
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1519
1671
  }
1520
1672
  /**
1521
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1673
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1522
1674
  *
1523
1675
  * @param {string} project
1524
1676
  * @param {string} location
1525
1677
  * @param {string} collection
1526
1678
  * @param {string} data_store
1527
1679
  * @param {string} session
1680
+ * @param {string} answer
1528
1681
  * @returns {string} Resource name string.
1529
1682
  */
1530
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1531
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1683
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1684
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1532
1685
  project: project,
1533
1686
  location: location,
1534
1687
  collection: collection,
1535
1688
  data_store: dataStore,
1536
1689
  session: session,
1690
+ answer: answer,
1537
1691
  });
1538
1692
  }
1539
1693
  /**
1540
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1694
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1541
1695
  *
1542
- * @param {string} projectLocationCollectionDataStoreSessionName
1543
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1696
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1697
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1544
1698
  * @returns {string} A string representing the project.
1545
1699
  */
1546
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1547
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1700
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1701
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1548
1702
  }
1549
1703
  /**
1550
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1704
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1551
1705
  *
1552
- * @param {string} projectLocationCollectionDataStoreSessionName
1553
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1706
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1707
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1554
1708
  * @returns {string} A string representing the location.
1555
1709
  */
1556
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1557
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1710
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1711
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1558
1712
  }
1559
1713
  /**
1560
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1714
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1561
1715
  *
1562
- * @param {string} projectLocationCollectionDataStoreSessionName
1563
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1716
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1717
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1564
1718
  * @returns {string} A string representing the collection.
1565
1719
  */
1566
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1567
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1720
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1721
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1568
1722
  }
1569
1723
  /**
1570
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1724
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1571
1725
  *
1572
- * @param {string} projectLocationCollectionDataStoreSessionName
1573
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1726
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1727
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1574
1728
  * @returns {string} A string representing the data_store.
1575
1729
  */
1576
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1577
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1730
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1731
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1578
1732
  }
1579
1733
  /**
1580
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1734
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1581
1735
  *
1582
- * @param {string} projectLocationCollectionDataStoreSessionName
1583
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1736
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1737
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1584
1738
  * @returns {string} A string representing the session.
1585
1739
  */
1586
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1587
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1740
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1741
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1588
1742
  }
1589
1743
  /**
1590
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1744
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1745
+ *
1746
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1747
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1748
+ * @returns {string} A string representing the answer.
1749
+ */
1750
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1751
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1752
+ }
1753
+ /**
1754
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1591
1755
  *
1592
1756
  * @param {string} project
1593
1757
  * @param {string} location
1594
1758
  * @param {string} collection
1595
1759
  * @param {string} data_store
1596
1760
  * @param {string} session
1597
- * @param {string} answer
1598
1761
  * @returns {string} Resource name string.
1599
1762
  */
1600
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1601
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1763
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1764
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1602
1765
  project: project,
1603
1766
  location: location,
1604
1767
  collection: collection,
1605
1768
  data_store: dataStore,
1606
1769
  session: session,
1607
- answer: answer,
1608
1770
  });
1609
1771
  }
1610
1772
  /**
1611
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1773
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1612
1774
  *
1613
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1614
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1775
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1776
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1615
1777
  * @returns {string} A string representing the project.
1616
1778
  */
1617
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1618
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1779
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1780
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1619
1781
  }
1620
1782
  /**
1621
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1783
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1622
1784
  *
1623
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1624
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1785
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1786
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1625
1787
  * @returns {string} A string representing the location.
1626
1788
  */
1627
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1628
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1789
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1790
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1629
1791
  }
1630
1792
  /**
1631
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1793
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1632
1794
  *
1633
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1634
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1795
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1796
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1635
1797
  * @returns {string} A string representing the collection.
1636
1798
  */
1637
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1638
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1799
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1800
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1639
1801
  }
1640
1802
  /**
1641
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1803
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1642
1804
  *
1643
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1644
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1805
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1806
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1645
1807
  * @returns {string} A string representing the data_store.
1646
1808
  */
1647
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1648
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1809
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1810
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1649
1811
  }
1650
1812
  /**
1651
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1813
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1652
1814
  *
1653
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1654
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1815
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1816
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1655
1817
  * @returns {string} A string representing the session.
1656
1818
  */
1657
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1658
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1659
- }
1660
- /**
1661
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1662
- *
1663
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1664
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1665
- * @returns {string} A string representing the answer.
1666
- */
1667
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1668
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1819
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1820
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1669
1821
  }
1670
1822
  /**
1671
1823
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2070,154 +2222,154 @@ class ControlServiceClient {
2070
2222
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2071
2223
  }
2072
2224
  /**
2073
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2225
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2074
2226
  *
2075
2227
  * @param {string} project
2076
2228
  * @param {string} location
2077
2229
  * @param {string} collection
2078
2230
  * @param {string} engine
2079
2231
  * @param {string} session
2232
+ * @param {string} answer
2080
2233
  * @returns {string} Resource name string.
2081
2234
  */
2082
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2083
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2235
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2236
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2084
2237
  project: project,
2085
2238
  location: location,
2086
2239
  collection: collection,
2087
2240
  engine: engine,
2088
2241
  session: session,
2242
+ answer: answer,
2089
2243
  });
2090
2244
  }
2091
2245
  /**
2092
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2246
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2093
2247
  *
2094
- * @param {string} projectLocationCollectionEngineSessionName
2095
- * A fully-qualified path representing project_location_collection_engine_session resource.
2248
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2249
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2096
2250
  * @returns {string} A string representing the project.
2097
2251
  */
2098
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2099
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2252
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2253
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2100
2254
  }
2101
2255
  /**
2102
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2256
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2103
2257
  *
2104
- * @param {string} projectLocationCollectionEngineSessionName
2105
- * A fully-qualified path representing project_location_collection_engine_session resource.
2258
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2259
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2106
2260
  * @returns {string} A string representing the location.
2107
2261
  */
2108
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2109
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2262
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2263
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2110
2264
  }
2111
2265
  /**
2112
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2266
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2113
2267
  *
2114
- * @param {string} projectLocationCollectionEngineSessionName
2115
- * A fully-qualified path representing project_location_collection_engine_session resource.
2268
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2269
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2116
2270
  * @returns {string} A string representing the collection.
2117
2271
  */
2118
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2119
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2272
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2273
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2120
2274
  }
2121
2275
  /**
2122
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2276
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2123
2277
  *
2124
- * @param {string} projectLocationCollectionEngineSessionName
2125
- * A fully-qualified path representing project_location_collection_engine_session resource.
2278
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2279
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2126
2280
  * @returns {string} A string representing the engine.
2127
2281
  */
2128
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2129
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2282
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2283
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2130
2284
  }
2131
2285
  /**
2132
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2286
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2133
2287
  *
2134
- * @param {string} projectLocationCollectionEngineSessionName
2135
- * A fully-qualified path representing project_location_collection_engine_session resource.
2288
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2289
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2136
2290
  * @returns {string} A string representing the session.
2137
2291
  */
2138
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2139
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2292
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2293
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2140
2294
  }
2141
2295
  /**
2142
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2296
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2297
+ *
2298
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2299
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2300
+ * @returns {string} A string representing the answer.
2301
+ */
2302
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2303
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2304
+ }
2305
+ /**
2306
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2143
2307
  *
2144
2308
  * @param {string} project
2145
2309
  * @param {string} location
2146
2310
  * @param {string} collection
2147
2311
  * @param {string} engine
2148
2312
  * @param {string} session
2149
- * @param {string} answer
2150
2313
  * @returns {string} Resource name string.
2151
2314
  */
2152
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2153
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2315
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2316
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2154
2317
  project: project,
2155
2318
  location: location,
2156
2319
  collection: collection,
2157
2320
  engine: engine,
2158
2321
  session: session,
2159
- answer: answer,
2160
2322
  });
2161
2323
  }
2162
2324
  /**
2163
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2325
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2164
2326
  *
2165
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2166
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2327
+ * @param {string} projectLocationCollectionEngineSessionsName
2328
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2167
2329
  * @returns {string} A string representing the project.
2168
2330
  */
2169
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2170
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2331
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2332
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2171
2333
  }
2172
2334
  /**
2173
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2335
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2174
2336
  *
2175
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2176
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2337
+ * @param {string} projectLocationCollectionEngineSessionsName
2338
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2177
2339
  * @returns {string} A string representing the location.
2178
2340
  */
2179
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2180
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2341
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2342
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2181
2343
  }
2182
2344
  /**
2183
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2345
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2184
2346
  *
2185
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2186
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2347
+ * @param {string} projectLocationCollectionEngineSessionsName
2348
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2187
2349
  * @returns {string} A string representing the collection.
2188
2350
  */
2189
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2190
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2351
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2352
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2191
2353
  }
2192
2354
  /**
2193
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2355
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2194
2356
  *
2195
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2196
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2357
+ * @param {string} projectLocationCollectionEngineSessionsName
2358
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2197
2359
  * @returns {string} A string representing the engine.
2198
2360
  */
2199
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2200
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2361
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2362
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2201
2363
  }
2202
2364
  /**
2203
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2365
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2204
2366
  *
2205
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2206
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2367
+ * @param {string} projectLocationCollectionEngineSessionsName
2368
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2207
2369
  * @returns {string} A string representing the session.
2208
2370
  */
2209
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2210
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2211
- }
2212
- /**
2213
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2214
- *
2215
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2216
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2217
- * @returns {string} A string representing the answer.
2218
- */
2219
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2220
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2371
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2372
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2221
2373
  }
2222
2374
  /**
2223
2375
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2744,63 +2896,6 @@ class ControlServiceClient {
2744
2896
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2745
2897
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2746
2898
  }
2747
- /**
2748
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2749
- *
2750
- * @param {string} project
2751
- * @param {string} location
2752
- * @param {string} data_store
2753
- * @param {string} session
2754
- * @returns {string} Resource name string.
2755
- */
2756
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2757
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2758
- project: project,
2759
- location: location,
2760
- data_store: dataStore,
2761
- session: session,
2762
- });
2763
- }
2764
- /**
2765
- * Parse the project from ProjectLocationDataStoreSession resource.
2766
- *
2767
- * @param {string} projectLocationDataStoreSessionName
2768
- * A fully-qualified path representing project_location_data_store_session resource.
2769
- * @returns {string} A string representing the project.
2770
- */
2771
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2772
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2773
- }
2774
- /**
2775
- * Parse the location from ProjectLocationDataStoreSession resource.
2776
- *
2777
- * @param {string} projectLocationDataStoreSessionName
2778
- * A fully-qualified path representing project_location_data_store_session resource.
2779
- * @returns {string} A string representing the location.
2780
- */
2781
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2782
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2783
- }
2784
- /**
2785
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2786
- *
2787
- * @param {string} projectLocationDataStoreSessionName
2788
- * A fully-qualified path representing project_location_data_store_session resource.
2789
- * @returns {string} A string representing the data_store.
2790
- */
2791
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2792
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2793
- }
2794
- /**
2795
- * Parse the session from ProjectLocationDataStoreSession resource.
2796
- *
2797
- * @param {string} projectLocationDataStoreSessionName
2798
- * A fully-qualified path representing project_location_data_store_session resource.
2799
- * @returns {string} A string representing the session.
2800
- */
2801
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2802
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2803
- }
2804
2899
  /**
2805
2900
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2806
2901
  *
@@ -2870,6 +2965,63 @@ class ControlServiceClient {
2870
2965
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2871
2966
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2872
2967
  }
2968
+ /**
2969
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2970
+ *
2971
+ * @param {string} project
2972
+ * @param {string} location
2973
+ * @param {string} data_store
2974
+ * @param {string} session
2975
+ * @returns {string} Resource name string.
2976
+ */
2977
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2978
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2979
+ project: project,
2980
+ location: location,
2981
+ data_store: dataStore,
2982
+ session: session,
2983
+ });
2984
+ }
2985
+ /**
2986
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2987
+ *
2988
+ * @param {string} projectLocationDataStoreSessionsName
2989
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2990
+ * @returns {string} A string representing the project.
2991
+ */
2992
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2993
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2994
+ }
2995
+ /**
2996
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2997
+ *
2998
+ * @param {string} projectLocationDataStoreSessionsName
2999
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3000
+ * @returns {string} A string representing the location.
3001
+ */
3002
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3003
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3004
+ }
3005
+ /**
3006
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3007
+ *
3008
+ * @param {string} projectLocationDataStoreSessionsName
3009
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3010
+ * @returns {string} A string representing the data_store.
3011
+ */
3012
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3013
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3014
+ }
3015
+ /**
3016
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3017
+ *
3018
+ * @param {string} projectLocationDataStoreSessionsName
3019
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3020
+ * @returns {string} A string representing the session.
3021
+ */
3022
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3023
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3024
+ }
2873
3025
  /**
2874
3026
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2875
3027
  *