google-api-python-client 2.136.0__py2.py3-none-any.whl → 2.138.0__py2.py3-none-any.whl

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 (361) hide show
  1. {google_api_python_client-2.136.0.dist-info → google_api_python_client-2.138.0.dist-info}/METADATA +1 -1
  2. {google_api_python_client-2.136.0.dist-info → google_api_python_client-2.138.0.dist-info}/RECORD +361 -357
  3. {google_api_python_client-2.136.0.dist-info → google_api_python_client-2.138.0.dist-info}/WHEEL +1 -1
  4. googleapiclient/discovery.py +3 -1
  5. googleapiclient/discovery_cache/documents/acceleratedmobilepageurl.v1.json +1 -1
  6. googleapiclient/discovery_cache/documents/accessapproval.v1.json +1 -1
  7. googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +2 -1
  8. googleapiclient/discovery_cache/documents/acmedns.v1.json +1 -1
  9. googleapiclient/discovery_cache/documents/addressvalidation.v1.json +2 -2
  10. googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json +1 -1
  11. googleapiclient/discovery_cache/documents/admin.directory_v1.json +2 -2
  12. googleapiclient/discovery_cache/documents/admin.directoryv1.json +2 -2
  13. googleapiclient/discovery_cache/documents/admob.v1.json +1 -1
  14. googleapiclient/discovery_cache/documents/admob.v1beta.json +1 -1
  15. googleapiclient/discovery_cache/documents/adsense.v2.json +1 -1
  16. googleapiclient/discovery_cache/documents/adsenseplatform.v1.json +721 -0
  17. googleapiclient/discovery_cache/documents/adsenseplatform.v1alpha.json +721 -0
  18. googleapiclient/discovery_cache/documents/advisorynotifications.v1.json +1 -1
  19. googleapiclient/discovery_cache/documents/aiplatform.v1.json +748 -89
  20. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +540 -96
  21. googleapiclient/discovery_cache/documents/airquality.v1.json +1 -1
  22. googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json +1 -1
  23. googleapiclient/discovery_cache/documents/alloydb.v1.json +42 -1
  24. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +18 -9
  25. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +18 -9
  26. googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +106 -56
  27. googleapiclient/discovery_cache/documents/analyticsadmin.v1beta.json +12 -55
  28. googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json +1 -1
  29. googleapiclient/discovery_cache/documents/analyticshub.v1.json +1 -1
  30. googleapiclient/discovery_cache/documents/analyticshub.v1beta1.json +1 -1
  31. googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json +1 -1
  32. googleapiclient/discovery_cache/documents/androidenterprise.v1.json +6 -1
  33. googleapiclient/discovery_cache/documents/androidmanagement.v1.json +6 -6
  34. googleapiclient/discovery_cache/documents/androidpublisher.v3.json +32 -32
  35. googleapiclient/discovery_cache/documents/apigee.v1.json +1 -1
  36. googleapiclient/discovery_cache/documents/apim.v1alpha.json +158 -5
  37. googleapiclient/discovery_cache/documents/appengine.v1.json +1 -1
  38. googleapiclient/discovery_cache/documents/appengine.v1alpha.json +1 -1
  39. googleapiclient/discovery_cache/documents/appengine.v1beta.json +1 -1
  40. googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json +1 -1
  41. googleapiclient/discovery_cache/documents/artifactregistry.v1.json +13 -2
  42. googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json +1 -1
  43. googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json +6 -1
  44. googleapiclient/discovery_cache/documents/assuredworkloads.v1.json +3 -27
  45. googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +39 -27
  46. googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1.json +1 -1
  47. googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1alpha.json +3513 -0
  48. googleapiclient/discovery_cache/documents/backupdr.v1.json +2474 -184
  49. googleapiclient/discovery_cache/documents/batch.v1.json +6 -6
  50. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +3 -3
  51. googleapiclient/discovery_cache/documents/biglake.v1.json +1 -1
  52. googleapiclient/discovery_cache/documents/bigquery.v2.json +23 -15
  53. googleapiclient/discovery_cache/documents/bigqueryconnection.v1.json +1 -1
  54. googleapiclient/discovery_cache/documents/bigqueryconnection.v1beta1.json +1 -1
  55. googleapiclient/discovery_cache/documents/bigquerydatapolicy.v1.json +1 -1
  56. googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +1 -1
  57. googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +1 -1
  58. googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +181 -2
  59. googleapiclient/discovery_cache/documents/billingbudgets.v1.json +1 -1
  60. googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json +1 -1
  61. googleapiclient/discovery_cache/documents/binaryauthorization.v1.json +1 -1
  62. googleapiclient/discovery_cache/documents/blockchainnodeengine.v1.json +1 -1
  63. googleapiclient/discovery_cache/documents/blogger.v2.json +1 -1
  64. googleapiclient/discovery_cache/documents/blogger.v3.json +1 -1
  65. googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json +1 -1
  66. googleapiclient/discovery_cache/documents/calendar.v3.json +3 -3
  67. googleapiclient/discovery_cache/documents/certificatemanager.v1.json +2 -2
  68. googleapiclient/discovery_cache/documents/chat.v1.json +15 -15
  69. googleapiclient/discovery_cache/documents/checks.v1alpha.json +1 -1
  70. googleapiclient/discovery_cache/documents/chromemanagement.v1.json +12 -8
  71. googleapiclient/discovery_cache/documents/chromepolicy.v1.json +1 -1
  72. googleapiclient/discovery_cache/documents/chromeuxreport.v1.json +1 -1
  73. googleapiclient/discovery_cache/documents/classroom.v1.json +7 -7
  74. googleapiclient/discovery_cache/documents/cloudasset.v1.json +2 -1
  75. googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json +2 -1
  76. googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json +2 -1
  77. googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json +2 -1
  78. googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json +2 -1
  79. googleapiclient/discovery_cache/documents/cloudbuild.v1.json +4 -28
  80. googleapiclient/discovery_cache/documents/cloudbuild.v2.json +16 -5
  81. googleapiclient/discovery_cache/documents/cloudchannel.v1.json +1 -1
  82. googleapiclient/discovery_cache/documents/cloudcontrolspartner.v1.json +7 -4
  83. googleapiclient/discovery_cache/documents/cloudcontrolspartner.v1beta.json +7 -4
  84. googleapiclient/discovery_cache/documents/clouddeploy.v1.json +1 -1
  85. googleapiclient/discovery_cache/documents/clouderrorreporting.v1beta1.json +306 -9
  86. googleapiclient/discovery_cache/documents/cloudfunctions.v1.json +2 -2
  87. googleapiclient/discovery_cache/documents/cloudidentity.v1.json +1 -1
  88. googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json +1 -1
  89. googleapiclient/discovery_cache/documents/cloudresourcemanager.v1.json +1 -1
  90. googleapiclient/discovery_cache/documents/cloudresourcemanager.v1beta1.json +1 -1
  91. googleapiclient/discovery_cache/documents/cloudresourcemanager.v2.json +1 -1
  92. googleapiclient/discovery_cache/documents/cloudresourcemanager.v2beta1.json +1 -1
  93. googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json +1 -1
  94. googleapiclient/discovery_cache/documents/cloudscheduler.v1.json +1 -1
  95. googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json +1 -1
  96. googleapiclient/discovery_cache/documents/cloudshell.v1.json +1 -1
  97. googleapiclient/discovery_cache/documents/cloudsupport.v2.json +1 -1
  98. googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json +1 -1
  99. googleapiclient/discovery_cache/documents/cloudtasks.v2.json +1 -1
  100. googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json +1 -1
  101. googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json +1 -1
  102. googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json +3 -3
  103. googleapiclient/discovery_cache/documents/composer.v1.json +6 -1
  104. googleapiclient/discovery_cache/documents/composer.v1beta1.json +6 -1
  105. googleapiclient/discovery_cache/documents/compute.alpha.json +879 -30
  106. googleapiclient/discovery_cache/documents/compute.beta.json +406 -28
  107. googleapiclient/discovery_cache/documents/compute.v1.json +13 -5
  108. googleapiclient/discovery_cache/documents/config.v1.json +3 -3
  109. googleapiclient/discovery_cache/documents/connectors.v1.json +36 -3
  110. googleapiclient/discovery_cache/documents/connectors.v2.json +9 -1
  111. googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json +1 -1
  112. googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +29 -1
  113. googleapiclient/discovery_cache/documents/container.v1.json +149 -57
  114. googleapiclient/discovery_cache/documents/container.v1beta1.json +146 -53
  115. googleapiclient/discovery_cache/documents/containeranalysis.v1.json +2 -60
  116. googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +2 -26
  117. googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +2 -26
  118. googleapiclient/discovery_cache/documents/content.v2.1.json +6 -2
  119. googleapiclient/discovery_cache/documents/css.v1.json +1216 -0
  120. googleapiclient/discovery_cache/documents/customsearch.v1.json +1 -1
  121. googleapiclient/discovery_cache/documents/datacatalog.v1.json +1 -1
  122. googleapiclient/discovery_cache/documents/datacatalog.v1beta1.json +1 -1
  123. googleapiclient/discovery_cache/documents/dataflow.v1b3.json +92 -86
  124. googleapiclient/discovery_cache/documents/dataform.v1beta1.json +19 -1
  125. googleapiclient/discovery_cache/documents/datafusion.v1.json +343 -1
  126. googleapiclient/discovery_cache/documents/datafusion.v1beta1.json +343 -1
  127. googleapiclient/discovery_cache/documents/datamigration.v1.json +3 -5
  128. googleapiclient/discovery_cache/documents/datamigration.v1beta1.json +1 -1
  129. googleapiclient/discovery_cache/documents/datapipelines.v1.json +1 -1
  130. googleapiclient/discovery_cache/documents/dataplex.v1.json +120 -141
  131. googleapiclient/discovery_cache/documents/dataportability.v1.json +1 -1
  132. googleapiclient/discovery_cache/documents/dataportability.v1beta.json +1 -1
  133. googleapiclient/discovery_cache/documents/datastore.v1.json +1 -1
  134. googleapiclient/discovery_cache/documents/datastore.v1beta1.json +1 -1
  135. googleapiclient/discovery_cache/documents/datastore.v1beta3.json +1 -1
  136. googleapiclient/discovery_cache/documents/datastream.v1.json +1 -1
  137. googleapiclient/discovery_cache/documents/datastream.v1alpha1.json +1 -1
  138. googleapiclient/discovery_cache/documents/developerconnect.v1.json +1 -1
  139. googleapiclient/discovery_cache/documents/dialogflow.v2.json +270 -1
  140. googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +152 -2
  141. googleapiclient/discovery_cache/documents/dialogflow.v3.json +221 -1
  142. googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +221 -1
  143. googleapiclient/discovery_cache/documents/digitalassetlinks.v1.json +1 -1
  144. googleapiclient/discovery_cache/documents/discovery.v1.json +0 -49
  145. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +3095 -1014
  146. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +2541 -250
  147. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +4799 -2533
  148. googleapiclient/discovery_cache/documents/displayvideo.v2.json +1 -1
  149. googleapiclient/discovery_cache/documents/displayvideo.v3.json +9 -8
  150. googleapiclient/discovery_cache/documents/dlp.v2.json +491 -43
  151. googleapiclient/discovery_cache/documents/dns.v1.json +1 -1
  152. googleapiclient/discovery_cache/documents/dns.v1beta2.json +1 -1
  153. googleapiclient/discovery_cache/documents/docs.v1.json +246 -1
  154. googleapiclient/discovery_cache/documents/documentai.v1.json +62 -1
  155. googleapiclient/discovery_cache/documents/documentai.v1beta2.json +1 -1
  156. googleapiclient/discovery_cache/documents/documentai.v1beta3.json +62 -1
  157. googleapiclient/discovery_cache/documents/domains.v1.json +1 -1
  158. googleapiclient/discovery_cache/documents/domains.v1alpha2.json +1 -1
  159. googleapiclient/discovery_cache/documents/domains.v1beta1.json +1 -1
  160. googleapiclient/discovery_cache/documents/domainsrdap.v1.json +1 -1
  161. googleapiclient/discovery_cache/documents/doubleclickbidmanager.v2.json +10 -4
  162. googleapiclient/discovery_cache/documents/drive.v2.json +3 -3
  163. googleapiclient/discovery_cache/documents/drive.v3.json +3 -3
  164. googleapiclient/discovery_cache/documents/drivelabels.v2.json +1 -1
  165. googleapiclient/discovery_cache/documents/drivelabels.v2beta.json +1 -1
  166. googleapiclient/discovery_cache/documents/essentialcontacts.v1.json +3 -2
  167. googleapiclient/discovery_cache/documents/eventarc.v1.json +1 -1
  168. googleapiclient/discovery_cache/documents/factchecktools.v1alpha1.json +1 -1
  169. googleapiclient/discovery_cache/documents/fcm.v1.json +1 -1
  170. googleapiclient/discovery_cache/documents/fcmdata.v1beta1.json +1 -1
  171. googleapiclient/discovery_cache/documents/file.v1.json +1 -1
  172. googleapiclient/discovery_cache/documents/file.v1beta1.json +16 -1
  173. googleapiclient/discovery_cache/documents/firebase.v1beta1.json +1 -1
  174. googleapiclient/discovery_cache/documents/firebaseappcheck.v1.json +305 -1
  175. googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json +1 -1
  176. googleapiclient/discovery_cache/documents/firebaseappdistribution.v1.json +1 -1
  177. googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json +44 -6
  178. googleapiclient/discovery_cache/documents/firebasedatabase.v1beta.json +1 -1
  179. googleapiclient/discovery_cache/documents/firebasedynamiclinks.v1.json +1 -1
  180. googleapiclient/discovery_cache/documents/firebasehosting.v1.json +1 -1
  181. googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json +1 -1
  182. googleapiclient/discovery_cache/documents/firebaseml.v1.json +1 -1
  183. googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json +1 -1
  184. googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +25 -80
  185. googleapiclient/discovery_cache/documents/firebaserules.v1.json +1 -1
  186. googleapiclient/discovery_cache/documents/firestore.v1.json +6 -42
  187. googleapiclient/discovery_cache/documents/firestore.v1beta1.json +2 -2
  188. googleapiclient/discovery_cache/documents/firestore.v1beta2.json +1 -1
  189. googleapiclient/discovery_cache/documents/fitness.v1.json +1 -1
  190. googleapiclient/discovery_cache/documents/forms.v1.json +1 -1
  191. googleapiclient/discovery_cache/documents/games.v1.json +7 -10
  192. googleapiclient/discovery_cache/documents/gamesConfiguration.v1configuration.json +1 -1
  193. googleapiclient/discovery_cache/documents/gamesManagement.v1management.json +1 -1
  194. googleapiclient/discovery_cache/documents/gkebackup.v1.json +5 -5
  195. googleapiclient/discovery_cache/documents/gkehub.v1.json +208 -3
  196. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +62 -3
  197. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +47 -3
  198. googleapiclient/discovery_cache/documents/gmail.v1.json +1 -1
  199. googleapiclient/discovery_cache/documents/gmailpostmastertools.v1.json +1 -1
  200. googleapiclient/discovery_cache/documents/gmailpostmastertools.v1beta1.json +1 -1
  201. googleapiclient/discovery_cache/documents/groupsmigration.v1.json +1 -1
  202. googleapiclient/discovery_cache/documents/healthcare.v1.json +22 -17
  203. googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +47 -13
  204. googleapiclient/discovery_cache/documents/iam.v1.json +3 -60
  205. googleapiclient/discovery_cache/documents/iam.v2.json +1 -1
  206. googleapiclient/discovery_cache/documents/iam.v2beta.json +1 -1
  207. googleapiclient/discovery_cache/documents/iap.v1.json +1 -1
  208. googleapiclient/discovery_cache/documents/iap.v1beta1.json +1 -1
  209. googleapiclient/discovery_cache/documents/identitytoolkit.v3.json +1 -1
  210. googleapiclient/discovery_cache/documents/ids.v1.json +1 -1
  211. googleapiclient/discovery_cache/documents/indexing.v3.json +1 -1
  212. googleapiclient/discovery_cache/documents/integrations.v1.json +162 -23
  213. googleapiclient/discovery_cache/documents/keep.v1.json +1 -1
  214. googleapiclient/discovery_cache/documents/kgsearch.v1.json +1 -1
  215. googleapiclient/discovery_cache/documents/kmsinventory.v1.json +2 -2
  216. googleapiclient/discovery_cache/documents/language.v2.json +9 -1
  217. googleapiclient/discovery_cache/documents/libraryagent.v1.json +1 -1
  218. googleapiclient/discovery_cache/documents/licensing.v1.json +1 -1
  219. googleapiclient/discovery_cache/documents/localservices.v1.json +1 -1
  220. googleapiclient/discovery_cache/documents/logging.v2.json +24 -4
  221. googleapiclient/discovery_cache/documents/manufacturers.v1.json +9 -1
  222. googleapiclient/discovery_cache/documents/marketingplatformadmin.v1alpha.json +1 -1
  223. googleapiclient/discovery_cache/documents/meet.v2.json +10 -10
  224. googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +240 -228
  225. googleapiclient/discovery_cache/documents/merchantapi.datasources_v1beta.json +2 -2
  226. googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +5 -1
  227. googleapiclient/discovery_cache/documents/metastore.v1.json +35 -1
  228. googleapiclient/discovery_cache/documents/metastore.v1alpha.json +98 -1
  229. googleapiclient/discovery_cache/documents/metastore.v1beta.json +98 -1
  230. googleapiclient/discovery_cache/documents/migrationcenter.v1.json +1 -1
  231. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +31 -21
  232. googleapiclient/discovery_cache/documents/monitoring.v1.json +7 -3
  233. googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json +1 -1
  234. googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +1 -1
  235. googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json +1 -1
  236. googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json +1 -1
  237. googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json +1 -1
  238. googleapiclient/discovery_cache/documents/mybusinessqanda.v1.json +1 -1
  239. googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json +1 -1
  240. googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +1 -1
  241. googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json +1 -1
  242. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +1 -1
  243. googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +1 -1
  244. googleapiclient/discovery_cache/documents/networksecurity.v1.json +10 -10
  245. googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +10 -10
  246. googleapiclient/discovery_cache/documents/networkservices.v1.json +3 -351
  247. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +3 -351
  248. googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +5 -37
  249. googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +5 -37
  250. googleapiclient/discovery_cache/documents/osconfig.v1.json +1 -1
  251. googleapiclient/discovery_cache/documents/osconfig.v1alpha.json +1 -1
  252. googleapiclient/discovery_cache/documents/osconfig.v1beta.json +1 -1
  253. googleapiclient/discovery_cache/documents/oslogin.v1.json +1 -1
  254. googleapiclient/discovery_cache/documents/oslogin.v1alpha.json +1 -1
  255. googleapiclient/discovery_cache/documents/oslogin.v1beta.json +1 -1
  256. googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +1 -1
  257. googleapiclient/discovery_cache/documents/people.v1.json +1 -1
  258. googleapiclient/discovery_cache/documents/places.v1.json +1 -1
  259. googleapiclient/discovery_cache/documents/playcustomapp.v1.json +1 -1
  260. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1alpha1.json +3 -3
  261. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json +3 -3
  262. googleapiclient/discovery_cache/documents/playgrouping.v1alpha1.json +1 -1
  263. googleapiclient/discovery_cache/documents/playintegrity.v1.json +73 -1
  264. googleapiclient/discovery_cache/documents/policyanalyzer.v1.json +1 -1
  265. googleapiclient/discovery_cache/documents/policyanalyzer.v1beta1.json +1 -1
  266. googleapiclient/discovery_cache/documents/policysimulator.v1.json +1 -1
  267. googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json +1 -1
  268. googleapiclient/discovery_cache/documents/policysimulator.v1beta.json +1 -1
  269. googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json +1 -1
  270. googleapiclient/discovery_cache/documents/policytroubleshooter.v1beta.json +1 -1
  271. googleapiclient/discovery_cache/documents/pollen.v1.json +8 -8
  272. googleapiclient/discovery_cache/documents/privateca.v1.json +1 -1
  273. googleapiclient/discovery_cache/documents/privateca.v1beta1.json +1 -1
  274. googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json +1 -1
  275. googleapiclient/discovery_cache/documents/publicca.v1.json +1 -1
  276. googleapiclient/discovery_cache/documents/publicca.v1alpha1.json +1 -1
  277. googleapiclient/discovery_cache/documents/publicca.v1beta1.json +1 -1
  278. googleapiclient/discovery_cache/documents/pubsub.v1.json +6 -1
  279. googleapiclient/discovery_cache/documents/pubsub.v1beta1a.json +1 -1
  280. googleapiclient/discovery_cache/documents/pubsub.v1beta2.json +1 -1
  281. googleapiclient/discovery_cache/documents/rapidmigrationassessment.v1.json +1 -1
  282. googleapiclient/discovery_cache/documents/readerrevenuesubscriptionlinking.v1.json +1 -1
  283. googleapiclient/discovery_cache/documents/realtimebidding.v1.json +1 -1
  284. googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +14 -4
  285. googleapiclient/discovery_cache/documents/recommendationengine.v1beta1.json +1 -1
  286. googleapiclient/discovery_cache/documents/recommender.v1.json +1 -1
  287. googleapiclient/discovery_cache/documents/recommender.v1beta1.json +1 -1
  288. googleapiclient/discovery_cache/documents/redis.v1.json +2 -3
  289. googleapiclient/discovery_cache/documents/redis.v1beta1.json +2 -3
  290. googleapiclient/discovery_cache/documents/reseller.v1.json +1 -1
  291. googleapiclient/discovery_cache/documents/resourcesettings.v1.json +1 -1
  292. googleapiclient/discovery_cache/documents/retail.v2.json +2 -10
  293. googleapiclient/discovery_cache/documents/retail.v2alpha.json +45 -20
  294. googleapiclient/discovery_cache/documents/retail.v2beta.json +45 -10
  295. googleapiclient/discovery_cache/documents/run.v1.json +29 -28
  296. googleapiclient/discovery_cache/documents/run.v2.json +54 -28
  297. googleapiclient/discovery_cache/documents/safebrowsing.v4.json +1 -1
  298. googleapiclient/discovery_cache/documents/safebrowsing.v5.json +1 -1
  299. googleapiclient/discovery_cache/documents/sasportal.v1alpha1.json +1 -1
  300. googleapiclient/discovery_cache/documents/script.v1.json +1 -1
  301. googleapiclient/discovery_cache/documents/searchconsole.v1.json +2 -2
  302. googleapiclient/discovery_cache/documents/securitycenter.v1.json +51 -35
  303. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +26 -10
  304. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +52 -36
  305. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +4 -4
  306. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +4 -4
  307. googleapiclient/discovery_cache/documents/servicecontrol.v2.json +1 -1
  308. googleapiclient/discovery_cache/documents/servicedirectory.v1.json +1 -1
  309. googleapiclient/discovery_cache/documents/servicedirectory.v1beta1.json +1 -1
  310. googleapiclient/discovery_cache/documents/servicemanagement.v1.json +4 -4
  311. googleapiclient/discovery_cache/documents/servicenetworking.v1.json +5 -5
  312. googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +5 -5
  313. googleapiclient/discovery_cache/documents/serviceusage.v1.json +4 -4
  314. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +4 -4
  315. googleapiclient/discovery_cache/documents/sheets.v4.json +28 -5
  316. googleapiclient/discovery_cache/documents/solar.v1.json +1 -1
  317. googleapiclient/discovery_cache/documents/spanner.v1.json +424 -42
  318. googleapiclient/discovery_cache/documents/sqladmin.v1.json +44 -7
  319. googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +44 -7
  320. googleapiclient/discovery_cache/documents/storage.v1.json +45 -2
  321. googleapiclient/discovery_cache/documents/storagetransfer.v1.json +1 -1
  322. googleapiclient/discovery_cache/documents/sts.v1.json +6 -1
  323. googleapiclient/discovery_cache/documents/tagmanager.v2.json +7 -2
  324. googleapiclient/discovery_cache/documents/tasks.v1.json +1 -1
  325. googleapiclient/discovery_cache/documents/toolresults.v1beta3.json +1 -1
  326. googleapiclient/discovery_cache/documents/trafficdirector.v2.json +1 -1
  327. googleapiclient/discovery_cache/documents/trafficdirector.v3.json +1 -1
  328. googleapiclient/discovery_cache/documents/transcoder.v1.json +2 -2
  329. googleapiclient/discovery_cache/documents/translate.v3.json +73 -6
  330. googleapiclient/discovery_cache/documents/travelimpactmodel.v1.json +1 -1
  331. googleapiclient/discovery_cache/documents/verifiedaccess.v1.json +1 -1
  332. googleapiclient/discovery_cache/documents/verifiedaccess.v2.json +1 -1
  333. googleapiclient/discovery_cache/documents/versionhistory.v1.json +1 -1
  334. googleapiclient/discovery_cache/documents/videointelligence.v1.json +1 -1
  335. googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json +1 -1
  336. googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json +1 -1
  337. googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json +1 -1
  338. googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json +1 -1
  339. googleapiclient/discovery_cache/documents/vmmigration.v1.json +254 -12
  340. googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +254 -12
  341. googleapiclient/discovery_cache/documents/vmwareengine.v1.json +83 -1
  342. googleapiclient/discovery_cache/documents/walletobjects.v1.json +44 -5
  343. googleapiclient/discovery_cache/documents/webfonts.v1.json +1 -1
  344. googleapiclient/discovery_cache/documents/webrisk.v1.json +1 -1
  345. googleapiclient/discovery_cache/documents/websecurityscanner.v1.json +1 -1
  346. googleapiclient/discovery_cache/documents/websecurityscanner.v1alpha.json +1 -1
  347. googleapiclient/discovery_cache/documents/websecurityscanner.v1beta.json +1 -1
  348. googleapiclient/discovery_cache/documents/workflowexecutions.v1.json +15 -1
  349. googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json +1 -1
  350. googleapiclient/discovery_cache/documents/workflows.v1.json +2 -2
  351. googleapiclient/discovery_cache/documents/workloadmanager.v1.json +13 -1
  352. googleapiclient/discovery_cache/documents/workspaceevents.v1.json +1 -1
  353. googleapiclient/discovery_cache/documents/workstations.v1.json +34 -5
  354. googleapiclient/discovery_cache/documents/workstations.v1beta.json +62 -7
  355. googleapiclient/discovery_cache/documents/youtube.v3.json +1 -1
  356. googleapiclient/discovery_cache/documents/youtubeAnalytics.v2.json +1 -1
  357. googleapiclient/discovery_cache/documents/youtubereporting.v1.json +1 -1
  358. googleapiclient/model.py +22 -2
  359. googleapiclient/version.py +1 -1
  360. {google_api_python_client-2.136.0.dist-info → google_api_python_client-2.138.0.dist-info}/LICENSE +0 -0
  361. {google_api_python_client-2.136.0.dist-info → google_api_python_client-2.138.0.dist-info}/top_level.txt +0 -0
