服务帐户存储限制

服务帐户存储限制

本文介绍了Google Drive&服务帐户存储限制/配额的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

对于我的Google App Engine应用程序,我想使用服务帐户自己的Google云端硬盘,即我不希望创建常规gmail帐户并授予我的服务帐户权限,也不希望与任何人共享文件否则,我只是希望将Drive作为应用程序的内部文件系统,只能由应用程序访问。



我的问题:

1)是否仍然提供这样的服务,即授予使用他们自己的私人云端硬盘的服务帐户,还是我被迫使用新Google云端存储?



2)我可以在哪里找到任何相关的&更新有关这种驱动器和存储器的存储配额的信息。扩展它的可能选项?我浏览了很多论坛,但是我发现的所有帖子(包括SO)都包含死链接和/或各种信息(我认为它的5GB,我相信它的15GB等)。

感谢任何能解开这个谜团的人: - ) 您可以使用驾驶资源并查找与您的云端硬盘相关的所有信息。

如果您通过服务帐户拨打电话,则可以知道参数 quotaBytesTotal



我刚刚检查过,对我来说这是15 GB,因此可能会有相同的可用空间。

for my Google App Engine application I would like to use the Service Account's own Google Drive, i.e. I do not wish to create a "regular" gmail account and grant privileges to my Service Account, nor I want to share files with anyone else, I just wish to use the Drive as a "internal filesystem" for the application, accessed by the application only.

My questions:

1) is such service still provided, i.e. are Service Accounts granted to use their own private Drive, or am I forced to use the "new" Google Cloud Storage?

2) where can I find any relevant & updated information regarding the storage quota for such Drive & possible options for expanding it? I browsed many forums, but all posts I found (including on SO) contains dead links and/or states various information ("I think its 5 GB", "I believe its 15 GB" etc.)

Thanks in advance to anyone who can unravel the mystery :-)

解决方案

You can use the Drive resource about.get and find all the information related to your Drive.

If you make the call from your service account, you can know what is the total amount of available space returned in the parameter quotaBytesTotal for that account.

I just checked and for me it was 15 GB, so that's likely the same available space you will get.

这篇关于Google Drive&服务帐户存储限制/配额的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 23:49