const file = Drive.Files.insert({ title: 'Temp.pdf' }, blob, { ocr: true, ocrLanguage: "en" });
I have enabled Drive API(v2) from Resources->Advanced Google Services and also enabled Drive API in Google Cloud Platform API Dashboard for that particular project.
But this doesn't look like a one time activity. The error ReferenceError: Drive is not defined keeps coming every now and then. When I enable Drive API from Resources->Advanced Google Services, there is no error for some time and it comes again after some time. The setting in Resources->Advanced Google Services is not persisted.
Why is it not persisted? Am I missing something here?