Enable "Allow less secure apps" programmatically?
Is there a to enable "Allow less secure apps" for domain users using Google Apps Script? I browsed the G Suite Admin SDK reference but couldn't find anything. There's ResolvedAppAccessSettings: ListTrustedApps in Directory API > Security, but it's not what I wanted.
Thanks.