@wirecat/drive-cli 0.70.0 → 0.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/README.md +150 -70
  2. package/contracts/wirecat.json +77 -8
  3. package/dist/bin/drive.js +2 -2
  4. package/dist/bundle/agent-23OB2NZP.js +46 -0
  5. package/dist/bundle/{all-profiles-FW3GK3QO.js → all-profiles-GXGDVNQJ.js} +67 -25
  6. package/dist/bundle/{anthropic-QVKJT3II.js → anthropic-H5C4GQHC.js} +9 -9
  7. package/dist/bundle/{app-server-QU73RD5R.js → app-server-EQ3UK4C7.js} +97 -79
  8. package/dist/bundle/{bun-5XCD5CBB.js → bun-DTJVSRY3.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-TIGSVNSV.js → bun-sqlite-JIFY7MAE.js} +9 -9
  10. package/dist/bundle/chunk-2Q325BBD.js +353 -0
  11. package/dist/bundle/chunk-35FIJGTT.js +52 -0
  12. package/dist/bundle/{chunk-7C5KENNU.js → chunk-3FRQ6V4T.js} +3 -3
  13. package/dist/bundle/chunk-47L262VI.js +340 -0
  14. package/dist/bundle/chunk-4HP6KGBI.js +32 -0
  15. package/dist/bundle/{chunk-GA3URWIF.js → chunk-4HPXWYTE.js} +1 -1
  16. package/dist/bundle/{chunk-HYXXMSVD.js → chunk-4IUNYYYL.js} +4473 -2685
  17. package/dist/bundle/{chunk-FYPW7NMH.js → chunk-4JS32SRX.js} +64 -4
  18. package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
  19. package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
  20. package/dist/bundle/{chunk-SONPLYV7.js → chunk-55FH6IEL.js} +5 -5
  21. package/dist/bundle/{chunk-VVN6GHAZ.js → chunk-5BNMWSU2.js} +659 -255
  22. package/dist/bundle/{chunk-FVTKFIQH.js → chunk-5H747A76.js} +5496 -3195
  23. package/dist/bundle/{chunk-PR7XD2DI.js → chunk-5KWCO56H.js} +2 -2
  24. package/dist/bundle/{chunk-3AHBZP33.js → chunk-5U3NCE5R.js} +35 -12
  25. package/dist/bundle/{chunk-HRATXUFH.js → chunk-6CCO3JCM.js} +31 -22
  26. package/dist/bundle/{chunk-RLNZ7NX5.js → chunk-6ZW2ZJYC.js} +2 -2
  27. package/dist/bundle/{chunk-RQNRYF6D.js → chunk-75DAHQOV.js} +3 -3
  28. package/dist/bundle/{chunk-7QSRODXM.js → chunk-77OBW43F.js} +6 -6
  29. package/dist/bundle/{chunk-GV5DGHSA.js → chunk-7EFM6AW3.js} +4 -4
  30. package/dist/bundle/{chunk-BXPC5TFG.js → chunk-A3S7QM5L.js} +3 -3
  31. package/dist/bundle/{chunk-IGNIUDI3.js → chunk-AA4LKC6W.js} +251 -565
  32. package/dist/bundle/chunk-ASTKHB6B.js +3233 -0
  33. package/dist/bundle/{chunk-3TCMANIM.js → chunk-BM6V7456.js} +8 -227
  34. package/dist/bundle/chunk-BO6EDBYJ.js +50 -0
  35. package/dist/bundle/{chunk-F5KJWRF5.js → chunk-BPA3R4KN.js} +2 -100
  36. package/dist/bundle/chunk-CIFE4KPX.js +2159 -0
  37. package/dist/bundle/chunk-CKB4XZZJ.js +730 -0
  38. package/dist/bundle/{chunk-YCL3SK4T.js → chunk-COJTCEZP.js} +113 -860
  39. package/dist/bundle/{chunk-BD2K2ONK.js → chunk-CWPYDT73.js} +6 -6
  40. package/dist/bundle/{chunk-6BMTW5A6.js → chunk-D4JNCXS7.js} +9 -9
  41. package/dist/bundle/chunk-DCPWZIOV.js +696 -0
  42. package/dist/bundle/{chunk-P7PLKNPX.js → chunk-DHMNCOQI.js} +415 -272
  43. package/dist/bundle/chunk-DOQMH4DC.js +280 -0
  44. package/dist/bundle/chunk-DQSOYH6N.js +20 -0
  45. package/dist/bundle/{chunk-ML3R2UHV.js → chunk-DWRUOLBF.js} +4 -4
  46. package/dist/bundle/{chunk-5JTB4URG.js → chunk-E3VWZC3K.js} +14 -13
  47. package/dist/bundle/chunk-ECYOTDJM.js +14 -0
  48. package/dist/bundle/{chunk-7IBENBCK.js → chunk-EVG3AA5M.js} +2 -2
  49. package/dist/bundle/chunk-F4BX7TH2.js +15 -0
  50. package/dist/bundle/{chunk-FCSHWUMW.js → chunk-FBEZSA76.js} +5 -5
  51. package/dist/bundle/{chunk-RHSBXOQM.js → chunk-FBQJN74J.js} +1 -1
  52. package/dist/bundle/{chunk-4WK26MPY.js → chunk-FIZOPJYY.js} +1 -1
  53. package/dist/bundle/chunk-FNAYSZWK.js +783 -0
  54. package/dist/bundle/{chunk-LINBDWJK.js → chunk-FRCJHGZM.js} +2 -2
  55. package/dist/bundle/{chunk-RCTOWLCD.js → chunk-FTG5QBSD.js} +41 -33
  56. package/dist/bundle/{chunk-ABZ2NYDT.js → chunk-FUDUXIVG.js} +1 -1
  57. package/dist/bundle/{chunk-NYECVHFH.js → chunk-G4NHRFS7.js} +755 -0
  58. package/dist/bundle/{chunk-PAPY6Q6H.js → chunk-GIEZYBRC.js} +1 -1
  59. package/dist/bundle/chunk-GTPPUBYU.js +1876 -0
  60. package/dist/bundle/chunk-GU6ICH53.js +108 -0
  61. package/dist/bundle/{chunk-REM5WHHQ.js → chunk-GUMKKRE6.js} +107 -71
  62. package/dist/bundle/{chunk-QBAOIMVB.js → chunk-GWCDOYSC.js} +1 -1
  63. package/dist/bundle/{chunk-HHAZ6DCY.js → chunk-GXGSC622.js} +69 -7
  64. package/dist/bundle/chunk-HAGXTGJC.js +188 -0
  65. package/dist/bundle/{chunk-TNKQDS5A.js → chunk-IMAWQC5K.js} +6 -6
  66. package/dist/bundle/{chunk-ZHZYGY5R.js → chunk-IVGVVSPW.js} +4 -4
  67. package/dist/bundle/{chunk-EDO5LZVF.js → chunk-J4NUHSM7.js} +1 -1
  68. package/dist/bundle/{chunk-DVVUJ254.js → chunk-K652FYCO.js} +6 -6
  69. package/dist/bundle/chunk-K6ZWNTXY.js +561 -0
  70. package/dist/bundle/{chunk-FONIFRYI.js → chunk-KF3ZBQJV.js} +4 -4
  71. package/dist/bundle/chunk-KFZCHJRT.js +80 -0
  72. package/dist/bundle/chunk-KLPFDFLI.js +221 -0
  73. package/dist/bundle/{chunk-LMJBQFW6.js → chunk-KP2XMCNT.js} +13 -13
  74. package/dist/bundle/{chunk-FADAOLGB.js → chunk-KWDZ3KVH.js} +4 -4
  75. package/dist/bundle/{chunk-MXNQZAJQ.js → chunk-KX4C32WD.js} +2 -2
  76. package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
  77. package/dist/bundle/{chunk-ILAQIBEO.js → chunk-M2ZWYVWO.js} +1 -1
  78. package/dist/bundle/chunk-MEYYH47C.js +25 -0
  79. package/dist/bundle/{chunk-ZCXWV4XO.js → chunk-ML2QIWX2.js} +4 -4
  80. package/dist/bundle/{chunk-XOL346TJ.js → chunk-MUFF2YTH.js} +2 -2
  81. package/dist/bundle/{chunk-GAHIHE4K.js → chunk-N24YSLED.js} +9166 -9751
  82. package/dist/bundle/chunk-N4GTCPML.js +7 -0
  83. package/dist/bundle/{chunk-DVI72ZQG.js → chunk-NBMGDRP4.js} +1 -1
  84. package/dist/bundle/chunk-NMQRSEZM.js +37 -0
  85. package/dist/bundle/{chunk-I7YSHUPW.js → chunk-NNGA4QDR.js} +13 -26
  86. package/dist/bundle/{chunk-5DPV7X27.js → chunk-NTZWY5R3.js} +321 -0
  87. package/dist/bundle/chunk-O7CZZ36M.js +80 -0
  88. package/dist/bundle/{chunk-HWUPU6WX.js → chunk-OAONP6KI.js} +13 -9
  89. package/dist/bundle/{chunk-3CHW7JGR.js → chunk-OESP4PHB.js} +17 -17
  90. package/dist/bundle/chunk-OHR6IZNH.js +116 -0
  91. package/dist/bundle/{chunk-54NDYVZA.js → chunk-OLCU7Q2B.js} +1 -1
  92. package/dist/bundle/{chunk-FN3RXBO7.js → chunk-OLDQLEPA.js} +6 -6
  93. package/dist/bundle/{chunk-7DJNURKV.js → chunk-OPIPG6AP.js} +16 -9
  94. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  95. package/dist/bundle/chunk-PRYMT3OG.js +30 -0
  96. package/dist/bundle/chunk-QDUIVMEW.js +36 -0
  97. package/dist/bundle/{chunk-66PL7P4C.js → chunk-QKBPCX7Y.js} +1 -1
  98. package/dist/bundle/{chunk-PN4JYURZ.js → chunk-QSLOACDT.js} +201 -423
  99. package/dist/bundle/{chunk-3UWRAIWA.js → chunk-QUZFDU4K.js} +4 -4
  100. package/dist/bundle/{chunk-KSJAFMU5.js → chunk-R32DHS6J.js} +211 -380
  101. package/dist/bundle/{chunk-2SBC4DVV.js → chunk-R57QUYBG.js} +6 -28
  102. package/dist/bundle/{chunk-IFTX7AQU.js → chunk-R64OSDOD.js} +45 -66
  103. package/dist/bundle/{chunk-WJK6KTCS.js → chunk-RSPBVKOC.js} +8 -8
  104. package/dist/bundle/{chunk-GPDPEHYX.js → chunk-SPNPJ3FZ.js} +3 -4
  105. package/dist/bundle/chunk-SQHDSIFL.js +388 -0
  106. package/dist/bundle/{chunk-XZBA6FVH.js → chunk-ST35FIUG.js} +3 -3
  107. package/dist/bundle/{chunk-37MAA6F2.js → chunk-STUPCKAA.js} +11 -2221
  108. package/dist/bundle/chunk-SZ7XJZGH.js +2231 -0
  109. package/dist/bundle/chunk-TRYYWV7J.js +291 -0
  110. package/dist/bundle/{chunk-OY7TNUEC.js → chunk-TTPWKTVR.js} +1 -1
  111. package/dist/bundle/{chunk-3UZ4OH22.js → chunk-U7VEJ3CW.js} +49 -129
  112. package/dist/bundle/{chunk-6Y2BYFXQ.js → chunk-UC7JLE6J.js} +0 -7
  113. package/dist/bundle/{chunk-HK225DAG.js → chunk-UIQ35CA5.js} +1 -1
  114. package/dist/bundle/{chunk-GK3BJMGK.js → chunk-UJY26HW4.js} +1 -1
  115. package/dist/bundle/{chunk-EG62WVR2.js → chunk-UWG3PRY7.js} +9 -60
  116. package/dist/bundle/{chunk-BBRMDMIR.js → chunk-VAR3MJU6.js} +3 -3
  117. package/dist/bundle/{chunk-GJZSVSV3.js → chunk-VPQSI5IU.js} +4 -4
  118. package/dist/bundle/{chunk-YZPE72GE.js → chunk-VQPT3Y7W.js} +12 -12
  119. package/dist/bundle/{chunk-T5D4OGDC.js → chunk-WMG3H2VK.js} +2 -2
  120. package/dist/bundle/{chunk-6DPOWBKA.js → chunk-X5BGAZC5.js} +6 -6
  121. package/dist/bundle/{chunk-DHX27E5M.js → chunk-XC6TRWLZ.js} +3 -3
  122. package/dist/bundle/{chunk-Q5C6YKAY.js → chunk-XQZEMRCU.js} +402 -402
  123. package/dist/bundle/{chunk-54BQWRJL.js → chunk-XZ7MO6EU.js} +7 -7
  124. package/dist/bundle/{chunk-TGS5VPJD.js → chunk-YAIOEPKU.js} +341 -433
  125. package/dist/bundle/chunk-YHWFF6DN.js +39 -0
  126. package/dist/bundle/{chunk-WWE5GO6G.js → chunk-YWOLQEDV.js} +16 -3
  127. package/dist/bundle/{chunk-DR57KDAY.js → chunk-ZFDSJ5YJ.js} +38 -8
  128. package/dist/bundle/{chunk-BBFXQPKD.js → chunk-ZFUZEFU6.js} +3 -3
  129. package/dist/bundle/{chunk-YRUR3E3E.js → chunk-ZJKXSMXK.js} +72 -59
  130. package/dist/bundle/{chunk-BFKFKDPC.js → chunk-ZKWT6HXT.js} +1 -1
  131. package/dist/bundle/chunk-ZPUY3COZ.js +250 -0
  132. package/dist/bundle/{cli-K4D4DIGQ.js → cli-2P5FW2RL.js} +201 -98
  133. package/dist/bundle/command-contract-BMQT2G5X.js +45 -0
  134. package/dist/bundle/{command-server-entry-WREK3QBB.js → command-server-entry-KP2UDGLA.js} +36 -34
  135. package/dist/bundle/{decode-SEETPKBH.js → decode-K2JZ5D6V.js} +10 -10
  136. package/dist/bundle/{dispatch-SQCEURVK.js → dispatch-KOQZA74A.js} +10 -10
  137. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  138. package/dist/bundle/drive.js +11 -11
  139. package/dist/bundle/{echarts-WZ5RKFCX.js → echarts-URO3QGCG.js} +2 -2
  140. package/dist/bundle/{embed-B2UCRZZR.js → embed-JLIPWTNN.js} +10 -10
  141. package/dist/bundle/{embedder-4R6Z7G7L.js → embedder-LUTDO3HS.js} +15 -15
  142. package/dist/bundle/entry-AVF6LMG7.js +25 -0
  143. package/dist/bundle/{failure-CYNXH3RQ.js → failure-GJMQLM7O.js} +4 -4
  144. package/dist/bundle/first-run-VYTIEUDA.js +31 -0
  145. package/dist/bundle/first-screen-QVZPF7KL.js +45 -0
  146. package/dist/bundle/google-VX7IPACN.js +46 -0
  147. package/dist/bundle/{google-api-SAND2F7L.js → google-api-RFXKRLL4.js} +88 -73
  148. package/dist/bundle/grants-4XWJFVD6.js +133 -0
  149. package/dist/bundle/hast-util-from-html-X2DCPS3T.js +10531 -0
  150. package/dist/bundle/hast-util-to-html-VP6XLPKJ.js +998 -0
  151. package/dist/bundle/hast-util-to-mdast-IZ5PRX72.js +2272 -0
  152. package/dist/bundle/{identity-JVVGS4U6.js → identity-FXPB5EMT.js} +7 -6
  153. package/dist/bundle/{instructions-JSMTSB22.js → instructions-IROIUVZI.js} +1 -1
  154. package/dist/bundle/{login-6WG3YBDU.js → login-WIY5VQU7.js} +96 -81
  155. package/dist/bundle/{mcp-VFIOZDVY.js → mcp-NJIOKW3E.js} +2 -2
  156. package/dist/bundle/{mdast-util-from-markdown-FXEPSNER.js → mdast-util-from-markdown-HEZF7KJ4.js} +137 -195
  157. package/dist/bundle/mdast-util-gfm-AQW6R6MG.js +925 -0
  158. package/dist/bundle/mdast-util-to-hast-DF2QVIRV.js +879 -0
  159. package/dist/bundle/mdast-util-to-markdown-XYLXB3Z3.js +18 -0
  160. package/dist/bundle/meeting-combined-JUNV35GM.js +28 -0
  161. package/dist/bundle/meeting-model-XY4UNWWK.js +29 -0
  162. package/dist/bundle/{meeting-semantic-5U7JQCFF.js → meeting-semantic-62QNQMOM.js} +10 -10
  163. package/dist/bundle/{micromark-extension-gfm-GRL24TU6.js → micromark-extension-gfm-OE2GBORZ.js} +11 -78
  164. package/dist/bundle/{node-VJMVHOWD.js → node-IACCI2CW.js} +2 -2
  165. package/dist/bundle/{node-sqlite-DCNT3HVE.js → node-sqlite-WYIRC7C7.js} +10 -10
  166. package/dist/bundle/notes-search-DEDUJKSN.js +70 -0
  167. package/dist/bundle/oauth-HXBXF4VI.js +22 -0
  168. package/dist/bundle/{open-NFOEHVW7.js → open-H32B6BCT.js} +8 -8
  169. package/dist/bundle/{openai-D47WY7EC.js → openai-VHMPJJUG.js} +22 -21
  170. package/dist/bundle/{process-Q2FRU5VA.js → process-RNHPF5OK.js} +1 -1
  171. package/dist/bundle/{program-T2AJJQEM.js → program-GYMJ3DDH.js} +276 -1132
  172. package/dist/bundle/{prompt-YJSDABXN.js → prompt-TOG2CRCE.js} +8 -8
  173. package/dist/bundle/{reasons-WEHPCSJX.js → reasons-TLFQ45YX.js} +6 -5
  174. package/dist/bundle/{recognize-6OBEIEB3.js → recognize-GYGY45EY.js} +7 -7
  175. package/dist/bundle/remote-6XN2QLI5.js +35 -0
  176. package/dist/bundle/{rerank-L6F5SLIB.js → rerank-HJO3O4TW.js} +11 -11
  177. package/dist/bundle/{serve-GYSWIWH4.js → serve-XPCNLHCR.js} +19 -19
  178. package/dist/bundle/server-UBJZ66XE.js +97 -0
  179. package/dist/bundle/{server-GWWP3RIT.js → server-WPT3NC5B.js} +89 -70
  180. package/dist/bundle/{services-BDQBRXT5.js → services-253KKKVU.js} +109 -89
  181. package/dist/bundle/{sqlite-runtime-ZSZGAUYB.js → sqlite-runtime-EZASGJXW.js} +9 -9
  182. package/dist/bundle/{start-BJ275RUK.js → start-UHI35JFL.js} +7 -7
  183. package/dist/bundle/{state-HLNGFI2T.js → state-KJTSPFGK.js} +9 -9
  184. package/dist/bundle/{store-I43KZNJW.js → store-62J2H2A3.js} +36 -25
  185. package/dist/bundle/{store-OSRTGYGI.js → store-G5B7T7M7.js} +38 -23
  186. package/dist/bundle/store-maintenance-command-C6T4YLVF.js +85 -0
  187. package/dist/bundle/surface-3OT64BHS.js +83 -0
  188. package/dist/bundle/tokens-EHYO6D2X.js +133 -0
  189. package/dist/commands/documents.d.ts.map +1 -1
  190. package/dist/commands/documents.js +11 -1
  191. package/dist/commands/documents.js.map +1 -1
  192. package/dist/commands/remote.d.ts.map +1 -1
  193. package/dist/commands/remote.js +8 -22
  194. package/dist/commands/remote.js.map +1 -1
  195. package/dist/commands/sync.d.ts.map +1 -1
  196. package/dist/commands/sync.js +14 -4
  197. package/dist/commands/sync.js.map +1 -1
  198. package/dist/config.d.ts +5 -0
  199. package/dist/config.d.ts.map +1 -1
  200. package/dist/config.js +7 -1
  201. package/dist/config.js.map +1 -1
  202. package/dist/first-screen.d.ts.map +1 -1
  203. package/dist/first-screen.js +2 -1
  204. package/dist/first-screen.js.map +1 -1
  205. package/dist/generated/manifest.d.ts +2 -1
  206. package/dist/generated/manifest.d.ts.map +1 -1
  207. package/dist/generated/manifest.js +782 -0
  208. package/dist/generated/manifest.js.map +1 -1
  209. package/dist/generated/types.d.ts +262 -58
  210. package/dist/generated/types.d.ts.map +1 -1
  211. package/dist/google.d.ts.map +1 -1
  212. package/dist/google.js +5 -5
  213. package/dist/google.js.map +1 -1
  214. package/dist/model.d.ts +5 -2
  215. package/dist/model.d.ts.map +1 -1
  216. package/dist/model.js.map +1 -1
  217. package/dist/policy-keys.js +1 -1
  218. package/dist/policy-keys.js.map +1 -1
  219. package/dist/program.d.ts.map +1 -1
  220. package/dist/program.js +9 -4
  221. package/dist/program.js.map +1 -1
  222. package/dist/state.d.ts.map +1 -1
  223. package/dist/state.js +6 -1
  224. package/dist/state.js.map +1 -1
  225. package/dist/store.d.ts.map +1 -1
  226. package/dist/store.js +2 -7
  227. package/dist/store.js.map +1 -1
  228. package/dist/supported.d.ts +2 -2
  229. package/dist/supported.d.ts.map +1 -1
  230. package/dist/supported.js +2 -3
  231. package/dist/supported.js.map +1 -1
  232. package/dist/sync.d.ts +2 -1
  233. package/dist/sync.d.ts.map +1 -1
  234. package/dist/sync.js +6 -4
  235. package/dist/sync.js.map +1 -1
  236. package/dist/transcripts.d.ts +0 -6
  237. package/dist/transcripts.d.ts.map +1 -1
  238. package/dist/transcripts.js +0 -13
  239. package/dist/transcripts.js.map +1 -1
  240. package/dist/version.d.ts +1 -1
  241. package/dist/version.js +1 -1
  242. package/package.json +3 -3
  243. package/scenarios/find-decision.md +1 -1
  244. package/skills/drive-cli/SKILL.md +4 -2
  245. package/dist/bundle/chunk-AV5UKJZM.js +0 -729
  246. package/dist/bundle/chunk-NP7LJATI.js +0 -598
  247. package/dist/bundle/chunk-P77FL6RY.js +0 -896
  248. package/dist/bundle/chunk-ZI3YTXSF.js +0 -2
  249. package/dist/bundle/command-contract-V3F452QI.js +0 -43
  250. package/dist/bundle/entry-ORZYRJ5N.js +0 -25
  251. package/dist/bundle/first-run-KAKA6KBY.js +0 -31
  252. package/dist/bundle/first-screen-R645UHRH.js +0 -41
  253. package/dist/bundle/google-BSO3YB7N.js +0 -45
  254. package/dist/bundle/grants-PLNFYARD.js +0 -118
  255. package/dist/bundle/mdast-util-gfm-SZM5GBDF.js +0 -2103
  256. package/dist/bundle/meeting-combined-SUKMFK3F.js +0 -27
  257. package/dist/bundle/meeting-model-S4YGKIFI.js +0 -29
  258. package/dist/bundle/oauth-KCMNQ3ZP.js +0 -22
  259. package/dist/bundle/remote-3SL2QJ7T.js +0 -35
  260. package/dist/bundle/server-BI46BSRE.js +0 -80
  261. package/dist/bundle/store-maintenance-command-FO7LEVSL.js +0 -72
  262. package/dist/bundle/tokens-DB7O7QNB.js +0 -118
