First of all. Google does not have a clear description of which servers they will come to you from. Especially since these addresses are subject to change. Setting the subnet also does not help.
Secondly. Not only Google Dox will be able to go to you for files. It is possible that the search robot will index the file and it will be publicly available. And it will be available very simply. There is no security here.
Try using a google disk for these tasks.
For this, there are enough customers to google drive. For Linux, for example, here (I did not use it myself .. but I assume that there will be no problems)
If the server has a GUI, then there are no problems at all. The official package will solve everything.