服务帐户不会从Google获得配额
我的一个朋友订阅了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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
服务帐户是虚拟用户,他们拥有自己的驱动器帐户,但是无法将分配的空间扩展到该帐户。
存储基于帐户。如果您想将标准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.