GoogleDriveApi
1.0.0
include '/path/to/ GoogleDriveApi / GoogleDriveApi .php';
new GoogleDriveApi ()
を作成するときに、パラメータとして認証情報へのパスを送信します。 logOut()
getEmail()
listFiles($fields = "files(id, name, owners)")
createFolder($name, $parentId = "root")
uploadFile($fullName, $mimeType, $fullPath, $parentId = "root")
uploadFileBasic($name, $type, $extension, $pathToFileDir, $parentId = "root")
createFile($fullName, $mimeType, $parentId = "root")
createFileBasic($name, $type, $extension, $parentId = "root")
moveFile($fileId, $folderId)
downloadFile($fileId)
testFilesOwners()
setVerifiedOwner($ids)