Created
October 26, 2020 05:24
-
-
Save shikumiya-hata/b73135b1a1e86bb836a7b1f78ab86cf2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* GoogleドライブのFolder型に変換 | |
* @param {TeamDrive} teamDrive - 共有ドライブ | |
* @return {Folder} - フォルダ | |
*/ | |
function toFolder(teamDrive) { | |
// 共有ドライブのIDからFolderオブジェクトを取得する | |
return DriveApp.getFolderById(teamDrive.id) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment