@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
@@ -151,19 +151,31 @@ class DocumentServiceClient {
151
151
  // Create useful helper objects for these.
152
152
  this.pathTemplates = {
153
153
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
154
+ projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
154
155
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
155
156
  projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
156
157
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
158
+ projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
157
159
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
160
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
158
161
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
162
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
163
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
159
164
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
160
165
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
166
+ projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
161
167
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
168
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
169
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
162
170
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
163
171
  projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
164
172
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
173
+ projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
165
174
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
175
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
166
176
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
177
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
178
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
167
179
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
168
180
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
169
181
  };
@@ -184,6 +196,21 @@ class DocumentServiceClient {
184
196
  if (opts.fallback) {
185
197
  lroOptions.protoJson = protoFilesRoot;
186
198
  lroOptions.httpRules = [
199
+ {
200
+ selector: 'google.longrunning.Operations.CancelOperation',
201
+ post: '/v1/{name=projects/*/operations/*}:cancel',
202
+ body: '*',
203
+ additional_bindings: [
204
+ {
205
+ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
206
+ body: '*',
207
+ },
208
+ {
209
+ post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
210
+ body: '*',
211
+ },
212
+ ],
213
+ },
187
214
  {
188
215
  selector: 'google.longrunning.Operations.GetOperation',
189
216
  get: '/v1/{name=projects/*/operations/*}',
@@ -599,7 +626,7 @@ class DocumentServiceClient {
599
626
  * @param {number} request.pageSize
600
627
  * Maximum number of {@link protos.google.cloud.discoveryengine.v1.Document|Document}s to
601
628
  * return. If unspecified, defaults to 100. The maximum allowed value is 1000.
602
- * Values above 1000 will be coerced to 1000.
629
+ * Values above 1000 are set to 1000.
603
630
  *
604
631
  * If this field is negative, an `INVALID_ARGUMENT` error is returned.
605
632
  * @param {string} request.pageToken
@@ -658,7 +685,7 @@ class DocumentServiceClient {
658
685
  * @param {number} request.pageSize
659
686
  * Maximum number of {@link protos.google.cloud.discoveryengine.v1.Document|Document}s to
660
687
  * return. If unspecified, defaults to 100. The maximum allowed value is 1000.
661
- * Values above 1000 will be coerced to 1000.
688
+ * Values above 1000 are set to 1000.
662
689
  *
663
690
  * If this field is negative, an `INVALID_ARGUMENT` error is returned.
664
691
  * @param {string} request.pageToken
@@ -942,6 +969,27 @@ class DocumentServiceClient {
942
969
  matchEngineFromEngineName(engineName) {
943
970
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
944
971
  }
972
+ /**
973
+ * Return a fully-qualified project resource name string.
974
+ *
975
+ * @param {string} project
976
+ * @returns {string} Resource name string.
977
+ */
978
+ projectPath(project) {
979
+ return this.pathTemplates.projectPathTemplate.render({
980
+ project: project,
981
+ });
982
+ }
983
+ /**
984
+ * Parse the project from Project resource.
985
+ *
986
+ * @param {string} projectName
987
+ * A fully-qualified path representing Project resource.
988
+ * @returns {string} A string representing the project.
989
+ */
990
+ matchProjectFromProjectName(projectName) {
991
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
992
+ }
945
993
  /**
946
994
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
947
995
  *
@@ -1149,6 +1197,75 @@ class DocumentServiceClient {
1149
1197
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1150
1198
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1151
1199
  }
1200
+ /**
1201
+ * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1202
+ *
1203
+ * @param {string} project
1204
+ * @param {string} location
1205
+ * @param {string} collection
1206
+ * @param {string} data_store
1207
+ * @param {string} control
1208
+ * @returns {string} Resource name string.
1209
+ */
1210
+ projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
1211
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
1212
+ project: project,
1213
+ location: location,
1214
+ collection: collection,
1215
+ data_store: dataStore,
1216
+ control: control,
1217
+ });
1218
+ }
1219
+ /**
1220
+ * Parse the project from ProjectLocationCollectionDataStoreControl resource.
1221
+ *
1222
+ * @param {string} projectLocationCollectionDataStoreControlName
1223
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1224
+ * @returns {string} A string representing the project.
1225
+ */
1226
+ matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1227
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
1228
+ }
1229
+ /**
1230
+ * Parse the location from ProjectLocationCollectionDataStoreControl resource.
1231
+ *
1232
+ * @param {string} projectLocationCollectionDataStoreControlName
1233
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1234
+ * @returns {string} A string representing the location.
1235
+ */
1236
+ matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1237
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
1238
+ }
1239
+ /**
1240
+ * Parse the collection from ProjectLocationCollectionDataStoreControl resource.
1241
+ *
1242
+ * @param {string} projectLocationCollectionDataStoreControlName
1243
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1244
+ * @returns {string} A string representing the collection.
1245
+ */
1246
+ matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1247
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
1248
+ }
1249
+ /**
1250
+ * Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
1251
+ *
1252
+ * @param {string} projectLocationCollectionDataStoreControlName
1253
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1254
+ * @returns {string} A string representing the data_store.
1255
+ */
1256
+ matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1257
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
1258
+ }
1259
+ /**
1260
+ * Parse the control from ProjectLocationCollectionDataStoreControl resource.
1261
+ *
1262
+ * @param {string} projectLocationCollectionDataStoreControlName
1263
+ * A fully-qualified path representing project_location_collection_data_store_control resource.
1264
+ * @returns {string} A string representing the control.
1265
+ */
1266
+ matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
1267
+ return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
1268
+ }
1152
1269
  /**
1153
1270
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1154
1271
  *
@@ -1218,6 +1335,63 @@ class DocumentServiceClient {
1218
1335
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1219
1336
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1220
1337
  }
1338
+ /**
1339
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1340
+ *
1341
+ * @param {string} project
1342
+ * @param {string} location
1343
+ * @param {string} collection
1344
+ * @param {string} data_store
1345
+ * @returns {string} Resource name string.
1346
+ */
1347
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1348
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1349
+ project: project,
1350
+ location: location,
1351
+ collection: collection,
1352
+ data_store: dataStore,
1353
+ });
1354
+ }
1355
+ /**
1356
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1357
+ *
1358
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1359
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1360
+ * @returns {string} A string representing the project.
1361
+ */
1362
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1363
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1364
+ }
1365
+ /**
1366
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1367
+ *
1368
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1369
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1370
+ * @returns {string} A string representing the location.
1371
+ */
1372
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1373
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1374
+ }
1375
+ /**
1376
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1377
+ *
1378
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1379
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1380
+ * @returns {string} A string representing the collection.
1381
+ */
1382
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1383
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1384
+ }
1385
+ /**
1386
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1387
+ *
1388
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1389
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1390
+ * @returns {string} A string representing the data_store.
1391
+ */
1392
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1393
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1394
+ }
1221
1395
  /**
1222
1396
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1223
1397
  *
@@ -1287,6 +1461,156 @@ class DocumentServiceClient {
1287
1461
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1288
1462
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1289
1463
  }
1464
+ /**
1465
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1466
+ *
1467
+ * @param {string} project
1468
+ * @param {string} location
1469
+ * @param {string} collection
1470
+ * @param {string} data_store
1471
+ * @param {string} session
1472
+ * @returns {string} Resource name string.
1473
+ */
1474
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1475
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1476
+ project: project,
1477
+ location: location,
1478
+ collection: collection,
1479
+ data_store: dataStore,
1480
+ session: session,
1481
+ });
1482
+ }
1483
+ /**
1484
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1485
+ *
1486
+ * @param {string} projectLocationCollectionDataStoreSessionName
1487
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1488
+ * @returns {string} A string representing the project.
1489
+ */
1490
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1491
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1492
+ }
1493
+ /**
1494
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1495
+ *
1496
+ * @param {string} projectLocationCollectionDataStoreSessionName
1497
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1498
+ * @returns {string} A string representing the location.
1499
+ */
1500
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1501
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1502
+ }
1503
+ /**
1504
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1505
+ *
1506
+ * @param {string} projectLocationCollectionDataStoreSessionName
1507
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1508
+ * @returns {string} A string representing the collection.
1509
+ */
1510
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1511
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1512
+ }
1513
+ /**
1514
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1515
+ *
1516
+ * @param {string} projectLocationCollectionDataStoreSessionName
1517
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1518
+ * @returns {string} A string representing the data_store.
1519
+ */
1520
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1521
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1522
+ }
1523
+ /**
1524
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1525
+ *
1526
+ * @param {string} projectLocationCollectionDataStoreSessionName
1527
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1528
+ * @returns {string} A string representing the session.
1529
+ */
1530
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1531
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1532
+ }
1533
+ /**
1534
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1535
+ *
1536
+ * @param {string} project
1537
+ * @param {string} location
1538
+ * @param {string} collection
1539
+ * @param {string} data_store
1540
+ * @param {string} session
1541
+ * @param {string} answer
1542
+ * @returns {string} Resource name string.
1543
+ */
1544
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1545
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1546
+ project: project,
1547
+ location: location,
1548
+ collection: collection,
1549
+ data_store: dataStore,
1550
+ session: session,
1551
+ answer: answer,
1552
+ });
1553
+ }
1554
+ /**
1555
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1556
+ *
1557
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1558
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1559
+ * @returns {string} A string representing the project.
1560
+ */
1561
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1562
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1563
+ }
1564
+ /**
1565
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1566
+ *
1567
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1568
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1569
+ * @returns {string} A string representing the location.
1570
+ */
1571
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1572
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1573
+ }
1574
+ /**
1575
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1576
+ *
1577
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1578
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1579
+ * @returns {string} A string representing the collection.
1580
+ */
1581
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1582
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1583
+ }
1584
+ /**
1585
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1586
+ *
1587
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1588
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1589
+ * @returns {string} A string representing the data_store.
1590
+ */
1591
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1592
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1593
+ }
1594
+ /**
1595
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1596
+ *
1597
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1598
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1599
+ * @returns {string} A string representing the session.
1600
+ */
1601
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1602
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1603
+ }
1604
+ /**
1605
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1606
+ *
1607
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1608
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1609
+ * @returns {string} A string representing the answer.
1610
+ */
1611
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1612
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1613
+ }
1290
1614
  /**
1291
1615
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1292
1616
  *
@@ -1413,6 +1737,75 @@ class DocumentServiceClient {
1413
1737
  matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1414
1738
  return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1415
1739
  }
1740
+ /**
1741
+ * Return a fully-qualified projectLocationCollectionEngineControl resource name string.
1742
+ *
1743
+ * @param {string} project
1744
+ * @param {string} location
1745
+ * @param {string} collection
1746
+ * @param {string} engine
1747
+ * @param {string} control
1748
+ * @returns {string} Resource name string.
1749
+ */
1750
+ projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
1751
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
1752
+ project: project,
1753
+ location: location,
1754
+ collection: collection,
1755
+ engine: engine,
1756
+ control: control,
1757
+ });
1758
+ }
1759
+ /**
1760
+ * Parse the project from ProjectLocationCollectionEngineControl resource.
1761
+ *
1762
+ * @param {string} projectLocationCollectionEngineControlName
1763
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1764
+ * @returns {string} A string representing the project.
1765
+ */
1766
+ matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1767
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
1768
+ }
1769
+ /**
1770
+ * Parse the location from ProjectLocationCollectionEngineControl resource.
1771
+ *
1772
+ * @param {string} projectLocationCollectionEngineControlName
1773
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1774
+ * @returns {string} A string representing the location.
1775
+ */
1776
+ matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1777
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
1778
+ }
1779
+ /**
1780
+ * Parse the collection from ProjectLocationCollectionEngineControl resource.
1781
+ *
1782
+ * @param {string} projectLocationCollectionEngineControlName
1783
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1784
+ * @returns {string} A string representing the collection.
1785
+ */
1786
+ matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1787
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
1788
+ }
1789
+ /**
1790
+ * Parse the engine from ProjectLocationCollectionEngineControl resource.
1791
+ *
1792
+ * @param {string} projectLocationCollectionEngineControlName
1793
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1794
+ * @returns {string} A string representing the engine.
1795
+ */
1796
+ matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1797
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
1798
+ }
1799
+ /**
1800
+ * Parse the control from ProjectLocationCollectionEngineControl resource.
1801
+ *
1802
+ * @param {string} projectLocationCollectionEngineControlName
1803
+ * A fully-qualified path representing project_location_collection_engine_control resource.
1804
+ * @returns {string} A string representing the control.
1805
+ */
1806
+ matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
1807
+ return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
1808
+ }
1416
1809
  /**
1417
1810
  * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1418
1811
  *
@@ -1482,6 +1875,156 @@ class DocumentServiceClient {
1482
1875
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1483
1876
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1484
1877
  }
1878
+ /**
1879
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1880
+ *
1881
+ * @param {string} project
1882
+ * @param {string} location
1883
+ * @param {string} collection
1884
+ * @param {string} engine
1885
+ * @param {string} session
1886
+ * @returns {string} Resource name string.
1887
+ */
1888
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1889
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1890
+ project: project,
1891
+ location: location,
1892
+ collection: collection,
1893
+ engine: engine,
1894
+ session: session,
1895
+ });
1896
+ }
1897
+ /**
1898
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1899
+ *
1900
+ * @param {string} projectLocationCollectionEngineSessionName
1901
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1902
+ * @returns {string} A string representing the project.
1903
+ */
1904
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1905
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1906
+ }
1907
+ /**
1908
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1909
+ *
1910
+ * @param {string} projectLocationCollectionEngineSessionName
1911
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1912
+ * @returns {string} A string representing the location.
1913
+ */
1914
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1915
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1916
+ }
1917
+ /**
1918
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1919
+ *
1920
+ * @param {string} projectLocationCollectionEngineSessionName
1921
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1922
+ * @returns {string} A string representing the collection.
1923
+ */
1924
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1925
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1926
+ }
1927
+ /**
1928
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1929
+ *
1930
+ * @param {string} projectLocationCollectionEngineSessionName
1931
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1932
+ * @returns {string} A string representing the engine.
1933
+ */
1934
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1935
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1936
+ }
1937
+ /**
1938
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1939
+ *
1940
+ * @param {string} projectLocationCollectionEngineSessionName
1941
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1942
+ * @returns {string} A string representing the session.
1943
+ */
1944
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1945
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1946
+ }
1947
+ /**
1948
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1949
+ *
1950
+ * @param {string} project
1951
+ * @param {string} location
1952
+ * @param {string} collection
1953
+ * @param {string} engine
1954
+ * @param {string} session
1955
+ * @param {string} answer
1956
+ * @returns {string} Resource name string.
1957
+ */
1958
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1959
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1960
+ project: project,
1961
+ location: location,
1962
+ collection: collection,
1963
+ engine: engine,
1964
+ session: session,
1965
+ answer: answer,
1966
+ });
1967
+ }
1968
+ /**
1969
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1970
+ *
1971
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1972
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1973
+ * @returns {string} A string representing the project.
1974
+ */
1975
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1976
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1977
+ }
1978
+ /**
1979
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1980
+ *
1981
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1982
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1983
+ * @returns {string} A string representing the location.
1984
+ */
1985
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1986
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1987
+ }
1988
+ /**
1989
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1990
+ *
1991
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1992
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1993
+ * @returns {string} A string representing the collection.
1994
+ */
1995
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1996
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1997
+ }
1998
+ /**
1999
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2000
+ *
2001
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2002
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2003
+ * @returns {string} A string representing the engine.
2004
+ */
2005
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2006
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2007
+ }
2008
+ /**
2009
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2010
+ *
2011
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2012
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2013
+ * @returns {string} A string representing the session.
2014
+ */
2015
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2016
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2017
+ }
2018
+ /**
2019
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2020
+ *
2021
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2022
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2023
+ * @returns {string} A string representing the answer.
2024
+ */
2025
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2026
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2027
+ }
1485
2028
  /**
1486
2029
  * Return a fully-qualified projectLocationDataStore resource name string.
1487
2030
  *
@@ -1653,6 +2196,63 @@ class DocumentServiceClient {
1653
2196
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1654
2197
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1655
2198
  }
2199
+ /**
2200
+ * Return a fully-qualified projectLocationDataStoreControl resource name string.
2201
+ *
2202
+ * @param {string} project
2203
+ * @param {string} location
2204
+ * @param {string} data_store
2205
+ * @param {string} control
2206
+ * @returns {string} Resource name string.
2207
+ */
2208
+ projectLocationDataStoreControlPath(project, location, dataStore, control) {
2209
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
2210
+ project: project,
2211
+ location: location,
2212
+ data_store: dataStore,
2213
+ control: control,
2214
+ });
2215
+ }
2216
+ /**
2217
+ * Parse the project from ProjectLocationDataStoreControl resource.
2218
+ *
2219
+ * @param {string} projectLocationDataStoreControlName
2220
+ * A fully-qualified path representing project_location_data_store_control resource.
2221
+ * @returns {string} A string representing the project.
2222
+ */
2223
+ matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2224
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
2225
+ }
2226
+ /**
2227
+ * Parse the location from ProjectLocationDataStoreControl resource.
2228
+ *
2229
+ * @param {string} projectLocationDataStoreControlName
2230
+ * A fully-qualified path representing project_location_data_store_control resource.
2231
+ * @returns {string} A string representing the location.
2232
+ */
2233
+ matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2234
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
2235
+ }
2236
+ /**
2237
+ * Parse the data_store from ProjectLocationDataStoreControl resource.
2238
+ *
2239
+ * @param {string} projectLocationDataStoreControlName
2240
+ * A fully-qualified path representing project_location_data_store_control resource.
2241
+ * @returns {string} A string representing the data_store.
2242
+ */
2243
+ matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2244
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
2245
+ }
2246
+ /**
2247
+ * Parse the control from ProjectLocationDataStoreControl resource.
2248
+ *
2249
+ * @param {string} projectLocationDataStoreControlName
2250
+ * A fully-qualified path representing project_location_data_store_control resource.
2251
+ * @returns {string} A string representing the control.
2252
+ */
2253
+ matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
2254
+ return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
2255
+ }
1656
2256
  /**
1657
2257
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1658
2258
  *
@@ -1710,6 +2310,51 @@ class DocumentServiceClient {
1710
2310
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1711
2311
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1712
2312
  }
2313
+ /**
2314
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2315
+ *
2316
+ * @param {string} project
2317
+ * @param {string} location
2318
+ * @param {string} data_store
2319
+ * @returns {string} Resource name string.
2320
+ */
2321
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
2322
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
2323
+ project: project,
2324
+ location: location,
2325
+ data_store: dataStore,
2326
+ });
2327
+ }
2328
+ /**
2329
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
2330
+ *
2331
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2332
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2333
+ * @returns {string} A string representing the project.
2334
+ */
2335
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2336
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
2337
+ }
2338
+ /**
2339
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
2340
+ *
2341
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2342
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2343
+ * @returns {string} A string representing the location.
2344
+ */
2345
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2346
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
2347
+ }
2348
+ /**
2349
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
2350
+ *
2351
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2352
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2353
+ * @returns {string} A string representing the data_store.
2354
+ */
2355
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2356
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
2357
+ }
1713
2358
  /**
1714
2359
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1715
2360
  *
@@ -1767,6 +2412,132 @@ class DocumentServiceClient {
1767
2412
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1768
2413
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1769
2414
  }
2415
+ /**
2416
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2417
+ *
2418
+ * @param {string} project
2419
+ * @param {string} location
2420
+ * @param {string} data_store
2421
+ * @param {string} session
2422
+ * @returns {string} Resource name string.
2423
+ */
2424
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2425
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2426
+ project: project,
2427
+ location: location,
2428
+ data_store: dataStore,
2429
+ session: session,
2430
+ });
2431
+ }
2432
+ /**
2433
+ * Parse the project from ProjectLocationDataStoreSession resource.
2434
+ *
2435
+ * @param {string} projectLocationDataStoreSessionName
2436
+ * A fully-qualified path representing project_location_data_store_session resource.
2437
+ * @returns {string} A string representing the project.
2438
+ */
2439
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2440
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2441
+ }
2442
+ /**
2443
+ * Parse the location from ProjectLocationDataStoreSession resource.
2444
+ *
2445
+ * @param {string} projectLocationDataStoreSessionName
2446
+ * A fully-qualified path representing project_location_data_store_session resource.
2447
+ * @returns {string} A string representing the location.
2448
+ */
2449
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2450
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2451
+ }
2452
+ /**
2453
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2454
+ *
2455
+ * @param {string} projectLocationDataStoreSessionName
2456
+ * A fully-qualified path representing project_location_data_store_session resource.
2457
+ * @returns {string} A string representing the data_store.
2458
+ */
2459
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2460
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2461
+ }
2462
+ /**
2463
+ * Parse the session from ProjectLocationDataStoreSession resource.
2464
+ *
2465
+ * @param {string} projectLocationDataStoreSessionName
2466
+ * A fully-qualified path representing project_location_data_store_session resource.
2467
+ * @returns {string} A string representing the session.
2468
+ */
2469
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2470
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2471
+ }
2472
+ /**
2473
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2474
+ *
2475
+ * @param {string} project
2476
+ * @param {string} location
2477
+ * @param {string} data_store
2478
+ * @param {string} session
2479
+ * @param {string} answer
2480
+ * @returns {string} Resource name string.
2481
+ */
2482
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2483
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2484
+ project: project,
2485
+ location: location,
2486
+ data_store: dataStore,
2487
+ session: session,
2488
+ answer: answer,
2489
+ });
2490
+ }
2491
+ /**
2492
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2493
+ *
2494
+ * @param {string} projectLocationDataStoreSessionAnswerName
2495
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2496
+ * @returns {string} A string representing the project.
2497
+ */
2498
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2499
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2500
+ }
2501
+ /**
2502
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2503
+ *
2504
+ * @param {string} projectLocationDataStoreSessionAnswerName
2505
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2506
+ * @returns {string} A string representing the location.
2507
+ */
2508
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2509
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2510
+ }
2511
+ /**
2512
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2513
+ *
2514
+ * @param {string} projectLocationDataStoreSessionAnswerName
2515
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2516
+ * @returns {string} A string representing the data_store.
2517
+ */
2518
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2519
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2520
+ }
2521
+ /**
2522
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2523
+ *
2524
+ * @param {string} projectLocationDataStoreSessionAnswerName
2525
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2526
+ * @returns {string} A string representing the session.
2527
+ */
2528
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2529
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2530
+ }
2531
+ /**
2532
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2533
+ *
2534
+ * @param {string} projectLocationDataStoreSessionAnswerName
2535
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2536
+ * @returns {string} A string representing the answer.
2537
+ */
2538
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2539
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2540
+ }
1770
2541
  /**
1771
2542
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1772
2543
  *