@@ -2428,6 +2428,31 @@
2428
2428
  "https://www.googleapis.com/auth/cloud-platform"
2429
2429
  ]
2430
2430
  },
2431
+ "getUriPatternDocumentData": {
2432
+ "description": "Gets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.",
2433
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:getUriPatternDocumentData",
2434
+ "httpMethod": "GET",
2435
+ "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.getUriPatternDocumentData",
2436
+ "parameterOrder": [
2437
+ "siteSearchEngine"
2438
+ ],
2439
+ "parameters": {
2440
+ "siteSearchEngine": {
2441
+ "description": "Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.",
2442
+ "location": "path",
2443
+ "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
2444
+ "required": true,
2445
+ "type": "string"
2446
+ }
2447
+ },
2448
+ "path": "v1alpha/{+siteSearchEngine}:getUriPatternDocumentData",
2449
+ "response": {
2450
+ "$ref": "GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse"
2451
+ },
2452
+ "scopes": [
2453
+ "https://www.googleapis.com/auth/cloud-platform"
2454
+ ]
2455
+ },
2431
2456
  "recrawlUris": {
2432
2457
  "description": "Request on-demand recrawl for a list of URIs.",
2433
2458
  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:recrawlUris",
@@ -2455,6 +2480,34 @@
2455
2480
  "scopes": [
2456
2481
  "https://www.googleapis.com/auth/cloud-platform"
2457
2482
  ]
2483
+ },
2484
+ "setUriPatternDocumentData": {
2485
+ "description": "Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.",
2486
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:setUriPatternDocumentData",
2487
+ "httpMethod": "POST",
2488
+ "id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.setUriPatternDocumentData",
2489
+ "parameterOrder": [
2490
+ "siteSearchEngine"
2491
+ ],
2492
+ "parameters": {
2493
+ "siteSearchEngine": {
2494
+ "description": "Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.",
2495
+ "location": "path",
2496
+ "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
2497
+ "required": true,
2498
+ "type": "string"
2499
+ }
2500
+ },
2501
+ "path": "v1alpha/{+siteSearchEngine}:setUriPatternDocumentData",
2502
+ "request": {
2503
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest"
2504
+ },
2505
+ "response": {
2506
+ "$ref": "GoogleLongrunningOperation"
2507
+ },
2508
+ "scopes": [
2509
+ "https://www.googleapis.com/auth/cloud-platform"
2510
+ ]
2458
2511
  }
2459
2512
  },
2460
2513
  "resources": {
@@ -6377,6 +6430,133 @@
6377
6430
  }
6378
6431
  },
6379
6432
  "evaluations": {
6433
+ "methods": {
6434
+ "create": {
6435
+ "description": "Creates a Evaluation. Upon creation, the evaluation will be automatically triggered and begin execution.",
6436
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/evaluations",
6437
+ "httpMethod": "POST",
6438
+ "id": "discoveryengine.projects.locations.evaluations.create",
6439
+ "parameterOrder": [
6440
+ "parent"
6441
+ ],
6442
+ "parameters": {
6443
+ "parent": {
6444
+ "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}`.",
6445
+ "location": "path",
6446
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
6447
+ "required": true,
6448
+ "type": "string"
6449
+ }
6450
+ },
6451
+ "path": "v1alpha/{+parent}/evaluations",
6452
+ "request": {
6453
+ "$ref": "GoogleCloudDiscoveryengineV1alphaEvaluation"
6454
+ },
6455
+ "response": {
6456
+ "$ref": "GoogleLongrunningOperation"
6457
+ },
6458
+ "scopes": [
6459
+ "https://www.googleapis.com/auth/cloud-platform"
6460
+ ]
6461
+ },
6462
+ "get": {
6463
+ "description": "Gets a Evaluation.",
6464
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}",
6465
+ "httpMethod": "GET",
6466
+ "id": "discoveryengine.projects.locations.evaluations.get",
6467
+ "parameterOrder": [
6468
+ "name"
6469
+ ],
6470
+ "parameters": {
6471
+ "name": {
6472
+ "description": "Required. Full resource name of Evaluation, such as `projects/{project}/locations/{location}/evaluations/{evaluation}`. If the caller does not have permission to access the Evaluation, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Evaluation does not exist, a NOT_FOUND error is returned.",
6473
+ "location": "path",
6474
+ "pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+$",
6475
+ "required": true,
6476
+ "type": "string"
6477
+ }
6478
+ },
6479
+ "path": "v1alpha/{+name}",
6480
+ "response": {
6481
+ "$ref": "GoogleCloudDiscoveryengineV1alphaEvaluation"
6482
+ },
6483
+ "scopes": [
6484
+ "https://www.googleapis.com/auth/cloud-platform"
6485
+ ]
6486
+ },
6487
+ "list": {
6488
+ "description": "Gets a list of Evaluations.",
6489
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/evaluations",
6490
+ "httpMethod": "GET",
6491
+ "id": "discoveryengine.projects.locations.evaluations.list",
6492
+ "parameterOrder": [
6493
+ "parent"
6494
+ ],
6495
+ "parameters": {
6496
+ "pageSize": {
6497
+ "description": "Maximum number of Evaluations to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.",
6498
+ "format": "int32",
6499
+ "location": "query",
6500
+ "type": "integer"
6501
+ },
6502
+ "pageToken": {
6503
+ "description": "A page token ListEvaluationsResponse.next_page_token, received from a previous EvaluationService.ListEvaluations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to EvaluationService.ListEvaluations must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.",
6504
+ "location": "query",
6505
+ "type": "string"
6506
+ },
6507
+ "parent": {
6508
+ "description": "Required. The parent location resource name, such as `projects/{project}/locations/{location}`. If the caller does not have permission to list Evaluations under this location, regardless of whether or not this location exists, a `PERMISSION_DENIED` error is returned.",
6509
+ "location": "path",
6510
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
6511
+ "required": true,
6512
+ "type": "string"
6513
+ }
6514
+ },
6515
+ "path": "v1alpha/{+parent}/evaluations",
6516
+ "response": {
6517
+ "$ref": "GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse"
6518
+ },
6519
+ "scopes": [
6520
+ "https://www.googleapis.com/auth/cloud-platform"
6521
+ ]
6522
+ },
6523
+ "listResults": {
6524
+ "description": "Gets a list of results for a given a Evaluation.",
6525
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}:listResults",
6526
+ "httpMethod": "GET",
6527
+ "id": "discoveryengine.projects.locations.evaluations.listResults",
6528
+ "parameterOrder": [
6529
+ "evaluation"
6530
+ ],
6531
+ "parameters": {
6532
+ "evaluation": {
6533
+ "description": "Required. The evaluation resource name, such as `projects/{project}/locations/{location}/evaluations/{evaluation}`. If the caller does not have permission to list EvaluationResult under this evaluation, regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED` error is returned.",
6534
+ "location": "path",
6535
+ "pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+$",
6536
+ "required": true,
6537
+ "type": "string"
6538
+ },
6539
+ "pageSize": {
6540
+ "description": "Maximum number of EvaluationResult to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.",
6541
+ "format": "int32",
6542
+ "location": "query",
6543
+ "type": "integer"
6544
+ },
6545
+ "pageToken": {
6546
+ "description": "A page token ListEvaluationResultsResponse.next_page_token, received from a previous EvaluationService.ListEvaluationResults call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to EvaluationService.ListEvaluationResults must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.",
6547
+ "location": "query",
6548
+ "type": "string"
6549
+ }
6550
+ },
6551
+ "path": "v1alpha/{+evaluation}:listResults",
6552
+ "response": {
6553
+ "$ref": "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse"
6554
+ },
6555
+ "scopes": [
6556
+ "https://www.googleapis.com/auth/cloud-platform"
6557
+ ]
6558
+ }
6559
+ },
6380
6560
  "resources": {
6381
6561
  "operations": {
6382
6562
  "methods": {
@@ -6441,6 +6621,80 @@
6441
6621
  }
6442
6622
  }
6443
6623
  },
