@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
@@ -162,6 +162,8 @@ class RecommendationServiceClient {
162
162
  // identifiers to uniquely identify resources within the API.
163
163
  // Create useful helper objects for these.
164
164
  this.pathTemplates = {
165
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
166
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
165
167
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
166
168
  identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
167
169
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
@@ -176,16 +178,16 @@ class RecommendationServiceClient {
176
178
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
179
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
180
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
181
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
182
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
183
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
184
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
183
185
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
186
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
187
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
188
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
189
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
190
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
191
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
192
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
193
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,8 +197,8 @@ class RecommendationServiceClient {
195
197
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
198
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
199
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
200
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
201
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
202
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
203
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
202
204
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -405,6 +407,156 @@ class RecommendationServiceClient {
405
407
  // --------------------
406
408
  // -- Path templates --
407
409
  // --------------------
410
+ /**
411
+ * Return a fully-qualified assistAnswer resource name string.
412
+ *
413
+ * @param {string} project
414
+ * @param {string} location
415
+ * @param {string} collection
416
+ * @param {string} engine
417
+ * @param {string} session
418
+ * @param {string} assist_answer
419
+ * @returns {string} Resource name string.
420
+ */
421
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
422
+ return this.pathTemplates.assistAnswerPathTemplate.render({
423
+ project: project,
424
+ location: location,
425
+ collection: collection,
426
+ engine: engine,
427
+ session: session,
428
+ assist_answer: assistAnswer,
429
+ });
430
+ }
431
+ /**
432
+ * Parse the project from AssistAnswer resource.
433
+ *
434
+ * @param {string} assistAnswerName
435
+ * A fully-qualified path representing AssistAnswer resource.
436
+ * @returns {string} A string representing the project.
437
+ */
438
+ matchProjectFromAssistAnswerName(assistAnswerName) {
439
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
440
+ }
441
+ /**
442
+ * Parse the location from AssistAnswer resource.
443
+ *
444
+ * @param {string} assistAnswerName
445
+ * A fully-qualified path representing AssistAnswer resource.
446
+ * @returns {string} A string representing the location.
447
+ */
448
+ matchLocationFromAssistAnswerName(assistAnswerName) {
449
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
450
+ }
451
+ /**
452
+ * Parse the collection from AssistAnswer resource.
453
+ *
454
+ * @param {string} assistAnswerName
455
+ * A fully-qualified path representing AssistAnswer resource.
456
+ * @returns {string} A string representing the collection.
457
+ */
458
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
459
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
460
+ }
461
+ /**
462
+ * Parse the engine from AssistAnswer resource.
463
+ *
464
+ * @param {string} assistAnswerName
465
+ * A fully-qualified path representing AssistAnswer resource.
466
+ * @returns {string} A string representing the engine.
467
+ */
468
+ matchEngineFromAssistAnswerName(assistAnswerName) {
469
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
470
+ }
471
+ /**
472
+ * Parse the session from AssistAnswer resource.
473
+ *
474
+ * @param {string} assistAnswerName
475
+ * A fully-qualified path representing AssistAnswer resource.
476
+ * @returns {string} A string representing the session.
477
+ */
478
+ matchSessionFromAssistAnswerName(assistAnswerName) {
479
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
480
+ }
481
+ /**
482
+ * Parse the assist_answer from AssistAnswer resource.
483
+ *
484
+ * @param {string} assistAnswerName
485
+ * A fully-qualified path representing AssistAnswer resource.
486
+ * @returns {string} A string representing the assist_answer.
487
+ */
488
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
489
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
490
+ }
491
+ /**
492
+ * Return a fully-qualified assistant resource name string.
493
+ *
494
+ * @param {string} project
495
+ * @param {string} location
496
+ * @param {string} collection
497
+ * @param {string} engine
498
+ * @param {string} assistant
499
+ * @returns {string} Resource name string.
500
+ */
501
+ assistantPath(project, location, collection, engine, assistant) {
502
+ return this.pathTemplates.assistantPathTemplate.render({
503
+ project: project,
504
+ location: location,
505
+ collection: collection,
506
+ engine: engine,
507
+ assistant: assistant,
508
+ });
509
+ }
510
+ /**
511
+ * Parse the project from Assistant resource.
512
+ *
513
+ * @param {string} assistantName
514
+ * A fully-qualified path representing Assistant resource.
515
+ * @returns {string} A string representing the project.
516
+ */
517
+ matchProjectFromAssistantName(assistantName) {
518
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
519
+ }
520
+ /**
521
+ * Parse the location from Assistant resource.
522
+ *
523
+ * @param {string} assistantName
524
+ * A fully-qualified path representing Assistant resource.
525
+ * @returns {string} A string representing the location.
526
+ */
527
+ matchLocationFromAssistantName(assistantName) {
528
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
529
+ }
530
+ /**
531
+ * Parse the collection from Assistant resource.
532
+ *
533
+ * @param {string} assistantName
534
+ * A fully-qualified path representing Assistant resource.
535
+ * @returns {string} A string representing the collection.
536
+ */
537
+ matchCollectionFromAssistantName(assistantName) {
538
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
539
+ }
540
+ /**
541
+ * Parse the engine from Assistant resource.
542
+ *
543
+ * @param {string} assistantName
544
+ * A fully-qualified path representing Assistant resource.
545
+ * @returns {string} A string representing the engine.
546
+ */
547
+ matchEngineFromAssistantName(assistantName) {
548
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
549
+ }
550
+ /**
551
+ * Parse the assistant from Assistant resource.
552
+ *
553
+ * @param {string} assistantName
554
+ * A fully-qualified path representing Assistant resource.
555
+ * @returns {string} A string representing the assistant.
556
+ */
557
+ matchAssistantFromAssistantName(assistantName) {
558
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
559
+ }
408
560
  /**
409
561
  * Return a fully-qualified engine resource name string.
410
562
  *
@@ -1240,154 +1392,154 @@ class RecommendationServiceClient {
1240
1392
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1241
1393
  }
1242
1394
  /**
1243
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1395
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1244
1396
  *
1245
1397
  * @param {string} project
1246
1398
  * @param {string} location
1247
1399
  * @param {string} collection
1248
1400
  * @param {string} data_store
1249
1401
  * @param {string} session
1402
+ * @param {string} answer
1250
1403
  * @returns {string} Resource name string.
1251
1404
  */
1252
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1253
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1405
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1406
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1254
1407
  project: project,
1255
1408
  location: location,
1256
1409
  collection: collection,
1257
1410
  data_store: dataStore,
1258
1411
  session: session,
1412
+ answer: answer,
1259
1413
  });
