@google-cloud/discoveryengine 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -163,6 +163,8 @@ class SiteSearchEngineServiceClient {
163
163
  // identifiers to uniquely identify resources within the API.
164
164
  // Create useful helper objects for these.
165
165
  this.pathTemplates = {
166
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
167
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
166
168
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
167
169
  identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
168
170
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
@@ -177,16 +179,16 @@ class SiteSearchEngineServiceClient {
177
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
182
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
183
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
184
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
185
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
186
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
187
189
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
188
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
190
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
191
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
191
193
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
192
194
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -196,8 +198,8 @@ class SiteSearchEngineServiceClient {
196
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
200
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
199
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
201
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
202
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
204
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
203
205
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -1453,6 +1455,156 @@ class SiteSearchEngineServiceClient {
1453
1455
  // --------------------
1454
1456
  // -- Path templates --
1455
1457
  // --------------------
1458
+ /**
1459
+ * Return a fully-qualified assistAnswer resource name string.
1460
+ *
1461
+ * @param {string} project
1462
+ * @param {string} location
1463
+ * @param {string} collection
1464
+ * @param {string} engine
1465
+ * @param {string} session
1466
+ * @param {string} assist_answer
1467
+ * @returns {string} Resource name string.
1468
+ */
1469
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
1470
+ return this.pathTemplates.assistAnswerPathTemplate.render({
1471
+ project: project,
1472
+ location: location,
1473
+ collection: collection,
1474
+ engine: engine,
1475
+ session: session,
1476
+ assist_answer: assistAnswer,
1477
+ });
1478
+ }
1479
+ /**
1480
+ * Parse the project from AssistAnswer resource.
1481
+ *
1482
+ * @param {string} assistAnswerName
1483
+ * A fully-qualified path representing AssistAnswer resource.
1484
+ * @returns {string} A string representing the project.
1485
+ */
1486
+ matchProjectFromAssistAnswerName(assistAnswerName) {
1487
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
1488
+ }
1489
+ /**
1490
+ * Parse the location from AssistAnswer resource.
1491
+ *
1492
+ * @param {string} assistAnswerName
1493
+ * A fully-qualified path representing AssistAnswer resource.
1494
+ * @returns {string} A string representing the location.
1495
+ */
1496
+ matchLocationFromAssistAnswerName(assistAnswerName) {
1497
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
1498
+ }
1499
+ /**
1500
+ * Parse the collection from AssistAnswer resource.
1501
+ *
1502
+ * @param {string} assistAnswerName
1503
+ * A fully-qualified path representing AssistAnswer resource.
1504
+ * @returns {string} A string representing the collection.
1505
+ */
1506
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
1507
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
1508
+ }
1509
+ /**
1510
+ * Parse the engine from AssistAnswer resource.
1511
+ *
1512
+ * @param {string} assistAnswerName
1513
+ * A fully-qualified path representing AssistAnswer resource.
1514
+ * @returns {string} A string representing the engine.
1515
+ */
1516
+ matchEngineFromAssistAnswerName(assistAnswerName) {
1517
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
1518
+ }
1519
+ /**
1520
+ * Parse the session from AssistAnswer resource.
1521
+ *
1522
+ * @param {string} assistAnswerName
1523
+ * A fully-qualified path representing AssistAnswer resource.
1524
+ * @returns {string} A string representing the session.
1525
+ */
1526
+ matchSessionFromAssistAnswerName(assistAnswerName) {
1527
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
1528
+ }
1529
+ /**
1530
+ * Parse the assist_answer from AssistAnswer resource.
1531
+ *
1532
+ * @param {string} assistAnswerName
1533
+ * A fully-qualified path representing AssistAnswer resource.
1534
+ * @returns {string} A string representing the assist_answer.
1535
+ */
1536
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
1537
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
1538
+ }
1539
+ /**
1540
+ * Return a fully-qualified assistant resource name string.
1541
+ *
1542
+ * @param {string} project
1543
+ * @param {string} location
1544
+ * @param {string} collection
1545
+ * @param {string} engine
1546
+ * @param {string} assistant
1547
+ * @returns {string} Resource name string.
1548
+ */
1549
+ assistantPath(project, location, collection, engine, assistant) {
1550
+ return this.pathTemplates.assistantPathTemplate.render({
1551
+ project: project,
1552
+ location: location,
1553
+ collection: collection,
1554
+ engine: engine,
1555
+ assistant: assistant,
1556
+ });
1557
+ }
1558
+ /**
1559
+ * Parse the project from Assistant resource.
1560
+ *
1561
+ * @param {string} assistantName
1562
+ * A fully-qualified path representing Assistant resource.
1563
+ * @returns {string} A string representing the project.
1564
+ */
1565
+ matchProjectFromAssistantName(assistantName) {
1566
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
1567
+ }
1568
+ /**
1569
+ * Parse the location from Assistant resource.
1570
+ *
1571
+ * @param {string} assistantName
1572
+ * A fully-qualified path representing Assistant resource.
1573
+ * @returns {string} A string representing the location.
1574
+ */
1575
+ matchLocationFromAssistantName(assistantName) {
1576
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
1577
+ }
1578
+ /**
1579
+ * Parse the collection from Assistant resource.
1580
+ *
1581
+ * @param {string} assistantName
1582
+ * A fully-qualified path representing Assistant resource.
1583
+ * @returns {string} A string representing the collection.
1584
+ */
1585
+ matchCollectionFromAssistantName(assistantName) {
1586
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
1587
+ }
1588
+ /**
1589
+ * Parse the engine from Assistant resource.
1590
+ *
1591
+ * @param {string} assistantName
1592
+ * A fully-qualified path representing Assistant resource.
1593
+ * @returns {string} A string representing the engine.
1594
+ */
1595
+ matchEngineFromAssistantName(assistantName) {
1596
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
1597
+ }
1598
+ /**
1599
+ * Parse the assistant from Assistant resource.
1600
+ *
1601
+ * @param {string} assistantName
1602
+ * A fully-qualified path representing Assistant resource.
1603
+ * @returns {string} A string representing the assistant.
1604
+ */
1605
+ matchAssistantFromAssistantName(assistantName) {
1606
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
1607
+ }
1456
1608
  /**
1457
1609
  * Return a fully-qualified engine resource name string.
1458
1610
  *
@@ -2288,154 +2440,154 @@ class SiteSearchEngineServiceClient {
2288
2440
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
2289
2441
  }
2290
2442
  /**
2291
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
2443
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2292
2444
  *
2293
2445
  * @param {string} project
2294
2446
  * @param {string} location
2295
2447
  * @param {string} collection
2296
2448
  * @param {string} data_store
2297
2449
  * @param {string} session
2450
+ * @param {string} answer
2298
2451
  * @returns {string} Resource name string.
2299
2452
  */
2300
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
2301
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
2453
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2454
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2302
2455
  project: project,
2303
2456
  location: location,
2304
2457
  collection: collection,
2305
2458
  data_store: dataStore,
2306
2459
  session: session,
2460
+ answer: answer,
2307
2461
  });
