Google App Engine删除了默认的GCS存储桶.有办法恢复吗? [英] Google App Engine deleted default GCS bucket. Is there a way to restore it?

查看:59
本文介绍了Google App Engine删除了默认的GCS存储桶.有办法恢复吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从应用程序的默认存储桶中删除一些文件,并且我不小心也使用gsutil rm命令删除了存储桶本身.

I was deleting some files from the default bucket of my application and I accidentally deleted also the bucket itself using gsutil rm command.

有没有办法还原/重新创建/将其重新带回?我想继续使用免费配额,而不启用结算功能.

Is there a way to restore/recreate/bring it back ? I would like to continue to use the free quota and not enable billing.

到目前为止,我试图做的是(但是我不确定它是正确的).我首先启用计费功能只是为了重新创建一个具有相同名称的存储桶:xxx.appspot.com.为了能够做到这一点,我验证了我是域的所有者.我设置了默认的ACL,以使用服务帐户为我的应用所有者提供访问权限.然后,我再次禁用了结算功能.

What I tried to do so far is that (but I'm not sure it is correct). I first enable billing just to re-create a bucket with the same name: xxx.appspot.com. In order to be able to do that I verified that I'm the owner of the domain. I setup the default acl to give my app OWNER access using the service account. Then I disabled the billing again.

存储桶是否被视为类似于App Engine云存储集成创建的默认存储桶并使用免费配额层?

Is the bucket considered like the default bucket create by app engine cloud storage integration and use the free quota tier ?

推荐答案

只需登录到您的Cloud Console仪表板,转到AppEngine并选择设置,然后选择Create Default Bucket.

Just login to your Cloud Console Dashboard, go to AppEngine and select settings then Create Default Bucket.

我几次删除了我的,然后重新创建了!

I deleted mine severally and recreated it again!

这篇关于Google App Engine删除了默认的GCS存储桶.有办法恢复吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