1260
1414
  }
1261
1415
  /**
1262
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1416
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1263
1417
  *
1264
- * @param {string} projectLocationCollectionDataStoreSessionName
1265
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1418
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1419
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1266
1420
  * @returns {string} A string representing the project.
1267
1421
  */
1268
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1269
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1422
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1423
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1270
1424
  }
1271
1425
  /**
1272
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1426
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1273
1427
  *
1274
- * @param {string} projectLocationCollectionDataStoreSessionName
1275
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1428
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1429
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1276
1430
  * @returns {string} A string representing the location.
1277
1431
  */
1278
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1279
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1432
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1433
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1280
1434
  }
1281
1435
  /**
1282
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1436
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1283
1437
  *
1284
- * @param {string} projectLocationCollectionDataStoreSessionName
1285
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1438
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1439
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1286
1440
  * @returns {string} A string representing the collection.
1287
1441
  */
1288
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1289
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1442
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1443
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1290
1444
  }
1291
1445
  /**
1292
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1446
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1293
1447
  *
1294
- * @param {string} projectLocationCollectionDataStoreSessionName
1295
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1448
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1449
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1296
1450
  * @returns {string} A string representing the data_store.
1297
1451
  */
1298
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1299
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1452
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1453
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1300
1454
  }
1301
1455
  /**
1302
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1456
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1303
1457
  *
1304
- * @param {string} projectLocationCollectionDataStoreSessionName
1305
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1458
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1459
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1306
1460
  * @returns {string} A string representing the session.
1307
1461
  */
1308
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1309
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1462
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1463
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1310
1464
  }
1311
1465
  /**
1312
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1466
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1467
+ *
1468
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1469
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1470
+ * @returns {string} A string representing the answer.
1471
+ */
1472
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1473
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1474
+ }
1475
+ /**
1476
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1313
1477
  *
1314
1478
  * @param {string} project
1315
1479
  * @param {string} location
1316
1480
  * @param {string} collection
1317
1481
  * @param {string} data_store
1318
1482
  * @param {string} session
1319
- * @param {string} answer
1320
1483
  * @returns {string} Resource name string.
1321
1484
  */
1322
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1323
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1485
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1486
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1324
1487
  project: project,
1325
1488
  location: location,
1326
1489
  collection: collection,
1327
1490
  data_store: dataStore,
1328
1491
  session: session,
1329
- answer: answer,
1330
1492
  });
1331
1493
  }
1332
1494
  /**
1333
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1495
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1334
1496
  *
1335
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1336
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1497
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1498
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1337
1499
  * @returns {string} A string representing the project.
1338
1500
  */
1339
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1340
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1501
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1502
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1341
1503
  }
1342
1504
  /**
1343
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1505
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1344
1506
  *
1345
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1346
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1507
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1508
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1347
1509
  * @returns {string} A string representing the location.
1348
1510
  */
1349
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1350
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1511
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1512
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1351
1513
  }