2308
2462
  }
2309
2463
  /**
2310
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
2464
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2311
2465
  *
2312
- * @param {string} projectLocationCollectionDataStoreSessionName
2313
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2466
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2467
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2314
2468
  * @returns {string} A string representing the project.
2315
2469
  */
2316
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2317
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
2470
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2471
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2318
2472
  }
2319
2473
  /**
2320
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
2474
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2321
2475
  *
2322
- * @param {string} projectLocationCollectionDataStoreSessionName
2323
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2476
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2477
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2324
2478
  * @returns {string} A string representing the location.
2325
2479
  */
2326
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2327
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
2480
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2481
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2328
2482
  }
2329
2483
  /**
2330
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
2484
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2331
2485
  *
2332
- * @param {string} projectLocationCollectionDataStoreSessionName
2333
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2486
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2487
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2334
2488
  * @returns {string} A string representing the collection.
2335
2489
  */
2336
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2337
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
2490
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2491
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2338
2492
  }
2339
2493
  /**
2340
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
2494
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2341
2495
  *
2342
- * @param {string} projectLocationCollectionDataStoreSessionName
2343
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2496
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2497
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2344
2498
  * @returns {string} A string representing the data_store.
2345
2499
  */
2346
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2347
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
2500
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2501
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2348
2502
  }
