@google-cloud/discoveryengine 2.2.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 (249) hide show
  1. package/README.md +30 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
  10. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
  11. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
  12. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
  15. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
  16. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
  21. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  22. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  23. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
  24. package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  32. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  33. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  34. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  35. package/build/protos/protos.d.ts +21218 -11675
  36. package/build/protos/protos.js +92642 -66407
  37. package/build/protos/protos.json +5854 -2801
  38. package/build/src/index.d.ts +16 -1
  39. package/build/src/index.js +12 -2
  40. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  41. package/build/src/v1/assistant_service_client.js +2957 -0
  42. package/build/src/v1/assistant_service_client_config.json +43 -0
  43. package/build/src/v1/assistant_service_proto_list.json +48 -0
  44. package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
  45. package/build/src/v1/cmek_config_service_client.js +3426 -0
  46. package/build/src/v1/cmek_config_service_client_config.json +42 -0
  47. package/build/src/v1/cmek_config_service_proto_list.json +48 -0
  48. package/build/src/v1/completion_service_client.d.ts +345 -144
  49. package/build/src/v1/completion_service_client.js +482 -198
  50. package/build/src/v1/completion_service_proto_list.json +10 -1
  51. package/build/src/v1/control_service_client.d.ts +345 -144
  52. package/build/src/v1/control_service_client.js +498 -196
  53. package/build/src/v1/control_service_proto_list.json +10 -1
  54. package/build/src/v1/conversational_search_service_client.d.ts +392 -155
  55. package/build/src/v1/conversational_search_service_client.js +572 -204
  56. package/build/src/v1/conversational_search_service_proto_list.json +10 -1
  57. package/build/src/v1/data_store_service_client.d.ts +351 -144
  58. package/build/src/v1/data_store_service_client.js +488 -198
  59. package/build/src/v1/data_store_service_proto_list.json +10 -1
  60. package/build/src/v1/document_service_client.d.ts +345 -144
  61. package/build/src/v1/document_service_client.js +506 -198
  62. package/build/src/v1/document_service_proto_list.json +10 -1
  63. package/build/src/v1/engine_service_client.d.ts +345 -144
  64. package/build/src/v1/engine_service_client.js +488 -198
  65. package/build/src/v1/engine_service_proto_list.json +10 -1
  66. package/build/src/v1/gapic_metadata.json +270 -0
  67. package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
  68. package/build/src/v1/grounded_generation_service_client.js +486 -196
  69. package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
  70. package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
  71. package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
  72. package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
  73. package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
  74. package/build/src/v1/index.d.ts +5 -0
  75. package/build/src/v1/index.js +11 -1
  76. package/build/src/v1/project_service_client.d.ts +345 -144
  77. package/build/src/v1/project_service_client.js +476 -198
  78. package/build/src/v1/project_service_proto_list.json +10 -1
  79. package/build/src/v1/rank_service_client.d.ts +345 -144
  80. package/build/src/v1/rank_service_client.js +480 -196
  81. package/build/src/v1/rank_service_proto_list.json +10 -1
  82. package/build/src/v1/recommendation_service_client.d.ts +345 -144
  83. package/build/src/v1/recommendation_service_client.js +480 -196
  84. package/build/src/v1/recommendation_service_proto_list.json +10 -1
  85. package/build/src/v1/schema_service_client.d.ts +345 -144
  86. package/build/src/v1/schema_service_client.js +482 -198
  87. package/build/src/v1/schema_service_proto_list.json +10 -1
  88. package/build/src/v1/search_service_client.d.ts +393 -228
  89. package/build/src/v1/search_service_client.js +506 -252
  90. package/build/src/v1/search_service_proto_list.json +10 -1
  91. package/build/src/v1/search_tuning_service_client.d.ts +345 -144
  92. package/build/src/v1/search_tuning_service_client.js +482 -198
  93. package/build/src/v1/search_tuning_service_proto_list.json +10 -1
  94. package/build/src/v1/serving_config_service_client.d.ts +345 -144
  95. package/build/src/v1/serving_config_service_client.js +480 -196
  96. package/build/src/v1/serving_config_service_proto_list.json +10 -1
  97. package/build/src/v1/session_service_client.d.ts +2326 -0
  98. package/build/src/v1/session_service_client.js +3218 -0
  99. package/build/src/v1/session_service_client_config.json +63 -0
  100. package/build/src/v1/session_service_proto_list.json +48 -0
  101. package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
  102. package/build/src/v1/site_search_engine_service_client.js +494 -198
  103. package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
  104. package/build/src/v1/user_event_service_client.d.ts +345 -144
  105. package/build/src/v1/user_event_service_client.js +488 -198
  106. package/build/src/v1/user_event_service_proto_list.json +10 -1
  107. package/build/src/v1/user_license_service_client.d.ts +2367 -0
  108. package/build/src/v1/user_license_service_client.js +3346 -0
  109. package/build/src/v1/user_license_service_client_config.json +34 -0
  110. package/build/src/v1/user_license_service_proto_list.json +48 -0
  111. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  112. package/build/src/v1alpha/acl_config_service_client.js +208 -196
  113. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  114. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  115. package/build/src/v1alpha/chunk_service_client.js +202 -196
  116. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  117. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  118. package/build/src/v1alpha/completion_service_client.js +203 -197
  119. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  120. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  121. package/build/src/v1alpha/control_service_client.js +220 -196
  122. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  123. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  124. package/build/src/v1alpha/conversational_search_service_client.js +310 -210
  125. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  126. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  127. package/build/src/v1alpha/data_store_service_client.js +221 -197
  128. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  129. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  130. package/build/src/v1alpha/document_service_client.js +233 -197
  131. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  132. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  133. package/build/src/v1alpha/engine_service_client.js +221 -197
  134. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  135. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  136. package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
  137. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  138. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  139. package/build/src/v1alpha/evaluation_service_client.js +203 -197
  140. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  141. package/build/src/v1alpha/gapic_metadata.json +82 -0
  142. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
  144. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/index.d.ts +1 -0
  146. package/build/src/v1alpha/index.js +3 -1
  147. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  148. package/build/src/v1alpha/project_service_client.js +209 -197
  149. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  150. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  151. package/build/src/v1alpha/rank_service_client.js +202 -196
  152. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  153. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  154. package/build/src/v1alpha/recommendation_service_client.js +202 -196
  155. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  156. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  157. package/build/src/v1alpha/sample_query_service_client.js +221 -197
  158. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  159. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  160. package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
  161. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  162. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  163. package/build/src/v1alpha/schema_service_client.js +203 -197
  164. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  165. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  166. package/build/src/v1alpha/search_service_client.js +212 -224
  167. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  168. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  169. package/build/src/v1alpha/search_tuning_service_client.js +203 -197
  170. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  171. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  172. package/build/src/v1alpha/serving_config_service_client.js +208 -196
  173. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  174. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  175. package/build/src/v1alpha/session_service_client.js +3161 -0
  176. package/build/src/v1alpha/session_service_client_config.json +68 -0
  177. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  178. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  179. package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
  180. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  181. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  182. package/build/src/v1alpha/user_event_service_client.js +209 -197
  183. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  184. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  185. package/build/src/v1beta/completion_service_client.js +209 -197
  186. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  187. package/build/src/v1beta/control_service_client.d.ts +144 -144
  188. package/build/src/v1beta/control_service_client.js +220 -196
  189. package/build/src/v1beta/control_service_proto_list.json +1 -0
  190. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  191. package/build/src/v1beta/conversational_search_service_client.js +308 -208
  192. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  193. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  194. package/build/src/v1beta/data_store_service_client.js +209 -197
  195. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  196. package/build/src/v1beta/document_service_client.d.ts +144 -144
  197. package/build/src/v1beta/document_service_client.js +227 -197
  198. package/build/src/v1beta/document_service_proto_list.json +1 -0
  199. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  200. package/build/src/v1beta/engine_service_client.js +221 -197
  201. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  202. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  203. package/build/src/v1beta/evaluation_service_client.js +203 -197
  204. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  205. package/build/src/v1beta/gapic_metadata.json +68 -0
  206. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  207. package/build/src/v1beta/grounded_generation_service_client.js +208 -196
  208. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  209. package/build/src/v1beta/index.d.ts +1 -0
  210. package/build/src/v1beta/index.js +3 -1
  211. package/build/src/v1beta/project_service_client.d.ts +144 -144
  212. package/build/src/v1beta/project_service_client.js +197 -197
  213. package/build/src/v1beta/project_service_proto_list.json +1 -0
  214. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  215. package/build/src/v1beta/rank_service_client.js +202 -196
  216. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  217. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  218. package/build/src/v1beta/recommendation_service_client.js +202 -196
  219. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  220. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  221. package/build/src/v1beta/sample_query_service_client.js +221 -197
  222. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  223. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  224. package/build/src/v1beta/sample_query_set_service_client.js +220 -196
  225. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  226. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  227. package/build/src/v1beta/schema_service_client.js +203 -197
  228. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  229. package/build/src/v1beta/search_service_client.d.ts +192 -228
  230. package/build/src/v1beta/search_service_client.js +228 -252
  231. package/build/src/v1beta/search_service_proto_list.json +1 -0
  232. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  233. package/build/src/v1beta/search_tuning_service_client.js +203 -197
  234. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  235. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  236. package/build/src/v1beta/serving_config_service_client.js +208 -196
  237. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  238. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  239. package/build/src/v1beta/session_service_client.js +3136 -0
  240. package/build/src/v1beta/session_service_client_config.json +63 -0
  241. package/build/src/v1beta/session_service_proto_list.json +45 -0
  242. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  243. package/build/src/v1beta/site_search_engine_service_client.js +215 -197
  244. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  245. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  246. package/build/src/v1beta/user_event_service_client.js +209 -197
  247. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  248. package/package.json +7 -7
  249. package/CHANGELOG.md +0 -274
