Moodle 3.9? Info for that version below ...
Check default config of Google Drive repo and setting of the file resource in the courses.
Screen shot.
To verify, you could query your DB for moodle - mdl_files table - and look for file by name. Those actually stored in Google Drive will show a URL to Google Drive.
'SoS', Ken