@wirecat/drive-cli 0.71.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 (258) hide show
  1. package/README.md +150 -71
  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-3QJG2NAN.js → all-profiles-GXGDVNQJ.js} +67 -25
  6. package/dist/bundle/{anthropic-PSWTEU6G.js → anthropic-H5C4GQHC.js} +9 -9
  7. package/dist/bundle/{app-server-PVTA6ABR.js → app-server-EQ3UK4C7.js} +97 -79
  8. package/dist/bundle/{bun-LU5LP3JI.js → bun-DTJVSRY3.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-PYMKLBRU.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-RWDKMU74.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-YVI5SQPY.js → chunk-4HPXWYTE.js} +1 -1
  16. package/dist/bundle/{chunk-QETR5HIZ.js → chunk-4IUNYYYL.js} +4385 -2684
  17. package/dist/bundle/{chunk-I4RWW3UD.js → chunk-4JS32SRX.js} +20 -5
  18. package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
  19. package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
  20. package/dist/bundle/{chunk-3N2OFXB5.js → chunk-55FH6IEL.js} +5 -5
  21. package/dist/bundle/{chunk-6TNNT2MQ.js → chunk-5BNMWSU2.js} +483 -176
  22. package/dist/bundle/{chunk-6XFIITOG.js → chunk-5H747A76.js} +5532 -3265
  23. package/dist/bundle/{chunk-MNLL5YLM.js → chunk-5KWCO56H.js} +2 -2
  24. package/dist/bundle/{chunk-GZ2D4KXG.js → chunk-5U3NCE5R.js} +35 -12
  25. package/dist/bundle/{chunk-CJLVYIOP.js → chunk-6CCO3JCM.js} +30 -21
  26. package/dist/bundle/{chunk-26DHFMGZ.js → chunk-6ZW2ZJYC.js} +2 -2
  27. package/dist/bundle/{chunk-COJSWDNU.js → chunk-75DAHQOV.js} +3 -3
  28. package/dist/bundle/{chunk-Q7DOMFJ4.js → chunk-77OBW43F.js} +6 -6
  29. package/dist/bundle/{chunk-FCS26CYQ.js → chunk-7EFM6AW3.js} +4 -4
  30. package/dist/bundle/{chunk-XMMFBPGC.js → chunk-A3S7QM5L.js} +3 -3
  31. package/dist/bundle/{chunk-ASMMG72J.js → chunk-AA4LKC6W.js} +244 -565
  32. package/dist/bundle/chunk-ASTKHB6B.js +3233 -0
  33. package/dist/bundle/{chunk-LXKYKRHD.js → chunk-BM6V7456.js} +8 -227
  34. package/dist/bundle/chunk-BO6EDBYJ.js +50 -0
  35. package/dist/bundle/{chunk-YPFWNVHV.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-RJOQH5YY.js → chunk-COJTCEZP.js} +111 -859
  39. package/dist/bundle/{chunk-FJH7DJWK.js → chunk-CWPYDT73.js} +6 -6
  40. package/dist/bundle/{chunk-BKSQBBYG.js → chunk-D4JNCXS7.js} +9 -9
  41. package/dist/bundle/chunk-DCPWZIOV.js +696 -0
  42. package/dist/bundle/{chunk-PRW6SYA3.js → chunk-DHMNCOQI.js} +313 -257
  43. package/dist/bundle/chunk-DOQMH4DC.js +280 -0
  44. package/dist/bundle/chunk-DQSOYH6N.js +20 -0
  45. package/dist/bundle/{chunk-YJIGGUPI.js → chunk-DWRUOLBF.js} +4 -4
  46. package/dist/bundle/{chunk-6W763DZN.js → chunk-E3VWZC3K.js} +14 -13
  47. package/dist/bundle/chunk-ECYOTDJM.js +14 -0
  48. package/dist/bundle/{chunk-KGYVHPGE.js → chunk-EVG3AA5M.js} +2 -2
  49. package/dist/bundle/chunk-F4BX7TH2.js +15 -0
  50. package/dist/bundle/{chunk-Y2NWGNUB.js → chunk-FBEZSA76.js} +5 -5
  51. package/dist/bundle/{chunk-2BVVU7GG.js → chunk-FBQJN74J.js} +1 -1
  52. package/dist/bundle/{chunk-Z56QFOBR.js → chunk-FIZOPJYY.js} +1 -1
  53. package/dist/bundle/chunk-FNAYSZWK.js +783 -0
  54. package/dist/bundle/{chunk-GPQ44Y2R.js → chunk-FRCJHGZM.js} +2 -2
  55. package/dist/bundle/{chunk-35SCQ4VI.js → chunk-FTG5QBSD.js} +41 -33
  56. package/dist/bundle/{chunk-KYKW2W6X.js → chunk-FUDUXIVG.js} +1 -1
  57. package/dist/bundle/{chunk-NYECVHFH.js → chunk-G4NHRFS7.js} +755 -0
  58. package/dist/bundle/{chunk-FT3LN3HP.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-ACUAV6VX.js → chunk-GUMKKRE6.js} +107 -71
  62. package/dist/bundle/{chunk-KGERXYTV.js → chunk-GWCDOYSC.js} +1 -1
  63. package/dist/bundle/{chunk-OJSBWP3F.js → chunk-GXGSC622.js} +69 -7
  64. package/dist/bundle/chunk-HAGXTGJC.js +188 -0
  65. package/dist/bundle/{chunk-XF4EXO2C.js → chunk-IMAWQC5K.js} +6 -6
  66. package/dist/bundle/{chunk-HKY7X6NY.js → chunk-IVGVVSPW.js} +4 -4
  67. package/dist/bundle/{chunk-P7CUM5IB.js → chunk-J4NUHSM7.js} +1 -1
  68. package/dist/bundle/{chunk-MIA7P6FZ.js → chunk-K652FYCO.js} +6 -6
  69. package/dist/bundle/chunk-K6ZWNTXY.js +561 -0
  70. package/dist/bundle/{chunk-COOOO5B3.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-EOEU3AZN.js → chunk-KP2XMCNT.js} +13 -13
  74. package/dist/bundle/{chunk-FP54WSIR.js → chunk-KWDZ3KVH.js} +4 -4
  75. package/dist/bundle/{chunk-QNRRK3CN.js → chunk-KX4C32WD.js} +2 -2
  76. package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
  77. package/dist/bundle/{chunk-2LHAVY4U.js → chunk-M2ZWYVWO.js} +1 -1
  78. package/dist/bundle/chunk-MEYYH47C.js +25 -0
  79. package/dist/bundle/{chunk-3EBBLKIT.js → chunk-ML2QIWX2.js} +4 -4
  80. package/dist/bundle/{chunk-ZM63SUHG.js → chunk-MUFF2YTH.js} +2 -2
  81. package/dist/bundle/{chunk-2PUNKUYJ.js → chunk-N24YSLED.js} +9150 -9869
  82. package/dist/bundle/chunk-N4GTCPML.js +7 -0
  83. package/dist/bundle/{chunk-B5KSXHJ7.js → chunk-NBMGDRP4.js} +1 -1
  84. package/dist/bundle/chunk-NMQRSEZM.js +37 -0
  85. package/dist/bundle/{chunk-JDV7HNNQ.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-ICDCAQ6K.js → chunk-OAONP6KI.js} +13 -9
  89. package/dist/bundle/{chunk-WVDCCYS3.js → chunk-OESP4PHB.js} +17 -17
  90. package/dist/bundle/chunk-OHR6IZNH.js +116 -0
  91. package/dist/bundle/{chunk-4QNW4NK6.js → chunk-OLCU7Q2B.js} +1 -1
  92. package/dist/bundle/{chunk-SDKQNOL5.js → chunk-OLDQLEPA.js} +6 -6
  93. package/dist/bundle/{chunk-ZCR3IRZ2.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-ZZ32DXTH.js → chunk-QKBPCX7Y.js} +1 -1
  98. package/dist/bundle/{chunk-QXC6IEH6.js → chunk-QSLOACDT.js} +201 -423
  99. package/dist/bundle/{chunk-7PDHGZN4.js → chunk-QUZFDU4K.js} +4 -4
  100. package/dist/bundle/{chunk-3UGYFXH6.js → chunk-R32DHS6J.js} +187 -379
  101. package/dist/bundle/{chunk-6SJOTNHF.js → chunk-R57QUYBG.js} +6 -28
  102. package/dist/bundle/{chunk-UTO2GO4P.js → chunk-R64OSDOD.js} +45 -66
  103. package/dist/bundle/{chunk-GBKNJWOZ.js → chunk-RSPBVKOC.js} +8 -8
  104. package/dist/bundle/{chunk-HL52XXZX.js → chunk-SPNPJ3FZ.js} +3 -4
  105. package/dist/bundle/chunk-SQHDSIFL.js +388 -0
  106. package/dist/bundle/{chunk-YPNWIB6H.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-X4TIMMKJ.js → chunk-TTPWKTVR.js} +1 -1
  111. package/dist/bundle/{chunk-TAFHYHKA.js → chunk-U7VEJ3CW.js} +45 -27
  112. package/dist/bundle/{chunk-6Y2BYFXQ.js → chunk-UC7JLE6J.js} +0 -7
  113. package/dist/bundle/{chunk-4HWJOU7N.js → chunk-UIQ35CA5.js} +1 -1
  114. package/dist/bundle/{chunk-SAKO3P4H.js → chunk-UJY26HW4.js} +1 -1
  115. package/dist/bundle/{chunk-D5TGYUVU.js → chunk-UWG3PRY7.js} +9 -60
  116. package/dist/bundle/{chunk-JZHBZOJR.js → chunk-VAR3MJU6.js} +3 -3
  117. package/dist/bundle/{chunk-GOWXXYEF.js → chunk-VPQSI5IU.js} +4 -4
  118. package/dist/bundle/{chunk-QFR2PNJN.js → chunk-VQPT3Y7W.js} +12 -12
  119. package/dist/bundle/{chunk-Z3KUSRCF.js → chunk-WMG3H2VK.js} +2 -2
  120. package/dist/bundle/{chunk-4PA4DHYV.js → chunk-X5BGAZC5.js} +6 -6
  121. package/dist/bundle/{chunk-2UUWXPOB.js → chunk-XC6TRWLZ.js} +3 -3
  122. package/dist/bundle/{chunk-OF422U5D.js → chunk-XQZEMRCU.js} +402 -402
  123. package/dist/bundle/{chunk-72C4YOCH.js → chunk-XZ7MO6EU.js} +7 -7
  124. package/dist/bundle/{chunk-SERXSCN3.js → chunk-YAIOEPKU.js} +337 -390
  125. package/dist/bundle/chunk-YHWFF6DN.js +39 -0
  126. package/dist/bundle/{chunk-RESDD3Q4.js → chunk-YWOLQEDV.js} +16 -3
  127. package/dist/bundle/{chunk-YMJ6IDGT.js → chunk-ZFDSJ5YJ.js} +38 -8
  128. package/dist/bundle/{chunk-HMS6EEQL.js → chunk-ZFUZEFU6.js} +3 -3
  129. package/dist/bundle/{chunk-TAUBRNC5.js → chunk-ZJKXSMXK.js} +72 -59
  130. package/dist/bundle/{chunk-22QQUKWA.js → chunk-ZKWT6HXT.js} +1 -1
  131. package/dist/bundle/chunk-ZPUY3COZ.js +250 -0
  132. package/dist/bundle/{cli-556DERZL.js → cli-2P5FW2RL.js} +201 -98
  133. package/dist/bundle/command-contract-BMQT2G5X.js +45 -0
  134. package/dist/bundle/{command-server-entry-AYLGNZWD.js → command-server-entry-KP2UDGLA.js} +36 -34
  135. package/dist/bundle/{decode-QU24MWMN.js → decode-K2JZ5D6V.js} +10 -10
  136. package/dist/bundle/{dispatch-4KODNOXV.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-BXX4OQWC.js → echarts-URO3QGCG.js} +2 -2
  140. package/dist/bundle/{embed-KG27KG3D.js → embed-JLIPWTNN.js} +10 -10
  141. package/dist/bundle/{embedder-IPAVUQUV.js → embedder-LUTDO3HS.js} +15 -15
  142. package/dist/bundle/entry-AVF6LMG7.js +25 -0
  143. package/dist/bundle/{failure-ESL7ETL4.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-VCDBSNOW.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-LOWMVGZY.js → identity-FXPB5EMT.js} +7 -6
  153. package/dist/bundle/{instructions-2VECIDXF.js → instructions-IROIUVZI.js} +1 -1
  154. package/dist/bundle/{login-7GBONT7V.js → login-WIY5VQU7.js} +96 -81
  155. package/dist/bundle/{mcp-O6ACR2DX.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-G7PFOKU7.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-MPEQSFI3.js → node-IACCI2CW.js} +2 -2
  165. package/dist/bundle/{node-sqlite-OLQMAYB4.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-OXTE672W.js → open-H32B6BCT.js} +8 -8
  169. package/dist/bundle/{openai-EB3TPIZY.js → openai-VHMPJJUG.js} +22 -21
  170. package/dist/bundle/{process-F6TKXWWA.js → process-RNHPF5OK.js} +1 -1
  171. package/dist/bundle/{program-4IFDZ7FM.js → program-GYMJ3DDH.js} +275 -1148
  172. package/dist/bundle/{prompt-F5RRHPN2.js → prompt-TOG2CRCE.js} +8 -8
  173. package/dist/bundle/{reasons-UORHJDHK.js → reasons-TLFQ45YX.js} +6 -5
  174. package/dist/bundle/{recognize-DAVNZND3.js → recognize-GYGY45EY.js} +7 -7
  175. package/dist/bundle/remote-6XN2QLI5.js +35 -0
  176. package/dist/bundle/{rerank-CND2GVLZ.js → rerank-HJO3O4TW.js} +11 -11
  177. package/dist/bundle/{serve-ZHSPUIGX.js → serve-XPCNLHCR.js} +19 -19
  178. package/dist/bundle/server-UBJZ66XE.js +97 -0
  179. package/dist/bundle/{server-YMAK4LHC.js → server-WPT3NC5B.js} +89 -70
  180. package/dist/bundle/{services-ZILSFJ6E.js → services-253KKKVU.js} +109 -89
  181. package/dist/bundle/{sqlite-runtime-S5VPMZQH.js → sqlite-runtime-EZASGJXW.js} +9 -9
  182. package/dist/bundle/{start-CR6X25RT.js → start-UHI35JFL.js} +7 -7
  183. package/dist/bundle/{state-YFPHVIIJ.js → state-KJTSPFGK.js} +9 -9
  184. package/dist/bundle/{store-UODRT6X4.js → store-62J2H2A3.js} +36 -25
  185. package/dist/bundle/{store-CL4ZJZRI.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 +5 -0
  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 +5 -2
  235. package/dist/sync.js.map +1 -1
  236. package/dist/version.d.ts +1 -1
  237. package/dist/version.js +1 -1
  238. package/package.json +3 -3
  239. package/scenarios/find-decision.md +1 -1
  240. package/skills/drive-cli/SKILL.md +4 -2
  241. package/dist/bundle/chunk-J5Q5FS2N.js +0 -593
  242. package/dist/bundle/chunk-L46C6HQ7.js +0 -729
  243. package/dist/bundle/chunk-UDMNY63V.js +0 -899
  244. package/dist/bundle/chunk-VKE77B3F.js +0 -2
  245. package/dist/bundle/command-contract-VRTOAV6W.js +0 -43
  246. package/dist/bundle/entry-MVXQETWS.js +0 -25
  247. package/dist/bundle/first-run-4UVLW2WR.js +0 -31
  248. package/dist/bundle/first-screen-JAKAIINI.js +0 -41
  249. package/dist/bundle/google-22NXXJX5.js +0 -45
  250. package/dist/bundle/grants-MQMTVCRQ.js +0 -118
  251. package/dist/bundle/mdast-util-gfm-SZM5GBDF.js +0 -2103
  252. package/dist/bundle/meeting-combined-LVP4AZKA.js +0 -27
  253. package/dist/bundle/meeting-model-RAY5XDXZ.js +0 -29
  254. package/dist/bundle/oauth-SGH2I2BY.js +0 -22
  255. package/dist/bundle/remote-D5EYYIAU.js +0 -35
  256. package/dist/bundle/server-DUVJWP3Q.js +0 -80
  257. package/dist/bundle/store-maintenance-command-DY5XIBWR.js +0 -72
  258. package/dist/bundle/tokens-AF7QOFOF.js +0 -118
@@ -15,6 +15,15 @@ var operations = [
15
15
  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.",
16
16
  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.",
17
17
  tags: ["docs"],
18
+ security: [
19
+ {
20
+ oauth2: [
21
+ "https://www.googleapis.com/auth/documents",
22
+ "https://www.googleapis.com/auth/drive",
23
+ "https://www.googleapis.com/auth/drive.file"
24
+ ]
25
+ }
26
+ ],
18
27
  parameters: [
19
28
  {
20
29
  name: "fields",
@@ -113,6 +122,15 @@ var operations = [
113
122
  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.",
114
123
  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.",
115
124
  tags: ["docs"],
125
+ security: [
126
+ {
127
+ oauth2: [
128
+ "https://www.googleapis.com/auth/documents",
129
+ "https://www.googleapis.com/auth/drive",
130
+ "https://www.googleapis.com/auth/drive.file"
131
+ ]
132
+ }
133
+ ],
116
134
  parameters: [
117
135
  {
118
136
  name: "fields",
@@ -201,6 +219,17 @@ var operations = [
201
219
  summary: "Gets the latest version of the specified document.",
202
220
  description: "Gets the latest version of the specified document.",
203
221
  tags: ["docs"],
222
+ security: [
223
+ {
224
+ oauth2: [
225
+ "https://www.googleapis.com/auth/documents",
226
+ "https://www.googleapis.com/auth/documents.readonly",
227
+ "https://www.googleapis.com/auth/drive",
228
+ "https://www.googleapis.com/auth/drive.file",
229
+ "https://www.googleapis.com/auth/drive.readonly"
230
+ ]
231
+ }
232
+ ],
204
233
  parameters: [
205
234
  {
206
235
  name: "fields",
@@ -336,6 +365,19 @@ var operations = [
336
365
  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).",
337
366
  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).",
338
367
  tags: ["drive"],
368
+ security: [
369
+ {
370
+ oauth2: [
371
+ "https://www.googleapis.com/auth/drive",
372
+ "https://www.googleapis.com/auth/drive.appdata",
373
+ "https://www.googleapis.com/auth/drive.file",
374
+ "https://www.googleapis.com/auth/drive.metadata",
375
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
376
+ "https://www.googleapis.com/auth/drive.photos.readonly",
377
+ "https://www.googleapis.com/auth/drive.readonly"
378
+ ]
379
+ }
380
+ ],
339
381
  parameters: [
340
382
  {
341
383
  name: "fields",
@@ -419,6 +461,17 @@ var operations = [
419
461
  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).",
420
462
  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).",
421
463
  tags: ["drive"],
464
+ security: [
465
+ {
466
+ oauth2: [
467
+ "https://www.googleapis.com/auth/drive",
468
+ "https://www.googleapis.com/auth/drive.file",
469
+ "https://www.googleapis.com/auth/drive.metadata",
470
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
471
+ "https://www.googleapis.com/auth/drive.readonly"
472
+ ]
473
+ }
474
+ ],
422
475
  parameters: [
423
476
  {
424
477
  name: "fields",
@@ -522,6 +575,17 @@ var operations = [
522
575
  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.",
523
576
  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.",
524
577
  tags: ["drive"],
578
+ security: [
579
+ {
580
+ oauth2: [
581
+ "https://www.googleapis.com/auth/drive",
582
+ "https://www.googleapis.com/auth/drive.file",
583
+ "https://www.googleapis.com/auth/drive.metadata",
584
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
585
+ "https://www.googleapis.com/auth/drive.readonly"
586
+ ]
587
+ }
588
+ ],
525
589
  parameters: [
526
590
  {
527
591
  name: "fields",
@@ -636,6 +700,11 @@ var operations = [
636
700
  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).",
637
701
  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).",
638
702
  tags: ["drive"],
703
+ security: [
704
+ {
705
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"]
706
+ }
707
+ ],
639
708
  parameters: [
640
709
  {
641
710
  name: "fields",
@@ -740,6 +809,15 @@ var operations = [
740
809
  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`.",
741
810
  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`.",
742
811
  tags: ["drive"],
812
+ security: [
813
+ {
814
+ oauth2: [
815
+ "https://www.googleapis.com/auth/drive",
816
+ "https://www.googleapis.com/auth/drive.file",
817
+ "https://www.googleapis.com/auth/drive.metadata"
818
+ ]
819
+ }
820
+ ],
743
821
  parameters: [
744
822
  {
745
823
  name: "fields",
@@ -848,6 +926,15 @@ var operations = [
848
926
  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`.",
849
927
  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`.",
850
928
  tags: ["drive"],
929
+ security: [
930
+ {
931
+ oauth2: [
932
+ "https://www.googleapis.com/auth/drive",
933
+ "https://www.googleapis.com/auth/drive.file",
934
+ "https://www.googleapis.com/auth/drive.metadata"
935
+ ]
936
+ }
937
+ ],
851
938
  parameters: [
852
939
  {
853
940
  name: "fields",
@@ -956,6 +1043,15 @@ var operations = [
956
1043
  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.",
957
1044
  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.",
958
1045
  tags: ["drive"],
1046
+ security: [
1047
+ {
1048
+ oauth2: [
1049
+ "https://www.googleapis.com/auth/drive",
1050
+ "https://www.googleapis.com/auth/drive.file",
1051
+ "https://www.googleapis.com/auth/drive.metadata"
1052
+ ]
1053
+ }
1054
+ ],
959
1055
  parameters: [
960
1056
  {
961
1057
  name: "fields",
@@ -1064,6 +1160,15 @@ var operations = [
1064
1160
  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`.",
1065
1161
  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`.",
1066
1162
  tags: ["drive"],
1163
+ security: [
1164
+ {
1165
+ oauth2: [
1166
+ "https://www.googleapis.com/auth/drive",
1167
+ "https://www.googleapis.com/auth/drive.file",
1168
+ "https://www.googleapis.com/auth/drive.metadata"
1169
+ ]
1170
+ }
1171
+ ],
1067
1172
  parameters: [
1068
1173
  {
1069
1174
  name: "fields",
@@ -1172,6 +1277,18 @@ var operations = [
1172
1277
  summary: "Gets an approval by ID. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).",
1173
1278
  description: "Gets an approval by ID. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).",
1174
1279
  tags: ["drive"],
1280
+ security: [
1281
+ {
1282
+ oauth2: [
1283
+ "https://www.googleapis.com/auth/drive",
1284
+ "https://www.googleapis.com/auth/drive.appdata",
1285
+ "https://www.googleapis.com/auth/drive.file",
1286
+ "https://www.googleapis.com/auth/drive.metadata",
1287
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
1288
+ "https://www.googleapis.com/auth/drive.readonly"
1289
+ ]
1290
+ }
1291
+ ],
1175
1292
  parameters: [
1176
1293
  {
1177
1294
  name: "fields",
@@ -1275,6 +1392,18 @@ var operations = [
1275
1392
  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).",
1276
1393
  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).",
1277
1394
  tags: ["drive"],
1395
+ security: [
1396
+ {
1397
+ oauth2: [
1398
+ "https://www.googleapis.com/auth/drive",
1399
+ "https://www.googleapis.com/auth/drive.appdata",
1400
+ "https://www.googleapis.com/auth/drive.file",
1401
+ "https://www.googleapis.com/auth/drive.metadata",
1402
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
1403
+ "https://www.googleapis.com/auth/drive.readonly"
1404
+ ]
1405
+ }
1406
+ ],
1278
1407
  parameters: [
1279
1408
  {
1280
1409
  name: "fields",
@@ -1389,6 +1518,15 @@ var operations = [
1389
1518
  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.",
1390
1519
  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.",
1391
1520
  tags: ["drive"],
1521
+ security: [
1522
+ {
1523
+ oauth2: [
1524
+ "https://www.googleapis.com/auth/drive",
1525
+ "https://www.googleapis.com/auth/drive.file",
1526
+ "https://www.googleapis.com/auth/drive.metadata"
1527
+ ]
1528
+ }
1529
+ ],
1392
1530
  parameters: [
1393
1531
  {
1394
1532
  name: "fields",
@@ -1497,6 +1635,15 @@ var operations = [
1497
1635
  summary: "Starts an approval on a file. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).",
1498
1636
  description: "Starts an approval on a file. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).",
1499
1637
  tags: ["drive"],
1638
+ security: [
1639
+ {
1640
+ oauth2: [
1641
+ "https://www.googleapis.com/auth/drive",
1642
+ "https://www.googleapis.com/auth/drive.file",
1643
+ "https://www.googleapis.com/auth/drive.metadata"
1644
+ ]
1645
+ }
1646
+ ],
1500
1647
  parameters: [
1501
1648
  {
1502
1649
  name: "fields",
@@ -1595,6 +1742,19 @@ var operations = [
1595
1742
  summary: "Gets a specific app. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info).",
1596
1743
  description: "Gets a specific app. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info).",
1597
1744
  tags: ["drive"],
1745
+ security: [
1746
+ {
1747
+ oauth2: [
1748
+ "https://www.googleapis.com/auth/drive",
1749
+ "https://www.googleapis.com/auth/drive.appdata",
1750
+ "https://www.googleapis.com/auth/drive.apps.readonly",
1751
+ "https://www.googleapis.com/auth/drive.file",
1752
+ "https://www.googleapis.com/auth/drive.metadata",
1753
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
1754
+ "https://www.googleapis.com/auth/drive.readonly"
1755
+ ]
1756
+ }
1757
+ ],
1598
1758
  parameters: [
1599
1759
  {
1600
1760
  name: "fields",
@@ -1688,6 +1848,11 @@ var operations = [
1688
1848
  summary: "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
  description: "Lists a user's installed apps. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info).",
1690
1850
  tags: ["drive"],
1851
+ security: [
1852
+ {
1853
+ oauth2: ["https://www.googleapis.com/auth/drive.apps.readonly"]
1854
+ }
1855
+ ],
1691
1856
  parameters: [
1692
1857
  {
1693
1858
  name: "fields",
@@ -1803,6 +1968,20 @@ var operations = [
1803
1968
  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).",
1804
1969
  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).",
1805
1970
  tags: ["drive"],
1971
+ security: [
1972
+ {
1973
+ oauth2: [
1974
+ "https://www.googleapis.com/auth/drive",
1975
+ "https://www.googleapis.com/auth/drive.appdata",
1976
+ "https://www.googleapis.com/auth/drive.file",
1977
+ "https://www.googleapis.com/auth/drive.meet.readonly",
1978
+ "https://www.googleapis.com/auth/drive.metadata",
1979
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
1980
+ "https://www.googleapis.com/auth/drive.photos.readonly",
1981
+ "https://www.googleapis.com/auth/drive.readonly"
1982
+ ]
1983
+ }
1984
+ ],
1806
1985
  parameters: [
1807
1986
  {
1808
1987
  name: "fields",
@@ -1930,6 +2109,20 @@ var operations = [
1930
2109
  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).",
1931
2110
  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).",
1932
2111
  tags: ["drive"],
2112
+ security: [
2113
+ {
2114
+ oauth2: [
2115
+ "https://www.googleapis.com/auth/drive",
2116
+ "https://www.googleapis.com/auth/drive.appdata",
2117
+ "https://www.googleapis.com/auth/drive.file",
2118
+ "https://www.googleapis.com/auth/drive.meet.readonly",
2119
+ "https://www.googleapis.com/auth/drive.metadata",
2120
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
2121
+ "https://www.googleapis.com/auth/drive.photos.readonly",
2122
+ "https://www.googleapis.com/auth/drive.readonly"
2123
+ ]
2124
+ }
2125
+ ],
1933
2126
  parameters: [
1934
2127
  {
1935
2128
  name: "fields",
@@ -2168,6 +2361,20 @@ var operations = [
2168
2361
  summary: "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
  description: "Subscribes to changes for a user. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).",
2170
2363
  tags: ["drive"],
2364
+ security: [
2365
+ {
2366
+ oauth2: [
2367
+ "https://www.googleapis.com/auth/drive",
2368
+ "https://www.googleapis.com/auth/drive.appdata",
2369
+ "https://www.googleapis.com/auth/drive.file",
2370
+ "https://www.googleapis.com/auth/drive.meet.readonly",
2371
+ "https://www.googleapis.com/auth/drive.metadata",
2372
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
2373
+ "https://www.googleapis.com/auth/drive.photos.readonly",
2374
+ "https://www.googleapis.com/auth/drive.readonly"
2375
+ ]
2376
+ }
2377
+ ],
2171
2378
  parameters: [
2172
2379
  {
2173
2380
  name: "fields",
@@ -2411,6 +2618,20 @@ var operations = [
2411
2618
  summary: "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
  description: "Stops watching resources through this channel. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).",
2413
2620
  tags: ["drive"],
2621
+ security: [
2622
+ {
2623
+ oauth2: [
2624
+ "https://www.googleapis.com/auth/drive",
2625
+ "https://www.googleapis.com/auth/drive.appdata",
2626
+ "https://www.googleapis.com/auth/drive.file",
2627
+ "https://www.googleapis.com/auth/drive.meet.readonly",
2628
+ "https://www.googleapis.com/auth/drive.metadata",
2629
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
2630
+ "https://www.googleapis.com/auth/drive.photos.readonly",
2631
+ "https://www.googleapis.com/auth/drive.readonly"
2632
+ ]
2633
+ }
2634
+ ],
2414
2635
  parameters: [
2415
2636
  {
2416
2637
  name: "fields",
@@ -2495,6 +2716,11 @@ var operations = [
2495
2716
  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).",
2496
2717
  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).",
2497
2718
  tags: ["drive"],
2719
+ security: [
2720
+ {
2721
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"]
2722
+ }
2723
+ ],
2498
2724
  parameters: [
2499
2725
  {
2500
2726
  name: "fields",
@@ -2593,6 +2819,11 @@ var operations = [
2593
2819
  summary: "Deletes a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
2594
2820
  description: "Deletes a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
2595
2821
  tags: ["drive"],
2822
+ security: [
2823
+ {
2824
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"]
2825
+ }
2826
+ ],
2596
2827
  parameters: [
2597
2828
  {
2598
2829
  name: "fields",
@@ -2692,6 +2923,16 @@ var operations = [
2692
2923
  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).",
2693
2924
  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).",
2694
2925
  tags: ["drive"],
2926
+ security: [
2927
+ {
2928
+ oauth2: [
2929
+ "https://www.googleapis.com/auth/drive",
2930
+ "https://www.googleapis.com/auth/drive.file",
2931
+ "https://www.googleapis.com/auth/drive.meet.readonly",
2932
+ "https://www.googleapis.com/auth/drive.readonly"
2933
+ ]
2934
+ }
2935
+ ],
2695
2936
  parameters: [
2696
2937
  {
2697
2938
  name: "fields",
@@ -2806,6 +3047,16 @@ var operations = [
2806
3047
  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).",
2807
3048
  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).",
2808
3049
  tags: ["drive"],
3050
+ security: [
3051
+ {
3052
+ oauth2: [
3053
+ "https://www.googleapis.com/auth/drive",
3054
+ "https://www.googleapis.com/auth/drive.file",
3055
+ "https://www.googleapis.com/auth/drive.meet.readonly",
3056
+ "https://www.googleapis.com/auth/drive.readonly"
3057
+ ]
3058
+ }
3059
+ ],
2809
3060
  parameters: [
2810
3061
  {
2811
3062
  name: "fields",
@@ -2944,6 +3195,11 @@ var operations = [
2944
3195
  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).",
2945
3196
  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).",
2946
3197
  tags: ["drive"],
3198
+ security: [
3199
+ {
3200
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"]
3201
+ }
3202
+ ],
2947
3203
  parameters: [
2948
3204
  {
2949
3205
  name: "fields",
@@ -3052,6 +3308,11 @@ var operations = [
3052
3308
  summary: "Creates a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3053
3309
  description: "Creates a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).",
3054
3310
  tags: ["drive"],
3311
+ security: [
3312
+ {
3313
+ oauth2: ["https://www.googleapis.com/auth/drive"]
3314
+ }
3315
+ ],
3055
3316
  parameters: [
3056
3317
  {
3057
3318
  name: "fields",
@@ -3150,6 +3411,11 @@ var operations = [
3150
3411
  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).",
3151
3412
  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).",
3152
3413
  tags: ["drive"],
3414
+ security: [
3415
+ {
3416
+ oauth2: ["https://www.googleapis.com/auth/drive"]
3417
+ }
3418
+ ],
3153
3419
  parameters: [
3154
3420
  {
3155
3421
  name: "fields",
@@ -3261,6 +3527,11 @@ var operations = [
3261
3527
  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).",
3262
3528
  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).",
3263
3529
  tags: ["drive"],
3530
+ security: [
3531
+ {
3532
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.readonly"]
3533
+ }
3534
+ ],
3264
3535
  parameters: [
3265
3536
  {
3266
3537
  name: "fields",
@@ -3365,6 +3636,11 @@ var operations = [
3365
3636
  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).",
3366
3637
  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).",
3367
3638
  tags: ["drive"],
3639
+ security: [
3640
+ {
3641
+ oauth2: ["https://www.googleapis.com/auth/drive"]
3642
+ }
3643
+ ],
3368
3644
  parameters: [
3369
3645
  {
3370
3646
  name: "fields",
@@ -3458,6 +3734,11 @@ var operations = [
3458
3734
  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.",
3459
3735
  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.",
3460
3736
  tags: ["drive"],
3737
+ security: [
3738
+ {
3739
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.readonly"]
3740
+ }
3741
+ ],
3461
3742
  parameters: [
3462
3743
  {
3463
3744
  name: "fields",
@@ -3586,6 +3867,11 @@ var operations = [
3586
3867
  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).",
3587
3868
  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).",
3588
3869
  tags: ["drive"],
3870
+ security: [
3871
+ {
3872
+ oauth2: ["https://www.googleapis.com/auth/drive"]
3873
+ }
3874
+ ],
3589
3875
  parameters: [
3590
3876
  {
3591
3877
  name: "fields",
@@ -3679,6 +3965,11 @@ var operations = [
3679
3965
  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).",
3680
3966
  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).",
3681
3967
  tags: ["drive"],
3968
+ security: [
3969
+ {
3970
+ oauth2: ["https://www.googleapis.com/auth/drive"]
3971
+ }
3972
+ ],
3682
3973
  parameters: [
3683
3974
  {
3684
3975
  name: "fields",
@@ -3788,6 +4079,16 @@ var operations = [
3788
4079
  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).",
3789
4080
  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).",
3790
4081
  tags: ["drive"],
4082
+ security: [
4083
+ {
4084
+ oauth2: [
4085
+ "https://www.googleapis.com/auth/drive",
4086
+ "https://www.googleapis.com/auth/drive.appdata",
4087
+ "https://www.googleapis.com/auth/drive.file",
4088
+ "https://www.googleapis.com/auth/drive.photos.readonly"
4089
+ ]
4090
+ }
4091
+ ],
3791
4092
  parameters: [
3792
4093
  {
3793
4094
  name: "fields",
@@ -3984,6 +4285,15 @@ var operations = [
3984
4285
  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.',
3985
4286
  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.',
3986
4287
  tags: ["drive"],
4288
+ security: [
4289
+ {
4290
+ oauth2: [
4291
+ "https://www.googleapis.com/auth/drive",
4292
+ "https://www.googleapis.com/auth/drive.appdata",
4293
+ "https://www.googleapis.com/auth/drive.file"
4294
+ ]
4295
+ }
4296
+ ],
3987
4297
  parameters: [
3988
4298
  {
3989
4299
  name: "fields",
@@ -4170,6 +4480,15 @@ var operations = [
4170
4480
  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.",
4171
4481
  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.",
4172
4482
  tags: ["drive"],
4483
+ security: [
4484
+ {
4485
+ oauth2: [
4486
+ "https://www.googleapis.com/auth/drive",
4487
+ "https://www.googleapis.com/auth/drive.appdata",
4488
+ "https://www.googleapis.com/auth/drive.file"
4489
+ ]
4490
+ }
4491
+ ],
4173
4492
  parameters: [
4174
4493
  {
4175
4494
  name: "fields",
@@ -4294,6 +4613,15 @@ var operations = [
4294
4613
  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.",
4295
4614
  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.",
4296
4615
  tags: ["drive"],
4616
+ security: [
4617
+ {
4618
+ oauth2: [
4619
+ "https://www.googleapis.com/auth/drive",
4620
+ "https://www.googleapis.com/auth/drive.file",
4621
+ "https://www.googleapis.com/auth/drive.readonly"
4622
+ ]
4623
+ }
4624
+ ],
4297
4625
  parameters: [
4298
4626
  {
4299
4627
  name: "fields",
@@ -4407,6 +4735,11 @@ var operations = [
4407
4735
  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).",
4408
4736
  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).",
4409
4737
  tags: ["drive"],
4738
+ security: [
4739
+ {
4740
+ oauth2: ["https://www.googleapis.com/auth/drive"]
4741
+ }
4742
+ ],
4410
4743
  parameters: [
4411
4744
  {
4412
4745
  name: "fields",
@@ -4508,6 +4841,16 @@ var operations = [
4508
4841
  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.",
4509
4842
  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.",
4510
4843
  tags: ["drive"],
4844
+ security: [
4845
+ {
4846
+ oauth2: [
4847
+ "https://www.googleapis.com/auth/drive",
4848
+ "https://www.googleapis.com/auth/drive.file",
4849
+ "https://www.googleapis.com/auth/drive.meet.readonly",
4850
+ "https://www.googleapis.com/auth/drive.readonly"
4851
+ ]
4852
+ }
4853
+ ],
4511
4854
  parameters: [
4512
4855
  {
4513
4856
  name: "fields",
@@ -4607,6 +4950,11 @@ var operations = [
4607
4950
  summary: "Generates a CSE token which can be used to create or update CSE files.",
4608
4951
  description: "Generates a CSE token which can be used to create or update CSE files.",
4609
4952
  tags: ["drive"],
4953
+ security: [
4954
+ {
4955
+ oauth2: ["https://www.googleapis.com/auth/drive"]
4956
+ }
4957
+ ],
4610
4958
  parameters: [
4611
4959
  {
4612
4960
  name: "fields",
@@ -4710,6 +5058,15 @@ var operations = [
4710
5058
  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).",
4711
5059
  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).",
4712
5060
  tags: ["drive"],
5061
+ security: [
5062
+ {
5063
+ oauth2: [
5064
+ "https://www.googleapis.com/auth/drive",
5065
+ "https://www.googleapis.com/auth/drive.appdata",
5066
+ "https://www.googleapis.com/auth/drive.file"
5067
+ ]
5068
+ }
5069
+ ],
4713
5070
  parameters: [
4714
5071
  {
4715
5072
  name: "fields",
@@ -4829,6 +5186,20 @@ var operations = [
4829
5186
  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).",
4830
5187
  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).",
4831
5188
  tags: ["drive"],
5189
+ security: [
5190
+ {
5191
+ oauth2: [
5192
+ "https://www.googleapis.com/auth/drive",
5193
+ "https://www.googleapis.com/auth/drive.appdata",
5194
+ "https://www.googleapis.com/auth/drive.file",
5195
+ "https://www.googleapis.com/auth/drive.meet.readonly",
5196
+ "https://www.googleapis.com/auth/drive.metadata",
5197
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
5198
+ "https://www.googleapis.com/auth/drive.photos.readonly",
5199
+ "https://www.googleapis.com/auth/drive.readonly"
5200
+ ]
5201
+ }
5202
+ ],
4832
5203
  parameters: [
4833
5204
  {
4834
5205
  name: "fields",
@@ -4976,6 +5347,20 @@ var operations = [
4976
5347
  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.",
4977
5348
  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.",
4978
5349
  tags: ["drive"],
5350
+ security: [
5351
+ {
5352
+ oauth2: [
5353
+ "https://www.googleapis.com/auth/drive",
5354
+ "https://www.googleapis.com/auth/drive.appdata",
5355
+ "https://www.googleapis.com/auth/drive.file",
5356
+ "https://www.googleapis.com/auth/drive.meet.readonly",
5357
+ "https://www.googleapis.com/auth/drive.metadata",
5358
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
5359
+ "https://www.googleapis.com/auth/drive.photos.readonly",
5360
+ "https://www.googleapis.com/auth/drive.readonly"
5361
+ ]
5362
+ }
5363
+ ],
4979
5364
  parameters: [
4980
5365
  {
4981
5366
  name: "fields",
@@ -5223,6 +5608,18 @@ var operations = [
5223
5608
  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).",
5224
5609
  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).",
5225
5610
  tags: ["drive"],
5611
+ security: [
5612
+ {
5613
+ oauth2: [
5614
+ "https://www.googleapis.com/auth/drive",
5615
+ "https://www.googleapis.com/auth/drive.file",
5616
+ "https://www.googleapis.com/auth/drive.meet.readonly",
5617
+ "https://www.googleapis.com/auth/drive.metadata",
5618
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
5619
+ "https://www.googleapis.com/auth/drive.readonly"
5620
+ ]
5621
+ }
5622
+ ],
5226
5623
  parameters: [
5227
5624
  {
5228
5625
  name: "fields",
@@ -5340,6 +5737,15 @@ var operations = [
5340
5737
  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.",
5341
5738
  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.",
5342
5739
  tags: ["drive"],
5740
+ security: [
5741
+ {
5742
+ oauth2: [
5743
+ "https://www.googleapis.com/auth/drive",
5744
+ "https://www.googleapis.com/auth/drive.file",
5745
+ "https://www.googleapis.com/auth/drive.metadata"
5746
+ ]
5747
+ }
5748
+ ],
5343
5749
  parameters: [
5344
5750
  {
5345
5751
  name: "fields",
@@ -5438,6 +5844,17 @@ var operations = [
5438
5844
  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).",
5439
5845
  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).",
5440
5846
  tags: ["drive"],
5847
+ security: [
5848
+ {
5849
+ oauth2: [
5850
+ "https://www.googleapis.com/auth/drive",
5851
+ "https://www.googleapis.com/auth/drive.appdata",
5852
+ "https://www.googleapis.com/auth/drive.file",
5853
+ "https://www.googleapis.com/auth/drive.metadata",
5854
+ "https://www.googleapis.com/auth/drive.scripts"
5855
+ ]
5856
+ }
5857
+ ],
5441
5858
  parameters: [
5442
5859
  {
5443
5860
  name: "fields",
@@ -5643,6 +6060,20 @@ var operations = [
5643
6060
  summary: "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
  description: "Subscribes to changes to a file. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).",
5645
6062
  tags: ["drive"],
6063
+ security: [
6064
+ {
6065
+ oauth2: [
6066
+ "https://www.googleapis.com/auth/drive",
6067
+ "https://www.googleapis.com/auth/drive.appdata",
6068
+ "https://www.googleapis.com/auth/drive.file",
6069
+ "https://www.googleapis.com/auth/drive.meet.readonly",
6070
+ "https://www.googleapis.com/auth/drive.metadata",
6071
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
6072
+ "https://www.googleapis.com/auth/drive.photos.readonly",
6073
+ "https://www.googleapis.com/auth/drive.readonly"
6074
+ ]
6075
+ }
6076
+ ],
5646
6077
  parameters: [
5647
6078
  {
5648
6079
  name: "fields",
@@ -5795,6 +6226,16 @@ var operations = [
5795
6226
  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.",
5796
6227
  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.",
5797
6228
  tags: ["drive"],
6229
+ security: [
6230
+ {
6231
+ oauth2: [
6232
+ "https://www.googleapis.com/auth/drive",
6233
+ "https://www.googleapis.com/auth/drive.file",
6234
+ "https://www.googleapis.com/auth/drive.meet.readonly",
6235
+ "https://www.googleapis.com/auth/drive.readonly"
6236
+ ]
6237
+ }
6238
+ ],
5798
6239
  parameters: [
5799
6240
  {
5800
6241
  name: "fields",
@@ -5888,6 +6329,11 @@ var operations = [
5888
6329
  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.",
5889
6330
  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.",
5890
6331
  tags: ["drive"],
6332
+ security: [
6333
+ {
6334
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"]
6335
+ }
6336
+ ],
5891
6337
  parameters: [
5892
6338
  {
5893
6339
  name: "fields",
@@ -6086,6 +6532,11 @@ var operations = [
6086
6532
  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.",
6087
6533
  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.",
6088
6534
  tags: ["drive"],
6535
+ security: [
6536
+ {
6537
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"]
6538
+ }
6539
+ ],
6089
6540
  parameters: [
6090
6541
  {
6091
6542
  name: "fields",
@@ -6231,6 +6682,19 @@ var operations = [
6231
6682
  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).",
6232
6683
  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).",
6233
6684
  tags: ["drive"],
6685
+ security: [
6686
+ {
6687
+ oauth2: [
6688
+ "https://www.googleapis.com/auth/drive",
6689
+ "https://www.googleapis.com/auth/drive.file",
6690
+ "https://www.googleapis.com/auth/drive.meet.readonly",
6691
+ "https://www.googleapis.com/auth/drive.metadata",
6692
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
6693
+ "https://www.googleapis.com/auth/drive.photos.readonly",
6694
+ "https://www.googleapis.com/auth/drive.readonly"
6695
+ ]
6696
+ }
6697
+ ],
6234
6698
  parameters: [
6235
6699
  {
6236
6700
  name: "fields",
@@ -6368,6 +6832,19 @@ var operations = [
6368
6832
  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).",
6369
6833
  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).",
6370
6834
  tags: ["drive"],
6835
+ security: [
6836
+ {
6837
+ oauth2: [
6838
+ "https://www.googleapis.com/auth/drive",
6839
+ "https://www.googleapis.com/auth/drive.file",
6840
+ "https://www.googleapis.com/auth/drive.meet.readonly",
6841
+ "https://www.googleapis.com/auth/drive.metadata",
6842
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
6843
+ "https://www.googleapis.com/auth/drive.photos.readonly",
6844
+ "https://www.googleapis.com/auth/drive.readonly"
6845
+ ]
6846
+ }
6847
+ ],
6371
6848
  parameters: [
6372
6849
  {
6373
6850
  name: "fields",
@@ -6528,6 +7005,11 @@ var operations = [
6528
7005
  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.",
6529
7006
  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.",
6530
7007
  tags: ["drive"],
7008
+ security: [
7009
+ {
7010
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"]
7011
+ }
7012
+ ],
6531
7013
  parameters: [
6532
7014
  {
6533
7015
  name: "fields",
@@ -6704,6 +7186,11 @@ var operations = [
6704
7186
  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).",
6705
7187
  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).",
6706
7188
  tags: ["drive"],
7189
+ security: [
7190
+ {
7191
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"]
7192
+ }
7193
+ ],
6707
7194
  parameters: [
6708
7195
  {
6709
7196
  name: "fields",
@@ -6812,6 +7299,11 @@ var operations = [
6812
7299
  summary: "Deletes a reply. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
6813
7300
  description: "Deletes a reply. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
6814
7301
  tags: ["drive"],
7302
+ security: [
7303
+ {
7304
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"]
7305
+ }
7306
+ ],
6815
7307
  parameters: [
6816
7308
  {
6817
7309
  name: "fields",
@@ -6921,6 +7413,16 @@ var operations = [
6921
7413
  summary: "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
  description: "Gets a reply by ID. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
6923
7415
  tags: ["drive"],
7416
+ security: [
7417
+ {
7418
+ oauth2: [
7419
+ "https://www.googleapis.com/auth/drive",
7420
+ "https://www.googleapis.com/auth/drive.file",
7421
+ "https://www.googleapis.com/auth/drive.meet.readonly",
7422
+ "https://www.googleapis.com/auth/drive.readonly"
7423
+ ]
7424
+ }
7425
+ ],
6924
7426
  parameters: [
6925
7427
  {
6926
7428
  name: "fields",
@@ -7045,6 +7547,16 @@ var operations = [
7045
7547
  summary: "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
  description: "Lists a comment's replies. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).",
7047
7549
  tags: ["drive"],
7550
+ security: [
7551
+ {
7552
+ oauth2: [
7553
+ "https://www.googleapis.com/auth/drive",
7554
+ "https://www.googleapis.com/auth/drive.file",
7555
+ "https://www.googleapis.com/auth/drive.meet.readonly",
7556
+ "https://www.googleapis.com/auth/drive.readonly"
7557
+ ]
7558
+ }
7559
+ ],
7048
7560
  parameters: [
7049
7561
  {
7050
7562
  name: "fields",
@@ -7183,6 +7695,11 @@ var operations = [
7183
7695
  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).",
7184
7696
  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).",
7185
7697
  tags: ["drive"],
7698
+ security: [
7699
+ {
7700
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"]
7701
+ }
7702
+ ],
7186
7703
  parameters: [
7187
7704
  {
7188
7705
  name: "fields",
@@ -7301,6 +7818,15 @@ var operations = [
7301
7818
  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).",
7302
7819
  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).",
7303
7820
  tags: ["drive"],
7821
+ security: [
7822
+ {
7823
+ oauth2: [
7824
+ "https://www.googleapis.com/auth/drive",
7825
+ "https://www.googleapis.com/auth/drive.appdata",
7826
+ "https://www.googleapis.com/auth/drive.file"
7827
+ ]
7828
+ }
7829
+ ],
7304
7830
  parameters: [
7305
7831
  {
7306
7832
  name: "fields",
@@ -7400,6 +7926,20 @@ var operations = [
7400
7926
  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).",
7401
7927
  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).",
7402
7928
  tags: ["drive"],
7929
+ security: [
7930
+ {
7931
+ oauth2: [
7932
+ "https://www.googleapis.com/auth/drive",
7933
+ "https://www.googleapis.com/auth/drive.appdata",
7934
+ "https://www.googleapis.com/auth/drive.file",
7935
+ "https://www.googleapis.com/auth/drive.meet.readonly",
7936
+ "https://www.googleapis.com/auth/drive.metadata",
7937
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
7938
+ "https://www.googleapis.com/auth/drive.photos.readonly",
7939
+ "https://www.googleapis.com/auth/drive.readonly"
7940
+ ]
7941
+ }
7942
+ ],
7403
7943
  parameters: [
7404
7944
  {
7405
7945
  name: "fields",
@@ -7514,6 +8054,20 @@ var operations = [
7514
8054
  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.",
7515
8055
  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.",
7516
8056
  tags: ["drive"],
8057
+ security: [
8058
+ {
8059
+ oauth2: [
8060
+ "https://www.googleapis.com/auth/drive",
8061
+ "https://www.googleapis.com/auth/drive.appdata",
8062
+ "https://www.googleapis.com/auth/drive.file",
8063
+ "https://www.googleapis.com/auth/drive.meet.readonly",
8064
+ "https://www.googleapis.com/auth/drive.metadata",
8065
+ "https://www.googleapis.com/auth/drive.metadata.readonly",
8066
+ "https://www.googleapis.com/auth/drive.photos.readonly",
8067
+ "https://www.googleapis.com/auth/drive.readonly"
8068
+ ]
8069
+ }
8070
+ ],
7517
8071
  parameters: [
7518
8072
  {
7519
8073
  name: "fields",
@@ -7631,6 +8185,15 @@ var operations = [
7631
8185
  summary: "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
  description: "Updates a revision with patch semantics. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).",
7633
8187
  tags: ["drive"],
8188
+ security: [
8189
+ {
8190
+ oauth2: [
8191
+ "https://www.googleapis.com/auth/drive",
8192
+ "https://www.googleapis.com/auth/drive.appdata",
8193
+ "https://www.googleapis.com/auth/drive.file"
8194
+ ]
8195
+ }
8196
+ ],
7634
8197
  parameters: [
7635
8198
  {
7636
8199
  name: "fields",
@@ -7739,6 +8302,11 @@ var operations = [
7739
8302
  summary: "Deprecated: Use `drives.create` instead.",
7740
8303
  description: "Deprecated: Use `drives.create` instead.",
7741
8304
  tags: ["drive"],
8305
+ security: [
8306
+ {
8307
+ oauth2: ["https://www.googleapis.com/auth/drive"]
8308
+ }
8309
+ ],
7742
8310
  parameters: [
7743
8311
  {
7744
8312
  name: "fields",
@@ -7837,6 +8405,11 @@ var operations = [
7837
8405
  summary: "Deprecated: Use `drives.delete` instead.",
7838
8406
  description: "Deprecated: Use `drives.delete` instead.",
7839
8407
  tags: ["drive"],
8408
+ security: [
8409
+ {
8410
+ oauth2: ["https://www.googleapis.com/auth/drive"]
8411
+ }
8412
+ ],
7840
8413
  parameters: [
7841
8414
  {
7842
8415
  name: "fields",
@@ -7926,6 +8499,11 @@ var operations = [
7926
8499
  summary: "Deprecated: Use `drives.get` instead.",
7927
8500
  description: "Deprecated: Use `drives.get` instead.",
7928
8501
  tags: ["drive"],
8502
+ security: [
8503
+ {
8504
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.readonly"]
8505
+ }
8506
+ ],
7929
8507
  parameters: [
7930
8508
  {
7931
8509
  name: "fields",
@@ -8030,6 +8608,11 @@ var operations = [
8030
8608
  summary: "Deprecated: Use `drives.list` instead.",
8031
8609
  description: "Deprecated: Use `drives.list` instead.",
8032
8610
  tags: ["drive"],
8611
+ security: [
8612
+ {
8613
+ oauth2: ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.readonly"]
8614
+ }
8615
+ ],
8033
8616
  parameters: [
8034
8617
  {
8035
8618
  name: "fields",
@@ -8158,6 +8741,11 @@ var operations = [
8158
8741
  summary: "Deprecated: Use `drives.update` instead.",
8159
8742
  description: "Deprecated: Use `drives.update` instead.",
8160
8743
  tags: ["drive"],
8744
+ security: [
8745
+ {
8746
+ oauth2: ["https://www.googleapis.com/auth/drive"]
8747
+ }
8748
+ ],
8161
8749
  parameters: [
8162
8750
  {
8163
8751
  name: "fields",
@@ -8267,6 +8855,14 @@ var operations = [
8267
8855
  summary: "Query past activity in Google Drive.",
8268
8856
  description: "Query past activity in Google Drive.",
8269
8857
  tags: ["driveactivity"],
8858
+ security: [
8859
+ {
8860
+ oauth2: [
8861
+ "https://www.googleapis.com/auth/drive.activity",
8862
+ "https://www.googleapis.com/auth/drive.activity.readonly"
8863
+ ]
8864
+ }
8865
+ ],
8270
8866
  parameters: [
8271
8867
  {
8272
8868
  name: "alt",
@@ -8355,6 +8951,15 @@ var operations = [
8355
8951
  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.",
8356
8952
  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.",
8357
8953
  tags: ["sheets"],
8954
+ security: [
8955
+ {
8956
+ oauth2: [
8957
+ "https://www.googleapis.com/auth/drive",
8958
+ "https://www.googleapis.com/auth/drive.file",
8959
+ "https://www.googleapis.com/auth/spreadsheets"
8960
+ ]
8961
+ }
8962
+ ],
8358
8963
  parameters: [
8359
8964
  {
8360
8965
  name: "$.xgafv",
@@ -8453,6 +9058,15 @@ var operations = [
8453
9058
  summary: "Creates a spreadsheet, returning the newly created spreadsheet.",
8454
9059
  description: "Creates a spreadsheet, returning the newly created spreadsheet.",
8455
9060
  tags: ["sheets"],
9061
+ security: [
9062
+ {
9063
+ oauth2: [
9064
+ "https://www.googleapis.com/auth/drive",
9065
+ "https://www.googleapis.com/auth/drive.file",
9066
+ "https://www.googleapis.com/auth/spreadsheets"
9067
+ ]
9068
+ }
9069
+ ],
8456
9070
  parameters: [
8457
9071
  {
8458
9072
  name: "$.xgafv",
@@ -8541,6 +9155,15 @@ var operations = [
8541
9155
  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).",
8542
9156
  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).",
8543
9157
  tags: ["sheets"],
9158
+ security: [
9159
+ {
9160
+ oauth2: [
9161
+ "https://www.googleapis.com/auth/drive",
9162
+ "https://www.googleapis.com/auth/drive.file",
9163
+ "https://www.googleapis.com/auth/spreadsheets"
9164
+ ]
9165
+ }
9166
+ ],
8544
9167
  parameters: [
8545
9168
  {
8546
9169
  name: "$.xgafv",
@@ -8645,6 +9268,15 @@ var operations = [
8645
9268
  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.",
8646
9269
  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.",
8647
9270
  tags: ["sheets"],
9271
+ security: [
9272
+ {
9273
+ oauth2: [
9274
+ "https://www.googleapis.com/auth/drive",
9275
+ "https://www.googleapis.com/auth/drive.file",
9276
+ "https://www.googleapis.com/auth/spreadsheets"
9277
+ ]
9278
+ }
9279
+ ],
8648
9280
  parameters: [
8649
9281
  {
8650
9282
  name: "$.xgafv",
@@ -8743,6 +9375,17 @@ var operations = [
8743
9375
  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.",
8744
9376
  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.",
8745
9377
  tags: ["sheets"],
9378
+ security: [
9379
+ {
9380
+ oauth2: [
9381
+ "https://www.googleapis.com/auth/drive",
9382
+ "https://www.googleapis.com/auth/drive.file",
9383
+ "https://www.googleapis.com/auth/drive.readonly",
9384
+ "https://www.googleapis.com/auth/spreadsheets",
9385
+ "https://www.googleapis.com/auth/spreadsheets.readonly"
9386
+ ]
9387
+ }
9388
+ ],
8746
9389
  parameters: [
8747
9390
  {
8748
9391
  name: "$.xgafv",
@@ -8885,6 +9528,15 @@ var operations = [
8885
9528
  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.",
8886
9529
  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.",
8887
9530
  tags: ["sheets"],
9531
+ security: [
9532
+ {
9533
+ oauth2: [
9534
+ "https://www.googleapis.com/auth/drive",
9535
+ "https://www.googleapis.com/auth/drive.file",
9536
+ "https://www.googleapis.com/auth/spreadsheets"
9537
+ ]
9538
+ }
9539
+ ],
8888
9540
  parameters: [
8889
9541
  {
8890
9542
  name: "$.xgafv",
@@ -8983,6 +9635,15 @@ var operations = [
8983
9635
  summary: "Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet.",
8984
9636
  description: "Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet.",
8985
9637
  tags: ["sheets"],
9638
+ security: [
9639
+ {
9640
+ oauth2: [
9641
+ "https://www.googleapis.com/auth/drive",
9642
+ "https://www.googleapis.com/auth/drive.file",
9643
+ "https://www.googleapis.com/auth/spreadsheets"
9644
+ ]
9645
+ }
9646
+ ],
8986
9647
  parameters: [
8987
9648
  {
8988
9649
  name: "$.xgafv",
@@ -9092,6 +9753,15 @@ var operations = [
9092
9753
  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.',
9093
9754
  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.',
9094
9755
  tags: ["sheets"],
9756
+ security: [
9757
+ {
9758
+ oauth2: [
9759
+ "https://www.googleapis.com/auth/drive",
9760
+ "https://www.googleapis.com/auth/drive.file",
9761
+ "https://www.googleapis.com/auth/spreadsheets"
9762
+ ]
9763
+ }
9764
+ ],
9095
9765
  parameters: [
9096
9766
  {
9097
9767
  name: "$.xgafv",
@@ -9254,6 +9924,15 @@ var operations = [
9254
9924
  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.",
9255
9925
  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.",
9256
9926
  tags: ["sheets"],
9927
+ security: [
9928
+ {
9929
+ oauth2: [
9930
+ "https://www.googleapis.com/auth/drive",
9931
+ "https://www.googleapis.com/auth/drive.file",
9932
+ "https://www.googleapis.com/auth/spreadsheets"
9933
+ ]
9934
+ }
9935
+ ],
9257
9936
  parameters: [
9258
9937
  {
9259
9938
  name: "$.xgafv",
@@ -9352,6 +10031,15 @@ var operations = [
9352
10031
  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.",
9353
10032
  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.",
9354
10033
  tags: ["sheets"],
10034
+ security: [
10035
+ {
10036
+ oauth2: [
10037
+ "https://www.googleapis.com/auth/drive",
10038
+ "https://www.googleapis.com/auth/drive.file",
10039
+ "https://www.googleapis.com/auth/spreadsheets"
10040
+ ]
10041
+ }
10042
+ ],
9355
10043
  parameters: [
9356
10044
  {
9357
10045
  name: "$.xgafv",
@@ -9450,6 +10138,17 @@ var operations = [
9450
10138
  summary: "Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges.",
9451
10139
  description: "Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges.",
9452
10140
  tags: ["sheets"],
10141
+ security: [
10142
+ {
10143
+ oauth2: [
10144
+ "https://www.googleapis.com/auth/drive",
10145
+ "https://www.googleapis.com/auth/drive.file",
10146
+ "https://www.googleapis.com/auth/drive.readonly",
10147
+ "https://www.googleapis.com/auth/spreadsheets",
10148
+ "https://www.googleapis.com/auth/spreadsheets.readonly"
10149
+ ]
10150
+ }
10151
+ ],
9453
10152
  parameters: [
9454
10153
  {
9455
10154
  name: "$.xgafv",
@@ -9589,6 +10288,15 @@ var operations = [
9589
10288
  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.",
9590
10289
  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.",
9591
10290
  tags: ["sheets"],
10291
+ security: [
10292
+ {
10293
+ oauth2: [
10294
+ "https://www.googleapis.com/auth/drive",
10295
+ "https://www.googleapis.com/auth/drive.file",
10296
+ "https://www.googleapis.com/auth/spreadsheets"
10297
+ ]
10298
+ }
10299
+ ],
9592
10300
  parameters: [
9593
10301
  {
9594
10302
  name: "$.xgafv",
@@ -9687,6 +10395,15 @@ var operations = [
9687
10395
  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.",
9688
10396
  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.",
9689
10397
  tags: ["sheets"],
10398
+ security: [
10399
+ {
10400
+ oauth2: [
10401
+ "https://www.googleapis.com/auth/drive",
10402
+ "https://www.googleapis.com/auth/drive.file",
10403
+ "https://www.googleapis.com/auth/spreadsheets"
10404
+ ]
10405
+ }
10406
+ ],
9690
10407
  parameters: [
9691
10408
  {
9692
10409
  name: "$.xgafv",
@@ -9785,6 +10502,15 @@ var operations = [
9785
10502
  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.",
9786
10503
  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.",
9787
10504
  tags: ["sheets"],
10505
+ security: [
10506
+ {
10507
+ oauth2: [
10508
+ "https://www.googleapis.com/auth/drive",
10509
+ "https://www.googleapis.com/auth/drive.file",
10510
+ "https://www.googleapis.com/auth/spreadsheets"
10511
+ ]
10512
+ }
10513
+ ],
9788
10514
  parameters: [
9789
10515
  {
9790
10516
  name: "$.xgafv",
@@ -9883,6 +10609,15 @@ var operations = [
9883
10609
  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.",
9884
10610
  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.",
9885
10611
  tags: ["sheets"],
10612
+ security: [
10613
+ {
10614
+ oauth2: [
10615
+ "https://www.googleapis.com/auth/drive",
10616
+ "https://www.googleapis.com/auth/drive.file",
10617
+ "https://www.googleapis.com/auth/spreadsheets"
10618
+ ]
10619
+ }
10620
+ ],
9886
10621
  parameters: [
9887
10622
  {
9888
10623
  name: "$.xgafv",
@@ -9991,6 +10726,17 @@ var operations = [
9991
10726
  summary: "Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range.",
9992
10727
  description: "Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range.",
9993
10728
  tags: ["sheets"],
10729
+ security: [
10730
+ {
10731
+ oauth2: [
10732
+ "https://www.googleapis.com/auth/drive",
10733
+ "https://www.googleapis.com/auth/drive.file",
10734
+ "https://www.googleapis.com/auth/drive.readonly",
10735
+ "https://www.googleapis.com/auth/spreadsheets",
10736
+ "https://www.googleapis.com/auth/spreadsheets.readonly"
10737
+ ]
10738
+ }
10739
+ ],
9994
10740
  parameters: [
9995
10741
  {
9996
10742
  name: "$.xgafv",
@@ -10127,6 +10873,15 @@ var operations = [
10127
10873
  summary: "Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption.",
10128
10874
  description: "Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption.",
10129
10875
  tags: ["sheets"],
10876
+ security: [
10877
+ {
10878
+ oauth2: [
10879
+ "https://www.googleapis.com/auth/drive",
10880
+ "https://www.googleapis.com/auth/drive.file",
10881
+ "https://www.googleapis.com/auth/spreadsheets"
10882
+ ]
10883
+ }
10884
+ ],
10130
10885
  parameters: [
10131
10886
  {
10132
10887
  name: "$.xgafv",