@@ -163,8 +163,13 @@ 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}'),
169
+ identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
167
170
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
171
+ projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
172
+ projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
168
173
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
169
174
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
170
175
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -174,16 +179,16 @@ class SiteSearchEngineServiceClient {
174
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
175
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
176
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
177
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
178
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}'),
179
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
180
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
181
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
182
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
183
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
184
189
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
185
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
186
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}'),
187
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
188
193
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
189
194
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -193,8 +198,8 @@ class SiteSearchEngineServiceClient {
193
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
194
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
195
200
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
196
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
197
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}'),
198
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
199
204
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
200
205
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -206,7 +211,7 @@ class SiteSearchEngineServiceClient {
206
211
  listTargetSites: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'targetSites'),
207
212
  fetchDomainVerificationStatus: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'targetSites')
208
213
  };
209
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
214
+ const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
210
215
  // This API contains "long-running operations", which return a
211
216
  // an Operation object that allows for tracking of the operation,
212
217
  // rather than holding a request open.
@@ -216,7 +221,7 @@ class SiteSearchEngineServiceClient {
216
221
  };
217
222
  if (opts.fallback) {
218
223
  lroOptions.protoJson = protoFilesRoot;
219
- lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
224
+ lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
220
225
  }, { selector: 'google.longrunning.Operations.GetOperation', get: '/v1/{name=projects/*/operations/*}', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/operations/*}', }, { get: '/v1/{name=projects/*/operations/*}', }],
221
226
  }, { selector: 'google.longrunning.Operations.ListOperations', get: '/v1/{name=projects/*}/operations', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*}/operations', }, { get: '/v1/{name=projects/*}/operations', }],
222
227
  }];
@@ -394,6 +399,12 @@ class SiteSearchEngineServiceClient {
394
399
  ?.then(([response, options, rawResponse]) => {
395
400
  this._log.info('getSiteSearchEngine response %j', response);
396
401
  return [response, options, rawResponse];
402
+ }).catch((error) => {
403
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
404
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
405
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
406
+ }
407
+ throw error;
397
408
  });
398
409
  }
399
410
  getTargetSite(request, optionsOrCallback, callback) {
@@ -424,6 +435,12 @@ class SiteSearchEngineServiceClient {
424
435
  ?.then(([response, options, rawResponse]) => {
425
436
  this._log.info('getTargetSite response %j', response);
426
437
  return [response, options, rawResponse];
438
+ }).catch((error) => {
439
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
440
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
441
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
442
+ }
443
+ throw error;
427
444
  });
428
445
  }
429
446
  fetchSitemaps(request, optionsOrCallback, callback) {
@@ -454,6 +471,12 @@ class SiteSearchEngineServiceClient {
454
471
  ?.then(([response, options, rawResponse]) => {
455
472
  this._log.info('fetchSitemaps response %j', response);
456
473
  return [response, options, rawResponse];
474
+ }).catch((error) => {
475
+ if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
476
+ const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
477
+ error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
478
+ }
479
+ throw error;
457
480
  });
458
481
  }
459
482
  createTargetSite(request, optionsOrCallback, callback) {
@@ -1432,6 +1455,156 @@ class SiteSearchEngineServiceClient {
1432
1455
  // --------------------
1433
1456
  // -- Path templates --
1434
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
+ }
1435
1608
  /**
1436
1609
  * Return a fully-qualified engine resource name string.
1437
1610
  *
@@ -1489,6 +1662,51 @@ class SiteSearchEngineServiceClient {
1489
1662
  matchEngineFromEngineName(engineName) {
1490
1663
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
1491
1664
  }
1665
+ /**
1666
+ * Return a fully-qualified identityMappingStore resource name string.
1667
+ *
1668
+ * @param {string} project
1669
+ * @param {string} location
1670
+ * @param {string} identity_mapping_store
1671
+ * @returns {string} Resource name string.
1672
+ */
1673
+ identityMappingStorePath(project, location, identityMappingStore) {
1674
+ return this.pathTemplates.identityMappingStorePathTemplate.render({
1675
+ project: project,
1676
+ location: location,
1677
+ identity_mapping_store: identityMappingStore,
1678
+ });
1679
+ }
1680
+ /**
1681
+ * Parse the project from IdentityMappingStore resource.
1682
+ *
1683
+ * @param {string} identityMappingStoreName
1684
+ * A fully-qualified path representing IdentityMappingStore resource.
1685
+ * @returns {string} A string representing the project.
1686
+ */
1687
+ matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
1688
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
1689
+ }
1690
+ /**
1691
+ * Parse the location from IdentityMappingStore resource.
1692
+ *
1693
+ * @param {string} identityMappingStoreName
1694
+ * A fully-qualified path representing IdentityMappingStore resource.
1695
+ * @returns {string} A string representing the location.
1696
+ */
1697
+ matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
1698
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
1699
+ }
1700
+ /**
1701
+ * Parse the identity_mapping_store from IdentityMappingStore resource.
1702
+ *
1703
+ * @param {string} identityMappingStoreName
1704
+ * A fully-qualified path representing IdentityMappingStore resource.
1705
+ * @returns {string} A string representing the identity_mapping_store.
1706
+ */
1707
+ matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
1708
+ return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
1709
+ }
1492
1710
  /**
1493
1711
  * Return a fully-qualified project resource name string.
1494
1712
  *
@@ -1510,6 +1728,84 @@ class SiteSearchEngineServiceClient {
1510
1728
  matchProjectFromProjectName(projectName) {
1511
1729
  return this.pathTemplates.projectPathTemplate.match(projectName).project;
1512
1730
  }
1731
+ /**
1732
+ * Return a fully-qualified projectLocationCmekConfig resource name string.
1733
+ *
1734
+ * @param {string} project
1735
+ * @param {string} location
1736
+ * @returns {string} Resource name string.
1737
+ */
1738
+ projectLocationCmekConfigPath(project, location) {
1739
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
1740
+ project: project,
1741
+ location: location,
1742
+ });
1743
+ }
1744
+ /**
1745
+ * Parse the project from ProjectLocationCmekConfig resource.
1746
+ *
1747
+ * @param {string} projectLocationCmekConfigName
1748
+ * A fully-qualified path representing project_location_cmekConfig resource.
1749
+ * @returns {string} A string representing the project.
1750
+ */
1751
+ matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
1752
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
1753
+ }
1754
+ /**
1755
+ * Parse the location from ProjectLocationCmekConfig resource.
1756
+ *
1757
+ * @param {string} projectLocationCmekConfigName
1758
+ * A fully-qualified path representing project_location_cmekConfig resource.
1759
+ * @returns {string} A string representing the location.
1760
+ */
1761
+ matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
1762
+ return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
1763
+ }
1764
+ /**
1765
+ * Return a fully-qualified projectLocationCmekConfigs resource name string.
1766
+ *
1767
+ * @param {string} project
1768
+ * @param {string} location
1769
+ * @param {string} cmek_config
1770
+ * @returns {string} Resource name string.
1771
+ */
1772
+ projectLocationCmekConfigsPath(project, location, cmekConfig) {
1773
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
1774
+ project: project,
1775
+ location: location,
1776
+ cmek_config: cmekConfig,
1777
+ });
1778
+ }
1779
+ /**
1780
+ * Parse the project from ProjectLocationCmekConfigs resource.
1781
+ *
1782
+ * @param {string} projectLocationCmekConfigsName
1783
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1784
+ * @returns {string} A string representing the project.
1785
+ */
1786
+ matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1787
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
1788
+ }
1789
+ /**
1790
+ * Parse the location from ProjectLocationCmekConfigs resource.
1791
+ *
1792
+ * @param {string} projectLocationCmekConfigsName
1793
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1794
+ * @returns {string} A string representing the location.
1795
+ */
1796
+ matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1797
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
1798
+ }
1799
+ /**
1800
+ * Parse the cmek_config from ProjectLocationCmekConfigs resource.
1801
+ *
1802
+ * @param {string} projectLocationCmekConfigsName
1803
+ * A fully-qualified path representing project_location_cmekConfigs resource.
1804
+ * @returns {string} A string representing the cmek_config.
1805
+ */
1806
+ matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
1807
+ return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
1808
+ }
1513
1809
  /**
1514
1810
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
1515
1811
  *
@@ -2144,154 +2440,154 @@ class SiteSearchEngineServiceClient {
2144
2440
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
2145
2441
  }
2146
2442
  /**
2147
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
2443
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
2148
2444
  *
2149
2445
  * @param {string} project
2150
2446
  * @param {string} location
2151
2447
  * @param {string} collection
2152
2448
  * @param {string} data_store
2153
2449
  * @param {string} session
2450
+ * @param {string} answer
2154
2451
  * @returns {string} Resource name string.
2155
2452
  */