1352
1514
  /**
1353
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1515
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1354
1516
  *
1355
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1356
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1517
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1518
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1357
1519
  * @returns {string} A string representing the collection.
1358
1520
  */
1359
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1360
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1521
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1522
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1361
1523
  }
1362
1524
  /**
1363
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1525
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1364
1526
  *
1365
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1366
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1527
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1528
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1367
1529
  * @returns {string} A string representing the data_store.
1368
1530
  */
1369
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1370
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1531
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1532
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1371
1533
  }
1372
1534
  /**
1373
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1535
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1374
1536
  *
1375
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1376
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1537
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1538
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1377
1539
  * @returns {string} A string representing the session.
1378
1540
  */
1379
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1380
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1381
- }
1382
- /**
1383
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1384
- *
1385
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1386
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1387
- * @returns {string} A string representing the answer.
1388
- */
1389
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1390
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1541
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1542
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1391
1543
  }
1392
1544
  /**
1393
1545
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1792,154 +1944,154 @@ class RecommendationServiceClient {
1792
1944
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1793
1945
  }
1794
1946
  /**
1795
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1947
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1796
1948
  *
1797
1949
  * @param {string} project
1798
1950
  * @param {string} location
1799
1951
  * @param {string} collection
1800
1952
  * @param {string} engine
1801
1953
  * @param {string} session
1954
+ * @param {string} answer
1802
1955
  * @returns {string} Resource name string.
1803
1956
  */
1804
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1805
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1957
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1958
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1806
1959
  project: project,
1807
1960
  location: location,
1808
1961
  collection: collection,
1809
1962
  engine: engine,
1810
1963
  session: session,
1964
+ answer: answer,
1811
1965
  });
1812
1966
  }
1813
1967
  /**
1814
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1968
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1815
1969
  *
1816
- * @param {string} projectLocationCollectionEngineSessionName
1817
- * A fully-qualified path representing project_location_collection_engine_session resource.
1970
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1971
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1818
1972
  * @returns {string} A string representing the project.
1819
1973
  */
1820
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1821
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1974
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1975
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1822
1976
  }
1823
1977
  /**
1824
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1978
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1825
1979
  *
1826
- * @param {string} projectLocationCollectionEngineSessionName
1827
- * A fully-qualified path representing project_location_collection_engine_session resource.
1980
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1981
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1828
1982
  * @returns {string} A string representing the location.
1829
1983
  */
1830
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1831
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1984
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1985
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1832
1986
  }
1833
1987
  /**
1834
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1988
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1835
1989
  *
1836
- * @param {string} projectLocationCollectionEngineSessionName
1837
- * A fully-qualified path representing project_location_collection_engine_session resource.
1990
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1991
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1838
1992
  * @returns {string} A string representing the collection.
1839
1993
  */
1840
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1841
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1994
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1995
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1842
1996
  }
1843
1997
  /**
1844
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1998
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1845
1999
  *
1846
- * @param {string} projectLocationCollectionEngineSessionName
1847
- * A fully-qualified path representing project_location_collection_engine_session resource.
2000
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2001
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1848
2002
  * @returns {string} A string representing the engine.
1849
2003
  */
1850
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1851
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2004
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2005
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1852
2006
  }
1853
2007
  /**
1854
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2008
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1855
2009
  *
1856
- * @param {string} projectLocationCollectionEngineSessionName
1857
- * A fully-qualified path representing project_location_collection_engine_session resource.
2010
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2011
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1858
2012
  * @returns {string} A string representing the session.
1859
2013
  */
1860
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1861
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2014
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2015
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1862
2016
  }
1863
2017
  /**
1864
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2018
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2019
+ *
2020
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2021
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2022
+ * @returns {string} A string representing the answer.
2023
+ */
2024
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2025
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2026
+ }
2027
+ /**
2028
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1865
2029
  *
1866
2030
  * @param {string} project
1867
2031
  * @param {string} location
1868
2032
  * @param {string} collection
1869
2033
  * @param {string} engine
1870
2034
  * @param {string} session
1871
- * @param {string} answer
1872
2035
  * @returns {string} Resource name string.
1873
2036
  */
1874
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1875
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2037
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2038
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1876
2039
  project: project,
1877
2040
  location: location,
1878
2041
  collection: collection,
1879
2042
  engine: engine,
1880
2043
  session: session,
1881
- answer: answer,
1882
2044
  });
1883
2045
  }
1884
2046
  /**
1885
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2047
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1886
2048
  *
1887
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1888
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2049
+ * @param {string} projectLocationCollectionEngineSessionsName
2050
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1889
2051
  * @returns {string} A string representing the project.
1890
2052
  */
1891
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1892
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2053
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2054
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1893
2055
  }
