Enum AuthorizationStatus

AuthorizationStatus

An enumeration denoting the authorization status of a script.

Properties

PropertyTypeDescription
REQUIREDEnumThe user needs to authorize this script to use one or more services. In most cases, the script will prompt the user for authorization the next time it runs; however, if the script is published as an add-on that uses installable triggers, the trigger will run the script without prompting for authorization but will throw an exception if the script attempts to call the unauthorized service.
NOT_REQUIREDEnumThe user has granted this script all the authorization it currently requires.

发送以下问题的反馈:

此网页
Apps Script
Apps Script