2156
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
2157
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
2453
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2454
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2158
2455
  project: project,
2159
2456
  location: location,
2160
2457
  collection: collection,
2161
2458
  data_store: dataStore,
2162
2459
  session: session,
2460
+ answer: answer,
2163
2461
  });
2164
2462
  }
2165
2463
  /**
2166
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
2464
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2167
2465
  *
2168
- * @param {string} projectLocationCollectionDataStoreSessionName
2169
- * 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.
2170
2468
  * @returns {string} A string representing the project.
2171
2469
  */
2172
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2173
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
2470
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2471
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2174
2472
  }
2175
2473
  /**
2176
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
2474
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2177
2475
  *
2178
- * @param {string} projectLocationCollectionDataStoreSessionName
2179
- * 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.
2180
2478
  * @returns {string} A string representing the location.
2181
2479
  */
2182
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2183
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
2480
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2481
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2184
2482
  }
2185
2483
  /**
2186
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
2484
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2187
2485
  *
2188
- * @param {string} projectLocationCollectionDataStoreSessionName
2189
- * 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.
2190
2488
  * @returns {string} A string representing the collection.
2191
2489
  */
2192
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2193
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
2490
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2491
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2194
2492
  }
2195
2493
  /**
2196
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
2494
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2197
2495
  *
2198
- * @param {string} projectLocationCollectionDataStoreSessionName
2199
- * 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.
2200
2498
  * @returns {string} A string representing the data_store.
2201
2499
  */
