If Google Drive (don’t use it personally) is anything like Dropbox (what I do use), there is a folder (or number of folders) locally on your computer that get synced automatically to the cloud. That folder exists on all of your synced installations, anything you put in that folder on any of your machines gets synced to the cloud and all other machines.
So one way to do it is to make sure the path to your root synced folder is the same on all machines, like
D:\Dropbox That’s the only way I know of to keep the paths the same everywhere for use with aliases and the like.
I do not know if you can sync files directly to the cloud without going through saving to a local folder first, maybe it’s possible, I’m no expert on that.