@@ -14,6 +14,15 @@ export const operations = [
14
14
  summary: "Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests. For example, suppose you call batchUpdate with four updates, and only the third one returns information. The response would have two empty replies, the reply to the third request, and another empty reply, in that order. Because other users may be editing the document, the document might not exactly reflect your changes: your changes may be altered with respect to collaborator changes. If there are no collaborators, the document should reflect your changes. In any case, the updates in your request are guaranteed to be applied together atomically.",
15
15
  description: "Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests. For example, suppose you call batchUpdate with four updates, and only the third one returns information. The response would have two empty replies, the reply to the third request, and another empty reply, in that order. Because other users may be editing the document, the document might not exactly reflect your changes: your changes may be altered with respect to collaborator changes. If there are no collaborators, the document should reflect your changes. In any case, the updates in your request are guaranteed to be applied together atomically.",
16
16
  tags: ["docs"],
17
+ security: [
18
+ {
19
+ oauth2: [
20
+ "https://www.googleapis.com/auth/documents",
21
+ "https://www.googleapis.com/auth/drive",
22
+ "https://www.googleapis.com/auth/drive.file",
23
+ ],
24
+ },
25
+ ],
17
26
  parameters: [
18
27
  {
19
28
  name: "fields",
@@ -112,6 +121,15 @@ export const operations = [
112
121
  summary: "Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.",
113
122
  description: "Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.",
114
123
  tags: ["docs"],
124
+ security: [
125
+ {
126
+ oauth2: [
127
+ "https://www.googleapis.com/auth/documents",
128
+ "https://www.googleapis.com/auth/drive",
129
+ "https://www.googleapis.com/auth/drive.file",
130
+ ],
131
+ },
132
+ ],
115
133
  parameters: [
116
134
  {
117
135
  name: "fields",
@@ -200,6 +218,17 @@ export const operations = [
200
218
  summary: "Gets the latest version of the specified document.",
201
219
  description: "Gets the latest version of the specified document.",
202
220
  tags: ["docs"],
221
+ security: [
222
+ {
223
+ oauth2: [
224
+ "https://www.googleapis.com/auth/documents",
225
+ "https://www.googleapis.com/auth/documents.readonly",
226
+ "https://www.googleapis.com/auth/drive",
227
+ "https://www.googleapis.com/auth/drive.file",
228
+ "https://www.googleapis.com/auth/drive.readonly",
229
+ ],
230
+ },
231
+ ],
203
232
  parameters: [
204
233
  {
205
234
  name: "fields",
@@ -335,6 +364,19 @@ export const operations = [
335
364
  summary: "Gets information about the user, the user's Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).",
336
365
  description: "Gets information about the user, the user's Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).",
337
366
  tags: ["drive"],
367
+ security: [
368
+ {
369
+ oauth2: [
370
+ "https://www.googleapis.com/auth/drive",
371
+ "https://www.googleapis.com/auth/drive.appdata",
372
+ "https://www.googleapis.com/auth/drive.file",
373
+ "https://www.googleapis.com/auth/drive.metadata",
374
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
375
+ "https://www.googleapis.com/auth/drive.photos.readonly",
376
+ "https://www.googleapis.com/auth/drive.readonly",
377
+ ],
378
+ },
379
+ ],
338
380
  parameters: [
339
381
  {
340
382
  name: "fields",
@@ -418,6 +460,17 @@ export const operations = [
418
460
  summary: "Retrieves an access proposal by ID. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access).",
419
461
  description: "Retrieves an access proposal by ID. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access).",
420
462
  tags: ["drive"],
463
+ security: [
464
+ {
465
+ oauth2: [
466
+ "https://www.googleapis.com/auth/drive",
467
+ "https://www.googleapis.com/auth/drive.file",
468
+ "https://www.googleapis.com/auth/drive.metadata",
469
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
470
+ "https://www.googleapis.com/auth/drive.readonly",
471
+ ],
472
+ },
473
+ ],
421
474
  parameters: [
422
475
  {
423
476
  name: "fields",
@@ -521,6 +574,17 @@ export const operations = [
521
574
  summary: "List the access proposals on a file. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access). Note: Only approvers are able to list access proposals on a file. If the user isn't an approver, a 403 error is returned.",
522
575
  description: "List the access proposals on a file. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access). Note: Only approvers are able to list access proposals on a file. If the user isn't an approver, a 403 error is returned.",
523
576
  tags: ["drive"],
577
+ security: [
578
+ {
579
+ oauth2: [
580
+ "https://www.googleapis.com/auth/drive",
581
+ "https://www.googleapis.com/auth/drive.file",
582
+ "https://www.googleapis.com/auth/drive.metadata",
583
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
584
+ "https://www.googleapis.com/auth/drive.readonly",
585
+ ],
586
+ },
587
+ ],
524
588
  parameters: [
525
589
  {
526
590
  name: "fields",
@@ -635,6 +699,11 @@ export const operations = [
635
699
  summary: "Approves or denies an access proposal. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access).",
636
700
  description: "Approves or denies an access proposal. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access).",
637
701
  tags: ["drive"],
702
+ security: [
703
+ {
704
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"],
705
+ },
706
+ ],
638
707
  parameters: [
639
708
  {
640
709
  name: "fields",
@@ -739,6 +808,15 @@ export const operations = [
739
808
  summary: "Approves an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This is used to update the ReviewerResponse of the requesting user with a Response of `APPROVED`. If this is the last required reviewer response, this also completes the approval and sets the approval Status to `APPROVED`.",
740
809
  description: "Approves an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This is used to update the ReviewerResponse of the requesting user with a Response of `APPROVED`. If this is the last required reviewer response, this also completes the approval and sets the approval Status to `APPROVED`.",
741
810
  tags: ["drive"],
811
+ security: [
812
+ {
813
+ oauth2: [
814
+ "https://www.googleapis.com/auth/drive",
815
+ "https://www.googleapis.com/auth/drive.file",
816
+ "https://www.googleapis.com/auth/drive.metadata",
817
+ ],
818
+ },
819
+ ],
742
820
  parameters: [
743
821
  {
744
822
  name: "fields",
@@ -847,6 +925,15 @@ export const operations = [
847
925
  summary: "Cancels an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). Updates the approval Status to `CANCELLED`. This can be called by any user with the `writer` permission on the file while the approval Status is `IN_PROGRESS`.",
848
926
  description: "Cancels an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). Updates the approval Status to `CANCELLED`. This can be called by any user with the `writer` permission on the file while the approval Status is `IN_PROGRESS`.",
849
927
  tags: ["drive"],
928
+ security: [
929
+ {
930
+ oauth2: [
931
+ "https://www.googleapis.com/auth/drive",
932
+ "https://www.googleapis.com/auth/drive.file",
933
+ "https://www.googleapis.com/auth/drive.metadata",
934
+ ],
935
+ },
936
+ ],
850
937
  parameters: [
851
938
  {
852
939
  name: "fields",
@@ -955,6 +1042,15 @@ export const operations = [
955
1042
  summary: "Comments on an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This sends a notification to both the initiator and the reviewers. Additionally, a message is also added to the approval activity log.",
956
1043
  description: "Comments on an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This sends a notification to both the initiator and the reviewers. Additionally, a message is also added to the approval activity log.",
957
1044
  tags: ["drive"],
1045
+ security: [
1046
+ {
1047
+ oauth2: [
1048
+ "https://www.googleapis.com/auth/drive",
1049
+ "https://www.googleapis.com/auth/drive.file",
1050
+ "https://www.googleapis.com/auth/drive.metadata",
1051
+ ],
1052
+ },
1053
+ ],
958
1054
  parameters: [
959
1055
  {
960
1056
  name: "fields",
@@ -1063,6 +1159,15 @@ export const operations = [
1063
1159
  summary: "Declines an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This is used to update the ReviewerResponse of the requesting user with a Response of `DECLINED`. This also completes the approval and sets the approval Status to `DECLINED`.",
1064
1160
  description: "Declines an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This is used to update the ReviewerResponse of the requesting user with a Response of `DECLINED`. This also completes the approval and sets the approval Status to `DECLINED`.",
1065
1161
  tags: ["drive"],
1162
+ security: [
1163
+ {
1164
+ oauth2: [
1165
+ "https://www.googleapis.com/auth/drive",
1166
+ "https://www.googleapis.com/auth/drive.file",
1167
+ "https://www.googleapis.com/auth/drive.metadata",
1168
+ ],
1169
+ },
1170
+ ],
1066
1171
  parameters: [
1067
1172
  {
1068
1173
  name: "fields",
@@ -1171,6 +1276,18 @@ export const operations = [
1171
1276
  summary: "Gets an approval by ID. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).",
1172
1277
  description: "Gets an approval by ID. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).",
1173
1278
  tags: ["drive"],
1279
+ security: [
1280
+ {
1281
+ oauth2: [
1282
+ "https://www.googleapis.com/auth/drive",
1283
+ "https://www.googleapis.com/auth/drive.appdata",
1284
+ "https://www.googleapis.com/auth/drive.file",
1285
+ "https://www.googleapis.com/auth/drive.metadata",
1286
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
1287
+ "https://www.googleapis.com/auth/drive.readonly",
1288
+ ],
1289
+ },
1290
+ ],
1174
1291
  parameters: [
1175
1292
  {
1176
1293
  name: "fields",
@@ -1274,6 +1391,18 @@ export const operations = [
1274
1391
  summary: "Lists the approvals on a file. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). By default, this method returns a minimal response that may not include the items array. To retrieve approval details, you must explicitly specify the fields you want using the `fields` query parameter. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).",
1275
1392
  description: "Lists the approvals on a file. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). By default, this method returns a minimal response that may not include the items array. To retrieve approval details, you must explicitly specify the fields you want using the `fields` query parameter. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).",
1276
1393
  tags: ["drive"],
1394
+ security: [
1395
+ {
1396
+ oauth2: [
1397
+ "https://www.googleapis.com/auth/drive",
1398
+ "https://www.googleapis.com/auth/drive.appdata",
1399
+ "https://www.googleapis.com/auth/drive.file",
1400
+ "https://www.googleapis.com/auth/drive.metadata",
1401
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
1402
+ "https://www.googleapis.com/auth/drive.readonly",
1403
+ ],
1404
+ },
1405
+ ],
1277
1406
  parameters: [
1278
1407
  {
1279
1408
  name: "fields",
@@ -1388,6 +1517,15 @@ export const operations = [
1388
1517
  summary: "Reassigns the reviewers on an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). Adds or replaces reviewers in the ReviewerResponse of the approval. This can be called by any user with the `writer` permission on the file while the approval Status is `IN_PROGRESS` and the Response for the reviewer being reassigned is `NO_RESPONSE`. A user with the `reader` permission can only reassign an approval that's assigned to themselves. Removing a reviewer isn't allowed.",
1389
1518
  description: "Reassigns the reviewers on an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). Adds or replaces reviewers in the ReviewerResponse of the approval. This can be called by any user with the `writer` permission on the file while the approval Status is `IN_PROGRESS` and the Response for the reviewer being reassigned is `NO_RESPONSE`. A user with the `reader` permission can only reassign an approval that's assigned to themselves. Removing a reviewer isn't allowed.",
1390
1519
  tags: ["drive"],
1520
+ security: [
1521
+ {
1522
+ oauth2: [
1523
+ "https://www.googleapis.com/auth/drive",
1524
+ "https://www.googleapis.com/auth/drive.file",
1525
+ "https://www.googleapis.com/auth/drive.metadata",
1526
+ ],
1527
+ },
1528
+ ],
1391
1529
  parameters: [
1392
1530
  {
1393
1531
  name: "fields",
@@ -1496,6 +1634,15 @@ export const operations = [
1496
1634
  summary: "Starts an approval on a file. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).",
1497
1635
  description: "Starts an approval on a file. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).",
1498
1636
  tags: ["drive"],
1637
+ security: [
1638
+ {
1639
+ oauth2: [
1640
+ "https://www.googleapis.com/auth/drive",
1641
+ "https://www.googleapis.com/auth/drive.file",
1642
+ "https://www.googleapis.com/auth/drive.metadata",
1643
+ ],
1644
+ },
1645
+ ],
1499
1646
  parameters: [
1500
1647
  {
1501
1648
  name: "fields",
@@ -1594,6 +1741,19 @@ export const operations = [
1594
1741
  summary: "Gets a specific app. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info).",
1595
1742
  description: "Gets a specific app. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info).",
1596
1743
  tags: ["drive"],
1744
+ security: [
1745
+ {
1746
+ oauth2: [
1747
+ "https://www.googleapis.com/auth/drive",
1748
+ "https://www.googleapis.com/auth/drive.appdata",
1749
+ "https://www.googleapis.com/auth/drive.apps.readonly",
1750
+ "https://www.googleapis.com/auth/drive.file",
1751
+ "https://www.googleapis.com/auth/drive.metadata",
1752
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
1753
+ "https://www.googleapis.com/auth/drive.readonly",
1754
+ ],
1755
+ },
1756
+ ],
1597
1757
  parameters: [
1598
1758
  {
1599
1759
  name: "fields",
@@ -1687,6 +1847,11 @@ export const operations = [
1687
1847
  summary: "Lists a user's installed apps. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info).",
1688
1848
  description: "Lists a user's installed apps. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info).",
1689
1849
  tags: ["drive"],
1850
+ security: [
1851
+ {
1852
+ oauth2: ["https://www.googleapis.com/auth/drive.apps.readonly"],
1853
+ },
1854
+ ],
1690
1855
  parameters: [
1691
1856
  {
1692
1857
  name: "fields",
@@ -1802,6 +1967,20 @@ export const operations = [
1802
1967
  summary: "Gets the starting pageToken for listing future changes. For more information, see [Retrieve changes](https://developers.google.com/workspace/drive/api/guides/manage-changes).",
1803
1968
  description: "Gets the starting pageToken for listing future changes. For more information, see [Retrieve changes](https://developers.google.com/workspace/drive/api/guides/manage-changes).",
1804
1969
  tags: ["drive"],
1970
+ security: [
1971
+ {
1972
+ oauth2: [
1973
+ "https://www.googleapis.com/auth/drive",
1974
+ "https://www.googleapis.com/auth/drive.appdata",
1975
+ "https://www.googleapis.com/auth/drive.file",
1976
+ "https://www.googleapis.com/auth/drive.meet.readonly",
1977
+ "https://www.googleapis.com/auth/drive.metadata",
1978
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
1979
+ "https://www.googleapis.com/auth/drive.photos.readonly",
1980
+ "https://www.googleapis.com/auth/drive.readonly",
1981
+ ],
1982
+ },
1983
+ ],
1805
1984
  parameters: [
1806
1985
  {
1807
1986
  name: "fields",
@@ -1929,6 +2108,20 @@ export const operations = [
1929
2108
  summary: "Lists the changes for a user or shared drive. For more information, see [Retrieve changes](https://developers.google.com/workspace/drive/api/guides/manage-changes).",
1930
2109
  description: "Lists the changes for a user or shared drive. For more information, see [Retrieve changes](https://developers.google.com/workspace/drive/api/guides/manage-changes).",
1931
2110
  tags: ["drive"],
2111
+ security: [
2112
+ {
2113
+ oauth2: [
2114
+ "https://www.googleapis.com/auth/drive",
2115
+ "https://www.googleapis.com/auth/drive.appdata",
2116
+ "https://www.googleapis.com/auth/drive.file",
2117
+ "https://www.googleapis.com/auth/drive.meet.readonly",
2118
+ "https://www.googleapis.com/auth/drive.metadata",
2119
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
2120
+ "https://www.googleapis.com/auth/drive.photos.readonly",
2121
+ "https://www.googleapis.com/auth/drive.readonly",
2122
+ ],
2123
+ },
2124
+ ],
1932
2125
  parameters: [
1933
2126
  {
1934
2127
  name: "fields",
@@ -2167,6 +2360,20 @@ export const operations = [
2167
2360
  summary: "Subscribes to changes for a user. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).",
2168
2361
  description: "Subscribes to changes for a user. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).",
2169
2362
  tags: ["drive"],
2363
+ security: [
2364
+ {
2365
+ oauth2: [
2366
+ "https://www.googleapis.com/auth/drive",
2367
+ "https://www.googleapis.com/auth/drive.appdata",
2368
+ "https://www.googleapis.com/auth/drive.file",
2369
+ "https://www.googleapis.com/auth/drive.meet.readonly",
2370
+ "https://www.googleapis.com/auth/drive.metadata",
2371
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
2372
+ "https://www.googleapis.com/auth/drive.photos.readonly",
2373
+ "https://www.googleapis.com/auth/drive.readonly",
2374
+ ],
2375
+ },
2376
+ ],
2170
2377
  parameters: [
2171
2378
  {
2172
2379
  name: "fields",
@@ -2410,6 +2617,20 @@ export const operations = [
2410
2617
  summary: "Stops watching resources through this channel. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).",
2411
2618
  description: "Stops watching resources through this channel. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).",
2412
2619
  tags: ["drive"],
2620
+ security: [
2621
+ {
2622
+ oauth2: [
2623
+ "https://www.googleapis.com/auth/drive",
2624
+ "https://www.googleapis.com/auth/drive.appdata",
2625
+ "https://www.googleapis.com/auth/drive.file",
2626
+ "https://www.googleapis.com/auth/drive.meet.readonly",
2627
+ "https://www.googleapis.com/auth/drive.metadata",
2628
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
2629
+ "https://www.googleapis.com/auth/drive.photos.readonly",
2630
+ "https://www.googleapis.com/auth/drive.readonly",
2631
+ ],
2632
+ },
2633
+ ],
2413
2634
  parameters: [
2414
2635
  {
2415
2636
  name: "fields",
@@ -2494,6 +2715,11 @@ export const operations = [
2494
2715
  summary: "Creates a comment on a file. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).",
2495
2716
  description: "Creates a comment on a file. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).",
2496
2717
  tags: ["drive"],
2718
+ security: [
2719
+ {
2720
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"],
2721
+ },
2722
+ ],
2497
2723
  parameters: [
2498
2724
  {
2499
2725
  name: "fields",
@@ -2592,6 +2818,11 @@ export const operations = [
2592
2818
  summary: "Deletes a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
2593
2819
  description: "Deletes a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
2594
2820
  tags: ["drive"],
2821
+ security: [
2822
+ {
2823
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"],
2824
+ },
2825
+ ],
2595
2826
  parameters: [
2596
2827
  {
2597
2828
  name: "fields",
@@ -2691,6 +2922,16 @@ export const operations = [
2691
2922
  summary: "Gets a comment by ID. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).",
2692
2923
  description: "Gets a comment by ID. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).",
2693
2924
  tags: ["drive"],
2925
+ security: [
2926
+ {
2927
+ oauth2: [
2928
+ "https://www.googleapis.com/auth/drive",
2929
+ "https://www.googleapis.com/auth/drive.file",
2930
+ "https://www.googleapis.com/auth/drive.meet.readonly",
2931
+ "https://www.googleapis.com/auth/drive.readonly",
2932
+ ],
2933
+ },
2934
+ ],
2694
2935
  parameters: [
2695
2936
  {
2696
2937
  name: "fields",
@@ -2805,6 +3046,16 @@ export const operations = [
2805
3046
  summary: "Lists a file's comments. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).",
2806
3047
  description: "Lists a file's comments. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).",
2807
3048
  tags: ["drive"],
3049
+ security: [
3050
+ {
3051
+ oauth2: [
3052
+ "https://www.googleapis.com/auth/drive",
3053
+ "https://www.googleapis.com/auth/drive.file",
3054
+ "https://www.googleapis.com/auth/drive.meet.readonly",
3055
+ "https://www.googleapis.com/auth/drive.readonly",
3056
+ ],
3057
+ },
3058
+ ],
2808
3059
  parameters: [
2809
3060
  {
2810
3061
  name: "fields",
@@ -2943,6 +3194,11 @@ export const operations = [
2943
3194
  summary: "Updates a comment with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).",
2944
3195
  description: "Updates a comment with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).",
2945
3196
  tags: ["drive"],
3197
+ security: [
3198
+ {
3199
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"],
3200
+ },
3201
+ ],
2946
3202
  parameters: [
2947
3203
  {
2948
3204
  name: "fields",
@@ -3051,6 +3307,11 @@ export const operations = [
3051
3307
  summary: "Creates a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3052
3308
  description: "Creates a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3053
3309
  tags: ["drive"],
3310
+ security: [
3311
+ {
3312
+ oauth2: ["https://www.googleapis.com/auth/drive"],
3313
+ },
3314
+ ],
3054
3315
  parameters: [
3055
3316
  {
3056
3317
  name: "fields",
@@ -3149,6 +3410,11 @@ export const operations = [
3149
3410
  summary: "Permanently deletes a shared drive for which the user is an `organizer`. The shared drive cannot contain any untrashed items. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3150
3411
  description: "Permanently deletes a shared drive for which the user is an `organizer`. The shared drive cannot contain any untrashed items. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3151
3412
  tags: ["drive"],
3413
+ security: [
3414
+ {
3415
+ oauth2: ["https://www.googleapis.com/auth/drive"],
3416
+ },
3417
+ ],
3152
3418
  parameters: [
3153
3419
  {
3154
3420
  name: "fields",
@@ -3260,6 +3526,11 @@ export const operations = [
3260
3526
  summary: "Gets a shared drive's metadata by ID. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3261
3527
  description: "Gets a shared drive's metadata by ID. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3262
3528
  tags: ["drive"],
3529
+ security: [
3530
+ {
3531
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.readonly"],
3532
+ },
3533
+ ],
3263
3534
  parameters: [
3264
3535
  {
3265
3536
  name: "fields",
@@ -3364,6 +3635,11 @@ export const operations = [
3364
3635
  summary: "Hides a shared drive from the default view. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3365
3636
  description: "Hides a shared drive from the default view. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3366
3637
  tags: ["drive"],
3638
+ security: [
3639
+ {
3640
+ oauth2: ["https://www.googleapis.com/auth/drive"],
3641
+ },
3642
+ ],
3367
3643
  parameters: [
3368
3644
  {
3369
3645
  name: "fields",
@@ -3457,6 +3733,11 @@ export const operations = [
3457
3733
  summary: " Lists the user's shared drives. This method accepts the `q` parameter, which is a search query combining one or more search terms. For more information, see the [Search for shared drives](https://developers.google.com/workspace/drive/api/guides/search-shareddrives) guide.",
3458
3734
  description: " Lists the user's shared drives. This method accepts the `q` parameter, which is a search query combining one or more search terms. For more information, see the [Search for shared drives](https://developers.google.com/workspace/drive/api/guides/search-shareddrives) guide.",
3459
3735
  tags: ["drive"],
3736
+ security: [
3737
+ {
3738
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.readonly"],
3739
+ },
3740
+ ],
3460
3741
  parameters: [
3461
3742
  {
3462
3743
  name: "fields",
@@ -3585,6 +3866,11 @@ export const operations = [
3585
3866
  summary: "Restores a shared drive to the default view. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3586
3867
  description: "Restores a shared drive to the default view. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3587
3868
  tags: ["drive"],
3869
+ security: [
3870
+ {
3871
+ oauth2: ["https://www.googleapis.com/auth/drive"],
3872
+ },
3873
+ ],
3588
3874
  parameters: [
3589
3875
  {
3590
3876
  name: "fields",
@@ -3678,6 +3964,11 @@ export const operations = [
3678
3964
  summary: "Updates the metadata for a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3679
3965
  description: "Updates the metadata for a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3680
3966
  tags: ["drive"],
3967
+ security: [
3968
+ {
3969
+ oauth2: ["https://www.googleapis.com/auth/drive"],
3970
+ },
3971
+ ],
3681
3972
  parameters: [
3682
3973
  {
3683
3974
  name: "fields",
@@ -3787,6 +4078,16 @@ export const operations = [
3787
4078
  summary: "Creates a copy of a file and applies any requested updates with patch semantics. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file).",
3788
4079
  description: "Creates a copy of a file and applies any requested updates with patch semantics. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file).",
3789
4080
  tags: ["drive"],
4081
+ security: [
4082
+ {
4083
+ oauth2: [
4084
+ "https://www.googleapis.com/auth/drive",
4085
+ "https://www.googleapis.com/auth/drive.appdata",
4086
+ "https://www.googleapis.com/auth/drive.file",
4087
+ "https://www.googleapis.com/auth/drive.photos.readonly",
4088
+ ],
4089
+ },
4090
+ ],
3790
4091
  parameters: [
3791
4092
  {
3792
4093
  name: "fields",
@@ -3983,6 +4284,15 @@ export const operations = [
3983
4284
  summary: ' Creates a file. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file). This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information, see [Google Workspace and Google Drive supported MIME types](https://developers.google.com/workspace/drive/api/guides/mime-types).) For more information on uploading files, see [Upload file data](https://developers.google.com/workspace/drive/api/guides/manage-uploads). Apps creating shortcuts with the `create` method must specify the MIME type `application/vnd.google-apps.shortcut`. Apps should specify a file extension in the `name` property when inserting files with the API. For example, an operation to insert a JPEG file should specify something like `"name": "cat.jpg"` in the metadata. Subsequent `GET` requests include the read-only `fileExtension` property populated with the extension originally specified in the `name` property. When a Google Drive user requests to download a file, or when the file is downloaded through the sync client, Drive builds a full filename (with extension) based on the name. In cases where the extension is missing, Drive attempts to determine the extension based on the file\'s MIME type.',
3984
4285
  description: ' Creates a file. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file). This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information, see [Google Workspace and Google Drive supported MIME types](https://developers.google.com/workspace/drive/api/guides/mime-types).) For more information on uploading files, see [Upload file data](https://developers.google.com/workspace/drive/api/guides/manage-uploads). Apps creating shortcuts with the `create` method must specify the MIME type `application/vnd.google-apps.shortcut`. Apps should specify a file extension in the `name` property when inserting files with the API. For example, an operation to insert a JPEG file should specify something like `"name": "cat.jpg"` in the metadata. Subsequent `GET` requests include the read-only `fileExtension` property populated with the extension originally specified in the `name` property. When a Google Drive user requests to download a file, or when the file is downloaded through the sync client, Drive builds a full filename (with extension) based on the name. In cases where the extension is missing, Drive attempts to determine the extension based on the file\'s MIME type.',
3985
4286
  tags: ["drive"],
4287
+ security: [
4288
+ {
4289
+ oauth2: [
4290
+ "https://www.googleapis.com/auth/drive",
4291
+ "https://www.googleapis.com/auth/drive.appdata",
4292
+ "https://www.googleapis.com/auth/drive.file",
4293
+ ],
4294
+ },
4295
+ ],
3986
4296
  parameters: [
3987
4297
  {
3988
4298
  name: "fields",
@@ -4169,6 +4479,15 @@ export const operations = [
4169
4479
  summary: "Permanently deletes a file owned by the user without moving it to the trash. For more information, see [Trash or delete files and folders](https://developers.google.com/workspace/drive/api/guides/delete). If the file belongs to a shared drive, the user must be an `organizer` on the parent folder. If the target is a folder, all descendants owned by the user are also deleted.",
4170
4480
  description: "Permanently deletes a file owned by the user without moving it to the trash. For more information, see [Trash or delete files and folders](https://developers.google.com/workspace/drive/api/guides/delete). If the file belongs to a shared drive, the user must be an `organizer` on the parent folder. If the target is a folder, all descendants owned by the user are also deleted.",
4171
4481
  tags: ["drive"],
4482
+ security: [
4483
+ {
4484
+ oauth2: [
4485
+ "https://www.googleapis.com/auth/drive",
4486
+ "https://www.googleapis.com/auth/drive.appdata",
4487
+ "https://www.googleapis.com/auth/drive.file",
4488
+ ],
4489
+ },
4490
+ ],
4172
4491
  parameters: [
4173
4492
  {
4174
4493
  name: "fields",
@@ -4293,6 +4612,15 @@ export const operations = [
4293
4612
  summary: "Downloads the content of a file. For more information, see [Download and export files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). Operations are valid for 24 hours from the time of creation.",
4294
4613
  description: "Downloads the content of a file. For more information, see [Download and export files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). Operations are valid for 24 hours from the time of creation.",
4295
4614
  tags: ["drive"],
4615
+ security: [
4616
+ {
4617
+ oauth2: [
4618
+ "https://www.googleapis.com/auth/drive",
4619
+ "https://www.googleapis.com/auth/drive.file",
4620
+ "https://www.googleapis.com/auth/drive.readonly",
4621
+ ],
4622
+ },
4623
+ ],
4296
4624
  parameters: [
4297
4625
  {
4298
4626
  name: "fields",
@@ -4406,6 +4734,11 @@ export const operations = [
4406
4734
  summary: "Permanently deletes all of the user's trashed files. For more information, see [Trash or delete files and folders](https://developers.google.com/workspace/drive/api/guides/delete).",
4407
4735
  description: "Permanently deletes all of the user's trashed files. For more information, see [Trash or delete files and folders](https://developers.google.com/workspace/drive/api/guides/delete).",
4408
4736
  tags: ["drive"],
4737
+ security: [
4738
+ {
4739
+ oauth2: ["https://www.googleapis.com/auth/drive"],
4740
+ },
4741
+ ],
4409
4742
  parameters: [
4410
4743
  {
4411
4744
  name: "fields",
@@ -4507,6 +4840,16 @@ export const operations = [
4507
4840
  summary: "Exports a Google Workspace document to the requested MIME type and returns exported byte content. For more information, see [Download and export files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). Note that the exported content is limited to 10 MB.",
4508
4841
  description: "Exports a Google Workspace document to the requested MIME type and returns exported byte content. For more information, see [Download and export files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). Note that the exported content is limited to 10 MB.",
4509
4842
  tags: ["drive"],
4843
+ security: [
4844
+ {
4845
+ oauth2: [
4846
+ "https://www.googleapis.com/auth/drive",
4847
+ "https://www.googleapis.com/auth/drive.file",
4848
+ "https://www.googleapis.com/auth/drive.meet.readonly",
4849
+ "https://www.googleapis.com/auth/drive.readonly",
4850
+ ],
4851
+ },
4852
+ ],
4510
4853
  parameters: [
4511
4854
  {
4512
4855
  name: "fields",
@@ -4606,6 +4949,11 @@ export const operations = [
4606
4949
  summary: "Generates a CSE token which can be used to create or update CSE files.",
4607
4950
  description: "Generates a CSE token which can be used to create or update CSE files.",
4608
4951
  tags: ["drive"],
4952
+ security: [
4953
+ {
4954
+ oauth2: ["https://www.googleapis.com/auth/drive"],
4955
+ },
4956
+ ],
4609
4957
  parameters: [
4610
4958
  {
4611
4959
  name: "fields",
@@ -4709,6 +5057,15 @@ export const operations = [
4709
5057
  summary: "Generates a set of file IDs which can be provided in create or copy requests. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file).",
4710
5058
  description: "Generates a set of file IDs which can be provided in create or copy requests. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file).",
4711
5059
  tags: ["drive"],
5060
+ security: [
5061
+ {
5062
+ oauth2: [
5063
+ "https://www.googleapis.com/auth/drive",
5064
+ "https://www.googleapis.com/auth/drive.appdata",
5065
+ "https://www.googleapis.com/auth/drive.file",
5066
+ ],
5067
+ },
5068
+ ],
4712
5069
  parameters: [
4713
5070
  {
4714
5071
  name: "fields",
@@ -4828,6 +5185,20 @@ export const operations = [
4828
5185
  summary: " Gets a file's metadata or content by ID. For more information, see [Search for files and folders](https://developers.google.com/workspace/drive/api/guides/search-files). If you provide the URL parameter `alt=media`, then the response includes the file contents in the response body. Downloading content with `alt=media` only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use [`files.export`](https://developers.google.com/workspace/drive/api/reference/rest/v3/files/export) instead. For more information, see [Download and export files](https://developers.google.com/workspace/drive/api/guides/manage-downloads).",
4829
5186
  description: " Gets a file's metadata or content by ID. For more information, see [Search for files and folders](https://developers.google.com/workspace/drive/api/guides/search-files). If you provide the URL parameter `alt=media`, then the response includes the file contents in the response body. Downloading content with `alt=media` only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use [`files.export`](https://developers.google.com/workspace/drive/api/reference/rest/v3/files/export) instead. For more information, see [Download and export files](https://developers.google.com/workspace/drive/api/guides/manage-downloads).",
4830
5187
  tags: ["drive"],
5188
+ security: [
5189
+ {
5190
+ oauth2: [
5191
+ "https://www.googleapis.com/auth/drive",
5192
+ "https://www.googleapis.com/auth/drive.appdata",
5193
+ "https://www.googleapis.com/auth/drive.file",
5194
+ "https://www.googleapis.com/auth/drive.meet.readonly",
5195
+ "https://www.googleapis.com/auth/drive.metadata",
5196
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
5197
+ "https://www.googleapis.com/auth/drive.photos.readonly",
5198
+ "https://www.googleapis.com/auth/drive.readonly",
5199
+ ],
5200
+ },
5201
+ ],
4831
5202
  parameters: [
4832
5203
  {
4833
5204
  name: "fields",
@@ -4975,6 +5346,20 @@ export const operations = [
4975
5346
  summary: " Lists the user's files. For more information, see [Search for files and folders](https://developers.google.com/workspace/drive/api/guides/search-files). This method accepts the `q` parameter, which is a search query combining one or more search terms. This method returns *all* files by default, including trashed files. If you don't want trashed files to appear in the list, use the `trashed=false` query parameter to remove trashed files from the results.",
4976
5347
  description: " Lists the user's files. For more information, see [Search for files and folders](https://developers.google.com/workspace/drive/api/guides/search-files). This method accepts the `q` parameter, which is a search query combining one or more search terms. This method returns *all* files by default, including trashed files. If you don't want trashed files to appear in the list, use the `trashed=false` query parameter to remove trashed files from the results.",
4977
5348
  tags: ["drive"],
5349
+ security: [
5350
+ {
5351
+ oauth2: [
5352
+ "https://www.googleapis.com/auth/drive",
5353
+ "https://www.googleapis.com/auth/drive.appdata",
5354
+ "https://www.googleapis.com/auth/drive.file",
5355
+ "https://www.googleapis.com/auth/drive.meet.readonly",
5356
+ "https://www.googleapis.com/auth/drive.metadata",
5357
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
5358
+ "https://www.googleapis.com/auth/drive.photos.readonly",
5359
+ "https://www.googleapis.com/auth/drive.readonly",
5360
+ ],
5361
+ },
5362
+ ],
4978
5363
  parameters: [
4979
5364
  {
4980
5365
  name: "fields",
@@ -5222,6 +5607,18 @@ export const operations = [
5222
5607
  summary: "Lists the labels on a file. For more information, see [List labels on a file](https://developers.google.com/workspace/drive/api/guides/list-labels).",
5223
5608
  description: "Lists the labels on a file. For more information, see [List labels on a file](https://developers.google.com/workspace/drive/api/guides/list-labels).",
5224
5609
  tags: ["drive"],
5610
+ security: [
5611
+ {
5612
+ oauth2: [
5613
+ "https://www.googleapis.com/auth/drive",
5614
+ "https://www.googleapis.com/auth/drive.file",
5615
+ "https://www.googleapis.com/auth/drive.meet.readonly",
5616
+ "https://www.googleapis.com/auth/drive.metadata",
5617
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
5618
+ "https://www.googleapis.com/auth/drive.readonly",
5619
+ ],
5620
+ },
5621
+ ],
5225
5622
  parameters: [
5226
5623
  {
5227
5624
  name: "fields",
@@ -5339,6 +5736,15 @@ export const operations = [
5339
5736
  summary: "Modifies the set of labels applied to a file. For more information, see [Set a label field on a file](https://developers.google.com/workspace/drive/api/guides/set-label). Returns a list of the labels that were added or modified.",
5340
5737
  description: "Modifies the set of labels applied to a file. For more information, see [Set a label field on a file](https://developers.google.com/workspace/drive/api/guides/set-label). Returns a list of the labels that were added or modified.",
5341
5738
  tags: ["drive"],
5739
+ security: [
5740
+ {
5741
+ oauth2: [
5742
+ "https://www.googleapis.com/auth/drive",
5743
+ "https://www.googleapis.com/auth/drive.file",
5744
+ "https://www.googleapis.com/auth/drive.metadata",
5745
+ ],
5746
+ },
5747
+ ],
5342
5748
  parameters: [
5343
5749
  {
5344
5750
  name: "fields",
@@ -5437,6 +5843,17 @@ export const operations = [
5437
5843
  summary: " Updates a file's metadata, content, or both. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might be changed automatically, such as `modifiedDate`. This method supports patch semantics. This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information, see [Google Workspace and Google Drive supported MIME types](https://developers.google.com/workspace/drive/api/guides/mime-types).) For more information on uploading files, see [Upload file data](https://developers.google.com/workspace/drive/api/guides/manage-uploads).",
5438
5844
  description: " Updates a file's metadata, content, or both. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might be changed automatically, such as `modifiedDate`. This method supports patch semantics. This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information, see [Google Workspace and Google Drive supported MIME types](https://developers.google.com/workspace/drive/api/guides/mime-types).) For more information on uploading files, see [Upload file data](https://developers.google.com/workspace/drive/api/guides/manage-uploads).",
5439
5845
  tags: ["drive"],
5846
+ security: [
5847
+ {
5848
+ oauth2: [
5849
+ "https://www.googleapis.com/auth/drive",
5850
+ "https://www.googleapis.com/auth/drive.appdata",
5851
+ "https://www.googleapis.com/auth/drive.file",
5852
+ "https://www.googleapis.com/auth/drive.metadata",
5853
+ "https://www.googleapis.com/auth/drive.scripts",
5854
+ ],
5855
+ },
5856
+ ],
5440
5857
  parameters: [
5441
5858
  {
5442
5859
  name: "fields",
@@ -5642,6 +6059,20 @@ export const operations = [
5642
6059
  summary: "Subscribes to changes to a file. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).",
5643
6060
  description: "Subscribes to changes to a file. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).",
5644
6061
  tags: ["drive"],
6062
+ security: [
6063
+ {
6064
+ oauth2: [
6065
+ "https://www.googleapis.com/auth/drive",
6066
+ "https://www.googleapis.com/auth/drive.appdata",
6067
+ "https://www.googleapis.com/auth/drive.file",
6068
+ "https://www.googleapis.com/auth/drive.meet.readonly",
6069
+ "https://www.googleapis.com/auth/drive.metadata",
6070
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
6071
+ "https://www.googleapis.com/auth/drive.photos.readonly",
6072
+ "https://www.googleapis.com/auth/drive.readonly",
6073
+ ],
6074
+ },
6075
+ ],
5645
6076
  parameters: [
5646
6077
  {
5647
6078
  name: "fields",
@@ -5794,6 +6225,16 @@ export const operations = [
5794
6225
  summary: "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.",
5795
6226
  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.",
5796
6227
  tags: ["drive"],
6228
+ security: [
6229
+ {
6230
+ oauth2: [
6231
+ "https://www.googleapis.com/auth/drive",
6232
+ "https://www.googleapis.com/auth/drive.file",
6233
+ "https://www.googleapis.com/auth/drive.meet.readonly",
6234
+ "https://www.googleapis.com/auth/drive.readonly",
6235
+ ],
6236
+ },
6237
+ ],
5797
6238
  parameters: [
5798
6239
  {
5799
6240
  name: "fields",
@@ -5887,6 +6328,11 @@ export const operations = [
5887
6328
  summary: "Creates a permission for a file or shared drive. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied.",
5888
6329
  description: "Creates a permission for a file or shared drive. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied.",
5889
6330
  tags: ["drive"],
6331
+ security: [
6332
+ {
6333
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"],
6334
+ },
6335
+ ],
5890
6336
  parameters: [
5891
6337
  {
5892
6338
  name: "fields",
@@ -6085,6 +6531,11 @@ export const operations = [
6085
6531
  summary: "Deletes a permission. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied.",
6086
6532
  description: "Deletes a permission. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied.",
6087
6533
  tags: ["drive"],
6534
+ security: [
6535
+ {
6536
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"],
6537
+ },
6538
+ ],
6088
6539
  parameters: [
6089
6540
  {
6090
6541
  name: "fields",
@@ -6230,6 +6681,19 @@ export const operations = [
6230
6681
  summary: "Gets a permission by ID. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing).",
6231
6682
  description: "Gets a permission by ID. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing).",
6232
6683
  tags: ["drive"],
6684
+ security: [
6685
+ {
6686
+ oauth2: [
6687
+ "https://www.googleapis.com/auth/drive",
6688
+ "https://www.googleapis.com/auth/drive.file",
6689
+ "https://www.googleapis.com/auth/drive.meet.readonly",
6690
+ "https://www.googleapis.com/auth/drive.metadata",
6691
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
6692
+ "https://www.googleapis.com/auth/drive.photos.readonly",
6693
+ "https://www.googleapis.com/auth/drive.readonly",
6694
+ ],
6695
+ },
6696
+ ],
6233
6697
  parameters: [
6234
6698
  {
6235
6699
  name: "fields",
@@ -6367,6 +6831,19 @@ export const operations = [
6367
6831
  summary: "Lists a file's or shared drive's permissions. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing).",
6368
6832
  description: "Lists a file's or shared drive's permissions. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing).",
6369
6833
  tags: ["drive"],
6834
+ security: [
6835
+ {
6836
+ oauth2: [
6837
+ "https://www.googleapis.com/auth/drive",
6838
+ "https://www.googleapis.com/auth/drive.file",
6839
+ "https://www.googleapis.com/auth/drive.meet.readonly",
6840
+ "https://www.googleapis.com/auth/drive.metadata",
6841
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
6842
+ "https://www.googleapis.com/auth/drive.photos.readonly",
6843
+ "https://www.googleapis.com/auth/drive.readonly",
6844
+ ],
6845
+ },
6846
+ ],
6370
6847
  parameters: [
6371
6848
  {
6372
6849
  name: "fields",
@@ -6527,6 +7004,11 @@ export const operations = [
6527
7004
  summary: "Updates a permission with patch semantics. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied.",
6528
7005
  description: "Updates a permission with patch semantics. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied.",
6529
7006
  tags: ["drive"],
7007
+ security: [
7008
+ {
7009
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"],
7010
+ },
7011
+ ],
6530
7012
  parameters: [
6531
7013
  {
6532
7014
  name: "fields",
@@ -6703,6 +7185,11 @@ export const operations = [
6703
7185
  summary: "Creates a reply to a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
6704
7186
  description: "Creates a reply to a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
6705
7187
  tags: ["drive"],
7188
+ security: [
7189
+ {
7190
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"],
7191
+ },
7192
+ ],
6706
7193
  parameters: [
6707
7194
  {
6708
7195
  name: "fields",
@@ -6811,6 +7298,11 @@ export const operations = [
6811
7298
  summary: "Deletes a reply. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
6812
7299
  description: "Deletes a reply. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
6813
7300
  tags: ["drive"],
7301
+ security: [
7302
+ {
7303
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"],
7304
+ },
7305
+ ],
6814
7306
  parameters: [
6815
7307
  {
6816
7308
  name: "fields",
@@ -6920,6 +7412,16 @@ export const operations = [
6920
7412
  summary: "Gets a reply by ID. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
6921
7413
  description: "Gets a reply by ID. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
6922
7414
  tags: ["drive"],
7415
+ security: [
7416
+ {
7417
+ oauth2: [
7418
+ "https://www.googleapis.com/auth/drive",
7419
+ "https://www.googleapis.com/auth/drive.file",
7420
+ "https://www.googleapis.com/auth/drive.meet.readonly",
7421
+ "https://www.googleapis.com/auth/drive.readonly",
7422
+ ],
7423
+ },
7424
+ ],
6923
7425
  parameters: [
6924
7426
  {
6925
7427
  name: "fields",
@@ -7044,6 +7546,16 @@ export const operations = [
7044
7546
  summary: "Lists a comment's replies. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
7045
7547
  description: "Lists a comment's replies. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
7046
7548
  tags: ["drive"],
7549
+ security: [
7550
+ {
7551
+ oauth2: [
7552
+ "https://www.googleapis.com/auth/drive",
7553
+ "https://www.googleapis.com/auth/drive.file",
7554
+ "https://www.googleapis.com/auth/drive.meet.readonly",
7555
+ "https://www.googleapis.com/auth/drive.readonly",
7556
+ ],
7557
+ },
7558
+ ],
7047
7559
  parameters: [
7048
7560
  {
7049
7561
  name: "fields",
@@ -7182,6 +7694,11 @@ export const operations = [
7182
7694
  summary: "Updates a reply with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
7183
7695
  description: "Updates a reply with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
7184
7696
  tags: ["drive"],
7697
+ security: [
7698
+ {
7699
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"],
7700
+ },
7701
+ ],
7185
7702
  parameters: [
7186
7703
  {
7187
7704
  name: "fields",
@@ -7300,6 +7817,15 @@ export const operations = [
7300
7817
  summary: "Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted. For more information, see [Manage file revisions](https://developers.google.com/drive/api/guides/manage-revisions).",
7301
7818
  description: "Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted. For more information, see [Manage file revisions](https://developers.google.com/drive/api/guides/manage-revisions).",
7302
7819
  tags: ["drive"],
7820
+ security: [
7821
+ {
7822
+ oauth2: [
7823
+ "https://www.googleapis.com/auth/drive",
7824
+ "https://www.googleapis.com/auth/drive.appdata",
7825
+ "https://www.googleapis.com/auth/drive.file",
7826
+ ],
7827
+ },
7828
+ ],
7303
7829
  parameters: [
7304
7830
  {
7305
7831
  name: "fields",
@@ -7399,6 +7925,20 @@ export const operations = [
7399
7925
  summary: "Gets a revision's metadata or content by ID. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).",
7400
7926
  description: "Gets a revision's metadata or content by ID. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).",
7401
7927
  tags: ["drive"],
7928
+ security: [
7929
+ {
7930
+ oauth2: [
7931
+ "https://www.googleapis.com/auth/drive",
7932
+ "https://www.googleapis.com/auth/drive.appdata",
7933
+ "https://www.googleapis.com/auth/drive.file",
7934
+ "https://www.googleapis.com/auth/drive.meet.readonly",
7935
+ "https://www.googleapis.com/auth/drive.metadata",
7936
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
7937
+ "https://www.googleapis.com/auth/drive.photos.readonly",
7938
+ "https://www.googleapis.com/auth/drive.readonly",
7939
+ ],
7940
+ },
7941
+ ],
7402
7942
  parameters: [
7403
7943
  {
7404
7944
  name: "fields",
@@ -7513,6 +8053,20 @@ export const operations = [
7513
8053
  summary: "Lists a file's revisions. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). **Important:** The list of revisions returned by this method might be incomplete for files with a large revision history, including frequently edited Google Docs, Sheets, and Slides. Older revisions might be omitted from the response, meaning the first revision returned may not be the oldest existing revision. The revision history visible in the Workspace editor user interface might be more complete than the list returned by the API.",
7514
8054
  description: "Lists a file's revisions. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). **Important:** The list of revisions returned by this method might be incomplete for files with a large revision history, including frequently edited Google Docs, Sheets, and Slides. Older revisions might be omitted from the response, meaning the first revision returned may not be the oldest existing revision. The revision history visible in the Workspace editor user interface might be more complete than the list returned by the API.",
7515
8055
  tags: ["drive"],
8056
+ security: [
8057
+ {
8058
+ oauth2: [
8059
+ "https://www.googleapis.com/auth/drive",
8060
+ "https://www.googleapis.com/auth/drive.appdata",
8061
+ "https://www.googleapis.com/auth/drive.file",
8062
+ "https://www.googleapis.com/auth/drive.meet.readonly",
8063
+ "https://www.googleapis.com/auth/drive.metadata",
8064
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
8065
+ "https://www.googleapis.com/auth/drive.photos.readonly",
8066
+ "https://www.googleapis.com/auth/drive.readonly",
8067
+ ],
8068
+ },
8069
+ ],
7516
8070
  parameters: [
7517
8071
  {
7518
8072
  name: "fields",
@@ -7630,6 +8184,15 @@ export const operations = [
7630
8184
  summary: "Updates a revision with patch semantics. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).",
7631
8185
  description: "Updates a revision with patch semantics. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).",
7632
8186
  tags: ["drive"],
8187
+ security: [
8188
+ {
8189
+ oauth2: [
8190
+ "https://www.googleapis.com/auth/drive",
8191
+ "https://www.googleapis.com/auth/drive.appdata",
8192
+ "https://www.googleapis.com/auth/drive.file",
8193
+ ],
8194
+ },
8195
+ ],
7633
8196
  parameters: [
7634
8197
  {
7635
8198
  name: "fields",
@@ -7738,6 +8301,11 @@ export const operations = [
7738
8301
  summary: "Deprecated: Use `drives.create` instead.",
7739
8302
  description: "Deprecated: Use `drives.create` instead.",
7740
8303
  tags: ["drive"],
8304
+ security: [
8305
+ {
8306
+ oauth2: ["https://www.googleapis.com/auth/drive"],
8307
+ },
8308
+ ],
7741
8309
  parameters: [
7742
8310
  {
7743
8311
  name: "fields",
@@ -7836,6 +8404,11 @@ export const operations = [
7836
8404
  summary: "Deprecated: Use `drives.delete` instead.",
7837
8405
  description: "Deprecated: Use `drives.delete` instead.",
7838
8406
  tags: ["drive"],
8407
+ security: [
8408
+ {
8409
+ oauth2: ["https://www.googleapis.com/auth/drive"],
8410
+ },
8411
+ ],
7839
8412
  parameters: [
7840
8413
  {
7841
8414
  name: "fields",
@@ -7925,6 +8498,11 @@ export const operations = [
7925
8498
  summary: "Deprecated: Use `drives.get` instead.",
7926
8499
  description: "Deprecated: Use `drives.get` instead.",
7927
8500
  tags: ["drive"],
8501
+ security: [
8502
+ {
8503
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.readonly"],
8504
+ },
8505
+ ],
7928
8506
  parameters: [
7929
8507
  {
7930
8508
  name: "fields",
@@ -8029,6 +8607,11 @@ export const operations = [
8029
8607
  summary: "Deprecated: Use `drives.list` instead.",
8030
8608
  description: "Deprecated: Use `drives.list` instead.",
8031
8609
  tags: ["drive"],
8610
+ security: [
8611
+ {
8612
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.readonly"],
8613
+ },
8614
+ ],
8032
8615
  parameters: [
8033
8616
  {
8034
8617
  name: "fields",
@@ -8157,6 +8740,11 @@ export const operations = [
8157
8740
  summary: "Deprecated: Use `drives.update` instead.",
8158
8741
  description: "Deprecated: Use `drives.update` instead.",
8159
8742
  tags: ["drive"],
8743
+ security: [
8744
+ {
8745
+ oauth2: ["https://www.googleapis.com/auth/drive"],
8746
+ },
8747
+ ],
8160
8748
  parameters: [
8161
8749
  {
8162
8750
  name: "fields",
@@ -8266,6 +8854,14 @@ export const operations = [
8266
8854
  summary: "Query past activity in Google Drive.",
8267
8855
  description: "Query past activity in Google Drive.",
8268
8856
  tags: ["driveactivity"],
8857
+ security: [
8858
+ {
8859
+ oauth2: [
8860
+ "https://www.googleapis.com/auth/drive.activity",
8861
+ "https://www.googleapis.com/auth/drive.activity.readonly",
8862
+ ],
8863
+ },
8864
+ ],
8269
8865
  parameters: [
8270
8866
  {
8271
8867
  name: "alt",
@@ -8354,6 +8950,15 @@ export const operations = [
8354
8950
  summary: "Applies one or more updates to the spreadsheet. Each request is validated before being applied. If any request is not valid then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. The replies will mirror the requests. For example, if you applied 4 updates and the 3rd one had a reply, then the response will have 2 empty replies, the actual reply, and another empty reply, in that order. Due to the collaborative nature of spreadsheets, it is not guaranteed that the spreadsheet will reflect exactly your changes after this completes, however it is guaranteed that the updates in the request will be applied together atomically. Your changes may be altered with respect to collaborator changes. If there are no collaborators, the spreadsheet should reflect your changes.",
8355
8951
  description: "Applies one or more updates to the spreadsheet. Each request is validated before being applied. If any request is not valid then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. The replies will mirror the requests. For example, if you applied 4 updates and the 3rd one had a reply, then the response will have 2 empty replies, the actual reply, and another empty reply, in that order. Due to the collaborative nature of spreadsheets, it is not guaranteed that the spreadsheet will reflect exactly your changes after this completes, however it is guaranteed that the updates in the request will be applied together atomically. Your changes may be altered with respect to collaborator changes. If there are no collaborators, the spreadsheet should reflect your changes.",
8356
8952
  tags: ["sheets"],
8953
+ security: [
8954
+ {
8955
+ oauth2: [
8956
+ "https://www.googleapis.com/auth/drive",
8957
+ "https://www.googleapis.com/auth/drive.file",
8958
+ "https://www.googleapis.com/auth/spreadsheets",
8959
+ ],
8960
+ },
8961
+ ],
8357
8962
  parameters: [
8358
8963
  {
8359
8964
  name: "$.xgafv",
@@ -8452,6 +9057,15 @@ export const operations = [
8452
9057
  summary: "Creates a spreadsheet, returning the newly created spreadsheet.",
8453
9058
  description: "Creates a spreadsheet, returning the newly created spreadsheet.",
8454
9059
  tags: ["sheets"],
9060
+ security: [
9061
+ {
9062
+ oauth2: [
9063
+ "https://www.googleapis.com/auth/drive",
9064
+ "https://www.googleapis.com/auth/drive.file",
9065
+ "https://www.googleapis.com/auth/spreadsheets",
9066
+ ],
9067
+ },
9068
+ ],
8455
9069
  parameters: [
8456
9070
  {
8457
9071
  name: "$.xgafv",
@@ -8540,6 +9154,15 @@ export const operations = [
8540
9154
  summary: "Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the developer metadata's unique metadataId. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata).",
8541
9155
  description: "Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the developer metadata's unique metadataId. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata).",
8542
9156
  tags: ["sheets"],
9157
+ security: [
9158
+ {
9159
+ oauth2: [
9160
+ "https://www.googleapis.com/auth/drive",
9161
+ "https://www.googleapis.com/auth/drive.file",
9162
+ "https://www.googleapis.com/auth/spreadsheets",
9163
+ ],
9164
+ },
9165
+ ],
8543
9166
  parameters: [
8544
9167
  {
8545
9168
  name: "$.xgafv",
@@ -8644,6 +9267,15 @@ export const operations = [
8644
9267
  summary: "Returns all developer metadata matching the specified DataFilter. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). If the provided DataFilter represents a DeveloperMetadataLookup object, this will return all DeveloperMetadata entries selected by it. If the DataFilter represents a location in a spreadsheet, this will return all developer metadata associated with locations intersecting that region.",
8645
9268
  description: "Returns all developer metadata matching the specified DataFilter. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). If the provided DataFilter represents a DeveloperMetadataLookup object, this will return all DeveloperMetadata entries selected by it. If the DataFilter represents a location in a spreadsheet, this will return all developer metadata associated with locations intersecting that region.",
8646
9269
  tags: ["sheets"],
9270
+ security: [
9271
+ {
9272
+ oauth2: [
9273
+ "https://www.googleapis.com/auth/drive",
9274
+ "https://www.googleapis.com/auth/drive.file",
9275
+ "https://www.googleapis.com/auth/spreadsheets",
9276
+ ],
9277
+ },
9278
+ ],
8647
9279
  parameters: [
8648
9280
  {
8649
9281
  name: "$.xgafv",
@@ -8742,6 +9374,17 @@ export const operations = [
8742
9374
  summary: "Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a [field mask](https://developers.google.com/workspace/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or multiple cells (for example, `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges.",
8743
9375
  description: "Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a [field mask](https://developers.google.com/workspace/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or multiple cells (for example, `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges.",
8744
9376
  tags: ["sheets"],
9377
+ security: [
9378
+ {
9379
+ oauth2: [
9380
+ "https://www.googleapis.com/auth/drive",
9381
+ "https://www.googleapis.com/auth/drive.file",
9382
+ "https://www.googleapis.com/auth/drive.readonly",
9383
+ "https://www.googleapis.com/auth/spreadsheets",
9384
+ "https://www.googleapis.com/auth/spreadsheets.readonly",
9385
+ ],
9386
+ },
9387
+ ],
8745
9388
  parameters: [
8746
9389
  {
8747
9390
  name: "$.xgafv",
@@ -8884,6 +9527,15 @@ export const operations = [
8884
9527
  summary: "Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data in one of two ways: * Specify a [field mask](https://developers.google.com/workspace/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP. * Set the includeGridData parameter to `true`. If a field mask is set, the `includeGridData` parameter is ignored. For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want.",
8885
9528
  description: "Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data in one of two ways: * Specify a [field mask](https://developers.google.com/workspace/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP. * Set the includeGridData parameter to `true`. If a field mask is set, the `includeGridData` parameter is ignored. For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want.",
8886
9529
  tags: ["sheets"],
9530
+ security: [
9531
+ {
9532
+ oauth2: [
9533
+ "https://www.googleapis.com/auth/drive",
9534
+ "https://www.googleapis.com/auth/drive.file",
9535
+ "https://www.googleapis.com/auth/spreadsheets",
9536
+ ],
9537
+ },
9538
+ ],
8887
9539
  parameters: [
8888
9540
  {
8889
9541
  name: "$.xgafv",
@@ -8982,6 +9634,15 @@ export const operations = [
8982
9634
  summary: "Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet.",
8983
9635
  description: "Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet.",
8984
9636
  tags: ["sheets"],
9637
+ security: [
9638
+ {
9639
+ oauth2: [
9640
+ "https://www.googleapis.com/auth/drive",
9641
+ "https://www.googleapis.com/auth/drive.file",
9642
+ "https://www.googleapis.com/auth/spreadsheets",
9643
+ ],
9644
+ },
9645
+ ],
8985
9646
  parameters: [
8986
9647
  {
8987
9648
  name: "$.xgafv",
@@ -9091,6 +9752,15 @@ export const operations = [
9091
9752
  summary: 'Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the [guide](https://developers.google.com/workspace/sheets/api/guides/values#appending_values) and [sample code](https://developers.google.com/workspace/sheets/api/samples/writing#append_values) for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The `valueInputOption` only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to.',
9092
9753
  description: 'Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the [guide](https://developers.google.com/workspace/sheets/api/guides/values#appending_values) and [sample code](https://developers.google.com/workspace/sheets/api/samples/writing#append_values) for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The `valueInputOption` only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to.',
9093
9754
  tags: ["sheets"],
9755
+ security: [
9756
+ {
9757
+ oauth2: [
9758
+ "https://www.googleapis.com/auth/drive",
9759
+ "https://www.googleapis.com/auth/drive.file",
9760
+ "https://www.googleapis.com/auth/spreadsheets",
9761
+ ],
9762
+ },
9763
+ ],
9094
9764
  parameters: [
9095
9765
  {
9096
9766
  name: "$.xgafv",
@@ -9253,6 +9923,15 @@ export const operations = [
9253
9923
  summary: "Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. Only values are cleared -- all other properties of the cell (such as formatting and data validation) are kept.",
9254
9924
  description: "Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. Only values are cleared -- all other properties of the cell (such as formatting and data validation) are kept.",
9255
9925
  tags: ["sheets"],
9926
+ security: [
9927
+ {
9928
+ oauth2: [
9929
+ "https://www.googleapis.com/auth/drive",
9930
+ "https://www.googleapis.com/auth/drive.file",
9931
+ "https://www.googleapis.com/auth/spreadsheets",
9932
+ ],
9933
+ },
9934
+ ],
9256
9935
  parameters: [
9257
9936
  {
9258
9937
  name: "$.xgafv",
@@ -9351,6 +10030,15 @@ export const operations = [
9351
10030
  summary: "Clears one or more ranges of values from a spreadsheet. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). The caller must specify the spreadsheet ID and one or more DataFilters. Ranges matching any of the specified data filters will be cleared. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc.) are kept.",
9352
10031
  description: "Clears one or more ranges of values from a spreadsheet. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). The caller must specify the spreadsheet ID and one or more DataFilters. Ranges matching any of the specified data filters will be cleared. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc.) are kept.",
9353
10032
  tags: ["sheets"],
10033
+ security: [
10034
+ {
10035
+ oauth2: [
10036
+ "https://www.googleapis.com/auth/drive",
10037
+ "https://www.googleapis.com/auth/drive.file",
10038
+ "https://www.googleapis.com/auth/spreadsheets",
10039
+ ],
10040
+ },
10041
+ ],
9354
10042
  parameters: [
9355
10043
  {
9356
10044
  name: "$.xgafv",
@@ -9449,6 +10137,17 @@ export const operations = [
9449
10137
  summary: "Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges.",
9450
10138
  description: "Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges.",
9451
10139
  tags: ["sheets"],
10140
+ security: [
10141
+ {
10142
+ oauth2: [
10143
+ "https://www.googleapis.com/auth/drive",
10144
+ "https://www.googleapis.com/auth/drive.file",
10145
+ "https://www.googleapis.com/auth/drive.readonly",
10146
+ "https://www.googleapis.com/auth/spreadsheets",
10147
+ "https://www.googleapis.com/auth/spreadsheets.readonly",
10148
+ ],
10149
+ },
10150
+ ],
9452
10151
  parameters: [
9453
10152
  {
9454
10153
  name: "$.xgafv",
@@ -9588,6 +10287,15 @@ export const operations = [
9588
10287
  summary: "Returns one or more ranges of values that match the specified data filters. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). The caller must specify the spreadsheet ID and one or more DataFilters. Ranges that match any of the data filters in the request will be returned.",
9589
10288
  description: "Returns one or more ranges of values that match the specified data filters. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). The caller must specify the spreadsheet ID and one or more DataFilters. Ranges that match any of the data filters in the request will be returned.",
9590
10289
  tags: ["sheets"],
10290
+ security: [
10291
+ {
10292
+ oauth2: [
10293
+ "https://www.googleapis.com/auth/drive",
10294
+ "https://www.googleapis.com/auth/drive.file",
10295
+ "https://www.googleapis.com/auth/spreadsheets",
10296
+ ],
10297
+ },
10298
+ ],
9591
10299
  parameters: [
9592
10300
  {
9593
10301
  name: "$.xgafv",
@@ -9686,6 +10394,15 @@ export const operations = [
9686
10394
  summary: "Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges.",
9687
10395
  description: "Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges.",
9688
10396
  tags: ["sheets"],
10397
+ security: [
10398
+ {
10399
+ oauth2: [
10400
+ "https://www.googleapis.com/auth/drive",
10401
+ "https://www.googleapis.com/auth/drive.file",
10402
+ "https://www.googleapis.com/auth/spreadsheets",
10403
+ ],
10404
+ },
10405
+ ],
9689
10406
  parameters: [
9690
10407
  {
9691
10408
  name: "$.xgafv",
@@ -9784,6 +10501,15 @@ export const operations = [
9784
10501
  summary: "Sets values in one or more ranges of a spreadsheet. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). The caller must specify the spreadsheet ID, a valueInputOption, and one or more DataFilterValueRanges.",
9785
10502
  description: "Sets values in one or more ranges of a spreadsheet. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). The caller must specify the spreadsheet ID, a valueInputOption, and one or more DataFilterValueRanges.",
9786
10503
  tags: ["sheets"],
10504
+ security: [
10505
+ {
10506
+ oauth2: [
10507
+ "https://www.googleapis.com/auth/drive",
10508
+ "https://www.googleapis.com/auth/drive.file",
10509
+ "https://www.googleapis.com/auth/spreadsheets",
10510
+ ],
10511
+ },
10512
+ ],
9787
10513
  parameters: [
9788
10514
  {
9789
10515
  name: "$.xgafv",
@@ -9882,6 +10608,15 @@ export const operations = [
9882
10608
  summary: "Clears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept.",
9883
10609
  description: "Clears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept.",
9884
10610
  tags: ["sheets"],
10611
+ security: [
10612
+ {
10613
+ oauth2: [
10614
+ "https://www.googleapis.com/auth/drive",
10615
+ "https://www.googleapis.com/auth/drive.file",
10616
+ "https://www.googleapis.com/auth/spreadsheets",
10617
+ ],
10618
+ },
10619
+ ],
9885
10620
  parameters: [
9886
10621
  {
9887
10622
  name: "$.xgafv",
@@ -9990,6 +10725,17 @@ export const operations = [
9990
10725
  summary: "Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range.",
9991
10726
  description: "Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range.",
9992
10727
  tags: ["sheets"],
10728
+ security: [
10729
+ {
10730
+ oauth2: [
10731
+ "https://www.googleapis.com/auth/drive",
10732
+ "https://www.googleapis.com/auth/drive.file",
10733
+ "https://www.googleapis.com/auth/drive.readonly",
10734
+ "https://www.googleapis.com/auth/spreadsheets",
10735
+ "https://www.googleapis.com/auth/spreadsheets.readonly",
10736
+ ],
10737
+ },
10738
+ ],
9993
10739
  parameters: [
9994
10740
  {
9995
10741
  name: "$.xgafv",
@@ -10126,6 +10872,15 @@ export const operations = [
10126
10872
  summary: "Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption.",
10127
10873
  description: "Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption.",
10128
10874
  tags: ["sheets"],
10875
+ security: [
10876
+ {
10877
+ oauth2: [
10878
+ "https://www.googleapis.com/auth/drive",
10879
+ "https://www.googleapis.com/auth/drive.file",
10880
+ "https://www.googleapis.com/auth/spreadsheets",
10881
+ ],
10882
+ },
10883
+ ],
10129
10884
  parameters: [
10130
10885
  {
10131
10886
  name: "$.xgafv",
@@ -10266,4 +11021,31 @@ export const operations = [
10266
11021
  },
10267
11022
  },
10268
11023
  ];
11024
+ export const securitySchemes = {
11025
+ oauth2: {
11026
+ type: "oauth2",
11027
+ flows: {
11028
+ authorizationCode: {
11029
+ scopes: {
11030
+ "https://www.googleapis.com/auth/drive.metadata": "View and manage metadata of files in your Google Drive",
11031
+ "https://www.googleapis.com/auth/drive.photos.readonly": "View the photos, videos and albums in your Google Photos",
11032
+ "https://www.googleapis.com/auth/drive.appdata": "See, create, and delete its own configuration data in your Google Drive",
11033
+ "https://www.googleapis.com/auth/drive.metadata.readonly": "See information about your Google Drive files",
11034
+ "https://www.googleapis.com/auth/drive.readonly": "See and download all your Google Drive files",
11035
+ "https://www.googleapis.com/auth/drive.apps.readonly": "View your Google Drive apps",
11036
+ "https://www.googleapis.com/auth/drive.file": "See, edit, create, and delete only the specific Google Drive files you use with this app",
11037
+ "https://www.googleapis.com/auth/drive.meet.readonly": "See and download your Google Drive files that were created or edited by Google Meet.",
11038
+ "https://www.googleapis.com/auth/drive.scripts": "Modify your Google Apps Script scripts' behavior",
11039
+ "https://www.googleapis.com/auth/drive": "See, edit, create, and delete all of your Google Drive files",
11040
+ "https://www.googleapis.com/auth/documents.readonly": "See all your Google Docs documents",
11041
+ "https://www.googleapis.com/auth/documents": "See, edit, create, and delete all your Google Docs documents",
11042
+ "https://www.googleapis.com/auth/drive.activity": "View and add to the activity record of files in your Google Drive",
11043
+ "https://www.googleapis.com/auth/drive.activity.readonly": "View the activity record of files in your Google Drive",
11044
+ "https://www.googleapis.com/auth/spreadsheets": "See, edit, create, and delete all your Google Sheets spreadsheets",
11045
+ "https://www.googleapis.com/auth/spreadsheets.readonly": "See all your Google Sheets spreadsheets",
11046
+ },
11047
+ },
11048
+ },
11049
+ },
11050
+ };
10269
11051
  //# sourceMappingURL=manifest.js.map