Enum AuthorizationStatus


An enumeration denoting the authorization status of a script.


REQUIREDEnumThe user needs to authorize this script to use one or more services. In most cases, the script prompts 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 runs the script without prompting for authorization but throws an exception if the script attempts to call the unauthorized service.
NOT_REQUIREDEnumThe user has granted this script all the authorization it currently requires.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.