To upload a large files to google drive from linux console you can use rclone
after install you need config gdrive:
for fix problem with google blocking app you need first start rclone on your local pc and configure rclone with autoconfig then copy file /root/.config/rclone/rclone.conf to your remote server.
then use command to copy from linux to google drive (name of config googleR)
>rclone sync «/home1/file1» «googleR:ProjectD»