Go to Google Cloud https://console.cloud.google.com/
Create a new Project.
Enable the Google Drive API
Create a Google Service Account for the Google Drive API (under credentials
Generate Service Account File
Upload Service Account JSON file. Uploading JSON File
Name the JSON file like so…
oauth2serviceaccount.json
Update settings as follows…
bobglobalconfiguration.gdriverootfolderid = ID of Root folder within the Google Drive for the user.
Need to ensure that the folder and the parent folder have access shared with the email of the Google Service Account