2349
2503
  /**
2350
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
2504
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2351
2505
  *
2352
- * @param {string} projectLocationCollectionDataStoreSessionName
2353
- * A fully-qualified path representing project_location_collection_data_store_session resource.
2506
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2507
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2354
2508
  * @returns {string} A string representing the session.
2355
2509
  */
2356
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2357
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
2510
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2511
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2358
2512
  }
2359
2513
  /**
2360
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2514
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2515
+ *
2516
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2517
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2518
+ * @returns {string} A string representing the answer.
2519
+ */
2520
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2521
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2522
+ }
2523
+ /**
2524
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
2361
2525
  *
2362
2526
  * @param {string} project
2363
2527
  * @param {string} location
2364
2528
  * @param {string} collection
2365
2529
  * @param {string} data_store
2366
2530
  * @param {string} session
2367
- * @param {string} answer
2368
2531
  * @returns {string} Resource name string.
2369
2532
  */
2370
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2371
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2533
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
2534
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
2372
2535
  project: project,
2373
2536
  location: location,
2374
2537
  collection: collection,
2375
2538
  data_store: dataStore,
2376
2539
  session: session,
2377
- answer: answer,
2378
2540
  });
2379
2541
  }
2380
2542
  /**
2381
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2543
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
2382
2544
  *
2383
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2384
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2545
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2546
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2385
2547
  * @returns {string} A string representing the project.
2386
2548
  */
2387
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2388
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2549
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2550
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
2389
2551
  }
2390
2552
  /**
2391
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2553
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
2392
2554
  *
2393
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2394
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2555
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2556
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2395
2557
  * @returns {string} A string representing the location.
2396
2558
  */
2397
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2398
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2559
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2560
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
2399
2561
  }
2400
2562
  /**
2401
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2563
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
2402
2564
  *
2403
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2404
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2565
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2566
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2405
2567
  * @returns {string} A string representing the collection.
2406
2568
  */
2407
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2408
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2569
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2570
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
2409
2571
  }
2410
2572
  /**
2411
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2573
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
2412
2574
  *
2413
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2414
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2575
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2576
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2415
2577
  * @returns {string} A string representing the data_store.
2416
2578
  */
2417
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2418
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2579
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2580
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
2419
2581
  }
2420
2582
  /**
2421
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2583
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
2422
2584
  *
2423
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2424
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2585
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2586
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
2425
2587
  * @returns {string} A string representing the session.
2426
2588
  */
2427
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2428
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2429
- }
2430
- /**
2431
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2432
- *
2433
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2434
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2435
- * @returns {string} A string representing the answer.
2436
- */
2437
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2438
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2589
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2590
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2439
2591
  }
2440
2592
  /**
2441
2593
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2840,154 +2992,154 @@ class SiteSearchEngineServiceClient {
2840
2992
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2841
2993
  }
2842
2994
  /**
2843
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2995
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2844
2996
  *
2845
2997
  * @param {string} project
2846
2998
  * @param {string} location
2847
2999
  * @param {string} collection
2848
3000
  * @param {string} engine
2849
3001
  * @param {string} session
3002
+ * @param {string} answer
2850
3003
  * @returns {string} Resource name string.
2851
3004
  */
2852
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2853
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
3005
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
3006
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2854
3007
  project: project,
2855
3008
  location: location,
2856
3009
  collection: collection,
2857
3010
  engine: engine,
2858
3011
  session: session,
3012
+ answer: answer,
2859
3013
  });
2860
3014
  }
