Hi, I'm trying to set the one-off properties for OAuth2 from GAS in a Gsheet, with cGoa.GoaApp.setPackage(),
function oneOffSetting() { // Example: Set actual values **
var propertyStore = PropertiesService.getScriptProperties();
cGoa.GoaApp.setPackage (propertyStore , cGoa.GoApp.createServiceAccount (DriveApp , {
packageName: 'AutoMLEEMy_serviceaccount',
fileId:'12yUy1pVvVoHPJ6RwvbZn5eEuYA2U6UXX',
scopes : cGoa.GoaApp.scopesGoogleExpand (['cloud-platform']),
service:'google_service'
}));
and consistently getting
"SyntaxError: Unexpected strict mode reserved word (line 43, file "GoaApp", project "cGoa")
I am using the version 30 of the project. I looked at gitHub, but the line number doesn't see to correlate to executable code.
Any ideas?
Thanks,