Repository navigation
docs(runtime): complete function → service → OAuth scope table - #572
Merged
Merged
Conversation
The runtime page named six service-bound functions; the library has more (createFolder, getTriggerById, the slide lookups, the Admin SDK guards, the locking writers). The table now lists each of them with the global it calls and the scope that global needs, and a new section recommends explicit oauthScopes in appsscript.json, with the narrow *.currentonly scopes, when drive.file is and is not enough, and the Admin SDK requirements. Updated in all five languages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Maksym Stoianov <stoianov.maksym@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The runtime page listed 6 service-dependent functions; the code uses more (createFolder, getTriggerById, getSlide*, admin helpers, writers that take a LockService lock). The page now has a complete function → Apps Script service → minimal OAuth scope table and a section recommending explicit
oauthScopesin appsscript.json (narrow alternatives such asdrive.file; Admin SDK needsadmin.directory.user.readonly). All 5 languages, docs:generate run, heading structure identical.Note: that LockService and the SpreadsheetApp builders (newTextStyle, …) need no scope should be confirmed once in a real project.
🤖 Generated with Claude Code