服务帐户不会从Google获得配额

发布于 2025-01-22 23:51:00 字数 217 浏览 5 评论 0原文

我的一个朋友订阅了Google One并授予我许可使用该存储,问题是当我使用服务帐户上传文件到Google Drive时,存储显示为15GB,不要让我上传更多那是否有可以将存储从我的帐户授予服务帐户的存储空间?

我找不到与Google One相关的任何东西,任何方向都会有所帮助。

编辑:我使用了OAuth2,这不是最好的选择,但我真的不想更多地参与其中。

One friend of mine subscribed to Google one and granted permission to me use the storage, the problem is when i'm using a service account to upload a file to google drive, the storage shows as 15GB and don't let me upload more than that, is there anyway to grant the storage from my account to the service account?

I couldn't find anything related to Google one, any direction would help.

Edit: I used OAuth2, it isn't the best alternative, but I really don't want to go more into this.

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

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

发布评论

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

评论(1

画尸师 2025-01-29 23:51:00

服务帐户是虚拟用户,他们拥有自己的驱动器帐户,但是无法将分配的空间扩展到该帐户。

存储基于帐户。如果您想将标准Gmail用户的存储与服务帐户的存储。然后,需要将服务帐户上传到该驱动器帐户。

让您的朋友与服务帐户在其驱动器帐户上共享一个目录。然后,当您上传文件时,请确保将父母ID设置为您上传的文件夹的ID。

Service accounts are dummy users they have their own drive account but there is no way to extend the allotted space to that account.

Storage is based upon an account. If you want to use the storage of a standard gmail user with a service account. Then the service account needs to be uploading to that drive account.

Have your friend share a directory on their drive account with the service account. Then when you upload files make sure to set the parents id to that of the folder your uploading to.

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