2861
3015
  /**
2862
- * Parse the project from ProjectLocationCollectionEngineSession resource.
3016
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2863
3017
  *
2864
- * @param {string} projectLocationCollectionEngineSessionName
2865
- * A fully-qualified path representing project_location_collection_engine_session resource.
3018
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3019
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2866
3020
  * @returns {string} A string representing the project.
2867
3021
  */
2868
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2869
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
3022
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3023
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2870
3024
  }
2871
3025
  /**
2872
- * Parse the location from ProjectLocationCollectionEngineSession resource.
3026
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2873
3027
  *
2874
- * @param {string} projectLocationCollectionEngineSessionName
2875
- * A fully-qualified path representing project_location_collection_engine_session resource.
3028
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3029
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2876
3030
  * @returns {string} A string representing the location.
2877
3031
  */
2878
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2879
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
3032
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3033
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2880
3034
  }
2881
3035
  /**
2882
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
3036
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2883
3037
  *
2884
- * @param {string} projectLocationCollectionEngineSessionName
2885
- * A fully-qualified path representing project_location_collection_engine_session resource.
3038
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3039
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2886
3040
  * @returns {string} A string representing the collection.
2887
3041
  */
2888
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2889
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
3042
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3043
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2890
3044
  }
2891
3045
  /**
2892
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
3046
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2893
3047
  *
2894
- * @param {string} projectLocationCollectionEngineSessionName
2895
- * A fully-qualified path representing project_location_collection_engine_session resource.
3048
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3049
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2896
3050
  * @returns {string} A string representing the engine.
2897
3051
  */
2898
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2899
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
3052
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3053
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2900
3054
  }
2901
3055
  /**
2902
- * Parse the session from ProjectLocationCollectionEngineSession resource.
3056
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2903
3057
  *
2904
- * @param {string} projectLocationCollectionEngineSessionName
2905
- * A fully-qualified path representing project_location_collection_engine_session resource.
3058
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3059
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2906
3060
  * @returns {string} A string representing the session.
2907
3061
  */
2908
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2909
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
3062
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3063
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2910
3064
  }
2911
3065
  /**
2912
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
3066
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
3067
+ *
3068
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
3069
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3070
+ * @returns {string} A string representing the answer.
3071
+ */
3072
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3073
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
3074
+ }
3075
+ /**
3076
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2913
3077
  *
2914
3078
  * @param {string} project
2915
3079
  * @param {string} location
2916
3080
  * @param {string} collection
2917
3081
  * @param {string} engine
2918
3082
  * @param {string} session
2919
- * @param {string} answer
2920
3083
  * @returns {string} Resource name string.
2921
3084
  */
2922
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2923
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
3085
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
3086
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2924
3087
  project: project,
2925
3088
  location: location,
2926
3089
  collection: collection,
2927
3090
  engine: engine,
2928
3091
  session: session,
2929
- answer: answer,
2930
3092
  });
2931
3093
  }
2932
3094
  /**
2933
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
3095
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2934
3096
  *
2935
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2936
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3097
+ * @param {string} projectLocationCollectionEngineSessionsName
3098
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2937
3099
  * @returns {string} A string representing the project.
2938
3100
  */
2939
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2940
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
3101
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3102
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2941
3103
  }
2942
3104
  /**
2943
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
3105
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2944
3106
  *
2945
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2946
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3107
+ * @param {string} projectLocationCollectionEngineSessionsName
3108
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2947
3109
  * @returns {string} A string representing the location.
2948
3110
  */
2949
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2950
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
3111
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3112
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2951
3113
  }
2952
3114
  /**
2953
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
3115
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2954
3116
  *
2955
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2956
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3117
+ * @param {string} projectLocationCollectionEngineSessionsName
3118
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2957
3119
  * @returns {string} A string representing the collection.
2958
3120
  */
2959
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2960
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
3121
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3122
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2961
3123
  }
2962
3124
  /**
2963
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
3125
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2964
3126
  *
2965
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2966
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3127
+ * @param {string} projectLocationCollectionEngineSessionsName
3128
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2967
3129
  * @returns {string} A string representing the engine.
2968
3130
  */
