What exactly your requirement is with Google drive ? you can refer this https://o7planning.org/11889/manipulating-files-and-folders-on-google-drive-using-javawhich explains how to communicate to the drive with api from java application. You can do same th a servlet or with your requirement from AEM....