@google-cloud/discoveryengine 1.7.0 → 1.9.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 (229) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +33 -4
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +337 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/common.proto +34 -1
  5. package/build/protos/google/cloud/discoveryengine/v1/completion.proto +1 -1
  6. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +1 -1
  7. package/build/protos/google/cloud/discoveryengine/v1/control.proto +214 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/control_service.proto +236 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -3
  10. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +570 -1
  11. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +5 -1
  12. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +3 -3
  13. package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
  14. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +92 -0
  15. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +7 -7
  16. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +5 -5
  17. package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +1 -1
  18. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +149 -0
  19. package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +58 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +5 -5
  21. package/build/protos/google/cloud/discoveryengine/v1/project.proto +103 -0
  22. package/build/protos/google/cloud/discoveryengine/v1/project_service.proto +90 -0
  23. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +1 -1
  24. package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +131 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +21 -20
  26. package/build/protos/google/cloud/discoveryengine/v1/schema.proto +1 -1
  27. package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +6 -6
  28. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +24 -19
  29. package/build/protos/google/cloud/discoveryengine/v1/session.proto +97 -0
  30. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +4 -1
  31. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +1 -1
  32. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +29 -4
  33. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +19 -3
  34. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +1 -1
  35. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
  36. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +10 -1
  37. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +8 -1
  38. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +1 -1
  39. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +17 -1
  40. package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +1 -1
  41. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +1 -1
  42. package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +217 -0
  43. package/build/protos/google/cloud/discoveryengine/v1alpha/control_service.proto +236 -0
  44. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -3
  45. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +20 -4
  46. package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +87 -0
  47. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +1 -1
  48. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +3 -3
  49. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
  50. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +2 -1
  51. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +13 -10
  52. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +5 -5
  53. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
  54. package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +1 -1
  55. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +31 -2
  56. package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +4 -1
  57. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +5 -5
  58. package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +2 -1
  59. package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +3 -1
  60. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
  61. package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +20 -1
  62. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +21 -20
  63. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +38 -3
  64. package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +7 -7
  65. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +29 -32
  66. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +40 -1
  67. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +1 -1
  68. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +1 -1
  69. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +4 -1
  70. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +4 -1
  71. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +1 -1
  72. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +30 -4
  73. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +19 -3
  74. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +11 -2
  75. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +17 -1
  76. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +1 -1
  77. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +1 -1
  78. package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +216 -0
  79. package/build/protos/google/cloud/discoveryengine/v1beta/control_service.proto +236 -0
  80. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -3
  81. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +20 -4
  82. package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +87 -0
  83. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +1 -1
  84. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +3 -3
  85. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
  86. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +2 -1
  87. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +8 -9
  88. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +5 -5
  89. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +1 -1
  90. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +31 -2
  91. package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +4 -1
  92. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +5 -5
  93. package/build/protos/google/cloud/discoveryengine/v1beta/project.proto +103 -0
  94. package/build/protos/google/cloud/discoveryengine/v1beta/project_service.proto +90 -0
  95. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +1 -1
  96. package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +20 -1
  97. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +21 -20
  98. package/build/protos/google/cloud/discoveryengine/v1beta/schema.proto +1 -1
  99. package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +6 -6
  100. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +31 -25
  101. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +40 -1
  102. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +1 -1
  103. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +1 -1
  104. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +5 -2
  105. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +4 -1
  106. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +1 -1
  107. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +29 -4
  108. package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +19 -3
  109. package/build/protos/protos.d.ts +52350 -38733
  110. package/build/protos/protos.js +136479 -103212
  111. package/build/protos/protos.json +9460 -5916
  112. package/build/src/index.d.ts +13 -1
  113. package/build/src/index.js +13 -1
  114. package/build/src/v1/completion_service_client.d.ts +549 -0
  115. package/build/src/v1/completion_service_client.js +771 -0
  116. package/build/src/v1/control_service_client.d.ts +1623 -0
  117. package/build/src/v1/control_service_client.js +2218 -0
  118. package/build/src/v1/control_service_client_config.json +63 -0
  119. package/build/src/v1/conversational_search_service_client.d.ts +893 -0
  120. package/build/src/v1/conversational_search_service_client.js +1040 -14
  121. package/build/src/v1/conversational_search_service_client_config.json +35 -0
  122. package/build/src/v1/data_store_service_client.d.ts +555 -6
  123. package/build/src/v1/data_store_service_client.js +775 -4
  124. package/build/src/v1/document_service_client.d.ts +557 -8
  125. package/build/src/v1/document_service_client.js +773 -2
  126. package/build/src/v1/engine_service_client.d.ts +549 -0
  127. package/build/src/v1/engine_service_client.js +771 -0
  128. package/build/src/v1/grounded_generation_service_client.d.ts +1439 -0
  129. package/build/src/v1/grounded_generation_service_client.js +2036 -0
  130. package/build/src/v1/grounded_generation_service_client_config.json +43 -0
  131. package/build/src/v1/index.d.ts +4 -0
  132. package/build/src/v1/index.js +9 -1
  133. package/build/src/v1/project_service_client.d.ts +1533 -0
  134. package/build/src/v1/project_service_client.js +2255 -0
  135. package/build/src/v1/project_service_client_config.json +43 -0
  136. package/build/src/v1/rank_service_client.d.ts +1449 -0
  137. package/build/src/v1/rank_service_client.js +2037 -0
  138. package/build/src/v1/rank_service_client_config.json +43 -0
  139. package/build/src/v1/recommendation_service_client.d.ts +568 -18
  140. package/build/src/v1/recommendation_service_client.js +756 -0
  141. package/build/src/v1/schema_service_client.d.ts +558 -9
  142. package/build/src/v1/schema_service_client.js +775 -4
  143. package/build/src/v1/search_service_client.d.ts +579 -21
  144. package/build/src/v1/search_service_client.js +776 -14
  145. package/build/src/v1/site_search_engine_service_client.d.ts +549 -0
  146. package/build/src/v1/site_search_engine_service_client.js +771 -0
  147. package/build/src/v1/user_event_service_client.d.ts +562 -2
  148. package/build/src/v1/user_event_service_client.js +771 -0
  149. package/build/src/v1alpha/acl_config_service_client.d.ts +237 -0
  150. package/build/src/v1alpha/acl_config_service_client.js +326 -0
  151. package/build/src/v1alpha/chunk_service_client.d.ts +237 -0
  152. package/build/src/v1alpha/chunk_service_client.js +326 -0
  153. package/build/src/v1alpha/completion_service_client.d.ts +237 -0
  154. package/build/src/v1alpha/completion_service_client.js +340 -0
  155. package/build/src/v1alpha/control_service_client.d.ts +2013 -0
  156. package/build/src/v1alpha/control_service_client.js +2757 -0
  157. package/build/src/v1alpha/control_service_client_config.json +63 -0
  158. package/build/src/v1alpha/conversational_search_service_client.d.ts +239 -2
  159. package/build/src/v1alpha/conversational_search_service_client.js +326 -0
  160. package/build/src/v1alpha/data_store_service_client.d.ts +243 -6
  161. package/build/src/v1alpha/data_store_service_client.js +344 -4
  162. package/build/src/v1alpha/document_service_client.d.ts +246 -9
  163. package/build/src/v1alpha/document_service_client.js +342 -2
  164. package/build/src/v1alpha/engine_service_client.d.ts +237 -0
  165. package/build/src/v1alpha/engine_service_client.js +340 -0
  166. package/build/src/v1alpha/estimate_billing_service_client.d.ts +237 -0
  167. package/build/src/v1alpha/estimate_billing_service_client.js +340 -0
  168. package/build/src/v1alpha/grounded_generation_service_client.d.ts +256 -1
  169. package/build/src/v1alpha/grounded_generation_service_client.js +326 -0
  170. package/build/src/v1alpha/index.d.ts +1 -0
  171. package/build/src/v1alpha/index.js +3 -1
  172. package/build/src/v1alpha/project_service_client.d.ts +239 -0
  173. package/build/src/v1alpha/project_service_client.js +340 -0
  174. package/build/src/v1alpha/project_service_client_config.json +21 -6
  175. package/build/src/v1alpha/rank_service_client.d.ts +255 -0
  176. package/build/src/v1alpha/rank_service_client.js +326 -0
  177. package/build/src/v1alpha/recommendation_service_client.d.ts +256 -18
  178. package/build/src/v1alpha/recommendation_service_client.js +326 -0
  179. package/build/src/v1alpha/schema_service_client.d.ts +247 -10
  180. package/build/src/v1alpha/schema_service_client.js +344 -4
  181. package/build/src/v1alpha/search_service_client.d.ts +267 -21
  182. package/build/src/v1alpha/search_service_client.js +346 -14
  183. package/build/src/v1alpha/search_tuning_service_client.d.ts +265 -0
  184. package/build/src/v1alpha/search_tuning_service_client.js +365 -1
  185. package/build/src/v1alpha/search_tuning_service_client_config.json +4 -0
  186. package/build/src/v1alpha/serving_config_service_client.d.ts +237 -0
  187. package/build/src/v1alpha/serving_config_service_client.js +326 -0
  188. package/build/src/v1alpha/site_search_engine_service_client.d.ts +237 -0
  189. package/build/src/v1alpha/site_search_engine_service_client.js +340 -0
  190. package/build/src/v1alpha/user_event_service_client.d.ts +250 -2
  191. package/build/src/v1alpha/user_event_service_client.js +340 -0
  192. package/build/src/v1beta/completion_service_client.d.ts +252 -0
  193. package/build/src/v1beta/completion_service_client.js +359 -0
  194. package/build/src/v1beta/control_service_client.d.ts +1860 -0
  195. package/build/src/v1beta/control_service_client.js +2545 -0
  196. package/build/src/v1beta/control_service_client_config.json +63 -0
  197. package/build/src/v1beta/conversational_search_service_client.d.ts +254 -2
  198. package/build/src/v1beta/conversational_search_service_client.js +348 -0
  199. package/build/src/v1beta/data_store_service_client.d.ts +258 -6
  200. package/build/src/v1beta/data_store_service_client.js +363 -4
  201. package/build/src/v1beta/document_service_client.d.ts +261 -10
  202. package/build/src/v1beta/document_service_client.js +361 -2
  203. package/build/src/v1beta/engine_service_client.d.ts +252 -0
  204. package/build/src/v1beta/engine_service_client.js +359 -0
  205. package/build/src/v1beta/grounded_generation_service_client.d.ts +271 -1
  206. package/build/src/v1beta/grounded_generation_service_client.js +348 -0
  207. package/build/src/v1beta/index.d.ts +2 -0
  208. package/build/src/v1beta/index.js +5 -1
  209. package/build/src/v1beta/project_service_client.d.ts +1770 -0
  210. package/build/src/v1beta/project_service_client.js +2576 -0
  211. package/build/src/v1beta/project_service_client_config.json +43 -0
  212. package/build/src/v1beta/rank_service_client.d.ts +270 -0
  213. package/build/src/v1beta/rank_service_client.js +348 -0
  214. package/build/src/v1beta/recommendation_service_client.d.ts +271 -18
  215. package/build/src/v1beta/recommendation_service_client.js +348 -0
  216. package/build/src/v1beta/schema_service_client.d.ts +261 -9
  217. package/build/src/v1beta/schema_service_client.js +363 -4
  218. package/build/src/v1beta/search_service_client.d.ts +282 -21
  219. package/build/src/v1beta/search_service_client.js +368 -14
  220. package/build/src/v1beta/search_tuning_service_client.d.ts +280 -0
  221. package/build/src/v1beta/search_tuning_service_client.js +384 -1
  222. package/build/src/v1beta/search_tuning_service_client_config.json +4 -0
  223. package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
  224. package/build/src/v1beta/serving_config_service_client.js +326 -0
  225. package/build/src/v1beta/site_search_engine_service_client.d.ts +252 -0
  226. package/build/src/v1beta/site_search_engine_service_client.js +359 -0
  227. package/build/src/v1beta/user_event_service_client.d.ts +265 -2
  228. package/build/src/v1beta/user_event_service_client.js +359 -0
  229. package/package.json +2 -2