2969
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2970
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
3131
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3132
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2971
3133
  }
2972
3134
  /**
2973
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
3135
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2974
3136
  *
2975
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2976
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
3137
+ * @param {string} projectLocationCollectionEngineSessionsName
3138
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2977
3139
  * @returns {string} A string representing the session.
2978
3140
  */
2979
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2980
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2981
- }
2982
- /**
2983
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2984
- *
2985
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2986
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2987
- * @returns {string} A string representing the answer.
2988
- */
2989
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2990
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
3141
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3142
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2991
3143
  }
2992
3144
  /**
2993
3145
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3514,63 +3666,6 @@ class SiteSearchEngineServiceClient {
3514
3666
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3515
3667
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3516
3668
  }
3517
- /**
3518
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3519
- *
3520
- * @param {string} project
3521
- * @param {string} location
3522
- * @param {string} data_store
3523
- * @param {string} session
3524
- * @returns {string} Resource name string.
3525
- */
3526
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3527
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3528
- project: project,
3529
- location: location,
3530
- data_store: dataStore,
3531
- session: session,
3532
- });
3533
- }
3534
- /**
3535
- * Parse the project from ProjectLocationDataStoreSession resource.
3536
- *
3537
- * @param {string} projectLocationDataStoreSessionName
3538
- * A fully-qualified path representing project_location_data_store_session resource.
3539
- * @returns {string} A string representing the project.
3540
- */
3541
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3542
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3543
- }
3544
- /**
3545
- * Parse the location from ProjectLocationDataStoreSession resource.
3546
- *
3547
- * @param {string} projectLocationDataStoreSessionName
3548
- * A fully-qualified path representing project_location_data_store_session resource.
3549
- * @returns {string} A string representing the location.
3550
- */
3551
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3552
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3553
- }
3554
- /**
3555
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3556
- *
3557
- * @param {string} projectLocationDataStoreSessionName
3558
- * A fully-qualified path representing project_location_data_store_session resource.
3559
- * @returns {string} A string representing the data_store.
3560
- */
3561
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3562
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3563
- }
3564
- /**
3565
- * Parse the session from ProjectLocationDataStoreSession resource.
3566
- *
3567
- * @param {string} projectLocationDataStoreSessionName
3568
- * A fully-qualified path representing project_location_data_store_session resource.
3569
- * @returns {string} A string representing the session.
3570
- */
3571
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3572
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3573
- }
3574
3669
  /**
3575
3670
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3576
3671
  *
@@ -3640,6 +3735,63 @@ class SiteSearchEngineServiceClient {
3640
3735
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3641
3736
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3642
3737
  }
3738
+ /**
3739
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3740
+ *
3741
+ * @param {string} project
3742
+ * @param {string} location
3743
+ * @param {string} data_store
3744
+ * @param {string} session
3745
+ * @returns {string} Resource name string.
3746
+ */
3747
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3748
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3749
+ project: project,
3750
+ location: location,
3751
+ data_store: dataStore,
3752
+ session: session,
3753
+ });
3754
+ }
3755
+ /**
3756
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3757
+ *
3758
+ * @param {string} projectLocationDataStoreSessionsName
3759
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3760
+ * @returns {string} A string representing the project.
3761
+ */
3762
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3763
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3764
+ }
3765
+ /**
3766
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3767
+ *
3768
+ * @param {string} projectLocationDataStoreSessionsName
3769
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3770
+ * @returns {string} A string representing the location.
3771
+ */
3772
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3773
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3774
+ }
3775
+ /**
3776
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3777
+ *
3778
+ * @param {string} projectLocationDataStoreSessionsName
3779
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3780
+ * @returns {string} A string representing the data_store.
3781
+ */
3782
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3783
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3784
+ }
3785
+ /**
3786
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3787
+ *
3788
+ * @param {string} projectLocationDataStoreSessionsName
3789
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3790
+ * @returns {string} A string representing the session.
3791
+ */
3792
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3793
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3794
+ }
3643
3795
  /**
3644
3796
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3645
3797
  *