Update 2024. Working solution.
To save other people time, some of the above links are old.
The currently maintained version of gdrive
can be found here:
https://github.com/glotlabs/gdrive?tab=readme-ov-file
With some helpful instructions on how to set up a project, get OAuth and using the CLI.