2202
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2203
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
2500
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2501
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2204
2502
  }
2205
2503
  /**
2206
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
2504
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2207
2505
  *
2208
- * @param {string} projectLocationCollectionDataStoreSessionName
2209
- * 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.
2210
2508
  * @returns {string} A string representing the session.
2211
2509
  */
2212
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
2213
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
2510
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2511
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2214
2512
  }
2215
2513
  /**
2216
- * 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.
2217
2525
  *
2218
2526
  * @param {string} project
2219
2527
  * @param {string} location
2220
2528
  * @param {string} collection
2221
2529
  * @param {string} data_store
2222
2530
  * @param {string} session
2223
- * @param {string} answer
2224
2531
  * @returns {string} Resource name string.
2225
2532
  */
2226
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
2227
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
2533
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
2534
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
2228
2535
  project: project,
2229
2536
  location: location,
2230
2537
  collection: collection,
2231
2538
  data_store: dataStore,
2232
2539
  session: session,
2233
- answer: answer,
2234
2540
  });
2235
2541
  }
2236
2542
  /**
2237
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
2543
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
2238
2544
  *
2239
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2240
- * 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.
2241
2547
  * @returns {string} A string representing the project.
2242
2548
  */
2243
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2244
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2549
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2550
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
2245
2551
  }