6624
+ "identity_mapping_stores": {
6625
+ "resources": {
6626
+ "operations": {
6627
+ "methods": {
6628
+ "get": {
6629
+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
6630
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/identity_mapping_stores/{identity_mapping_storesId}/operations/{operationsId}",
6631
+ "httpMethod": "GET",
6632
+ "id": "discoveryengine.projects.locations.identity_mapping_stores.operations.get",
6633
+ "parameterOrder": [
6634
+ "name"
6635
+ ],
6636
+ "parameters": {
6637
+ "name": {
6638
+ "description": "The name of the operation resource.",
6639
+ "location": "path",
6640
+ "pattern": "^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+/operations/[^/]+$",
6641
+ "required": true,
6642
+ "type": "string"
6643
+ }
6644
+ },
6645
+ "path": "v1alpha/{+name}",
6646
+ "response": {
6647
+ "$ref": "GoogleLongrunningOperation"
6648
+ },
6649
+ "scopes": [
6650
+ "https://www.googleapis.com/auth/cloud-platform"
6651
+ ]
6652
+ },
6653
+ "list": {
6654
+ "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
6655
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/identity_mapping_stores/{identity_mapping_storesId}/operations",
6656
+ "httpMethod": "GET",
6657
+ "id": "discoveryengine.projects.locations.identity_mapping_stores.operations.list",
6658
+ "parameterOrder": [
6659
+ "name"
6660
+ ],
6661
+ "parameters": {
6662
+ "filter": {
6663
+ "description": "The standard list filter.",
6664
+ "location": "query",
6665
+ "type": "string"
6666
+ },
6667
+ "name": {
6668
+ "description": "The name of the operation's parent resource.",
6669
+ "location": "path",
6670
+ "pattern": "^projects/[^/]+/locations/[^/]+/identity_mapping_stores/[^/]+$",
6671
+ "required": true,
6672
+ "type": "string"
6673
+ },
6674
+ "pageSize": {
6675
+ "description": "The standard list page size.",
6676
+ "format": "int32",
6677
+ "location": "query",
6678
+ "type": "integer"
6679
+ },
6680
+ "pageToken": {
6681
+ "description": "The standard list page token.",
6682
+ "location": "query",
6683
+ "type": "string"
6684
+ }
6685
+ },
6686
+ "path": "v1alpha/{+name}/operations",
6687
+ "response": {
6688
+ "$ref": "GoogleLongrunningListOperationsResponse"
6689
+ },
6690
+ "scopes": [
6691
+ "https://www.googleapis.com/auth/cloud-platform"
6692
+ ]
6693
+ }
6694
+ }
6695
+ }
6696
+ }
6697
+ },
6444
6698
  "operations": {
6445
6699
  "methods": {
6446
6700
  "get": {
@@ -6576,125 +6830,169 @@
6576
6830
  }
6577
6831
  },
6578
6832
  "sampleQuerySets": {
6579
- "resources": {
6580
- "operations": {
6581
6833
  "methods": {
6582
- "get": {
6583
- "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
6584
- "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/operations/{operationsId}",
6585
- "httpMethod": "GET",
6586
- "id": "discoveryengine.projects.locations.sampleQuerySets.operations.get",
6834
+ "create": {
6835
+ "description": "Creates a SampleQuerySet",
6836
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets",
6837
+ "httpMethod": "POST",
6838
+ "id": "discoveryengine.projects.locations.sampleQuerySets.create",
6587
6839
  "parameterOrder": [
6588
- "name"
6840
+ "parent"
6589
6841
  ],
6590
6842
  "parameters": {
6591
- "name": {
6592
- "description": "The name of the operation resource.",
6843
+ "parent": {
6844
+ "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}`.",
6593
6845
  "location": "path",
6594
- "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+/operations/[^/]+$",
6846
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
6595
6847
  "required": true,
6596
6848
  "type": "string"
6849
+ },
6850
+ "sampleQuerySetId": {
6851
+ "description": "Required. The ID to use for the SampleQuerySet, which will become the final component of the SampleQuerySet.name. If the caller does not have permission to create the SampleQuerySet, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all SampleQuerySets with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
6852
+ "location": "query",
6853
+ "type": "string"
6597
6854
  }
6598
6855
  },
6599
- "path": "v1alpha/{+name}",
6856
+ "path": "v1alpha/{+parent}/sampleQuerySets",
6857
+ "request": {
6858
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
6859
+ },
6600
6860
  "response": {
6601
- "$ref": "GoogleLongrunningOperation"
6861
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
6602
6862
  },
6603
6863
  "scopes": [
6604
6864
  "https://www.googleapis.com/auth/cloud-platform"
6605
6865
  ]
6606
- }
6607
- }
6608
- }
6609
- }
6610
6866
  },
6611
- "userEvents": {
6612
- "methods": {
6613
- "collect": {
6614
- "description": "Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.",
6615
- "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userEvents:collect",
6616
- "httpMethod": "GET",
6617
- "id": "discoveryengine.projects.locations.userEvents.collect",
6867
+ "delete": {
6868
+ "description": "Deletes a SampleQuerySet.",
6869
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}",
6870
+ "httpMethod": "DELETE",
6871
+ "id": "discoveryengine.projects.locations.sampleQuerySets.delete",
6618
6872
  "parameterOrder": [
6619
- "parent"
6873
+ "name"
6620
6874
  ],
6621
6875
  "parameters": {
6622
- "ets": {
6623
- "description": "The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.",
6624
- "format": "int64",
6625
- "location": "query",
6626
- "type": "string"
6627
- },
6628
- "parent": {
6629
- "description": "Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.",
6876
+ "name": {
6877
+ "description": "Required. Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to delete the SampleQuerySet, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuerySet to delete does not exist, a `NOT_FOUND` error is returned.",
6630
6878
  "location": "path",
6631
- "pattern": "^projects/[^/]+/locations/[^/]+$",
6879
+ "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+$",
6632
6880
  "required": true,
6633
6881
  "type": "string"
6882
+ }
6634
6883
  },
6635
- "uri": {
6636
- "description": "The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.",
6637
- "location": "query",
6638
- "type": "string"
6884
+ "path": "v1alpha/{+name}",
6885
+ "response": {
6886
+ "$ref": "GoogleProtobufEmpty"
6639
6887
  },
6640
- "userEvent": {
6641
- "description": "Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.",
6642
- "location": "query",
6888
+ "scopes": [
6889
+ "https://www.googleapis.com/auth/cloud-platform"
6890
+ ]
6891
+ },
6892
+ "get": {
6893
+ "description": "Gets a SampleQuerySet.",
6894
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}",
6895
+ "httpMethod": "GET",
6896
+ "id": "discoveryengine.projects.locations.sampleQuerySets.get",
6897
+ "parameterOrder": [
6898
+ "name"
6899
+ ],
6900
+ "parameters": {
6901
+ "name": {
6902
+ "description": "Required. Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to access the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuerySet does not exist, a NOT_FOUND error is returned.",
6903
+ "location": "path",
6904
+ "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+$",
6905
+ "required": true,
6643
6906
  "type": "string"
6644
6907
  }
6645
6908
  },
6646
- "path": "v1alpha/{+parent}/userEvents:collect",
6909
+ "path": "v1alpha/{+name}",
6647
6910
  "response": {
6648
- "$ref": "GoogleApiHttpBody"
6911
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
6649
6912
  },
6650
6913
  "scopes": [
6651
6914
  "https://www.googleapis.com/auth/cloud-platform"
6652
6915
  ]
6653
6916
  },
6654
- "write": {
6655
- "description": "Writes a single user event.",
6656
- "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userEvents:write",
6657
- "httpMethod": "POST",
6658
- "id": "discoveryengine.projects.locations.userEvents.write",
6917
+ "list": {
6918
+ "description": "Gets a list of SampleQuerySets.",
6919
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets",
6920
+ "httpMethod": "GET",
6921
+ "id": "discoveryengine.projects.locations.sampleQuerySets.list",
6659
6922
  "parameterOrder": [
6660
6923
  "parent"
6661
6924
  ],
6662
6925
  "parameters": {
6926
+ "pageSize": {
6927
+ "description": "Maximum number of SampleQuerySets to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.",
6928
+ "format": "int32",
6929
+ "location": "query",
6930
+ "type": "integer"
6931
+ },
6932
+ "pageToken": {
6933
+ "description": "A page token ListSampleQuerySetsResponse.next_page_token, received from a previous SampleQuerySetService.ListSampleQuerySets call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SampleQuerySetService.ListSampleQuerySets must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.",
6934
+ "location": "query",
6935
+ "type": "string"
6936
+ },
6663
6937
  "parent": {
6664
- "description": "Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.",
6938
+ "description": "Required. The parent location resource name, such as `projects/{project}/locations/{location}`. If the caller does not have permission to list SampleQuerySets under this location, regardless of whether or not this location exists, a `PERMISSION_DENIED` error is returned.",
6665
6939
  "location": "path",
6666
6940
  "pattern": "^projects/[^/]+/locations/[^/]+$",
6667
6941
  "required": true,
6668
6942
  "type": "string"
6943
+ }
6669
6944
  },
6670
- "writeAsync": {
6671
- "description": "If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.",
6945
+ "path": "v1alpha/{+parent}/sampleQuerySets",
6946
+ "response": {
6947
+ "$ref": "GoogleCloudDiscoveryengineV1alphaListSampleQuerySetsResponse"
6948
+ },
6949
+ "scopes": [
6950
+ "https://www.googleapis.com/auth/cloud-platform"
6951
+ ]
6952
+ },
6953
+ "patch": {
6954
+ "description": "Updates a SampleQuerySet.",
6955
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}",
6956
+ "httpMethod": "PATCH",
6957
+ "id": "discoveryengine.projects.locations.sampleQuerySets.patch",
6958
+ "parameterOrder": [
6959
+ "name"
6960
+ ],
6961
+ "parameters": {
6962
+ "name": {
6963
+ "description": "Immutable. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
6964
+ "location": "path",
6965
+ "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+$",
6966
+ "required": true,
6967
+ "type": "string"
6968
+ },
6969
+ "updateMask": {
6970
+ "description": "Indicates which fields in the provided imported 'sample query set' to update. If not set, will by default update all fields.",
6971
+ "format": "google-fieldmask",
6672
6972
  "location": "query",
6673
- "type": "boolean"
6973
+ "type": "string"
6674
6974
  }
6675
6975
  },
6676
- "path": "v1alpha/{+parent}/userEvents:write",
6976
+ "path": "v1alpha/{+name}",
6677
6977
  "request": {
6678
- "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent"
6978
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
6679
6979
  },
6680
6980
  "response": {
6681
- "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent"
6981
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
6682
6982
  },
6683
6983
  "scopes": [
6684
6984
  "https://www.googleapis.com/auth/cloud-platform"
6685
6985
  ]
6686
6986
  }
6687
- }
6688
- }
6689
- }
6690
6987
  },
6988
+ "resources": {
6691
6989
  "operations": {
6692
6990
  "methods": {
6693
6991
  "get": {
6694
6992
  "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
6695
- "flatPath": "v1alpha/projects/{projectsId}/operations/{operationsId}",
6993
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/operations/{operationsId}",
6696
6994
  "httpMethod": "GET",
6697
- "id": "discoveryengine.projects.operations.get",
6995
+ "id": "discoveryengine.projects.locations.sampleQuerySets.operations.get",
6698
6996
  "parameterOrder": [
6699
6997
  "name"
6700
6998
  ],
@@ -6702,7 +7000,7 @@
6702
7000
  "name": {
6703
7001
  "description": "The name of the operation resource.",
6704
7002
  "location": "path",
6705
- "pattern": "^projects/[^/]+/operations/[^/]+$",
7003
+ "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+/operations/[^/]+$",
6706
7004
  "required": true,
6707
7005
  "type": "string"
6708
7006
  }
@@ -6714,85 +7012,381 @@
6714
7012
  "scopes": [
6715
7013
  "https://www.googleapis.com/auth/cloud-platform"
6716
7014
  ]
7015
+ }
7016
+ }
6717
7017
  },
6718
- "list": {
6719
- "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
6720
- "flatPath": "v1alpha/projects/{projectsId}/operations",
6721
- "httpMethod": "GET",
6722
- "id": "discoveryengine.projects.operations.list",
7018
+ "sampleQueries": {
7019
+ "methods": {
7020
+ "create": {
7021
+ "description": "Creates a SampleQuery",
7022
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/sampleQueries",
7023
+ "httpMethod": "POST",
7024
+ "id": "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.create",
6723
7025
  "parameterOrder": [
6724
- "name"
7026
+ "parent"
6725
7027
  ],
6726
7028
  "parameters": {
6727
- "filter": {
6728
- "description": "The standard list filter.",
7029
+ "parent": {
7030
+ "description": "Required. The parent resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.",
7031
+ "location": "path",
7032
+ "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+$",
7033
+ "required": true,
7034
+ "type": "string"
7035
+ },
7036
+ "sampleQueryId": {
7037
+ "description": "Required. The ID to use for the SampleQuery, which will become the final component of the SampleQuery.name. If the caller does not have permission to create the SampleQuery, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all SampleQuerys with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
6729
7038
  "location": "query",
6730
7039
  "type": "string"
7040
+ }
7041
+ },
7042
+ "path": "v1alpha/{+parent}/sampleQueries",
7043
+ "request": {
7044
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
7045
+ },
7046
+ "response": {
7047
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
7048
+ },
7049
+ "scopes": [
7050
+ "https://www.googleapis.com/auth/cloud-platform"
7051
+ ]
6731
7052
  },
7053
+ "delete": {
7054
+ "description": "Deletes a SampleQuery.",
7055
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/sampleQueries/{sampleQueriesId}",
7056
+ "httpMethod": "DELETE",
7057
+ "id": "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.delete",
7058
+ "parameterOrder": [
7059
+ "name"
7060
+ ],
7061
+ "parameters": {
6732
7062
  "name": {
6733
- "description": "The name of the operation's parent resource.",
7063
+ "description": "Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. If the caller does not have permission to delete the SampleQuery, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuery to delete does not exist, a `NOT_FOUND` error is returned.",
6734
7064
  "location": "path",
6735
- "pattern": "^projects/[^/]+$",
7065
+ "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+/sampleQueries/[^/]+$",
7066
+ "required": true,
7067
+ "type": "string"
7068
+ }
7069
+ },
7070
+ "path": "v1alpha/{+name}",
7071
+ "response": {
7072
+ "$ref": "GoogleProtobufEmpty"
7073
+ },
7074
+ "scopes": [
7075
+ "https://www.googleapis.com/auth/cloud-platform"
7076
+ ]
7077
+ },
7078
+ "get": {
7079
+ "description": "Gets a SampleQuery.",
7080
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/sampleQueries/{sampleQueriesId}",
7081
+ "httpMethod": "GET",
7082
+ "id": "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.get",
7083
+ "parameterOrder": [
7084
+ "name"
7085
+ ],
7086
+ "parameters": {
7087
+ "name": {
7088
+ "description": "Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. If the caller does not have permission to access the SampleQuery, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuery does not exist, a NOT_FOUND error is returned.",
7089
+ "location": "path",
7090
+ "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+/sampleQueries/[^/]+$",
7091
+ "required": true,
7092
+ "type": "string"
7093
+ }
7094
+ },
7095
+ "path": "v1alpha/{+name}",
7096
+ "response": {
7097
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
7098
+ },
7099
+ "scopes": [
7100
+ "https://www.googleapis.com/auth/cloud-platform"
7101
+ ]
7102
+ },
7103
+ "import": {
7104
+ "description": "Bulk import of multiple SampleQuerys. Sample queries that already exist may be deleted. Note: It is possible for a subset of the SampleQuerys to be successfully imported.",
7105
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/sampleQueries:import",
7106
+ "httpMethod": "POST",
7107
+ "id": "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.import",
7108
+ "parameterOrder": [
7109
+ "parent"
7110
+ ],
7111
+ "parameters": {
7112
+ "parent": {
7113
+ "description": "Required. The parent sample query set resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to list SampleQuerys under this sample query set, regardless of whether or not this sample query set exists, a `PERMISSION_DENIED` error is returned.",
7114
+ "location": "path",
7115
+ "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+$",
6736
7116
  "required": true,
6737
7117
  "type": "string"
7118
+ }
7119
+ },
7120
+ "path": "v1alpha/{+parent}/sampleQueries:import",
7121
+ "request": {
7122
+ "$ref": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest"
7123
+ },
7124
+ "response": {
7125
+ "$ref": "GoogleLongrunningOperation"
7126
+ },
7127
+ "scopes": [
7128
+ "https://www.googleapis.com/auth/cloud-platform"
7129
+ ]
6738
7130
  },
7131
+ "list": {
7132
+ "description": "Gets a list of SampleQuerys.",
7133
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/sampleQueries",
7134
+ "httpMethod": "GET",
7135
+ "id": "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.list",
7136
+ "parameterOrder": [
7137
+ "parent"
7138
+ ],
7139
+ "parameters": {
6739
7140
  "pageSize": {
6740
- "description": "The standard list page size.",
7141
+ "description": "Maximum number of SampleQuerys to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.",
6741
7142
  "format": "int32",
6742
7143
  "location": "query",
6743
7144
  "type": "integer"
6744
7145
  },
6745
7146
  "pageToken": {
6746
- "description": "The standard list page token.",
7147
+ "description": "A page token ListSampleQueriesResponse.next_page_token, received from a previous SampleQueryService.ListSampleQueries call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SampleQueryService.ListSampleQueries must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.",
6747
7148
  "location": "query",
6748
7149
  "type": "string"
7150
+ },
7151
+ "parent": {
7152
+ "description": "Required. The parent sample query set resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to list SampleQuerys under this sample query set, regardless of whether or not this sample query set exists, a `PERMISSION_DENIED` error is returned.",
7153
+ "location": "path",
7154
+ "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+$",
7155
+ "required": true,
7156
+ "type": "string"
6749
7157
  }
6750
7158
  },
6751
- "path": "v1alpha/{+name}/operations",
7159
+ "path": "v1alpha/{+parent}/sampleQueries",
6752
7160
  "response": {
6753
- "$ref": "GoogleLongrunningListOperationsResponse"
7161
+ "$ref": "GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse"
6754
7162
  },
6755
7163
  "scopes": [
6756
7164
  "https://www.googleapis.com/auth/cloud-platform"
6757
7165
  ]
7166
+ },
7167
+ "patch": {
7168
+ "description": "Updates a SampleQuery.",
7169
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/sampleQueries/{sampleQueriesId}",
7170
+ "httpMethod": "PATCH",
7171
+ "id": "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.patch",
7172
+ "parameterOrder": [
7173
+ "name"
7174
+ ],
7175
+ "parameters": {
7176
+ "name": {
7177
+ "description": "Immutable. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
7178
+ "location": "path",
7179
+ "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+/sampleQueries/[^/]+$",
7180
+ "required": true,
7181
+ "type": "string"
7182
+ },
7183
+ "updateMask": {
7184
+ "description": "Indicates which fields in the provided imported 'simple query' to update. If not set, will by default update all fields.",
7185
+ "format": "google-fieldmask",
7186
+ "location": "query",
7187
+ "type": "string"
6758
7188
  }
7189
+ },
7190
+ "path": "v1alpha/{+name}",
7191
+ "request": {
7192
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
7193
+ },
7194
+ "response": {
7195
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
7196
+ },
7197
+ "scopes": [
7198
+ "https://www.googleapis.com/auth/cloud-platform"
7199
+ ]
6759
7200
  }
6760
7201
  }
6761
7202
  }
6762
7203
  }
6763
7204
  },
6764
- "revision": "20240621",
6765
- "rootUrl": "https://discoveryengine.googleapis.com/",
6766
- "schemas": {
6767
- "GoogleApiDistribution": {
6768
- "description": "`Distribution` contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets. The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths. Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the `mean` and `sum_of_squared_deviation` fields meaningless.",
6769
- "id": "GoogleApiDistribution",
6770
- "properties": {
6771
- "bucketCounts": {
6772
- "description": "The number of values in each bucket of the histogram, as described in `bucket_options`. If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in `bucket_counts` must equal the value in the `count` field of the distribution. If present, `bucket_counts` should contain N values, where N is the number of buckets specified in `bucket_options`. If you supply fewer than N values, the remaining values are assumed to be 0. The order of the values in `bucket_counts` follows the bucket numbering schemes described for the three bucket types. The first value must be the count for the underflow bucket (number 0). The next N-2 values are the counts for the finite buckets (number 1 through N-2). The N'th value in `bucket_counts` is the count for the overflow bucket (number N-1).",
6773
- "items": {
7205
+ "userEvents": {
7206
+ "methods": {
7207
+ "collect": {
7208
+ "description": "Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.",
7209
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userEvents:collect",
7210
+ "httpMethod": "GET",
7211
+ "id": "discoveryengine.projects.locations.userEvents.collect",
7212
+ "parameterOrder": [
7213
+ "parent"
7214
+ ],
7215
+ "parameters": {
7216
+ "ets": {
7217
+ "description": "The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.",
6774
7218
  "format": "int64",
7219
+ "location": "query",
6775
7220
  "type": "string"
6776
7221
  },
6777
- "type": "array"
6778
- },
6779
- "bucketOptions": {
6780
- "$ref": "GoogleApiDistributionBucketOptions",
6781
- "description": "Defines the histogram bucket boundaries. If the distribution does not contain a histogram, then omit this field."
7222
+ "parent": {
7223
+ "description": "Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.",
7224
+ "location": "path",
7225
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
7226
+ "required": true,
7227
+ "type": "string"
6782
7228
  },
6783
- "count": {
6784
- "description": "The number of values in the population. Must be non-negative. This value must equal the sum of the values in `bucket_counts` if a histogram is provided.",
6785
- "format": "int64",
7229
+ "uri": {
7230
+ "description": "The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.",
7231
+ "location": "query",
6786
7232
  "type": "string"
6787
7233
  },
6788
- "exemplars": {
6789
- "description": "Must be in increasing order of `value` field.",
6790
- "items": {
6791
- "$ref": "GoogleApiDistributionExemplar"
7234
+ "userEvent": {
7235
+ "description": "Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.",
7236
+ "location": "query",
7237
+ "type": "string"
7238
+ }
6792
7239
  },
6793
- "type": "array"
7240
+ "path": "v1alpha/{+parent}/userEvents:collect",
7241
+ "response": {
7242
+ "$ref": "GoogleApiHttpBody"
6794
7243
  },
6795
- "mean": {
7244
+ "scopes": [
7245
+ "https://www.googleapis.com/auth/cloud-platform"
7246
+ ]
7247
+ },
7248
+ "write": {
7249
+ "description": "Writes a single user event.",
7250
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userEvents:write",
7251
+ "httpMethod": "POST",
7252
+ "id": "discoveryengine.projects.locations.userEvents.write",
7253
+ "parameterOrder": [
7254
+ "parent"
7255
+ ],
7256
+ "parameters": {
7257
+ "parent": {
7258
+ "description": "Required. The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.",
7259
+ "location": "path",
7260
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
7261
+ "required": true,
7262
+ "type": "string"
7263
+ },
7264
+ "writeAsync": {
7265
+ "description": "If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.",
7266
+ "location": "query",
7267
+ "type": "boolean"
7268
+ }
7269
+ },
7270
+ "path": "v1alpha/{+parent}/userEvents:write",
7271
+ "request": {
7272
+ "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent"
7273
+ },
7274
+ "response": {
7275
+ "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent"
7276
+ },
7277
+ "scopes": [
7278
+ "https://www.googleapis.com/auth/cloud-platform"
7279
+ ]
7280
+ }
7281
+ }
7282
+ }
7283
+ }
7284
+ },
7285
+ "operations": {
7286
+ "methods": {
7287
+ "get": {
7288
+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
7289
+ "flatPath": "v1alpha/projects/{projectsId}/operations/{operationsId}",
7290
+ "httpMethod": "GET",
7291
+ "id": "discoveryengine.projects.operations.get",
7292
+ "parameterOrder": [
7293
+ "name"
7294
+ ],
7295
+ "parameters": {
7296
+ "name": {
7297
+ "description": "The name of the operation resource.",
7298
+ "location": "path",
7299
+ "pattern": "^projects/[^/]+/operations/[^/]+$",
7300
+ "required": true,
7301
+ "type": "string"
7302
+ }
7303
+ },
7304
+ "path": "v1alpha/{+name}",
7305
+ "response": {
7306
+ "$ref": "GoogleLongrunningOperation"
7307
+ },
7308
+ "scopes": [
7309
+ "https://www.googleapis.com/auth/cloud-platform"
7310
+ ]
7311
+ },
7312
+ "list": {
7313
+ "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
7314
+ "flatPath": "v1alpha/projects/{projectsId}/operations",
7315
+ "httpMethod": "GET",
7316
+ "id": "discoveryengine.projects.operations.list",
7317
+ "parameterOrder": [
7318
+ "name"
7319
+ ],
7320
+ "parameters": {
7321
+ "filter": {
7322
+ "description": "The standard list filter.",
7323
+ "location": "query",
7324
+ "type": "string"
7325
+ },
7326
+ "name": {
7327
+ "description": "The name of the operation's parent resource.",
7328
+ "location": "path",
7329
+ "pattern": "^projects/[^/]+$",
7330
+ "required": true,
7331
+ "type": "string"
7332
+ },
7333
+ "pageSize": {
7334
+ "description": "The standard list page size.",
7335
+ "format": "int32",
7336
+ "location": "query",
7337
+ "type": "integer"
7338
+ },
7339
+ "pageToken": {
7340
+ "description": "The standard list page token.",
7341
+ "location": "query",
7342
+ "type": "string"
7343
+ }
7344
+ },
7345
+ "path": "v1alpha/{+name}/operations",
7346
+ "response": {
7347
+ "$ref": "GoogleLongrunningListOperationsResponse"
7348
+ },
7349
+ "scopes": [
7350
+ "https://www.googleapis.com/auth/cloud-platform"
7351
+ ]
7352
+ }
7353
+ }
7354
+ }
7355
+ }
7356
+ }
7357
+ },
7358
+ "revision": "20240715",
7359
+ "rootUrl": "https://discoveryengine.googleapis.com/",
7360
+ "schemas": {
7361
+ "GoogleApiDistribution": {
7362
+ "description": "`Distribution` contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets. The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths. Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the `mean` and `sum_of_squared_deviation` fields meaningless.",
7363
+ "id": "GoogleApiDistribution",
7364
+ "properties": {
7365
+ "bucketCounts": {
7366
+ "description": "The number of values in each bucket of the histogram, as described in `bucket_options`. If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in `bucket_counts` must equal the value in the `count` field of the distribution. If present, `bucket_counts` should contain N values, where N is the number of buckets specified in `bucket_options`. If you supply fewer than N values, the remaining values are assumed to be 0. The order of the values in `bucket_counts` follows the bucket numbering schemes described for the three bucket types. The first value must be the count for the underflow bucket (number 0). The next N-2 values are the counts for the finite buckets (number 1 through N-2). The N'th value in `bucket_counts` is the count for the overflow bucket (number N-1).",
7367
+ "items": {
7368
+ "format": "int64",
7369
+ "type": "string"
7370
+ },
7371
+ "type": "array"
7372
+ },
7373
+ "bucketOptions": {
7374
+ "$ref": "GoogleApiDistributionBucketOptions",
7375
+ "description": "Defines the histogram bucket boundaries. If the distribution does not contain a histogram, then omit this field."
7376
+ },
7377
+ "count": {
7378
+ "description": "The number of values in the population. Must be non-negative. This value must equal the sum of the values in `bucket_counts` if a histogram is provided.",
7379
+ "format": "int64",
7380
+ "type": "string"
7381
+ },
7382
+ "exemplars": {
7383
+ "description": "Must be in increasing order of `value` field.",
7384
+ "items": {
7385
+ "$ref": "GoogleApiDistributionExemplar"
7386
+ },
7387
+ "type": "array"
7388
+ },
7389
+ "mean": {
6796
7390
  "description": "The arithmetic mean of the values in the population. If `count` is zero then this field must be zero.",
6797
7391
  "format": "double",
6798
7392
  "type": "number"
@@ -7587,7 +8181,7 @@
7587
8181
  "additionalProperties": {
7588
8182
  "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig"
7589
8183
  },
7590
- "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.",
8184
+ "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.",
7591
8185
  "type": "object"
7592
8186
  }
7593
8187
  },
@@ -8875,7 +9469,7 @@
8875
9469
  "type": "string"
8876
9470
  },
8877
9471
  "searchResultMode": {
8878
- "description": "Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)",
9472
+ "description": "Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)",
8879
9473
  "enum": [
8880
9474
  "SEARCH_RESULT_MODE_UNSPECIFIED",
8881
9475
  "DOCUMENTS",
@@ -9026,7 +9620,7 @@
9026
9620
  "properties": {
9027
9621
  "answer": {
9028
9622
  "$ref": "GoogleCloudDiscoveryengineV1alphaAnswer",
9029
- "description": "Answer resource object. If AnswerQueryRequest.StepSpec.max_step_count is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API."
9623
+ "description": "Answer resource object. If AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_steps is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API."
9030
9624
  },
9031
9625
  "answerQueryToken": {
9032
9626
  "description": "A global unique ID used for logging.",
@@ -9285,6 +9879,14 @@
9285
9879
  },
9286
9880
  "type": "array"
9287
9881
  },
9882
+ "structData": {
9883
+ "additionalProperties": {
9884
+ "description": "Properties of the object.",
9885
+ "type": "any"
9886
+ },
9887
+ "description": "Data representation. The structured JSON data for the document. It's populated from the struct data from the Document , or the Chunk in search result .",
9888
+ "type": "object"
9889
+ },
9288
9890
  "title": {
9289
9891
  "description": "Title.",
9290
9892
  "type": "string"
@@ -9684,7 +10286,7 @@
9684
10286
  "type": "string"
9685
10287
  },
9686
10288
  "resources": {
9687
- "description": "The type needed for the monitored resources: * `discoveryengine.googleapis.com/Branch`. * The labels needed for this resource: * `project_number` * `location_id` * `collection_id` * `datastore_id` * `branch_id` * `discoveryengine.googleapis.com/DataStore` * The labels needed for this resource: * `project_number` * `location_id` * `collection_id` * `datastore_id`",
10289
+ "description": "The type needed for the monitored resources: * `discoveryengine.googleapis.com/Branch`. * The labels needed for this resource: * `project`_`number` * `location`_`id` * `collection`_`id` * `datastore`_`id` * `branch`_`id` * `discoveryengine.googleapis.com/DataStore` * The labels needed for this resource: * `project`_`number` * `location`_`id` * `collection`_`id` * `datastore`_`id`",
9688
10290
  "items": {
9689
10291
  "$ref": "GoogleApiMonitoredResource"
9690
10292
  },
@@ -10382,6 +10984,12 @@
10382
10984
  },
10383
10985
  "type": "object"
10384
10986
  },
10987
+ "GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata": {
10988
+ "description": "Metadata for EvaluationService.CreateEvaluation method.",
10989
+ "id": "GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata",
10990
+ "properties": {},
10991
+ "type": "object"
10992
+ },
10385
10993
  "GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata": {
10386
10994
  "description": "Metadata for Create Schema LRO.",
10387
10995
  "id": "GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata",
@@ -10469,6 +11077,7 @@
10469
11077
  "id": "GoogleCloudDiscoveryengineV1alphaCustomTuningModel",
10470
11078
  "properties": {
10471
11079
  "createTime": {
11080
+ "deprecated": true,
10472
11081
  "description": "Timestamp the Model was created at.",
10473
11082
  "format": "google-datetime",
10474
11083
  "type": "string"
@@ -10477,6 +11086,14 @@
10477
11086
  "description": "The display name of the model.",
10478
11087
  "type": "string"
10479
11088
  },
11089
+ "metrics": {
11090
+ "additionalProperties": {
11091
+ "format": "double",
11092
+ "type": "number"
11093
+ },
11094
+ "description": "The metrics of the trained model.",
11095
+ "type": "object"
11096
+ },
10480
11097
  "modelState": {
10481
11098
  "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).",
10482
11099
  "enum": [
@@ -10485,7 +11102,8 @@
10485
11102
  "TRAINING",
10486
11103
  "TRAINING_COMPLETE",
10487
11104
  "READY_FOR_SERVING",
10488
- "TRAINING_FAILED"
11105
+ "TRAINING_FAILED",
11106
+ "NO_IMPROVEMENT"
10489
11107
  ],
10490
11108
  "enumDescriptions": [
10491
11109
  "Default value.",
@@ -10493,7 +11111,8 @@
10493
11111
  "The model is currently training.",
10494
11112
  "The model has successfully completed training.",
10495
11113
  "The model is ready for serving.",
10496
- "The model training failed."
11114
+ "The model training failed.",
11115
+ "The model training finished successfully but metrics did not improve."
10497
11116
  ],
10498
11117
  "type": "string"
10499
11118
  },
@@ -10868,7 +11487,7 @@
10868
11487
  "additionalProperties": {
10869
11488
  "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig"
10870
11489
  },
10871
- "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.",
11490
+ "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.",
10872
11491
  "type": "object"
10873
11492
  }
10874
11493
  },
@@ -11397,6 +12016,128 @@
11397
12016
  },
11398
12017
  "type": "object"
11399
12018
  },
12019
+ "GoogleCloudDiscoveryengineV1alphaEvaluation": {
12020
+ "description": "An evaluation is a single execution (or run) of an evaluation process. It encapsulates the state of the evaluation and the resulting data.",
12021
+ "id": "GoogleCloudDiscoveryengineV1alphaEvaluation",
12022
+ "properties": {
12023
+ "createTime": {
12024
+ "description": "Output only. Timestamp the Evaluation was created at.",
12025
+ "format": "google-datetime",
12026
+ "readOnly": true,
12027
+ "type": "string"
12028
+ },
12029
+ "endTime": {
12030
+ "description": "Output only. Timestamp the Evaluation was completed at.",
12031
+ "format": "google-datetime",
12032
+ "readOnly": true,
12033
+ "type": "string"
12034
+ },
12035
+ "error": {
12036
+ "$ref": "GoogleRpcStatus",
12037
+ "description": "Output only. The error that occurred during evaluation. Only populated when the evaluation's state is FAILED.",
12038
+ "readOnly": true
12039
+ },
12040
+ "errorSamples": {
12041
+ "description": "Output only. A sample of errors encountered while processing the request.",
12042
+ "items": {
12043
+ "$ref": "GoogleRpcStatus"
12044
+ },
12045
+ "readOnly": true,
12046
+ "type": "array"
12047
+ },
12048
+ "evaluationSpec": {
12049
+ "$ref": "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec",
12050
+ "description": "Required. The specification of the evaluation."
12051
+ },
12052
+ "name": {
12053
+ "description": "Immutable. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
12054
+ "type": "string"
12055
+ },
12056
+ "qualityMetrics": {
12057
+ "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetrics",
12058
+ "description": "Output only. The metrics produced by the evaluation, averaged across all SampleQuerys in the SampleQuerySet. Only populated when the evaluation's state is SUCCEEDED.",
12059
+ "readOnly": true
12060
+ },
12061
+ "state": {
12062
+ "description": "Output only. The state of the evaluation.",
12063
+ "enum": [
12064
+ "STATE_UNSPECIFIED",
12065
+ "PENDING",
12066
+ "RUNNING",
12067
+ "SUCCEEDED",
12068
+ "FAILED"
12069
+ ],
12070
+ "enumDescriptions": [
12071
+ "The evaluation is unspecified.",
12072
+ "The service is preparing to run the evaluation.",
12073
+ "The evaluation is in progress.",
12074
+ "The evaluation completed successfully.",
12075
+ "The evaluation failed."
12076
+ ],
12077
+ "readOnly": true,
12078
+ "type": "string"
12079
+ }
12080
+ },
12081
+ "type": "object"
12082
+ },
12083
+ "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec": {
12084
+ "description": "Describes the specification of the evaluation.",
12085
+ "id": "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec",
12086
+ "properties": {
12087
+ "querySetSpec": {
12088
+ "$ref": "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec",
12089
+ "description": "Required. The specification of the query set."
12090
+ },
12091
+ "searchRequest": {
12092
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequest",
12093
+ "description": "Required. The search request that is used to perform the evaluation. Only the following fields within SearchRequest are supported; if any other fields are provided, an UNSUPPORTED error will be returned: * SearchRequest.serving_config * SearchRequest.branch * SearchRequest.canonical_filter * SearchRequest.query_expansion_spec * SearchRequest.spell_correction_spec * SearchRequest.content_search_spec * SearchRequest.user_pseudo_id"
12094
+ }
12095
+ },
12096
+ "type": "object"
12097
+ },
12098
+ "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec": {
12099
+ "description": "Describes the specification of the query set.",
12100
+ "id": "GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec",
12101
+ "properties": {
12102
+ "sampleQuerySet": {
12103
+ "description": "Required. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.",
12104
+ "type": "string"
12105
+ }
12106
+ },
12107
+ "type": "object"
12108
+ },
12109
+ "GoogleCloudDiscoveryengineV1alphaExportUserEventsMetadata": {
12110
+ "description": "Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field.",
12111
+ "id": "GoogleCloudDiscoveryengineV1alphaExportUserEventsMetadata",
12112
+ "properties": {
12113
+ "createTime": {
12114
+ "description": "Operation create time.",
12115
+ "format": "google-datetime",
12116
+ "type": "string"
12117
+ },
12118
+ "updateTime": {
12119
+ "description": "Operation last update time. If the operation is done, this is also the finish time.",
12120
+ "format": "google-datetime",
12121
+ "type": "string"
12122
+ }
12123
+ },
12124
+ "type": "object"
12125
+ },
12126
+ "GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse": {
12127
+ "description": "Response of the ExportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field.",
12128
+ "id": "GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse",
12129
+ "properties": {
12130
+ "outputResult": {
12131
+ "$ref": "GoogleCloudDiscoveryengineV1alphaOutputResult",
12132
+ "description": "Output result indicating where the data were exported to."
12133
+ },
12134
+ "status": {
12135
+ "$ref": "GoogleRpcStatus",
12136
+ "description": "The status of the export operation."
12137
+ }
12138
+ },
12139
+ "type": "object"
12140
+ },
11400
12141
  "GoogleCloudDiscoveryengineV1alphaFactChunk": {
11401
12142
  "description": "Fact Chunk.",
11402
12143
  "id": "GoogleCloudDiscoveryengineV1alphaFactChunk",
@@ -11654,6 +12395,24 @@
11654
12395
  },
11655
12396
  "type": "object"
11656
12397
  },
12398
+ "GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse": {
12399
+ "description": "Response message for SiteSearchEngineService.GetUriPatternDocumentData method.",
12400
+ "id": "GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse",
12401
+ "properties": {
12402
+ "documentDataMap": {
12403
+ "additionalProperties": {
12404
+ "additionalProperties": {
12405
+ "description": "Properties of the object.",
12406
+ "type": "any"
12407
+ },
12408
+ "type": "object"
12409
+ },
12410
+ "description": "Document data keyed by URI pattern. For example: document_data_map = { \"www.url1.com/*\": { \"Categories\": [\"category1\", \"category2\"] }, \"www.url2.com/*\": { \"Categories\": [\"category3\"] } }",
12411
+ "type": "object"
12412
+ }
12413
+ },
12414
+ "type": "object"
12415
+ },
11657
12416
  "GoogleCloudDiscoveryengineV1alphaGroundingFact": {
11658
12417
  "description": "Grounding Fact.",
11659
12418
  "id": "GoogleCloudDiscoveryengineV1alphaGroundingFact",
@@ -11959,9 +12718,96 @@
11959
12718
  },
11960
12719
  "type": "object"
11961
12720
  },
11962
- "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata": {
11963
- "description": "Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.",
11964
- "id": "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata",
12721
+ "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata": {
12722
+ "description": "Metadata related to the progress of the ImportSampleQueries operation. This will be returned by the google.longrunning.Operation.metadata field.",
12723
+ "id": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata",
12724
+ "properties": {
12725
+ "createTime": {
12726
+ "description": "ImportSampleQueries operation create time.",
12727
+ "format": "google-datetime",
12728
+ "type": "string"
12729
+ },
12730
+ "failureCount": {
12731
+ "description": "Count of SampleQuerys that failed to be imported.",
12732
+ "format": "int64",
12733
+ "type": "string"
12734
+ },
12735
+ "successCount": {
12736
+ "description": "Count of SampleQuerys successfully imported.",
12737
+ "format": "int64",
12738
+ "type": "string"
12739
+ },
12740
+ "totalCount": {
12741
+ "description": "Total count of SampleQuerys that were processed.",
12742
+ "format": "int64",
12743
+ "type": "string"
12744
+ },
12745
+ "updateTime": {
12746
+ "description": "ImportSampleQueries operation last update time. If the operation is done, this is also the finish time.",
12747
+ "format": "google-datetime",
12748
+ "type": "string"
12749
+ }
12750
+ },
12751
+ "type": "object"
12752
+ },
12753
+ "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest": {
12754
+ "description": "Request message for SampleQueryService.ImportSampleQueries method.",
12755
+ "id": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest",
12756
+ "properties": {
12757
+ "bigquerySource": {
12758
+ "$ref": "GoogleCloudDiscoveryengineV1alphaBigQuerySource",
12759
+ "description": "BigQuery input source."
12760
+ },
12761
+ "errorConfig": {
12762
+ "$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig",
12763
+ "description": "The desired location of errors incurred during the Import."
12764
+ },
12765
+ "gcsSource": {
12766
+ "$ref": "GoogleCloudDiscoveryengineV1alphaGcsSource",
12767
+ "description": "Cloud Storage location for the input content."
12768
+ },
12769
+ "inlineSource": {
12770
+ "$ref": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource",
12771
+ "description": "The Inline source for sample query entries."
12772
+ }
12773
+ },
12774
+ "type": "object"
12775
+ },
12776
+ "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource": {
12777
+ "description": "The inline source for SampleQuerys.",
12778
+ "id": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequestInlineSource",
12779
+ "properties": {
12780
+ "sampleQueries": {
12781
+ "description": "Required. A list of SampleQuerys to import. Max of 1000 items.",
12782
+ "items": {
12783
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
12784
+ },
12785
+ "type": "array"
12786
+ }
12787
+ },
12788
+ "type": "object"
12789
+ },
12790
+ "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse": {
12791
+ "description": "Response of the SampleQueryService.ImportSampleQueries method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
12792
+ "id": "GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse",
12793
+ "properties": {
12794
+ "errorConfig": {
12795
+ "$ref": "GoogleCloudDiscoveryengineV1alphaImportErrorConfig",
12796
+ "description": "The desired location of errors incurred during the Import."
12797
+ },
12798
+ "errorSamples": {
12799
+ "description": "A sample of errors encountered while processing the request.",
12800
+ "items": {
12801
+ "$ref": "GoogleRpcStatus"
12802
+ },
12803
+ "type": "array"
12804
+ }
12805
+ },
12806
+ "type": "object"
12807
+ },
12808
+ "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata": {
12809
+ "description": "Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.",
12810
+ "id": "GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata",
11965
12811
  "properties": {
11966
12812
  "createTime": {
11967
12813
  "description": "Operation create time.",
@@ -12296,6 +13142,95 @@
12296
13142
  },
12297
13143
  "type": "object"
12298
13144
  },
13145
+ "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse": {
13146
+ "description": "Response message for EvaluationService.ListEvaluationResults method.",
13147
+ "id": "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse",
13148
+ "properties": {
13149
+ "evaluationResults": {
13150
+ "description": "The EvaluationResults.",
13151
+ "items": {
13152
+ "$ref": "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult"
13153
+ },
13154
+ "type": "array"
13155
+ },
13156
+ "nextPageToken": {
13157
+ "description": "A token that can be sent as ListEvaluationResultsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
13158
+ "type": "string"
13159
+ }
13160
+ },
13161
+ "type": "object"
13162
+ },
13163
+ "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult": {
13164
+ "description": "Represents the results of an evaluation for a single SampleQuery.",
13165
+ "id": "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult",
13166
+ "properties": {
13167
+ "qualityMetrics": {
13168
+ "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetrics",
13169
+ "description": "Output only. The metrics produced by the evaluation, for a given SampleQuery.",
13170
+ "readOnly": true
13171
+ },
13172
+ "sampleQuery": {
13173
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery",
13174
+ "description": "Output only. The SampleQuery that was evaluated.",
13175
+ "readOnly": true
13176
+ }
13177
+ },
13178
+ "type": "object"
13179
+ },
13180
+ "GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse": {
13181
+ "description": "Response message for EvaluationService.ListEvaluations method.",
13182
+ "id": "GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse",
13183
+ "properties": {
13184
+ "evaluations": {
13185
+ "description": "The Evaluations.",
13186
+ "items": {
13187
+ "$ref": "GoogleCloudDiscoveryengineV1alphaEvaluation"
13188
+ },
13189
+ "type": "array"
13190
+ },
13191
+ "nextPageToken": {
13192
+ "description": "A token that can be sent as ListEvaluationsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
13193
+ "type": "string"
13194
+ }
13195
+ },
13196
+ "type": "object"
13197
+ },
13198
+ "GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse": {
13199
+ "description": "Response message for SampleQueryService.ListSampleQueries method.",
13200
+ "id": "GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse",
13201
+ "properties": {
13202
+ "nextPageToken": {
13203
+ "description": "A token that can be sent as ListSampleQueriesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
13204
+ "type": "string"
13205
+ },
13206
+ "sampleQueries": {
13207
+ "description": "The SampleQuerys.",
13208
+ "items": {
13209
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery"
13210
+ },
13211
+ "type": "array"
13212
+ }
13213
+ },
13214
+ "type": "object"
13215
+ },
13216
+ "GoogleCloudDiscoveryengineV1alphaListSampleQuerySetsResponse": {
13217
+ "description": "Response message for SampleQuerySetService.ListSampleQuerySets method.",
13218
+ "id": "GoogleCloudDiscoveryengineV1alphaListSampleQuerySetsResponse",
13219
+ "properties": {
13220
+ "nextPageToken": {
13221
+ "description": "A token that can be sent as ListSampleQuerySetsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
13222
+ "type": "string"
13223
+ },
13224
+ "sampleQuerySets": {
13225
+ "description": "The SampleQuerySets.",
13226
+ "items": {
13227
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet"
13228
+ },
13229
+ "type": "array"
13230
+ }
13231
+ },
13232
+ "type": "object"
13233
+ },
12299
13234
  "GoogleCloudDiscoveryengineV1alphaListSchemasResponse": {
12300
13235
  "description": "Response message for SchemaService.ListSchemas method.",
12301
13236
  "id": "GoogleCloudDiscoveryengineV1alphaListSchemasResponse",
@@ -12390,6 +13325,32 @@
12390
13325
  },
12391
13326
  "type": "object"
12392
13327
  },
13328
+ "GoogleCloudDiscoveryengineV1alphaOutputResult": {
13329
+ "description": "Output result that stores the information about where the exported data is stored.",
13330
+ "id": "GoogleCloudDiscoveryengineV1alphaOutputResult",
13331
+ "properties": {
13332
+ "bigqueryResult": {
13333
+ "$ref": "GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult",
13334
+ "description": "The BigQuery location where the result is stored."
13335
+ }
13336
+ },
13337
+ "type": "object"
13338
+ },
13339
+ "GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult": {
13340
+ "description": "A BigQuery output result.",
13341
+ "id": "GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult",
13342
+ "properties": {
13343
+ "datasetId": {
13344
+ "description": "The ID of a BigQuery Dataset.",
13345
+ "type": "string"
13346
+ },
13347
+ "tableId": {
13348
+ "description": "The ID of a BigQuery Table.",
13349
+ "type": "string"
13350
+ }
13351
+ },
13352
+ "type": "object"
13353
+ },
12393
13354
  "GoogleCloudDiscoveryengineV1alphaPageInfo": {
12394
13355
  "description": "Detailed page information.",
12395
13356
  "id": "GoogleCloudDiscoveryengineV1alphaPageInfo",
@@ -12790,6 +13751,60 @@
12790
13751
  },
12791
13752
  "type": "object"
12792
13753
  },
13754
+ "GoogleCloudDiscoveryengineV1alphaQualityMetrics": {
13755
+ "description": "Describes the metrics produced by the evaluation.",
13756
+ "id": "GoogleCloudDiscoveryengineV1alphaQualityMetrics",
13757
+ "properties": {
13758
+ "docNdcg": {
13759
+ "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics",
13760
+ "description": "Normalized discounted cumulative gain (NDCG) per document, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved documents (D1, D2, D3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [D3 (0), D1 (1), D2 (1)] Ideal: [D1 (1), D2 (1), D3 (0)] Calculate NDCG@3 for each SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693"
13761
+ },
13762
+ "docPrecision": {
13763
+ "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics",
13764
+ "description": "Precision per document, at various top-k cutoff levels. Precision is the fraction of retrieved documents that are relevant. Example (top-5): * For a single SampleQuery, If 4 out of 5 retrieved documents in the top-5 are relevant, precision@5 = 4/5 = 0.8"
13765
+ },
13766
+ "docRecall": {
13767
+ "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics",
13768
+ "description": "Recall per document, at various top-k cutoff levels. Recall is the fraction of relevant documents retrieved out of all relevant documents. Example (top-5): * For a single SampleQuery, If 3 out of 5 relevant documents are retrieved in the top-5, recall@5 = 3/5 = 0.6"
13769
+ },
13770
+ "pageNdcg": {
13771
+ "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics",
13772
+ "description": "Normalized discounted cumulative gain (NDCG) per page, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved pages (P1, P2, P3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [P3 (0), P1 (1), P2 (1)] Ideal: [P1 (1), P2 (1), P3 (0)] Calculate NDCG@3 for SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693"
13773
+ },
13774
+ "pageRecall": {
13775
+ "$ref": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics",
13776
+ "description": "Recall per page, at various top-k cutoff levels. Recall is the fraction of relevant pages retrieved out of all relevant pages. Example (top-5): * For a single SampleQuery, if 3 out of 5 relevant pages are retrieved in the top-5, recall@5 = 3/5 = 0.6"
13777
+ }
13778
+ },
13779
+ "type": "object"
13780
+ },
13781
+ "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics": {
13782
+ "description": "Stores the metric values at specific top-k levels.",
13783
+ "id": "GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics",
13784
+ "properties": {
13785
+ "top1": {
13786
+ "description": "The top-1 value.",
13787
+ "format": "double",
13788
+ "type": "number"
13789
+ },
13790
+ "top10": {
13791
+ "description": "The top-10 value.",
13792
+ "format": "double",
13793
+ "type": "number"
13794
+ },
13795
+ "top3": {
13796
+ "description": "The top-3 value.",
13797
+ "format": "double",
13798
+ "type": "number"
13799
+ },
13800
+ "top5": {
13801
+ "description": "The top-5 value.",
13802
+ "format": "double",
13803
+ "type": "number"
13804
+ }
13805
+ },
13806
+ "type": "object"
13807
+ },
12793
13808
  "GoogleCloudDiscoveryengineV1alphaQuery": {
12794
13809
  "description": "Defines a user inputed query.",
12795
13810
  "id": "GoogleCloudDiscoveryengineV1alphaQuery",
@@ -13290,6 +14305,94 @@
13290
14305
  "properties": {},
13291
14306
  "type": "object"
13292
14307
  },
14308
+ "GoogleCloudDiscoveryengineV1alphaSampleQuery": {
14309
+ "description": "Sample Query captures metadata to be used for evaluation.",
14310
+ "id": "GoogleCloudDiscoveryengineV1alphaSampleQuery",
14311
+ "properties": {
14312
+ "createTime": {
14313
+ "description": "Output only. Timestamp the SampleQuery was created at.",
14314
+ "format": "google-datetime",
14315
+ "readOnly": true,
14316
+ "type": "string"
14317
+ },
14318
+ "name": {
14319
+ "description": "Immutable. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
14320
+ "type": "string"
14321
+ },
14322
+ "queryEntry": {
14323
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry",
14324
+ "description": "The query entry."
14325
+ }
14326
+ },
14327
+ "type": "object"
14328
+ },
14329
+ "GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry": {
14330
+ "description": "Query Entry captures metadata to be used for search evaluation.",
14331
+ "id": "GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry",
14332
+ "properties": {
14333
+ "query": {
14334
+ "description": "Required. The query.",
14335
+ "type": "string"
14336
+ },
14337
+ "targets": {
14338
+ "description": "List of targets for the query.",
14339
+ "items": {
14340
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntryTarget"
14341
+ },
14342
+ "type": "array"
14343
+ }
14344
+ },
14345
+ "type": "object"
14346
+ },
14347
+ "GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntryTarget": {
14348
+ "description": "Defines the parameters of the query's expected outcome.",
14349
+ "id": "GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntryTarget",
14350
+ "properties": {
14351
+ "pageNumbers": {
14352
+ "description": "Expected page numbers of the target. Each page number must be non negative.",
14353
+ "items": {
14354
+ "format": "int32",
14355
+ "type": "integer"
14356
+ },
14357
+ "type": "array"
14358
+ },
14359
+ "score": {
14360
+ "description": "Relevance score of the target.",
14361
+ "format": "double",
14362
+ "type": "number"
14363
+ },
14364
+ "uri": {
14365
+ "description": "Expected uri of the target. This field must be a UTF-8 encoded string with a length limit of 2048 characters. Example of valid uris: `https://example.com/abc`, `gcs://example/example.pdf`.",
14366
+ "type": "string"
14367
+ }
14368
+ },
14369
+ "type": "object"
14370
+ },
14371
+ "GoogleCloudDiscoveryengineV1alphaSampleQuerySet": {
14372
+ "description": "A SampleQuerySet is the parent resource of SampleQuery, and contains the configurations shared by all SampleQuery under it.",
14373
+ "id": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet",
14374
+ "properties": {
14375
+ "createTime": {
14376
+ "description": "Output only. Timestamp the SampleQuerySet was created at.",
14377
+ "format": "google-datetime",
14378
+ "readOnly": true,
14379
+ "type": "string"
14380
+ },
14381
+ "description": {
14382
+ "description": "The description of the SampleQuerySet.",
14383
+ "type": "string"
14384
+ },
14385
+ "displayName": {
14386
+ "description": "Required. The sample query set display name. This field must be a UTF-8 encoded string with a length limit of 128 characters.",
14387
+ "type": "string"
14388
+ },
14389
+ "name": {
14390
+ "description": "Immutable. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
14391
+ "type": "string"
14392
+ }
14393
+ },
14394
+ "type": "object"
14395
+ },
13293
14396
  "GoogleCloudDiscoveryengineV1alphaSchema": {
13294
14397
  "description": "Defines the structure and layout of a type of document data.",
13295
14398
  "id": "GoogleCloudDiscoveryengineV1alphaSchema",
@@ -13363,7 +14466,7 @@
13363
14466
  },
13364
14467
  "customFineTuningSpec": {
13365
14468
  "$ref": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec",
13366
- "description": "Custom fine tuning configs."
14469
+ "description": "Custom fine tuning configs. If set, it has higher priority than the configs set in ServingConfig.custom_fine_tuning_spec."
13367
14470
  },
13368
14471
  "dataStoreSpecs": {
13369
14472
  "description": "Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.",
@@ -13395,6 +14498,10 @@
13395
14498
  "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate.",
13396
14499
  "type": "string"
13397
14500
  },
14501
+ "naturalLanguageQueryUnderstandingSpec": {
14502
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec",
14503
+ "description": "If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done."
14504
+ },
13398
14505
  "offset": {
13399
14506
  "description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned.",
13400
14507
  "format": "int32",
@@ -13429,7 +14536,7 @@
13429
14536
  "description": "The query expansion specification that specifies the conditions under which query expansion occurs."
13430
14537
  },
13431
14538
  "rankingExpression": {
13432
- "description": "The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joint by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: `relevance_score`: pre-defined keywords, used for measure relevance between query and document. `embedding_field_path`: the document embedding field used with query embedding vector. `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.",
14539
+ "description": "The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.",
13433
14540
  "type": "string"
13434
14541
  },
13435
14542
  "regionCode": {
@@ -13462,6 +14569,18 @@
13462
14569
  "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec",
13463
14570
  "description": "Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical."
13464
14571
  },
14572
+ "servingConfig": {
14573
+ "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.",
14574
+ "type": "string"
14575
+ },
14576
+ "session": {
14577
+ "description": "The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is \"How did Alphabet do in 2022?\" and the current query is \"How about 2023?\", the current query will be interpreted as \"How did Alphabet do in 2023?\". Example #2 (coordination between /search API calls and /answer API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Auto-session mode: when `projects/.../sessions/-` is used, a new session gets automatically created. Otherwise, users can use the create-session API to create a session manually. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.",
14578
+ "type": "string"
14579
+ },
14580
+ "sessionSpec": {
14581
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec",
14582
+ "description": "Session specification. Can be used only when `session` is set."
14583
+ },
13465
14584
  "spellCorrectionSpec": {
13466
14585
  "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec",
13467
14586
  "description": "The spell correction specification that specifies the mode under which spell correction takes effect."
@@ -13591,7 +14710,7 @@
13591
14710
  "description": "If there is no extractive_content_spec provided, there will be no extractive answer in the search response."
13592
14711
  },
13593
14712
  "searchResultMode": {
13594
- "description": "Specifies the search result mode. If unspecified, the search result mode is based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`. * Otherwise, it defaults to `DOCUMENTS`.",
14713
+ "description": "Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.",
13595
14714
  "enum": [
13596
14715
  "SEARCH_RESULT_MODE_UNSPECIFIED",
13597
14716
  "DOCUMENTS",
@@ -13748,7 +14867,7 @@
13748
14867
  "type": "object"
13749
14868
  },
13750
14869
  "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec": {
13751
- "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. A maximum of 1 DataStoreSpec per data_store is allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.",
14870
+ "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.",
13752
14871
  "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec",
13753
14872
  "properties": {
13754
14873
  "dataStore": {
@@ -13876,6 +14995,34 @@
13876
14995
  },
13877
14996
  "type": "object"
13878
14997
  },
14998
+ "GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec": {
14999
+ "description": "Specification to enable natural language understanding capabilities for search requests.",
15000
+ "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec",
15001
+ "properties": {
15002
+ "filterExtractionCondition": {
15003
+ "description": "The condition under which filter extraction should occur. Default to Condition.DISABLED.",
15004
+ "enum": [
15005
+ "CONDITION_UNSPECIFIED",
15006
+ "DISABLED",
15007
+ "ENABLED"
15008
+ ],
15009
+ "enumDescriptions": [
15010
+ "Server behavior defaults to Condition.DISABLED.",
15011
+ "Disables NL filter extraction.",
15012
+ "Enables NL filter extraction."
15013
+ ],
15014
+ "type": "string"
15015
+ },
15016
+ "geoSearchQueryDetectionFieldNames": {
15017
+ "description": "Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in ServingConfig.geo_search_query_detection_field_names.",
15018
+ "items": {
15019
+ "type": "string"
15020
+ },
15021
+ "type": "array"
15022
+ }
15023
+ },
15024
+ "type": "object"
15025
+ },
13879
15026
  "GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec": {
13880
15027
  "description": "Specification to determine under which conditions query expansion should occur.",
13881
15028
  "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec",
@@ -13922,13 +15069,29 @@
13922
15069
  },
13923
15070
  "type": "object"
13924
15071
  },
13925
- "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec": {
13926
- "description": "The specification for query spell correction.",
13927
- "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec",
15072
+ "GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec": {
15073
+ "description": "Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.",
15074
+ "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec",
13928
15075
  "properties": {
13929
- "mode": {
13930
- "description": "The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO.",
13931
- "enum": [
15076
+ "queryId": {
15077
+ "description": "If set, the search result gets stored to the \"turn\" specified by this query ID. Example: Let's say the session looks like this: session { name: \".../sessions/xxx\" turns { query { text: \"What is foo?\" query_id: \".../questions/yyy\" } answer: \"Foo is ...\" } turns { query { text: \"How about bar then?\" query_id: \".../questions/zzz\" } } } The user can call /search API with a request like this: session: \".../sessions/xxx\" session_spec { query_id: \".../questions/zzz\" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID.",
15078
+ "type": "string"
15079
+ },
15080
+ "searchResultPersistenceCount": {
15081
+ "description": "The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is simliar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode.",
15082
+ "format": "int32",
15083
+ "type": "integer"
15084
+ }
15085
+ },
15086
+ "type": "object"
15087
+ },
15088
+ "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec": {
15089
+ "description": "The specification for query spell correction.",
15090
+ "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec",
15091
+ "properties": {
15092
+ "mode": {
15093
+ "description": "The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO.",
15094
+ "enum": [
13932
15095
  "MODE_UNSPECIFIED",
13933
15096
  "SUGGESTION_ONLY",
13934
15097
  "AUTO"
@@ -13979,6 +15142,10 @@
13979
15142
  "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult",
13980
15143
  "description": "Guided search result."
13981
15144
  },
15145
+ "naturalLanguageQueryUnderstandingInfo": {
15146
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo",
15147
+ "description": "Natural language query understanding information for the returned results."
15148
+ },
13982
15149
  "nextPageToken": {
13983
15150
  "description": "A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
13984
15151
  "type": "string"
@@ -13998,6 +15165,10 @@
13998
15165
  },
13999
15166
  "type": "array"
14000
15167
  },
15168
+ "sessionInfo": {
15169
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo",
15170
+ "description": "Session information. Only set if SearchRequest.session is provided. See its description for more details."
15171
+ },
14001
15172
  "summary": {
14002
15173
  "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummary",
14003
15174
  "description": "A summary as part of the search results. This field is only returned if SearchRequest.ContentSearchSpec.summary_spec is set."
@@ -14103,6 +15274,165 @@
14103
15274
  },
14104
15275
  "type": "object"
14105
15276
  },
15277
+ "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo": {
15278
+ "description": "Information describing what natural language understanding was done on the input query.",
15279
+ "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo",
15280
+ "properties": {
15281
+ "extractedFilters": {
15282
+ "description": "The filters that were extracted from the input query.",
15283
+ "type": "string"
15284
+ },
15285
+ "rewrittenQuery": {
15286
+ "description": "Rewritten input query minus the extracted filters.",
15287
+ "type": "string"
15288
+ },
15289
+ "structuredExtractedFilter": {
15290
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter",
15291
+ "description": "The filters that were extracted from the input query represented in a structured form."
15292
+ }
15293
+ },
15294
+ "type": "object"
15295
+ },
15296
+ "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter": {
15297
+ "description": "The filters that were extracted from the input query represented in a structured form.",
15298
+ "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter",
15299
+ "properties": {
15300
+ "expression": {
15301
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression",
15302
+ "description": "The expression denoting the filter that was extracted from the input query in a structured form. It can be a simple expression denoting a single string, numerical or geolocation constraint or a compound expression which is a combination of multiple expressions connected using logical (OR and AND) operators."
15303
+ }
15304
+ },
15305
+ "type": "object"
15306
+ },
15307
+ "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression": {
15308
+ "description": "Logical `And` operator.",
15309
+ "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression",
15310
+ "properties": {
15311
+ "expressions": {
15312
+ "description": "The expressions that were ANDed together.",
15313
+ "items": {
15314
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression"
15315
+ },
15316
+ "type": "array"
15317
+ }
15318
+ },
15319
+ "type": "object"
15320
+ },
15321
+ "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression": {
15322
+ "description": "The expression denoting the filter that was extracted from the input query.",
15323
+ "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression",
15324
+ "properties": {
15325
+ "andExpr": {
15326
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression",
15327
+ "description": "Logical \"And\" compound operator connecting multiple expressions."
15328
+ },
15329
+ "geolocationConstraint": {
15330
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint",
15331
+ "description": "Geolocation constraint expression."
15332
+ },
15333
+ "numberConstraint": {
15334
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint",
15335
+ "description": "Numerical constraint expression."
15336
+ },
15337
+ "orExpr": {
15338
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression",
15339
+ "description": "Logical \"Or\" compound operator connecting multiple expressions."
15340
+ },
15341
+ "stringConstraint": {
15342
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint",
15343
+ "description": "String constraint expression."
15344
+ }
15345
+ },
15346
+ "type": "object"
15347
+ },
15348
+ "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint": {
15349
+ "description": "Constraint of a geolocation field. Name of the geolocation field as defined in the schema.",
15350
+ "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint",
15351
+ "properties": {
15352
+ "address": {
15353
+ "description": "The reference address that was inferred from the input query. The proximity of the reference address to the geolocation field will be used to filter the results.",
15354
+ "type": "string"
15355
+ },
15356
+ "fieldName": {
15357
+ "description": "The name of the geolocation field as defined in the schema.",
15358
+ "type": "string"
15359
+ },
15360
+ "radiusInMeters": {
15361
+ "description": "The radius in meters around the address. The record is returned if the location of the geolocation field is within the radius.",
15362
+ "format": "float",
15363
+ "type": "number"
15364
+ }
15365
+ },
15366
+ "type": "object"
15367
+ },
15368
+ "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint": {
15369
+ "description": "Constraint expression of a number field. Example: price < 100.",
15370
+ "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint",
15371
+ "properties": {
15372
+ "comparison": {
15373
+ "description": "The comparison operation performed between the field value and the value specified in the constraint.",
15374
+ "enum": [
15375
+ "COMPARISON_UNSPECIFIED",
15376
+ "EQUALS",
15377
+ "LESS_THAN_EQUALS",
15378
+ "LESS_THAN",
15379
+ "GREATER_THAN_EQUALS",
15380
+ "GREATER_THAN"
15381
+ ],
15382
+ "enumDescriptions": [
15383
+ "Undefined comparison operator.",
15384
+ "Denotes equality `=` operator.",
15385
+ "Denotes less than or equal to `<=` operator.",
15386
+ "Denotes less than `<` operator.",
15387
+ "Denotes greater than or equal to `>=` operator.",
15388
+ "Denotes greater than `>` operator."
15389
+ ],
15390
+ "type": "string"
15391
+ },
15392
+ "fieldName": {
15393
+ "description": "Name of the numerical field as defined in the schema.",
15394
+ "type": "string"
15395
+ },
15396
+ "value": {
15397
+ "description": "The value specified in the numerical constraint.",
15398
+ "format": "double",
15399
+ "type": "number"
15400
+ }
15401
+ },
15402
+ "type": "object"
15403
+ },
15404
+ "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression": {
15405
+ "description": "Logical `Or` operator.",
15406
+ "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression",
15407
+ "properties": {
15408
+ "expressions": {
15409
+ "description": "The expressions that were ORed together.",
15410
+ "items": {
15411
+ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression"
15412
+ },
15413
+ "type": "array"
15414
+ }
15415
+ },
15416
+ "type": "object"
15417
+ },
15418
+ "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint": {
15419
+ "description": "Constraint expression of a string field.",
15420
+ "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint",
15421
+ "properties": {
15422
+ "fieldName": {
15423
+ "description": "Name of the string field as defined in the schema.",
15424
+ "type": "string"
15425
+ },
15426
+ "values": {
15427
+ "description": "Values of the string field. The record will only be returned if the field value matches one of the values specified here.",
15428
+ "items": {
15429
+ "type": "string"
15430
+ },
15431
+ "type": "array"
15432
+ }
15433
+ },
15434
+ "type": "object"
15435
+ },
14106
15436
  "GoogleCloudDiscoveryengineV1alphaSearchResponseQueryExpansionInfo": {
14107
15437
  "description": "Information describing query expansion including whether expansion has occurred.",
14108
15438
  "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseQueryExpansionInfo",
@@ -14145,6 +15475,21 @@
14145
15475
  },
14146
15476
  "type": "object"
14147
15477
  },
15478
+ "GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo": {
15479
+ "description": "Information about the session.",
15480
+ "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo",
15481
+ "properties": {
15482
+ "name": {
15483
+ "description": "Name of the session. If the auto-session mode is used (when SearchRequest.session ends with \"-\"), this field holds the newly generated session name.",
15484
+ "type": "string"
15485
+ },
15486
+ "queryId": {
15487
+ "description": "Query ID that corresponds to this search API call. One session can have multiple turns, each with a unique query ID. By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call.",
15488
+ "type": "string"
15489
+ }
15490
+ },
15491
+ "type": "object"
15492
+ },
14148
15493
  "GoogleCloudDiscoveryengineV1alphaSearchResponseSummary": {
14149
15494
  "description": "Summary of the top N search results specified by the summary spec.",
14150
15495
  "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummary",
@@ -14341,7 +15686,7 @@
14341
15686
  },
14342
15687
  "customFineTuningSpec": {
14343
15688
  "$ref": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec",
14344
- "description": "Custom fine tuning configs."
15689
+ "description": "Custom fine tuning configs. If SearchRequest.custom_fine_tuning_spec is set, it has higher priority than the configs set here."
14345
15690
  },
14346
15691
  "displayName": {
14347
15692
  "description": "Required. The human readable serving config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
@@ -14404,7 +15749,7 @@
14404
15749
  "type": "array"
14405
15750
  },
14406
15751
  "rankingExpression": {
14407
- "description": "The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: relevance_score: pre-defined keywords, used for measure relevance between query and document. embedding_field_path: the document embedding field used with query embedding vector. dotProduct: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be 0.5 * relevance_score + 0.3 * dotProduct(doc_embedding).",
15752
+ "description": "The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.",
14408
15753
  "type": "string"
14409
15754
  },
14410
15755
  "redirectControlIds": {
@@ -14553,6 +15898,59 @@
14553
15898
  },
14554
15899
  "type": "object"
14555
15900
  },
15901
+ "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata": {
15902
+ "description": "Metadata related to the progress of the SiteSearchEngineService.SetUriPatternDocumentData operation. This will be returned by the google.longrunning.Operation.metadata field.",
15903
+ "id": "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata",
15904
+ "properties": {
15905
+ "createTime": {
15906
+ "description": "Operation create time.",
15907
+ "format": "google-datetime",
15908
+ "type": "string"
15909
+ },
15910
+ "updateTime": {
15911
+ "description": "Operation last update time. If the operation is done, this is also the finish time.",
15912
+ "format": "google-datetime",
15913
+ "type": "string"
15914
+ }
15915
+ },
15916
+ "type": "object"
15917
+ },
15918
+ "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest": {
15919
+ "description": "Request message for SiteSearchEngineService.SetUriPatternDocumentData method.",
15920
+ "id": "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest",
15921
+ "properties": {
15922
+ "documentDataMap": {
15923
+ "additionalProperties": {
15924
+ "additionalProperties": {
15925
+ "description": "Properties of the object.",
15926
+ "type": "any"
15927
+ },
15928
+ "type": "object"
15929
+ },
15930
+ "description": "Document data keyed by URI pattern. Each entry must be consistent with the Schema. For example: Schema = { \"type\": \"object\", \"properties\": { \"Categories\": { \"type\": \"array\", \"items\": { \"retrievable\": true, \"type\": \"string\" } } } document_data_map = { \"www.url1.com/*\": { \"Categories\": [\"category1\", \"category2\"] }, \"www.url2.com/*\": { \"Categories\": [\"category3\"] } }",
15931
+ "type": "object"
15932
+ },
15933
+ "emptyDocumentDataMap": {
15934
+ "description": "If true, clears the document data map. If true, SetUriPatternDocumentDataRequest.document_data_map must be empty.",
15935
+ "type": "boolean"
15936
+ },
15937
+ "schema": {
15938
+ "additionalProperties": {
15939
+ "description": "Properties of the object.",
15940
+ "type": "any"
15941
+ },
15942
+ "description": "Optional. If not provided, the current Schema is used. If provided, validates and updates the Schema. If validation fails, an error is returned.",
15943
+ "type": "object"
15944
+ }
15945
+ },
15946
+ "type": "object"
15947
+ },
15948
+ "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse": {
15949
+ "description": "Response message for SiteSearchEngineService.SetUriPatternDocumentData method.",
15950
+ "id": "GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse",
15951
+ "properties": {},
15952
+ "type": "object"
15953
+ },
14556
15954
  "GoogleCloudDiscoveryengineV1alphaSiteSearchEngine": {
14557
15955
  "description": "SiteSearchEngine captures DataStore level site search persisting configurations. It is a singleton value per data store.",
14558
15956
  "id": "GoogleCloudDiscoveryengineV1alphaSiteSearchEngine",
@@ -15324,6 +16722,12 @@
15324
16722
  },
15325
16723
  "type": "object"
15326
16724
  },
16725
+ "GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata": {
16726
+ "description": "Metadata for EvaluationService.CreateEvaluation method.",
16727
+ "id": "GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata",
16728
+ "properties": {},
16729
+ "type": "object"
16730
+ },
15327
16731
  "GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata": {
15328
16732
  "description": "Metadata for Create Schema LRO.",
15329
16733
  "id": "GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata",
@@ -15363,6 +16767,7 @@
15363
16767
  "id": "GoogleCloudDiscoveryengineV1betaCustomTuningModel",
15364
16768
  "properties": {
15365
16769
  "createTime": {
16770
+ "deprecated": true,
15366
16771
  "description": "Timestamp the Model was created at.",
15367
16772
  "format": "google-datetime",
15368
16773
  "type": "string"
@@ -15371,6 +16776,14 @@
15371
16776
  "description": "The display name of the model.",
15372
16777
  "type": "string"
15373
16778
  },
16779
+ "metrics": {
16780
+ "additionalProperties": {
16781
+ "format": "double",
16782
+ "type": "number"
16783
+ },
16784
+ "description": "The metrics of the trained model.",
16785
+ "type": "object"
16786
+ },
15374
16787
  "modelState": {
15375
16788
  "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).",
15376
16789
  "enum": [
@@ -15379,7 +16792,8 @@
15379
16792
  "TRAINING",
15380
16793
  "TRAINING_COMPLETE",
15381
16794
  "READY_FOR_SERVING",
15382
- "TRAINING_FAILED"
16795
+ "TRAINING_FAILED",
16796
+ "NO_IMPROVEMENT"
15383
16797
  ],
15384
16798
  "enumDescriptions": [
15385
16799
  "Default value.",
@@ -15387,7 +16801,8 @@
15387
16801
  "The model is currently training.",
15388
16802
  "The model has successfully completed training.",
15389
16803
  "The model is ready for serving.",
15390
- "The model training failed."
16804
+ "The model training failed.",
16805
+ "The model training finished successfully but metrics did not improve."
15391
16806
  ],
15392
16807
  "type": "string"
15393
16808
  },
@@ -15610,7 +17025,7 @@
15610
17025
  "additionalProperties": {
15611
17026
  "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig"
15612
17027
  },
15613
- "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.",
17028
+ "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.",
15614
17029
  "type": "object"
15615
17030
  }
15616
17031
  },
@@ -15897,6 +17312,96 @@
15897
17312
  },
15898
17313
  "type": "object"
15899
17314
  },
17315
+ "GoogleCloudDiscoveryengineV1betaEvaluation": {
17316
+ "description": "An evaluation is a single execution (or run) of an evaluation process. It encapsulates the state of the evaluation and the resulting data.",
17317
+ "id": "GoogleCloudDiscoveryengineV1betaEvaluation",
17318
+ "properties": {
17319
+ "createTime": {
17320
+ "description": "Output only. Timestamp the Evaluation was created at.",
17321
+ "format": "google-datetime",
17322
+ "readOnly": true,
17323
+ "type": "string"
17324
+ },
17325
+ "endTime": {
17326
+ "description": "Output only. Timestamp the Evaluation was completed at.",
17327
+ "format": "google-datetime",
17328
+ "readOnly": true,
17329
+ "type": "string"
17330
+ },
17331
+ "error": {
17332
+ "$ref": "GoogleRpcStatus",
17333
+ "description": "Output only. The error that occurred during evaluation. Only populated when the evaluation's state is FAILED.",
17334
+ "readOnly": true
17335
+ },
17336
+ "errorSamples": {
17337
+ "description": "Output only. A sample of errors encountered while processing the request.",
17338
+ "items": {
17339
+ "$ref": "GoogleRpcStatus"
17340
+ },
17341
+ "readOnly": true,
17342
+ "type": "array"
17343
+ },
17344
+ "evaluationSpec": {
17345
+ "$ref": "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec",
17346
+ "description": "Required. The specification of the evaluation."
17347
+ },
17348
+ "name": {
17349
+ "description": "Immutable. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
17350
+ "type": "string"
17351
+ },
17352
+ "qualityMetrics": {
17353
+ "$ref": "GoogleCloudDiscoveryengineV1betaQualityMetrics",
17354
+ "description": "Output only. The metrics produced by the evaluation, averaged across all SampleQuerys in the SampleQuerySet. Only populated when the evaluation's state is SUCCEEDED.",
17355
+ "readOnly": true
17356
+ },
17357
+ "state": {
17358
+ "description": "Output only. The state of the evaluation.",
17359
+ "enum": [
17360
+ "STATE_UNSPECIFIED",
17361
+ "PENDING",
17362
+ "RUNNING",
17363
+ "SUCCEEDED",
17364
+ "FAILED"
17365
+ ],
17366
+ "enumDescriptions": [
17367
+ "The evaluation is unspecified.",
17368
+ "The service is preparing to run the evaluation.",
17369
+ "The evaluation is in progress.",
17370
+ "The evaluation completed successfully.",
17371
+ "The evaluation failed."
17372
+ ],
17373
+ "readOnly": true,
17374
+ "type": "string"
17375
+ }
17376
+ },
17377
+ "type": "object"
17378
+ },
17379
+ "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec": {
17380
+ "description": "Describes the specification of the evaluation.",
17381
+ "id": "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec",
17382
+ "properties": {
17383
+ "querySetSpec": {
17384
+ "$ref": "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec",
17385
+ "description": "Required. The specification of the query set."
17386
+ },
17387
+ "searchRequest": {
17388
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequest",
17389
+ "description": "Required. The search request that is used to perform the evaluation. Only the following fields within SearchRequest are supported; if any other fields are provided, an UNSUPPORTED error will be returned: * SearchRequest.serving_config * SearchRequest.branch * SearchRequest.canonical_filter * SearchRequest.query_expansion_spec * SearchRequest.spell_correction_spec * SearchRequest.content_search_spec * SearchRequest.user_pseudo_id"
17390
+ }
17391
+ },
17392
+ "type": "object"
17393
+ },
17394
+ "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec": {
17395
+ "description": "Describes the specification of the query set.",
17396
+ "id": "GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec",
17397
+ "properties": {
17398
+ "sampleQuerySet": {
17399
+ "description": "Required. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.",
17400
+ "type": "string"
17401
+ }
17402
+ },
17403
+ "type": "object"
17404
+ },
15900
17405
  "GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata": {
15901
17406
  "description": "Metadata related to the progress of the ImportCompletionSuggestions operation. This will be returned by the google.longrunning.Operation.metadata field.",
15902
17407
  "id": "GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata",
@@ -16003,6 +17508,56 @@
16003
17508
  },
16004
17509
  "type": "object"
16005
17510
  },
17511
+ "GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata": {
17512
+ "description": "Metadata related to the progress of the ImportSampleQueries operation. This will be returned by the google.longrunning.Operation.metadata field.",
17513
+ "id": "GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata",
17514
+ "properties": {
17515
+ "createTime": {
17516
+ "description": "ImportSampleQueries operation create time.",
17517
+ "format": "google-datetime",
17518
+ "type": "string"
17519
+ },
17520
+ "failureCount": {
17521
+ "description": "Count of SampleQuerys that failed to be imported.",
17522
+ "format": "int64",
17523
+ "type": "string"
17524
+ },
17525
+ "successCount": {
17526
+ "description": "Count of SampleQuerys successfully imported.",
17527
+ "format": "int64",
17528
+ "type": "string"
17529
+ },
17530
+ "totalCount": {
17531
+ "description": "Total count of SampleQuerys that were processed.",
17532
+ "format": "int64",
17533
+ "type": "string"
17534
+ },
17535
+ "updateTime": {
17536
+ "description": "ImportSampleQueries operation last update time. If the operation is done, this is also the finish time.",
17537
+ "format": "google-datetime",
17538
+ "type": "string"
17539
+ }
17540
+ },
17541
+ "type": "object"
17542
+ },
17543
+ "GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse": {
17544
+ "description": "Response of the SampleQueryService.ImportSampleQueries method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
17545
+ "id": "GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse",
17546
+ "properties": {
17547
+ "errorConfig": {
17548
+ "$ref": "GoogleCloudDiscoveryengineV1betaImportErrorConfig",
17549
+ "description": "The desired location of errors incurred during the Import."
17550
+ },
17551
+ "errorSamples": {
17552
+ "description": "A sample of errors encountered while processing the request.",
17553
+ "items": {
17554
+ "$ref": "GoogleRpcStatus"
17555
+ },
17556
+ "type": "array"
17557
+ }
17558
+ },
17559
+ "type": "object"
17560
+ },
16006
17561
  "GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata": {
16007
17562
  "description": "Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.",
16008
17563
  "id": "GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata",
@@ -16099,8 +17654,35 @@
16099
17654
  },
16100
17655
  "type": "object"
16101
17656
  },
16102
- "GoogleCloudDiscoveryengineV1betaLanguageInfo": {
16103
- "description": "Language info for DataStore.",
17657
+ "GoogleCloudDiscoveryengineV1betaInterval": {
17658
+ "description": "A floating point interval.",
17659
+ "id": "GoogleCloudDiscoveryengineV1betaInterval",
17660
+ "properties": {
17661
+ "exclusiveMaximum": {
17662
+ "description": "Exclusive upper bound.",
17663
+ "format": "double",
17664
+ "type": "number"
17665
+ },
17666
+ "exclusiveMinimum": {
17667
+ "description": "Exclusive lower bound.",
17668
+ "format": "double",
17669
+ "type": "number"
17670
+ },
17671
+ "maximum": {
17672
+ "description": "Inclusive upper bound.",
17673
+ "format": "double",
17674
+ "type": "number"
17675
+ },
17676
+ "minimum": {
17677
+ "description": "Inclusive lower bound.",
17678
+ "format": "double",
17679
+ "type": "number"
17680
+ }
17681
+ },
17682
+ "type": "object"
17683
+ },
17684
+ "GoogleCloudDiscoveryengineV1betaLanguageInfo": {
17685
+ "description": "Language info for DataStore.",
16104
17686
  "id": "GoogleCloudDiscoveryengineV1betaLanguageInfo",
16105
17687
  "properties": {
16106
17688
  "language": {
@@ -16139,128 +17721,798 @@
16139
17721
  },
16140
17722
  "type": "object"
16141
17723
  },
16142
- "GoogleCloudDiscoveryengineV1betaProject": {
16143
- "description": "Metadata and configurations for a Google Cloud project in the service.",
16144
- "id": "GoogleCloudDiscoveryengineV1betaProject",
17724
+ "GoogleCloudDiscoveryengineV1betaProject": {
17725
+ "description": "Metadata and configurations for a Google Cloud project in the service.",
17726
+ "id": "GoogleCloudDiscoveryengineV1betaProject",
17727
+ "properties": {
17728
+ "createTime": {
17729
+ "description": "Output only. The timestamp when this project is created.",
17730
+ "format": "google-datetime",
17731
+ "readOnly": true,
17732
+ "type": "string"
17733
+ },
17734
+ "name": {
17735
+ "description": "Output only. Full resource name of the project, for example `projects/{project_number}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.",
17736
+ "readOnly": true,
17737
+ "type": "string"
17738
+ },
17739
+ "provisionCompletionTime": {
17740
+ "description": "Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.",
17741
+ "format": "google-datetime",
17742
+ "readOnly": true,
17743
+ "type": "string"
17744
+ },
17745
+ "serviceTermsMap": {
17746
+ "additionalProperties": {
17747
+ "$ref": "GoogleCloudDiscoveryengineV1betaProjectServiceTerms"
17748
+ },
17749
+ "description": "Output only. A map of terms of services. The key is the `id` of ServiceTerms.",
17750
+ "readOnly": true,
17751
+ "type": "object"
17752
+ }
17753
+ },
17754
+ "type": "object"
17755
+ },
17756
+ "GoogleCloudDiscoveryengineV1betaProjectServiceTerms": {
17757
+ "description": "Metadata about the terms of service.",
17758
+ "id": "GoogleCloudDiscoveryengineV1betaProjectServiceTerms",
17759
+ "properties": {
17760
+ "acceptTime": {
17761
+ "description": "The last time when the project agreed to the terms of service.",
17762
+ "format": "google-datetime",
17763
+ "type": "string"
17764
+ },
17765
+ "declineTime": {
17766
+ "description": "The last time when the project declined or revoked the agreement to terms of service.",
17767
+ "format": "google-datetime",
17768
+ "type": "string"
17769
+ },
17770
+ "id": {
17771
+ "description": "The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable version to provide is `2022-11-23`.",
17772
+ "type": "string"
17773
+ },
17774
+ "state": {
17775
+ "description": "Whether the project has accepted/rejected the service terms or it is still pending.",
17776
+ "enum": [
17777
+ "STATE_UNSPECIFIED",
17778
+ "TERMS_ACCEPTED",
17779
+ "TERMS_PENDING",
17780
+ "TERMS_DECLINED"
17781
+ ],
17782
+ "enumDescriptions": [
17783
+ "The default value of the enum. This value is not actually used.",
17784
+ "The project has given consent to the terms of service.",
17785
+ "The project is pending to review and accept the terms of service.",
17786
+ "The project has declined or revoked the agreement to terms of service."
17787
+ ],
17788
+ "type": "string"
17789
+ },
17790
+ "version": {
17791
+ "description": "The version string of the terms of service. For acceptable values, see the comments for id above.",
17792
+ "type": "string"
17793
+ }
17794
+ },
17795
+ "type": "object"
17796
+ },
17797
+ "GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata": {
17798
+ "description": "Metadata associated with a project provision operation.",
17799
+ "id": "GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata",
17800
+ "properties": {},
17801
+ "type": "object"
17802
+ },
17803
+ "GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata": {
17804
+ "description": "Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.",
17805
+ "id": "GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata",
17806
+ "properties": {
17807
+ "createTime": {
17808
+ "description": "Operation create time.",
17809
+ "format": "google-datetime",
17810
+ "type": "string"
17811
+ },
17812
+ "failureCount": {
17813
+ "description": "Count of entries that encountered errors while processing.",
17814
+ "format": "int64",
17815
+ "type": "string"
17816
+ },
17817
+ "ignoredCount": {
17818
+ "description": "Count of entries that were ignored as entries were not found.",
17819
+ "format": "int64",
17820
+ "type": "string"
17821
+ },
17822
+ "successCount": {
17823
+ "description": "Count of entries that were deleted successfully.",
17824
+ "format": "int64",
17825
+ "type": "string"
17826
+ },
17827
+ "updateTime": {
17828
+ "description": "Operation last update time. If the operation is done, this is also the finish time.",
17829
+ "format": "google-datetime",
17830
+ "type": "string"
17831
+ }
17832
+ },
17833
+ "type": "object"
17834
+ },
17835
+ "GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse": {
17836
+ "description": "Response message for DocumentService.PurgeDocuments method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.",
17837
+ "id": "GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse",
17838
+ "properties": {
17839
+ "purgeCount": {
17840
+ "description": "The total count of documents purged as a result of the operation.",
17841
+ "format": "int64",
17842
+ "type": "string"
17843
+ },
17844
+ "purgeSample": {
17845
+ "description": "A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.",
17846
+ "items": {
17847
+ "type": "string"
17848
+ },
17849
+ "type": "array"
17850
+ }
17851
+ },
17852
+ "type": "object"
17853
+ },
17854
+ "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata": {
17855
+ "description": "Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.",
17856
+ "id": "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata",
17857
+ "properties": {
17858
+ "createTime": {
17859
+ "description": "Operation create time.",
17860
+ "format": "google-datetime",
17861
+ "type": "string"
17862
+ },
17863
+ "updateTime": {
17864
+ "description": "Operation last update time. If the operation is done, this is also the finish time.",
17865
+ "format": "google-datetime",
17866
+ "type": "string"
17867
+ }
17868
+ },
17869
+ "type": "object"
17870
+ },
17871
+ "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse": {
17872
+ "description": "Response message for CompletionService.PurgeSuggestionDenyListEntries method.",
17873
+ "id": "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse",
17874
+ "properties": {
17875
+ "errorSamples": {
17876
+ "description": "A sample of errors encountered while processing the request.",
17877
+ "items": {
17878
+ "$ref": "GoogleRpcStatus"
17879
+ },
17880
+ "type": "array"
17881
+ },
17882
+ "purgeCount": {
17883
+ "description": "Number of suggestion deny list entries purged.",
17884
+ "format": "int64",
17885
+ "type": "string"
17886
+ }
17887
+ },
17888
+ "type": "object"
17889
+ },
17890
+ "GoogleCloudDiscoveryengineV1betaQualityMetrics": {
17891
+ "description": "Describes the metrics produced by the evaluation.",
17892
+ "id": "GoogleCloudDiscoveryengineV1betaQualityMetrics",
17893
+ "properties": {
17894
+ "docNdcg": {
17895
+ "$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics",
17896
+ "description": "Normalized discounted cumulative gain (NDCG) per document, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved documents (D1, D2, D3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [D3 (0), D1 (1), D2 (1)] Ideal: [D1 (1), D2 (1), D3 (0)] Calculate NDCG@3 for each SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693"
17897
+ },
17898
+ "docPrecision": {
17899
+ "$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics",
17900
+ "description": "Precision per document, at various top-k cutoff levels. Precision is the fraction of retrieved documents that are relevant. Example (top-5): * For a single SampleQuery, If 4 out of 5 retrieved documents in the top-5 are relevant, precision@5 = 4/5 = 0.8"
17901
+ },
17902
+ "docRecall": {
17903
+ "$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics",
17904
+ "description": "Recall per document, at various top-k cutoff levels. Recall is the fraction of relevant documents retrieved out of all relevant documents. Example (top-5): * For a single SampleQuery, If 3 out of 5 relevant documents are retrieved in the top-5, recall@5 = 3/5 = 0.6"
17905
+ },
17906
+ "pageNdcg": {
17907
+ "$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics",
17908
+ "description": "Normalized discounted cumulative gain (NDCG) per page, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved pages (P1, P2, P3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [P3 (0), P1 (1), P2 (1)] Ideal: [P1 (1), P2 (1), P3 (0)] Calculate NDCG@3 for SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693"
17909
+ },
17910
+ "pageRecall": {
17911
+ "$ref": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics",
17912
+ "description": "Recall per page, at various top-k cutoff levels. Recall is the fraction of relevant pages retrieved out of all relevant pages. Example (top-5): * For a single SampleQuery, if 3 out of 5 relevant pages are retrieved in the top-5, recall@5 = 3/5 = 0.6"
17913
+ }
17914
+ },
17915
+ "type": "object"
17916
+ },
17917
+ "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics": {
17918
+ "description": "Stores the metric values at specific top-k levels.",
17919
+ "id": "GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics",
17920
+ "properties": {
17921
+ "top1": {
17922
+ "description": "The top-1 value.",
17923
+ "format": "double",
17924
+ "type": "number"
17925
+ },
17926
+ "top10": {
17927
+ "description": "The top-10 value.",
17928
+ "format": "double",
17929
+ "type": "number"
17930
+ },
17931
+ "top3": {
17932
+ "description": "The top-3 value.",
17933
+ "format": "double",
17934
+ "type": "number"
17935
+ },
17936
+ "top5": {
17937
+ "description": "The top-5 value.",
17938
+ "format": "double",
17939
+ "type": "number"
17940
+ }
17941
+ },
17942
+ "type": "object"
17943
+ },
17944
+ "GoogleCloudDiscoveryengineV1betaSchema": {
17945
+ "description": "Defines the structure and layout of a type of document data.",
17946
+ "id": "GoogleCloudDiscoveryengineV1betaSchema",
17947
+ "properties": {
17948
+ "jsonSchema": {
17949
+ "description": "The JSON representation of the schema.",
17950
+ "type": "string"
17951
+ },
17952
+ "name": {
17953
+ "description": "Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
17954
+ "type": "string"
17955
+ },
17956
+ "structSchema": {
17957
+ "additionalProperties": {
17958
+ "description": "Properties of the object.",
17959
+ "type": "any"
17960
+ },
17961
+ "description": "The structured representation of the schema.",
17962
+ "type": "object"
17963
+ }
17964
+ },
17965
+ "type": "object"
17966
+ },
17967
+ "GoogleCloudDiscoveryengineV1betaSearchRequest": {
17968
+ "description": "Request message for SearchService.Search method.",
17969
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequest",
17970
+ "properties": {
17971
+ "boostSpec": {
17972
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec",
17973
+ "description": "Boost specification to boost certain documents. For more information on boosting, see [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)"
17974
+ },
17975
+ "branch": {
17976
+ "description": "The branch resource name, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. Use `default_branch` as the branch ID or leave this field empty, to search documents under the default branch.",
17977
+ "type": "string"
17978
+ },
17979
+ "canonicalFilter": {
17980
+ "description": "The default filter that is applied when a user performs a search without checking any filters on the search page. The filter applied to every search request when quality improvement such as query expansion is needed. In the case a query does not have a sufficient amount of results this filter will be used to determine whether or not to enable the query expansion flow. The original filter will still be used for the query expanded search. This field is strongly recommended to achieve high search quality. For more information about filter syntax, see SearchRequest.filter.",
17981
+ "type": "string"
17982
+ },
17983
+ "contentSearchSpec": {
17984
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec",
17985
+ "description": "A specification for configuring the behavior of content search."
17986
+ },
17987
+ "dataStoreSpecs": {
17988
+ "description": "Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.",
17989
+ "items": {
17990
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec"
17991
+ },
17992
+ "type": "array"
17993
+ },
17994
+ "embeddingSpec": {
17995
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec",
17996
+ "description": "Uses the provided embedding to do additional semantic document retrieval. The retrieval is based on the dot product of SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document embedding that is provided in SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it will use ServingConfig.EmbeddingConfig.field_path."
17997
+ },
17998
+ "facetSpecs": {
17999
+ "description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.",
18000
+ "items": {
18001
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec"
18002
+ },
18003
+ "type": "array"
18004
+ },
18005
+ "filter": {
18006
+ "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. Filter expression is case-sensitive. If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by mapping the LHS filter key to a key property defined in the Vertex AI Search backend -- this mapping is defined by the customer in their schema. For example a media customer might have a field 'name' in their schema. In this case the filter would look like this: filter --> name:'ANY(\"king kong\")' For more information about filtering including syntax and filter operators, see [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)",
18007
+ "type": "string"
18008
+ },
18009
+ "imageQuery": {
18010
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery",
18011
+ "description": "Raw image query."
18012
+ },
18013
+ "languageCode": {
18014
+ "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate.",
18015
+ "type": "string"
18016
+ },
18017
+ "naturalLanguageQueryUnderstandingSpec": {
18018
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec",
18019
+ "description": "If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done."
18020
+ },
18021
+ "offset": {
18022
+ "description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned.",
18023
+ "format": "int32",
18024
+ "type": "integer"
18025
+ },
18026
+ "orderBy": {
18027
+ "description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering for retail search, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.",
18028
+ "type": "string"
18029
+ },
18030
+ "pageSize": {
18031
+ "description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.",
18032
+ "format": "int32",
18033
+ "type": "integer"
18034
+ },
18035
+ "pageToken": {
18036
+ "description": "A page token received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.",
18037
+ "type": "string"
18038
+ },
18039
+ "params": {
18040
+ "additionalProperties": {
18041
+ "type": "any"
18042
+ },
18043
+ "description": "Additional search parameters. For public website search only, supported values are: * `user_country_code`: string. Default empty. If set to non-empty, results are restricted or boosted based on the location provided. For example, `user_country_code: \"au\"` For available codes see [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) * `search_type`: double. Default empty. Enables non-webpage searching depending on the value. The only valid non-default value is 1, which enables image searching. For example, `search_type: 1`",
18044
+ "type": "object"
18045
+ },
18046
+ "query": {
18047
+ "description": "Raw search query.",
18048
+ "type": "string"
18049
+ },
18050
+ "queryExpansionSpec": {
18051
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec",
18052
+ "description": "The query expansion specification that specifies the conditions under which query expansion occurs."
18053
+ },
18054
+ "rankingExpression": {
18055
+ "description": "The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.",
18056
+ "type": "string"
18057
+ },
18058
+ "regionCode": {
18059
+ "description": "The Unicode country/region code (CLDR) of a location, such as \"US\" and \"419\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). If set, then results will be boosted based on the region_code provided.",
18060
+ "type": "string"
18061
+ },
18062
+ "safeSearch": {
18063
+ "description": "Whether to turn on safe search. This is only supported for website search.",
18064
+ "type": "boolean"
18065
+ },
18066
+ "searchAsYouTypeSpec": {
18067
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec",
18068
+ "description": "Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical."
18069
+ },
18070
+ "servingConfig": {
18071
+ "description": "Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.",
18072
+ "type": "string"
18073
+ },
18074
+ "session": {
18075
+ "description": "The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is \"How did Alphabet do in 2022?\" and the current query is \"How about 2023?\", the current query will be interpreted as \"How did Alphabet do in 2023?\". Example #2 (coordination between /search API calls and /answer API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Auto-session mode: when `projects/.../sessions/-` is used, a new session gets automatically created. Otherwise, users can use the create-session API to create a session manually. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.",
18076
+ "type": "string"
18077
+ },
18078
+ "sessionSpec": {
18079
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec",
18080
+ "description": "Session specification. Can be used only when `session` is set."
18081
+ },
18082
+ "spellCorrectionSpec": {
18083
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec",
18084
+ "description": "The spell correction specification that specifies the mode under which spell correction takes effect."
18085
+ },
18086
+ "userInfo": {
18087
+ "$ref": "GoogleCloudDiscoveryengineV1betaUserInfo",
18088
+ "description": "Information about the end user. Highly recommended for analytics. UserInfo.user_agent is used to deduce `device_type` for analytics."
18089
+ },
18090
+ "userLabels": {
18091
+ "additionalProperties": {
18092
+ "type": "string"
18093
+ },
18094
+ "description": "The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.",
18095
+ "type": "object"
18096
+ },
18097
+ "userPseudoId": {
18098
+ "description": "A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
18099
+ "type": "string"
18100
+ }
18101
+ },
18102
+ "type": "object"
18103
+ },
18104
+ "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec": {
18105
+ "description": "Boost specification to boost certain documents.",
18106
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec",
18107
+ "properties": {
18108
+ "conditionBoostSpecs": {
18109
+ "description": "Condition boost specifications. If a document matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.",
18110
+ "items": {
18111
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec"
18112
+ },
18113
+ "type": "array"
18114
+ }
18115
+ },
18116
+ "type": "object"
18117
+ },
18118
+ "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec": {
18119
+ "description": "Boost applies to documents which match a condition.",
18120
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec",
18121
+ "properties": {
18122
+ "boost": {
18123
+ "description": "Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. Only one of the (condition, boost) combination or the boost_control_spec below are set. If both are set then the global boost is ignored and the more fine-grained boost_control_spec is applied.",
18124
+ "format": "float",
18125
+ "type": "number"
18126
+ },
18127
+ "boostControlSpec": {
18128
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec",
18129
+ "description": "Complex specification for custom ranking based on customer defined attribute value."
18130
+ },
18131
+ "condition": {
18132
+ "description": "An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost documents with document ID \"doc_1\" or \"doc_2\", and color \"Red\" or \"Blue\": `(document_id: ANY(\"doc_1\", \"doc_2\")) AND (color: ANY(\"Red\", \"Blue\"))`",
18133
+ "type": "string"
18134
+ }
18135
+ },
18136
+ "type": "object"
18137
+ },
18138
+ "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec": {
18139
+ "description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.",
18140
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec",
18141
+ "properties": {
18142
+ "attributeType": {
18143
+ "description": "The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).",
18144
+ "enum": [
18145
+ "ATTRIBUTE_TYPE_UNSPECIFIED",
18146
+ "NUMERICAL",
18147
+ "FRESHNESS"
18148
+ ],
18149
+ "enumDescriptions": [
18150
+ "Unspecified AttributeType.",
18151
+ "The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.",
18152
+ "For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`."
18153
+ ],
18154
+ "type": "string"
18155
+ },
18156
+ "controlPoints": {
18157
+ "description": "The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.",
18158
+ "items": {
18159
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint"
18160
+ },
18161
+ "type": "array"
18162
+ },
18163
+ "fieldName": {
18164
+ "description": "The name of the field whose value will be used to determine the boost amount.",
18165
+ "type": "string"
18166
+ },
18167
+ "interpolationType": {
18168
+ "description": "The interpolation type to be applied to connect the control points listed below.",
18169
+ "enum": [
18170
+ "INTERPOLATION_TYPE_UNSPECIFIED",
18171
+ "LINEAR"
18172
+ ],
18173
+ "enumDescriptions": [
18174
+ "Interpolation type is unspecified. In this case, it defaults to Linear.",
18175
+ "Piecewise linear interpolation will be applied."
18176
+ ],
18177
+ "type": "string"
18178
+ }
18179
+ },
18180
+ "type": "object"
18181
+ },
18182
+ "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint": {
18183
+ "description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).",
18184
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint",
18185
+ "properties": {
18186
+ "attributeValue": {
18187
+ "description": "Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`.",
18188
+ "type": "string"
18189
+ },
18190
+ "boostAmount": {
18191
+ "description": "The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.",
18192
+ "format": "float",
18193
+ "type": "number"
18194
+ }
18195
+ },
18196
+ "type": "object"
18197
+ },
18198
+ "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec": {
18199
+ "description": "A specification for configuring the behavior of content search.",
18200
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec",
18201
+ "properties": {
18202
+ "chunkSpec": {
18203
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec",
18204
+ "description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS"
18205
+ },
18206
+ "extractiveContentSpec": {
18207
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec",
18208
+ "description": "If there is no extractive_content_spec provided, there will be no extractive answer in the search response."
18209
+ },
18210
+ "searchResultMode": {
18211
+ "description": "Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`.",
18212
+ "enum": [
18213
+ "SEARCH_RESULT_MODE_UNSPECIFIED",
18214
+ "DOCUMENTS",
18215
+ "CHUNKS"
18216
+ ],
18217
+ "enumDescriptions": [
18218
+ "Default value.",
18219
+ "Returns documents in the search result.",
18220
+ "Returns chunks in the search result. Only available if the DataStore.DocumentProcessingConfig.chunking_config is specified."
18221
+ ],
18222
+ "type": "string"
18223
+ },
18224
+ "snippetSpec": {
18225
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec",
18226
+ "description": "If `snippetSpec` is not specified, snippets are not included in the search response."
18227
+ },
18228
+ "summarySpec": {
18229
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec",
18230
+ "description": "If `summarySpec` is not specified, summaries are not included in the search response."
18231
+ }
18232
+ },
18233
+ "type": "object"
18234
+ },
18235
+ "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec": {
18236
+ "description": "Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS",
18237
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec",
18238
+ "properties": {
18239
+ "numNextChunks": {
18240
+ "description": "The number of next chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no next chunks will be returned.",
18241
+ "format": "int32",
18242
+ "type": "integer"
18243
+ },
18244
+ "numPreviousChunks": {
18245
+ "description": "The number of previous chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no previous chunks will be returned.",
18246
+ "format": "int32",
18247
+ "type": "integer"
18248
+ }
18249
+ },
18250
+ "type": "object"
18251
+ },
18252
+ "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec": {
18253
+ "description": "A specification for configuring the extractive content in a search response.",
18254
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec",
18255
+ "properties": {
18256
+ "maxExtractiveAnswerCount": {
18257
+ "description": "The maximum number of extractive answers returned in each search result. An extractive answer is a verbatim answer extracted from the original document, which provides a precise and contextually relevant answer to the search query. If the number of matching answers is less than the `max_extractive_answer_count`, return all of the answers. Otherwise, return the `max_extractive_answer_count`. At most five answers are returned for each SearchResult.",
18258
+ "format": "int32",
18259
+ "type": "integer"
18260
+ },
18261
+ "maxExtractiveSegmentCount": {
18262
+ "description": "The max number of extractive segments returned in each search result. Only applied if the DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED or DataStore.solution_types is SOLUTION_TYPE_CHAT. An extractive segment is a text segment extracted from the original document that is relevant to the search query, and, in general, more verbose than an extractive answer. The segment could then be used as input for LLMs to generate summaries and answers. If the number of matching segments is less than `max_extractive_segment_count`, return all of the segments. Otherwise, return the `max_extractive_segment_count`.",
18263
+ "format": "int32",
18264
+ "type": "integer"
18265
+ },
18266
+ "numNextSegments": {
18267
+ "description": "Return at most `num_next_segments` segments after each selected segments.",
18268
+ "format": "int32",
18269
+ "type": "integer"
18270
+ },
18271
+ "numPreviousSegments": {
18272
+ "description": "Specifies whether to also include the adjacent from each selected segments. Return at most `num_previous_segments` segments before each selected segments.",
18273
+ "format": "int32",
18274
+ "type": "integer"
18275
+ },
18276
+ "returnExtractiveSegmentScore": {
18277
+ "description": "Specifies whether to return the confidence score from the extractive segments in each search result. This feature is available only for new or allowlisted data stores. To allowlist your data store, contact your Customer Engineer. The default value is `false`.",
18278
+ "type": "boolean"
18279
+ }
18280
+ },
18281
+ "type": "object"
18282
+ },
18283
+ "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec": {
18284
+ "description": "A specification for configuring snippets in a search response.",
18285
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec",
18286
+ "properties": {
18287
+ "maxSnippetCount": {
18288
+ "deprecated": true,
18289
+ "description": "[DEPRECATED] This field is deprecated. To control snippet return, use `return_snippet` field. For backwards compatibility, we will return snippet if max_snippet_count > 0.",
18290
+ "format": "int32",
18291
+ "type": "integer"
18292
+ },
18293
+ "referenceOnly": {
18294
+ "deprecated": true,
18295
+ "description": "[DEPRECATED] This field is deprecated and will have no affect on the snippet.",
18296
+ "type": "boolean"
18297
+ },
18298
+ "returnSnippet": {
18299
+ "description": "If `true`, then return snippet. If no snippet can be generated, we return \"No snippet is available for this page.\" A `snippet_status` with `SUCCESS` or `NO_SNIPPET_AVAILABLE` will also be returned.",
18300
+ "type": "boolean"
18301
+ }
18302
+ },
18303
+ "type": "object"
18304
+ },
18305
+ "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec": {
18306
+ "description": "A specification for configuring a summary returned in a search response.",
18307
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec",
18308
+ "properties": {
18309
+ "ignoreAdversarialQuery": {
18310
+ "description": "Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No summary is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating summaries for adversarial queries and return fallback messages instead.",
18311
+ "type": "boolean"
18312
+ },
18313
+ "ignoreNonSummarySeekingQuery": {
18314
+ "description": "Specifies whether to filter out queries that are not summary-seeking. The default value is `false`. Google employs search-query classification to detect summary-seeking queries. No summary is returned if the search query is classified as a non-summary seeking query. For example, `why is the sky blue` and `Who is the best soccer player in the world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` are not. They are most likely navigational queries. If this field is set to `true`, we skip generating summaries for non-summary seeking queries and return fallback messages instead.",
18315
+ "type": "boolean"
18316
+ },
18317
+ "includeCitations": {
18318
+ "description": "Specifies whether to include citations in the summary. The default value is `false`. When this field is set to `true`, summaries include in-line citation numbers. Example summary including citations: BigQuery is Google Cloud's fully managed and completely serverless enterprise data warehouse [1]. BigQuery supports all data types, works across clouds, and has built-in machine learning and business intelligence, all within a unified platform [2, 3]. The citation numbers refer to the returned search results and are 1-indexed. For example, [1] means that the sentence is attributed to the first search result. [2, 3] means that the sentence is attributed to both the second and third search results.",
18319
+ "type": "boolean"
18320
+ },
18321
+ "languageCode": {
18322
+ "description": "Language code for Summary. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature.",
18323
+ "type": "string"
18324
+ },
18325
+ "modelPromptSpec": {
18326
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec",
18327
+ "description": "If specified, the spec will be used to modify the prompt provided to the LLM."
18328
+ },
18329
+ "modelSpec": {
18330
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec",
18331
+ "description": "If specified, the spec will be used to modify the model specification provided to the LLM."
18332
+ },
18333
+ "summaryResultCount": {
18334
+ "description": "The number of top results to generate the summary from. If the number of results returned is less than `summaryResultCount`, the summary is generated from all of the results. At most 10 results for documents mode, or 50 for chunks mode, can be used to generate a summary. The chunks mode is used when SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS.",
18335
+ "format": "int32",
18336
+ "type": "integer"
18337
+ },
18338
+ "useSemanticChunks": {
18339
+ "description": "If true, answer will be generated from most relevant chunks from top search results. This feature will improve summary quality. Note that with this feature enabled, not all top search results will be referenced and included in the reference list, so the citation source index only points to the search results listed in the reference list.",
18340
+ "type": "boolean"
18341
+ }
18342
+ },
18343
+ "type": "object"
18344
+ },
18345
+ "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec": {
18346
+ "description": "Specification of the prompt to use with the model.",
18347
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec",
18348
+ "properties": {
18349
+ "preamble": {
18350
+ "description": "Text at the beginning of the prompt that instructs the assistant. Examples are available in the user guide.",
18351
+ "type": "string"
18352
+ }
18353
+ },
18354
+ "type": "object"
18355
+ },
18356
+ "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec": {
18357
+ "description": "Specification of the model.",
18358
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec",
18359
+ "properties": {
18360
+ "version": {
18361
+ "description": "The model version used to generate the summary. Supported values are: * `stable`: string. Default value when no value is specified. Uses a generally available, fine-tuned model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). * `preview`: string. (Public preview) Uses a preview model. For more information, see [Answer generation model versions and lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models).",
18362
+ "type": "string"
18363
+ }
18364
+ },
18365
+ "type": "object"
18366
+ },
18367
+ "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec": {
18368
+ "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.",
18369
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec",
18370
+ "properties": {
18371
+ "dataStore": {
18372
+ "description": "Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.",
18373
+ "type": "string"
18374
+ }
18375
+ },
18376
+ "type": "object"
18377
+ },
18378
+ "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec": {
18379
+ "description": "The specification that uses customized query embedding vector to do semantic document retrieval.",
18380
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec",
18381
+ "properties": {
18382
+ "embeddingVectors": {
18383
+ "description": "The embedding vector used for retrieval. Limit to 1.",
18384
+ "items": {
18385
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector"
18386
+ },
18387
+ "type": "array"
18388
+ }
18389
+ },
18390
+ "type": "object"
18391
+ },
18392
+ "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector": {
18393
+ "description": "Embedding vector.",
18394
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector",
16145
18395
  "properties": {
16146
- "createTime": {
16147
- "description": "Output only. The timestamp when this project is created.",
16148
- "format": "google-datetime",
16149
- "readOnly": true,
16150
- "type": "string"
16151
- },
16152
- "name": {
16153
- "description": "Output only. Full resource name of the project, for example `projects/{project_number}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.",
16154
- "readOnly": true,
16155
- "type": "string"
16156
- },
16157
- "provisionCompletionTime": {
16158
- "description": "Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.",
16159
- "format": "google-datetime",
16160
- "readOnly": true,
18396
+ "fieldPath": {
18397
+ "description": "Embedding field path in schema.",
16161
18398
  "type": "string"
16162
18399
  },
16163
- "serviceTermsMap": {
16164
- "additionalProperties": {
16165
- "$ref": "GoogleCloudDiscoveryengineV1betaProjectServiceTerms"
18400
+ "vector": {
18401
+ "description": "Query embedding vector.",
18402
+ "items": {
18403
+ "format": "float",
18404
+ "type": "number"
16166
18405
  },
16167
- "description": "Output only. A map of terms of services. The key is the `id` of ServiceTerms.",
16168
- "readOnly": true,
16169
- "type": "object"
18406
+ "type": "array"
16170
18407
  }
16171
18408
  },
16172
18409
  "type": "object"
16173
18410
  },
16174
- "GoogleCloudDiscoveryengineV1betaProjectServiceTerms": {
16175
- "description": "Metadata about the terms of service.",
16176
- "id": "GoogleCloudDiscoveryengineV1betaProjectServiceTerms",
18411
+ "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec": {
18412
+ "description": "A facet specification to perform faceted search.",
18413
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec",
16177
18414
  "properties": {
16178
- "acceptTime": {
16179
- "description": "The last time when the project agreed to the terms of service.",
16180
- "format": "google-datetime",
16181
- "type": "string"
18415
+ "enableDynamicPosition": {
18416
+ "description": "Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined automatically. If dynamic facets are enabled, it is ordered together. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined automatically. Another example, assuming you have the following facets in the request: * \"rating\", enable_dynamic_position = true * \"price\", enable_dynamic_position = false * \"brands\", enable_dynamic_position = false And also you have a dynamic facets enabled, which generates a facet `gender`. Then the final order of the facets in the response can be (\"price\", \"brands\", \"rating\", \"gender\") or (\"price\", \"brands\", \"gender\", \"rating\") depends on how API orders \"gender\" and \"rating\" facets. However, notice that \"price\" and \"brands\" are always ranked at first and second position because their enable_dynamic_position is false.",
18417
+ "type": "boolean"
16182
18418
  },
16183
- "declineTime": {
16184
- "description": "The last time when the project declined or revoked the agreement to terms of service.",
16185
- "format": "google-datetime",
18419
+ "excludedFilterKeys": {
18420
+ "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 documents with the color facet \"Red\" and 200 documents with the color facet \"Blue\". A query containing the filter \"color:ANY(\"Red\")\" and having \"color\" as FacetKey.key would by default return only \"Red\" documents in the search results, and also return \"Red\" with count 100 as the only color facet. Although there are also blue documents available, \"Blue\" would not be shown as an available facet value. If \"color\" is listed in \"excludedFilterKeys\", then the query returns the facet values \"Red\" with count 100 and \"Blue\" with count 200, because the \"color\" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only \"Red\" documents. A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.",
18421
+ "items": {
16186
18422
  "type": "string"
16187
18423
  },
16188
- "id": {
16189
- "description": "The unique identifier of this terms of service. Available terms: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable version to provide is `2022-11-23`.",
16190
- "type": "string"
18424
+ "type": "array"
16191
18425
  },
16192
- "state": {
16193
- "description": "Whether the project has accepted/rejected the service terms or it is still pending.",
16194
- "enum": [
16195
- "STATE_UNSPECIFIED",
16196
- "TERMS_ACCEPTED",
16197
- "TERMS_PENDING",
16198
- "TERMS_DECLINED"
16199
- ],
16200
- "enumDescriptions": [
16201
- "The default value of the enum. This value is not actually used.",
16202
- "The project has given consent to the terms of service.",
16203
- "The project is pending to review and accept the terms of service.",
16204
- "The project has declined or revoked the agreement to terms of service."
16205
- ],
16206
- "type": "string"
18426
+ "facetKey": {
18427
+ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey",
18428
+ "description": "Required. The facet key specification."
16207
18429
  },
16208
- "version": {
16209
- "description": "The version string of the terms of service. For acceptable values, see the comments for id above.",
16210
- "type": "string"
18430
+ "limit": {
18431
+ "description": "Maximum facet values that are returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 are coerced to 300. For aggregation in healthcare search, when the [FacetKey.key] is \"healthcare_aggregation_key\", the limit will be overridden to 10,000 internally, regardless of the value set here. If this field is negative, an `INVALID_ARGUMENT` is returned.",
18432
+ "format": "int32",
18433
+ "type": "integer"
16211
18434
  }
16212
18435
  },
16213
18436
  "type": "object"
16214
18437
  },
16215
- "GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata": {
16216
- "description": "Metadata associated with a project provision operation.",
16217
- "id": "GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata",
16218
- "properties": {},
16219
- "type": "object"
16220
- },
16221
- "GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata": {
16222
- "description": "Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.",
16223
- "id": "GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata",
18438
+ "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey": {
18439
+ "description": "Specifies how a facet is computed.",
18440
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey",
16224
18441
  "properties": {
16225
- "createTime": {
16226
- "description": "Operation create time.",
16227
- "format": "google-datetime",
18442
+ "caseInsensitive": {
18443
+ "description": "True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.",
18444
+ "type": "boolean"
18445
+ },
18446
+ "contains": {
18447
+ "description": "Only get facet values that contain the given strings. For example, suppose \"category\" has three values \"Action > 2022\", \"Action > 2021\" and \"Sci-Fi > 2022\". If set \"contains\" to \"2022\", the \"category\" facet only contains \"Action > 2022\" and \"Sci-Fi > 2022\". Only supported on textual fields. Maximum is 10.",
18448
+ "items": {
16228
18449
  "type": "string"
16229
18450
  },
16230
- "failureCount": {
16231
- "description": "Count of entries that encountered errors while processing.",
16232
- "format": "int64",
18451
+ "type": "array"
18452
+ },
18453
+ "intervals": {
18454
+ "description": "Set only if values should be bucketed into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 30.",
18455
+ "items": {
18456
+ "$ref": "GoogleCloudDiscoveryengineV1betaInterval"
18457
+ },
18458
+ "type": "array"
18459
+ },
18460
+ "key": {
18461
+ "description": "Required. Supported textual and numerical facet keys in Document object, over which the facet values are computed. Facet key is case-sensitive.",
16233
18462
  "type": "string"
16234
18463
  },
16235
- "ignoredCount": {
16236
- "description": "Count of entries that were ignored as entries were not found.",
16237
- "format": "int64",
18464
+ "orderBy": {
18465
+ "description": "The order in which documents are returned. Allowed values are: * \"count desc\", which means order by SearchResponse.Facet.values.count descending. * \"value desc\", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals.",
16238
18466
  "type": "string"
16239
18467
  },
16240
- "successCount": {
16241
- "description": "Count of entries that were deleted successfully.",
16242
- "format": "int64",
18468
+ "prefixes": {
18469
+ "description": "Only get facet values that start with the given string prefix. For example, suppose \"category\" has three values \"Action > 2022\", \"Action > 2021\" and \"Sci-Fi > 2022\". If set \"prefixes\" to \"Action\", the \"category\" facet only contains \"Action > 2022\" and \"Action > 2021\". Only supported on textual fields. Maximum is 10.",
18470
+ "items": {
16243
18471
  "type": "string"
16244
18472
  },
16245
- "updateTime": {
16246
- "description": "Operation last update time. If the operation is done, this is also the finish time.",
16247
- "format": "google-datetime",
18473
+ "type": "array"
18474
+ },
18475
+ "restrictedValues": {
18476
+ "description": "Only get facet for the given restricted values. Only supported on textual fields. For example, suppose \"category\" has three values \"Action > 2022\", \"Action > 2021\" and \"Sci-Fi > 2022\". If set \"restricted_values\" to \"Action > 2022\", the \"category\" facet only contains \"Action > 2022\". Only supported on textual fields. Maximum is 10.",
18477
+ "items": {
16248
18478
  "type": "string"
18479
+ },
18480
+ "type": "array"
16249
18481
  }
16250
18482
  },
16251
18483
  "type": "object"
16252
18484
  },
16253
- "GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse": {
16254
- "description": "Response message for DocumentService.PurgeDocuments method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.",
16255
- "id": "GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse",
18485
+ "GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery": {
18486
+ "description": "Specifies the image query input.",
18487
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery",
16256
18488
  "properties": {
16257
- "purgeCount": {
16258
- "description": "The total count of documents purged as a result of the operation.",
16259
- "format": "int64",
18489
+ "imageBytes": {
18490
+ "description": "Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP.",
16260
18491
  "type": "string"
18492
+ }
16261
18493
  },
16262
- "purgeSample": {
16263
- "description": "A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.",
18494
+ "type": "object"
18495
+ },
18496
+ "GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec": {
18497
+ "description": "Specification to enable natural language understanding capabilities for search requests.",
18498
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec",
18499
+ "properties": {
18500
+ "filterExtractionCondition": {
18501
+ "description": "The condition under which filter extraction should occur. Default to Condition.DISABLED.",
18502
+ "enum": [
18503
+ "CONDITION_UNSPECIFIED",
18504
+ "DISABLED",
18505
+ "ENABLED"
18506
+ ],
18507
+ "enumDescriptions": [
18508
+ "Server behavior defaults to Condition.DISABLED.",
18509
+ "Disables NL filter extraction.",
18510
+ "Enables NL filter extraction."
18511
+ ],
18512
+ "type": "string"
18513
+ },
18514
+ "geoSearchQueryDetectionFieldNames": {
18515
+ "description": "Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in ServingConfig.geo_search_query_detection_field_names.",
16264
18516
  "items": {
16265
18517
  "type": "string"
16266
18518
  },
@@ -16269,61 +18521,85 @@
16269
18521
  },
16270
18522
  "type": "object"
16271
18523
  },
16272
- "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata": {
16273
- "description": "Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.",
16274
- "id": "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata",
18524
+ "GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec": {
18525
+ "description": "Specification to determine under which conditions query expansion should occur.",
18526
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec",
16275
18527
  "properties": {
16276
- "createTime": {
16277
- "description": "Operation create time.",
16278
- "format": "google-datetime",
18528
+ "condition": {
18529
+ "description": "The condition under which query expansion should occur. Default to Condition.DISABLED.",
18530
+ "enum": [
18531
+ "CONDITION_UNSPECIFIED",
18532
+ "DISABLED",
18533
+ "AUTO"
18534
+ ],
18535
+ "enumDescriptions": [
18536
+ "Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.",
18537
+ "Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.",
18538
+ "Automatic query expansion built by the Search API."
18539
+ ],
16279
18540
  "type": "string"
16280
18541
  },
16281
- "updateTime": {
16282
- "description": "Operation last update time. If the operation is done, this is also the finish time.",
16283
- "format": "google-datetime",
16284
- "type": "string"
18542
+ "pinUnexpandedResults": {
18543
+ "description": "Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.",
18544
+ "type": "boolean"
16285
18545
  }
16286
18546
  },
16287
18547
  "type": "object"
16288
18548
  },
16289
- "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse": {
16290
- "description": "Response message for CompletionService.PurgeSuggestionDenyListEntries method.",
16291
- "id": "GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse",
18549
+ "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec": {
18550
+ "description": "Specification for search as you type in search requests.",
18551
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec",
16292
18552
  "properties": {
16293
- "errorSamples": {
16294
- "description": "A sample of errors encountered while processing the request.",
16295
- "items": {
16296
- "$ref": "GoogleRpcStatus"
16297
- },
16298
- "type": "array"
16299
- },
16300
- "purgeCount": {
16301
- "description": "Number of suggestion deny list entries purged.",
16302
- "format": "int64",
18553
+ "condition": {
18554
+ "description": "The condition under which search as you type should occur. Default to Condition.DISABLED.",
18555
+ "enum": [
18556
+ "CONDITION_UNSPECIFIED",
18557
+ "DISABLED",
18558
+ "ENABLED"
18559
+ ],
18560
+ "enumDescriptions": [
18561
+ "Server behavior defaults to Condition.DISABLED.",
18562
+ "Disables Search As You Type.",
18563
+ "Enables Search As You Type."
18564
+ ],
16303
18565
  "type": "string"
16304
18566
  }
16305
18567
  },
16306
18568
  "type": "object"
16307
18569
  },
16308
- "GoogleCloudDiscoveryengineV1betaSchema": {
16309
- "description": "Defines the structure and layout of a type of document data.",
16310
- "id": "GoogleCloudDiscoveryengineV1betaSchema",
18570
+ "GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec": {
18571
+ "description": "Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.",
18572
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec",
16311
18573
  "properties": {
16312
- "jsonSchema": {
16313
- "description": "The JSON representation of the schema.",
16314
- "type": "string"
16315
- },
16316
- "name": {
16317
- "description": "Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.",
18574
+ "queryId": {
18575
+ "description": "If set, the search result gets stored to the \"turn\" specified by this query ID. Example: Let's say the session looks like this: session { name: \".../sessions/xxx\" turns { query { text: \"What is foo?\" query_id: \".../questions/yyy\" } answer: \"Foo is ...\" } turns { query { text: \"How about bar then?\" query_id: \".../questions/zzz\" } } } The user can call /search API with a request like this: session: \".../sessions/xxx\" session_spec { query_id: \".../questions/zzz\" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID.",
16318
18576
  "type": "string"
16319
18577
  },
16320
- "structSchema": {
16321
- "additionalProperties": {
16322
- "description": "Properties of the object.",
16323
- "type": "any"
18578
+ "searchResultPersistenceCount": {
18579
+ "description": "The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is simliar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode.",
18580
+ "format": "int32",
18581
+ "type": "integer"
18582
+ }
16324
18583
  },
16325
- "description": "The structured representation of the schema.",
16326
18584
  "type": "object"
18585
+ },
18586
+ "GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec": {
18587
+ "description": "The specification for query spell correction.",
18588
+ "id": "GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec",
18589
+ "properties": {
18590
+ "mode": {
18591
+ "description": "The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO.",
18592
+ "enum": [
18593
+ "MODE_UNSPECIFIED",
18594
+ "SUGGESTION_ONLY",
18595
+ "AUTO"
18596
+ ],
18597
+ "enumDescriptions": [
18598
+ "Unspecified spell correction mode. In this case, server behavior defaults to Mode.AUTO.",
18599
+ "Search API tries to find a spelling suggestion. If a suggestion is found, it is put in the SearchResponse.corrected_query. The spelling suggestion won't be used as the search query.",
18600
+ "Automatic spell correction built by the Search API. Search will be based on the corrected query if found."
18601
+ ],
18602
+ "type": "string"
16327
18603
  }
16328
18604
  },
16329
18605
  "type": "object"
@@ -16560,6 +18836,21 @@
16560
18836
  },
16561
18837
  "type": "object"
16562
18838
  },
18839
+ "GoogleCloudDiscoveryengineV1betaUserInfo": {
18840
+ "description": "Information of an end user.",
18841
+ "id": "GoogleCloudDiscoveryengineV1betaUserInfo",
18842
+ "properties": {
18843
+ "userAgent": {
18844
+ "description": "User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set.",
18845
+ "type": "string"
18846
+ },
18847
+ "userId": {
18848
+ "description": "Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.",
18849
+ "type": "string"
18850
+ }
18851
+ },
18852
+ "type": "object"
18853
+ },
16563
18854
  "GoogleLongrunningCancelOperationRequest": {
16564
18855
  "description": "The request message for Operations.CancelOperation.",
16565
18856
  "id": "GoogleLongrunningCancelOperationRequest",