@@ -150,17 +150,29 @@ class SchemaServiceClient {
150
150
  // Create useful helper objects for these.
151
151
  this.pathTemplates = {
152
152
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
153
+ projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
153
154
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
154
155
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
156
+ projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
155
157
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
158
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
156
159
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
160
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
161
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
157
162
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
158
163
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
164
+ projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
159
165
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
166
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
167
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
160
168
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
161
169
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
170
+ projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
162
171
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
172
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
163
173
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
174
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
175
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
164
176
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
165
177
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
166
178
  };
@@ -181,6 +193,21 @@ class SchemaServiceClient {
181
193
  if (opts.fallback) {
182
194
  lroOptions.protoJson = protoFilesRoot;
183
195
  lroOptions.httpRules = [
196
+ {
197
+ selector: 'google.longrunning.Operations.CancelOperation',
198
+ post: '/v1/{name=projects/*/operations/*}:cancel',
199
+ body: '*',
200
+ additional_bindings: [
201
+ {
202
+ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
203
+ body: '*',
204
+ },
205
+ {
206
+ post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
207
+ body: '*',
208
+ },
209
+ ],
210
+ },
184
211
  {
185
212
  selector: 'google.longrunning.Operations.GetOperation',
186
213
  get: '/v1/{name=projects/*/operations/*}',
@@ -567,9 +594,9 @@ class SchemaServiceClient {
567
594
  * return. The service may return fewer than this value.
568
595
  *
569
596
  * If unspecified, at most 100
570
- * {@link protos.google.cloud.discoveryengine.v1.Schema|Schema}s will be returned.
597
+ * {@link protos.google.cloud.discoveryengine.v1.Schema|Schema}s are returned.
571
598
  *
572
- * The maximum value is 1000; values above 1000 will be coerced to 1000.
599
+ * The maximum value is 1000; values above 1000 are set to 1000.
573
600
  * @param {string} request.pageToken
574
601
  * A page token, received from a previous
575
602
  * {@link protos.google.cloud.discoveryengine.v1.SchemaService.ListSchemas|SchemaService.ListSchemas}
@@ -618,9 +645,9 @@ class SchemaServiceClient {
618
645
  * return. The service may return fewer than this value.
619
646
  *
620
647
  * If unspecified, at most 100
621
- * {@link protos.google.cloud.discoveryengine.v1.Schema|Schema}s will be returned.
648
+ * {@link protos.google.cloud.discoveryengine.v1.Schema|Schema}s are returned.
622
649
  *
623
- * The maximum value is 1000; values above 1000 will be coerced to 1000.
650
+ * The maximum value is 1000; values above 1000 are set to 1000.
624
651
  * @param {string} request.pageToken
625
652
  * A page token, received from a previous
626
653
  * {@link protos.google.cloud.discoveryengine.v1.SchemaService.ListSchemas|SchemaService.ListSchemas}
@@ -899,6 +926,27 @@ class SchemaServiceClient {
899
926
  matchEngineFromEngineName(engineName) {
900
927
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
901
928
  }
929
+ /**
930
+ * Return a fully-qualified project resource name string.
931
+ *
932
+ * @param {string} project
933
+ * @returns {string} Resource name string.
934
+ */
935
+ projectPath(project) {
936
+ return this.pathTemplates.projectPathTemplate.render({
937
+ project: project,
938
+ });
939
+ }
940
+ /**
941
+ * Parse the project from Project resource.
942
+ *
943
+ * @param {string} projectName
944
+ * A fully-qualified path representing Project resource.
945
+ * @returns {string} A string representing the project.
946
+ */
947
+ matchProjectFromProjectName(projectName) {
948
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
949
+ }
902
950
  /**
903
951
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
904
952
  *
@@ -1037,6 +1085,75 @@ class SchemaServiceClient {
1037
1085
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1038
1086
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1039
1087
  }
1088
+ /**
1089
+ * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1090
+ *
1091
+ * @param {string} project
1092
+ * @param {string} location
1093
+ * @param {string} collection
1094
+ * @param {string} data_store
1095
+ * @param {string} control
1096
+ * @returns {string} Resource name string.
1097
+ */
1098
+ projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
1099
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
1100
+ project: project,
1101
+ location: location,
1102
+ collection: collection,
1103
+ data_store: dataStore,
1104
+ control: control,
1105
+ });
1106
+ }
1107
+ /**
1108
+ * Parse the project from ProjectLocationCollectionDataStoreControl resource.
1109
+ *
1110
+ * @param {string} projectLocationCollectionDataStoreControlName
1111
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1112
+ * @returns {string} A string representing the project.
1113
+ */
1114
+ matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1115
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
1116
+ }
1117
+ /**
1118
+ * Parse the location from ProjectLocationCollectionDataStoreControl resource.
1119
+ *
1120
+ * @param {string} projectLocationCollectionDataStoreControlName
1121
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1122
+ * @returns {string} A string representing the location.
1123
+ */
1124
+ matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1125
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
1126
+ }
1127
+ /**
1128
+ * Parse the collection from ProjectLocationCollectionDataStoreControl resource.
1129
+ *
1130
+ * @param {string} projectLocationCollectionDataStoreControlName
1131
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1132
+ * @returns {string} A string representing the collection.
1133
+ */
1134
+ matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1135
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
1136
+ }
1137
+ /**
1138
+ * Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
1139
+ *
1140
+ * @param {string} projectLocationCollectionDataStoreControlName
1141
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1142
+ * @returns {string} A string representing the data_store.
1143
+ */
1144
+ matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1145
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
1146
+ }
1147
+ /**
1148
+ * Parse the control from ProjectLocationCollectionDataStoreControl resource.
1149
+ *
1150
+ * @param {string} projectLocationCollectionDataStoreControlName
1151
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1152
+ * @returns {string} A string representing the control.
1153
+ */
1154
+ matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1155
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
1156
+ }
1040
1157
  /**
1041
1158
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1042
1159
  *
@@ -1106,6 +1223,63 @@ class SchemaServiceClient {
1106
1223
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1107
1224
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1108
1225
  }
1226
+ /**
1227
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1228
+ *
1229
+ * @param {string} project
1230
+ * @param {string} location
1231
+ * @param {string} collection
1232
+ * @param {string} data_store
1233
+ * @returns {string} Resource name string.
1234
+ */
1235
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1236
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1237
+ project: project,
1238
+ location: location,
1239
+ collection: collection,
1240
+ data_store: dataStore,
1241
+ });
1242
+ }
1243
+ /**
1244
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1245
+ *
1246
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1247
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1248
+ * @returns {string} A string representing the project.
1249
+ */
1250
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1251
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1252
+ }
1253
+ /**
1254
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1255
+ *
1256
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1257
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1258
+ * @returns {string} A string representing the location.
1259
+ */
1260
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1261
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1262
+ }
1263
+ /**
1264
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1265
+ *
1266
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1267
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1268
+ * @returns {string} A string representing the collection.
1269
+ */
1270
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1271
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1272
+ }
1273
+ /**
1274
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1275
+ *
1276
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1277
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1278
+ * @returns {string} A string representing the data_store.
1279
+ */
1280
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1281
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1282
+ }
1109
1283
  /**
1110
1284
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1111
1285
  *
@@ -1175,6 +1349,156 @@ class SchemaServiceClient {
1175
1349
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1176
1350
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1177
1351
  }
1352
+ /**
1353
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1354
+ *
1355
+ * @param {string} project
1356
+ * @param {string} location
1357
+ * @param {string} collection
1358
+ * @param {string} data_store
1359
+ * @param {string} session
1360
+ * @returns {string} Resource name string.
1361
+ */
1362
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1363
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1364
+ project: project,
1365
+ location: location,
1366
+ collection: collection,
1367
+ data_store: dataStore,
1368
+ session: session,
1369
+ });
1370
+ }
1371
+ /**
1372
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1373
+ *
1374
+ * @param {string} projectLocationCollectionDataStoreSessionName
1375
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1376
+ * @returns {string} A string representing the project.
1377
+ */
1378
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1379
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1380
+ }
1381
+ /**
1382
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1383
+ *
1384
+ * @param {string} projectLocationCollectionDataStoreSessionName
1385
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1386
+ * @returns {string} A string representing the location.
1387
+ */
1388
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1389
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1390
+ }
1391
+ /**
1392
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1393
+ *
1394
+ * @param {string} projectLocationCollectionDataStoreSessionName
1395
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1396
+ * @returns {string} A string representing the collection.
1397
+ */
1398
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1399
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1400
+ }
1401
+ /**
1402
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1403
+ *
1404
+ * @param {string} projectLocationCollectionDataStoreSessionName
1405
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1406
+ * @returns {string} A string representing the data_store.
1407
+ */
1408
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1409
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1410
+ }
1411
+ /**
1412
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1413
+ *
1414
+ * @param {string} projectLocationCollectionDataStoreSessionName
1415
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1416
+ * @returns {string} A string representing the session.
1417
+ */
1418
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1419
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1420
+ }
1421
+ /**
1422
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1423
+ *
1424
+ * @param {string} project
1425
+ * @param {string} location
1426
+ * @param {string} collection
1427
+ * @param {string} data_store
1428
+ * @param {string} session
1429
+ * @param {string} answer
1430
+ * @returns {string} Resource name string.
1431
+ */
1432
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1433
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1434
+ project: project,
1435
+ location: location,
1436
+ collection: collection,
1437
+ data_store: dataStore,
1438
+ session: session,
1439
+ answer: answer,
1440
+ });
1441
+ }
1442
+ /**
1443
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1444
+ *
1445
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1446
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1447
+ * @returns {string} A string representing the project.
1448
+ */
1449
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1450
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1451
+ }
1452
+ /**
1453
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1454
+ *
1455
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1456
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1457
+ * @returns {string} A string representing the location.
1458
+ */
1459
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1460
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1461
+ }
1462
+ /**
1463
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1464
+ *
1465
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1466
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1467
+ * @returns {string} A string representing the collection.
1468
+ */
1469
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1470
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1471
+ }
1472
+ /**
1473
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1474
+ *
1475
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1476
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1477
+ * @returns {string} A string representing the data_store.
1478
+ */
1479
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1480
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1481
+ }
1482
+ /**
1483
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1484
+ *
1485
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1486
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1487
+ * @returns {string} A string representing the session.
1488
+ */
1489
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1490
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1491
+ }
1492
+ /**
1493
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1494
+ *
1495
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1496
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1497
+ * @returns {string} A string representing the answer.
1498
+ */
1499
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1500
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1501
+ }
1178
1502
  /**
1179
1503
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1180
1504
  *
@@ -1301,6 +1625,75 @@ class SchemaServiceClient {
1301
1625
  matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1302
1626
  return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1303
1627
  }
1628
+ /**
1629
+ * Return a fully-qualified projectLocationCollectionEngineControl resource name string.
1630
+ *
1631
+ * @param {string} project
1632
+ * @param {string} location
1633
+ * @param {string} collection
1634
+ * @param {string} engine
1635
+ * @param {string} control
1636
+ * @returns {string} Resource name string.
1637
+ */
1638
+ projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
1639
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
1640
+ project: project,
1641
+ location: location,
1642
+ collection: collection,
1643
+ engine: engine,
1644
+ control: control,
1645
+ });
1646
+ }
1647
+ /**
1648
+ * Parse the project from ProjectLocationCollectionEngineControl resource.
1649
+ *
1650
+ * @param {string} projectLocationCollectionEngineControlName
1651
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1652
+ * @returns {string} A string representing the project.
1653
+ */
1654
+ matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1655
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
1656
+ }
1657
+ /**
1658
+ * Parse the location from ProjectLocationCollectionEngineControl resource.
1659
+ *
1660
+ * @param {string} projectLocationCollectionEngineControlName
1661
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1662
+ * @returns {string} A string representing the location.
1663
+ */
1664
+ matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1665
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
1666
+ }
1667
+ /**
1668
+ * Parse the collection from ProjectLocationCollectionEngineControl resource.
1669
+ *
1670
+ * @param {string} projectLocationCollectionEngineControlName
1671
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1672
+ * @returns {string} A string representing the collection.
1673
+ */
1674
+ matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1675
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
1676
+ }
1677
+ /**
1678
+ * Parse the engine from ProjectLocationCollectionEngineControl resource.
1679
+ *
1680
+ * @param {string} projectLocationCollectionEngineControlName
1681
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1682
+ * @returns {string} A string representing the engine.
1683
+ */
1684
+ matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1685
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
1686
+ }
1687
+ /**
1688
+ * Parse the control from ProjectLocationCollectionEngineControl resource.
1689
+ *
1690
+ * @param {string} projectLocationCollectionEngineControlName
1691
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1692
+ * @returns {string} A string representing the control.
1693
+ */
1694
+ matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1695
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
1696
+ }
1304
1697
  /**
1305
1698
  * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1306
1699
  *
@@ -1370,6 +1763,156 @@ class SchemaServiceClient {
1370
1763
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1371
1764
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1372
1765
  }
1766
+ /**
1767
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1768
+ *
1769
+ * @param {string} project
1770
+ * @param {string} location
1771
+ * @param {string} collection
1772
+ * @param {string} engine
1773
+ * @param {string} session
1774
+ * @returns {string} Resource name string.
1775
+ */
1776
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1777
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1778
+ project: project,
1779
+ location: location,
1780
+ collection: collection,
1781
+ engine: engine,
1782
+ session: session,
1783
+ });
1784
+ }
1785
+ /**
1786
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1787
+ *
1788
+ * @param {string} projectLocationCollectionEngineSessionName
1789
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1790
+ * @returns {string} A string representing the project.
1791
+ */
1792
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1793
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1794
+ }
1795
+ /**
1796
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1797
+ *
1798
+ * @param {string} projectLocationCollectionEngineSessionName
1799
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1800
+ * @returns {string} A string representing the location.
1801
+ */
1802
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1803
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1804
+ }
1805
+ /**
1806
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1807
+ *
1808
+ * @param {string} projectLocationCollectionEngineSessionName
1809
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1810
+ * @returns {string} A string representing the collection.
1811
+ */
1812
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1813
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1814
+ }
1815
+ /**
1816
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1817
+ *
1818
+ * @param {string} projectLocationCollectionEngineSessionName
1819
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1820
+ * @returns {string} A string representing the engine.
1821
+ */
1822
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1823
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1824
+ }
1825
+ /**
1826
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1827
+ *
1828
+ * @param {string} projectLocationCollectionEngineSessionName
1829
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1830
+ * @returns {string} A string representing the session.
1831
+ */
1832
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1833
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1834
+ }
1835
+ /**
1836
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1837
+ *
1838
+ * @param {string} project
1839
+ * @param {string} location
1840
+ * @param {string} collection
1841
+ * @param {string} engine
1842
+ * @param {string} session
1843
+ * @param {string} answer
1844
+ * @returns {string} Resource name string.
1845
+ */
1846
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1847
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1848
+ project: project,
1849
+ location: location,
1850
+ collection: collection,
1851
+ engine: engine,
1852
+ session: session,
1853
+ answer: answer,
1854
+ });
1855
+ }
1856
+ /**
1857
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1858
+ *
1859
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1860
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1861
+ * @returns {string} A string representing the project.
1862
+ */
1863
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1864
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1865
+ }
1866
+ /**
1867
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1868
+ *
1869
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1870
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1871
+ * @returns {string} A string representing the location.
1872
+ */
1873
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1874
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1875
+ }
1876
+ /**
1877
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1878
+ *
1879
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1880
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1881
+ * @returns {string} A string representing the collection.
1882
+ */
1883
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1884
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1885
+ }
1886
+ /**
1887
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1888
+ *
1889
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1890
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1891
+ * @returns {string} A string representing the engine.
1892
+ */
1893
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1894
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1895
+ }
1896
+ /**
1897
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1898
+ *
1899
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1900
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1901
+ * @returns {string} A string representing the session.
1902
+ */
1903
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1904
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1905
+ }
1906
+ /**
1907
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1908
+ *
1909
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1910
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1911
+ * @returns {string} A string representing the answer.
1912
+ */
1913
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1914
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1915
+ }
1373
1916
  /**
1374
1917
  * Return a fully-qualified projectLocationDataStore resource name string.
1375
1918
  *
@@ -1484,6 +2027,63 @@ class SchemaServiceClient {
1484
2027
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1485
2028
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1486
2029
  }
2030
+ /**
2031
+ * Return a fully-qualified projectLocationDataStoreControl resource name string.
2032
+ *
2033
+ * @param {string} project
2034
+ * @param {string} location
2035
+ * @param {string} data_store
2036
+ * @param {string} control
2037
+ * @returns {string} Resource name string.
2038
+ */
2039
+ projectLocationDataStoreControlPath(project, location, dataStore, control) {
2040
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
2041
+ project: project,
2042
+ location: location,
2043
+ data_store: dataStore,
2044
+ control: control,
2045
+ });
2046
+ }
2047
+ /**
2048
+ * Parse the project from ProjectLocationDataStoreControl resource.
2049
+ *
2050
+ * @param {string} projectLocationDataStoreControlName
2051
+ * A fully-qualified path representing project_location_data_store_control resource.
2052
+ * @returns {string} A string representing the project.
2053
+ */
2054
+ matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2055
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
2056
+ }
2057
+ /**
2058
+ * Parse the location from ProjectLocationDataStoreControl resource.
2059
+ *
2060
+ * @param {string} projectLocationDataStoreControlName
2061
+ * A fully-qualified path representing project_location_data_store_control resource.
2062
+ * @returns {string} A string representing the location.
2063
+ */
2064
+ matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2065
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
2066
+ }
2067
+ /**
2068
+ * Parse the data_store from ProjectLocationDataStoreControl resource.
2069
+ *
2070
+ * @param {string} projectLocationDataStoreControlName
2071
+ * A fully-qualified path representing project_location_data_store_control resource.
2072
+ * @returns {string} A string representing the data_store.
2073
+ */
2074
+ matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2075
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
2076
+ }
2077
+ /**
2078
+ * Parse the control from ProjectLocationDataStoreControl resource.
2079
+ *
2080
+ * @param {string} projectLocationDataStoreControlName
2081
+ * A fully-qualified path representing project_location_data_store_control resource.
2082
+ * @returns {string} A string representing the control.
2083
+ */
2084
+ matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2085
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
2086
+ }
1487
2087
  /**
1488
2088
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1489
2089
  *
@@ -1541,6 +2141,51 @@ class SchemaServiceClient {
1541
2141
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1542
2142
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1543
2143
  }
2144
+ /**
2145
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2146
+ *
2147
+ * @param {string} project
2148
+ * @param {string} location
2149
+ * @param {string} data_store
2150
+ * @returns {string} Resource name string.
2151
+ */
2152
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
2153
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
2154
+ project: project,
2155
+ location: location,
2156
+ data_store: dataStore,
2157
+ });
2158
+ }
2159
+ /**
2160
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
2161
+ *
2162
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2163
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2164
+ * @returns {string} A string representing the project.
2165
+ */
2166
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2167
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
2168
+ }
2169
+ /**
2170
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
2171
+ *
2172
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2173
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2174
+ * @returns {string} A string representing the location.
2175
+ */
2176
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2177
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
2178
+ }
2179
+ /**
2180
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
2181
+ *
2182
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2183
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2184
+ * @returns {string} A string representing the data_store.
2185
+ */
2186
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2187
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
2188
+ }
1544
2189
  /**
1545
2190
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1546
2191
  *
@@ -1598,6 +2243,132 @@ class SchemaServiceClient {
1598
2243
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1599
2244
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1600
2245
  }
2246
+ /**
2247
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2248
+ *
2249
+ * @param {string} project
2250
+ * @param {string} location
2251
+ * @param {string} data_store
2252
+ * @param {string} session
2253
+ * @returns {string} Resource name string.
2254
+ */
2255
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2256
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2257
+ project: project,
2258
+ location: location,
2259
+ data_store: dataStore,
2260
+ session: session,
2261
+ });
2262
+ }
2263
+ /**
2264
+ * Parse the project from ProjectLocationDataStoreSession resource.
2265
+ *
2266
+ * @param {string} projectLocationDataStoreSessionName
2267
+ * A fully-qualified path representing project_location_data_store_session resource.
2268
+ * @returns {string} A string representing the project.
2269
+ */
2270
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2271
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2272
+ }
2273
+ /**
2274
+ * Parse the location from ProjectLocationDataStoreSession resource.
2275
+ *
2276
+ * @param {string} projectLocationDataStoreSessionName
2277
+ * A fully-qualified path representing project_location_data_store_session resource.
2278
+ * @returns {string} A string representing the location.
2279
+ */
2280
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2281
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2282
+ }
2283
+ /**
2284
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2285
+ *
2286
+ * @param {string} projectLocationDataStoreSessionName
2287
+ * A fully-qualified path representing project_location_data_store_session resource.
2288
+ * @returns {string} A string representing the data_store.
2289
+ */
2290
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2291
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2292
+ }
2293
+ /**
2294
+ * Parse the session from ProjectLocationDataStoreSession resource.
2295
+ *
2296
+ * @param {string} projectLocationDataStoreSessionName
2297
+ * A fully-qualified path representing project_location_data_store_session resource.
2298
+ * @returns {string} A string representing the session.
2299
+ */
2300
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2301
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2302
+ }
2303
+ /**
2304
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2305
+ *
2306
+ * @param {string} project
2307
+ * @param {string} location
2308
+ * @param {string} data_store
2309
+ * @param {string} session
2310
+ * @param {string} answer
2311
+ * @returns {string} Resource name string.
2312
+ */
2313
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2314
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2315
+ project: project,
2316
+ location: location,
2317
+ data_store: dataStore,
2318
+ session: session,
2319
+ answer: answer,
2320
+ });
2321
+ }
2322
+ /**
2323
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2324
+ *
2325
+ * @param {string} projectLocationDataStoreSessionAnswerName
2326
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2327
+ * @returns {string} A string representing the project.
2328
+ */
2329
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2330
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2331
+ }
2332
+ /**
2333
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2334
+ *
2335
+ * @param {string} projectLocationDataStoreSessionAnswerName
2336
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2337
+ * @returns {string} A string representing the location.
2338
+ */
2339
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2340
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2341
+ }
2342
+ /**
2343
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2344
+ *
2345
+ * @param {string} projectLocationDataStoreSessionAnswerName
2346
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2347
+ * @returns {string} A string representing the data_store.
2348
+ */
2349
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2350
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2351
+ }
2352
+ /**
2353
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2354
+ *
2355
+ * @param {string} projectLocationDataStoreSessionAnswerName
2356
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2357
+ * @returns {string} A string representing the session.
2358
+ */
2359
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2360
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2361
+ }
2362
+ /**
2363
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2364
+ *
2365
+ * @param {string} projectLocationDataStoreSessionAnswerName
2366
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2367
+ * @returns {string} A string representing the answer.
2368
+ */
2369
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2370
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2371
+ }
1601
2372
  /**
1602
2373
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1603
2374
  *