2246
2552
  /**
2247
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2553
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
2248
2554
  *
2249
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2250
- * 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.
2251
2557
  * @returns {string} A string representing the location.
2252
2558
  */
2253
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2254
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2559
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2560
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
2255
2561
  }
2256
2562
  /**
2257
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2563
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
2258
2564
  *
2259
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2260
- * 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.
2261
2567
  * @returns {string} A string representing the collection.
2262
2568
  */
2263
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2264
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2569
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2570
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
2265
2571
  }
2266
2572
  /**
2267
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2573
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
2268
2574
  *
2269
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2270
- * 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.
2271
2577
  * @returns {string} A string representing the data_store.
2272
2578
  */
2273
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2274
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2579
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2580
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
2275
2581
  }
2276
2582
  /**
2277
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2583
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
2278
2584
  *
2279
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2280
- * 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.
2281
2587
  * @returns {string} A string representing the session.
2282
2588
  */
2283
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2284
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
2285
- }
2286
- /**
2287
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
2288
- *
2289
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
2290
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2291
- * @returns {string} A string representing the answer.
2292
- */
2293
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
2294
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2589
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2590
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
2295
2591
  }
2296
2592
  /**
2297
2593
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2696,154 +2992,154 @@ class SiteSearchEngineServiceClient {
2696
2992
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2697
2993
  }
2698
2994
  /**
2699
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2995
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2700
2996
  *
2701
2997
  * @param {string} project
2702
2998
  * @param {string} location
2703
2999
  * @param {string} collection
2704
3000
  * @param {string} engine
2705
3001
  * @param {string} session
3002
+ * @param {string} answer
2706
3003
  * @returns {string} Resource name string.
2707
3004
  */
