I connected my Linux systems to my Nextcloud server, and then I connected my Gdrive as external storage in Nextcloud. When I turned on server side encryption in Nextcloud it also encrypted my connected storage of Gdrive. So I accomplished both Gdrive integration as well as file encryption at the same time.