Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
IAM Google Drive API を利用したアプリを開発中。ドライブ API を使用して Google ドライブの最上位フォルダを取得できますか? その範囲は何ですか?
これは古いことは知っていますが、今日も同じ問題がありました。これは私がそれを解決した方法です:
function showTopLevel() { var folders = DriveApp.getRootFolder().getFolders(); while (folders.hasNext()) { var folder = folders.next(); Logger.log(folder.getName()); } }