1894
2056
  /**
1895
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2057
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1896
2058
  *
1897
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1898
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2059
+ * @param {string} projectLocationCollectionEngineSessionsName
2060
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1899
2061
  * @returns {string} A string representing the location.
1900
2062
  */
1901
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1902
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2063
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2064
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1903
2065
  }
1904
2066
  /**
1905
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2067
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1906
2068
  *
1907
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1908
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2069
+ * @param {string} projectLocationCollectionEngineSessionsName
2070
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1909
2071
  * @returns {string} A string representing the collection.
1910
2072
  */
1911
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1912
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2073
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2074
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1913
2075
  }
1914
2076
  /**
1915
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2077
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1916
2078
  *
1917
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1918
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2079
+ * @param {string} projectLocationCollectionEngineSessionsName
2080
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1919
2081
  * @returns {string} A string representing the engine.
1920
2082
  */
1921
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1922
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2083
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2084
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1923
2085
  }
1924
2086
  /**
1925
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2087
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
1926
2088
  *
1927
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1928
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2089
+ * @param {string} projectLocationCollectionEngineSessionsName
2090
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1929
2091
  * @returns {string} A string representing the session.
1930
2092
  */
1931
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1932
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1933
- }
1934
- /**
1935
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1936
- *
1937
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1938
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1939
- * @returns {string} A string representing the answer.
1940
- */
1941
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1942
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2093
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2094
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
1943
2095
  }
1944
2096
  /**
1945
2097
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2466,63 +2618,6 @@ class RecommendationServiceClient {
2466
2618
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2467
2619
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2468
2620
  }
2469
- /**
2470
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2471
- *
2472
- * @param {string} project
2473
- * @param {string} location
2474
- * @param {string} data_store
2475
- * @param {string} session
2476
- * @returns {string} Resource name string.
2477
- */
2478
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2479
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2480
- project: project,
2481
- location: location,
2482
- data_store: dataStore,
2483
- session: session,
2484
- });
2485
- }
2486
- /**
2487
- * Parse the project from ProjectLocationDataStoreSession resource.
2488
- *
2489
- * @param {string} projectLocationDataStoreSessionName
2490
- * A fully-qualified path representing project_location_data_store_session resource.
2491
- * @returns {string} A string representing the project.
2492
- */
2493
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2494
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2495
- }
2496
- /**
2497
- * Parse the location from ProjectLocationDataStoreSession resource.
2498
- *
2499
- * @param {string} projectLocationDataStoreSessionName
2500
- * A fully-qualified path representing project_location_data_store_session resource.
2501
- * @returns {string} A string representing the location.
2502
- */
2503
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2504
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2505
- }
2506
- /**
2507
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2508
- *
2509
- * @param {string} projectLocationDataStoreSessionName
2510
- * A fully-qualified path representing project_location_data_store_session resource.
2511
- * @returns {string} A string representing the data_store.
2512
- */
2513
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2514
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2515
- }
2516
- /**
2517
- * Parse the session from ProjectLocationDataStoreSession resource.
2518
- *
2519
- * @param {string} projectLocationDataStoreSessionName
2520
- * A fully-qualified path representing project_location_data_store_session resource.
2521
- * @returns {string} A string representing the session.
2522
- */
2523
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2524
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2525
- }
2526
2621
  /**
2527
2622
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2528
2623
  *
@@ -2592,6 +2687,63 @@ class RecommendationServiceClient {
2592
2687
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2593
2688
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2594
2689
  }
2690
+ /**
2691
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2692
+ *
2693
+ * @param {string} project
2694
+ * @param {string} location
2695
+ * @param {string} data_store
2696
+ * @param {string} session
2697
+ * @returns {string} Resource name string.
2698
+ */
2699
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2700
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2701
+ project: project,
2702
+ location: location,
2703
+ data_store: dataStore,
2704
+ session: session,
2705
+ });
2706
+ }
2707
+ /**
2708
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2709
+ *
2710
+ * @param {string} projectLocationDataStoreSessionsName
2711
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2712
+ * @returns {string} A string representing the project.
2713
+ */
2714
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2715
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2716
+ }
2717
+ /**
2718
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2719
+ *
2720
+ * @param {string} projectLocationDataStoreSessionsName
2721
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2722
+ * @returns {string} A string representing the location.
2723
+ */
2724
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2725
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2726
+ }
2727
+ /**
2728
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2729
+ *
2730
+ * @param {string} projectLocationDataStoreSessionsName
2731
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2732
+ * @returns {string} A string representing the data_store.
2733
+ */
2734
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2735
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2736
+ }
2737
+ /**
2738
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2739
+ *
2740
+ * @param {string} projectLocationDataStoreSessionsName
2741
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2742
+ * @returns {string} A string representing the session.
2743
+ */
2744
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2745
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2746
+ }
2595
2747
  /**
2596
2748
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2597
2749
  *