需要哪些确切的权限才能读取并写入Google表的服务帐户?

发布于 2025-02-06 17:00:54 字数 151 浏览 2 评论 0原文

我正在设置一个节点脚本以与Google表进行交互,我遇到的所有教程都设置了一个具有编辑器角色的服务帐户,但是我只希望我的服务帐户读写和写入到一张Google表,所以我不希望它具有编辑角色提供的所有权限。有谁知道向Google表的阅读和写作所需的具体许可?

I am setting up a node script to interact with a google sheet, all the tutorials I have come across set up a service account with the Editor role, however I only want my service account to read and write to a google sheet so I don't want it to have all the permissions an editor role affords. Does anyone know the specific permissions needed for reading and writing to google sheets?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不交电费瞎发啥光 2025-02-13 17:00:54

不可能。

编辑许可授予读写访问,这也允许删除文件。

评论者访问Grands仅阅读访问。

您必须在两者之间进行选择

Not possible.

Editor permission grants read and write access, which also allows the file to be deleted.

Commenter access grands only read access.

You have to choose between the two

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文