2708
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2709
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
3005
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
3006
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2710
3007
  project: project,
2711
3008
  location: location,
2712
3009
  collection: collection,
2713
3010
  engine: engine,
2714
3011
  session: session,
3012
+ answer: answer,
2715
3013
  });
2716
3014
  }
2717
3015
  /**
2718
- * Parse the project from ProjectLocationCollectionEngineSession resource.
3016
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2719
3017
  *
2720
- * @param {string} projectLocationCollectionEngineSessionName
2721
- * 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.
2722
3020
  * @returns {string} A string representing the project.
2723
3021
  */
2724
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2725
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
3022
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3023
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2726
3024
  }
2727
3025
  /**
2728
- * Parse the location from ProjectLocationCollectionEngineSession resource.
3026
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2729
3027
  *
2730
- * @param {string} projectLocationCollectionEngineSessionName
2731
- * 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.
2732
3030
  * @returns {string} A string representing the location.
2733
3031
  */
2734
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2735
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
3032
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3033
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2736
3034
  }
2737
3035
  /**
2738
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
3036
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2739
3037
  *
2740
- * @param {string} projectLocationCollectionEngineSessionName
2741
- * 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.
2742
3040
  * @returns {string} A string representing the collection.
2743
3041
  */
2744
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2745
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
3042
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3043
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2746
3044
  }
2747
3045
  /**
2748
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
3046
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2749
3047
  *
2750
- * @param {string} projectLocationCollectionEngineSessionName
2751
- * 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.
2752
3050
  * @returns {string} A string representing the engine.
2753
3051
  */
2754
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2755
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
3052
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3053
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2756
3054
  }
2757
3055
  /**
2758
- * Parse the session from ProjectLocationCollectionEngineSession resource.
3056
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2759
3057
  *
2760
- * @param {string} projectLocationCollectionEngineSessionName
2761
- * 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.
2762
3060
  * @returns {string} A string representing the session.
2763
3061
  */
2764
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2765
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
3062
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
3063
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
3064
+ }
3065
+ /**
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;
2766
3074
  }
2767
3075
  /**
2768
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
3076
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2769
3077
  *
2770
3078
  * @param {string} project
2771
3079
  * @param {string} location
2772
3080
  * @param {string} collection
2773
3081
  * @param {string} engine
2774
3082
  * @param {string} session
2775
- * @param {string} answer
2776
3083
  * @returns {string} Resource name string.
2777
3084
  */
2778
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2779
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
3085
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
3086
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2780
3087
  project: project,
2781
3088
  location: location,
2782
3089
  collection: collection,
2783
3090
  engine: engine,
2784
3091
  session: session,
2785
- answer: answer,
2786
3092
  });
2787
3093
  }
2788
3094
  /**
2789
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
3095
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2790
3096
  *
2791
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2792
- * 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.
2793
3099
  * @returns {string} A string representing the project.
2794
3100
  */
2795
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2796
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
3101
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3102
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2797
3103
  }
2798
3104
  /**
2799
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
3105
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2800
3106
  *
2801
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2802
- * 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.
2803
3109
  * @returns {string} A string representing the location.
2804
3110
  */
2805
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2806
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
3111
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3112
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2807
3113
  }
2808
3114
  /**
2809
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
3115
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2810
3116
  *
2811
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2812
- * 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.
2813
3119
  * @returns {string} A string representing the collection.
2814
3120
  */
2815
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2816
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
3121
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3122
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2817
3123
  }
2818
3124
  /**
2819
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
3125
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2820
3126
  *
2821
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2822
- * 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.
2823
3129
  * @returns {string} A string representing the engine.
2824
3130
  */
2825
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2826
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
3131
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3132
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2827
3133
  }
2828
3134
  /**
2829
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
3135
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2830
3136
  *
2831
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2832
- * 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.
2833
3139
  * @returns {string} A string representing the session.
2834
3140
  */
2835
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2836
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2837
- }
2838
- /**
2839
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2840
- *
2841
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2842
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2843
- * @returns {string} A string representing the answer.
2844
- */
2845
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2846
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
3141
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
3142
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2847
3143
  }
2848
3144
  /**
2849
3145
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -3370,63 +3666,6 @@ class SiteSearchEngineServiceClient {
3370
3666
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
3371
3667
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
3372
3668
  }
3373
- /**
3374
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
3375
- *
3376
- * @param {string} project
3377
- * @param {string} location
3378
- * @param {string} data_store
3379
- * @param {string} session
3380
- * @returns {string} Resource name string.
3381
- */
3382
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
3383
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
3384
- project: project,
3385
- location: location,
3386
- data_store: dataStore,
3387
- session: session,
3388
- });
3389
- }
3390
- /**
3391
- * Parse the project from ProjectLocationDataStoreSession resource.
3392
- *
3393
- * @param {string} projectLocationDataStoreSessionName
3394
- * A fully-qualified path representing project_location_data_store_session resource.
3395
- * @returns {string} A string representing the project.
3396
- */
3397
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3398
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
3399
- }
3400
- /**
3401
- * Parse the location from ProjectLocationDataStoreSession resource.
3402
- *
3403
- * @param {string} projectLocationDataStoreSessionName
3404
- * A fully-qualified path representing project_location_data_store_session resource.
3405
- * @returns {string} A string representing the location.
3406
- */
3407
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3408
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3409
- }
3410
- /**
3411
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3412
- *
3413
- * @param {string} projectLocationDataStoreSessionName
3414
- * A fully-qualified path representing project_location_data_store_session resource.
3415
- * @returns {string} A string representing the data_store.
3416
- */
3417
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3418
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3419
- }
3420
- /**
3421
- * Parse the session from ProjectLocationDataStoreSession resource.
3422
- *
3423
- * @param {string} projectLocationDataStoreSessionName
3424
- * A fully-qualified path representing project_location_data_store_session resource.
3425
- * @returns {string} A string representing the session.
3426
- */
3427
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3428
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3429
- }
3430
3669
  /**
3431
3670
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3432
3671
  *
@@ -3496,6 +3735,63 @@ class SiteSearchEngineServiceClient {
3496
3735
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3497
3736
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3498
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
+ }
3499
3795
  /**
3500
3796
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3501
3797
  *