2014-10-29 194 views
1

我想要一個域名添加到我的水桶permisions,但是當我使用我得到以下錯誤的UI:谷歌雲Storrage桶域Permision

One of your permissions is invalid Make sure that you enter an authorized id or email for the groups and users and a domain for the domains

當我嘗試使用gsutil命令行工具,我得到以下錯誤:

$ gsutil acl ch -g mydomain.com:R gs://my-bucket-name 

CommandException: Received bad request from server: BadRequestException: 400 Could not find domain "mydomain.com". 

Mydomain.com iscourcse這裏用作一個例子。

有什麼想法?

+1

這可能是一個愚蠢的問題,但您確定您擁有名爲「mydomain.com」的Google Apps域?這是針對Google Apps域的,而不是任何域名。 – 2014-10-31 04:52:43

+0

@BrandonYarbrough就像問題中提到的那樣; Mydomain.com就是一個例子。 – iamchriswick 2014-10-31 17:03:54

+0

不,我的意思是,你有一個與真實價值相匹配的Google Apps域名嗎? – 2014-11-01 07:42:02

回答

0

使用Google網站管理員工具驗證我的網域,並將服務帳戶電子郵件地址添加爲域的經過驗證的所有者,它就起作用了。

+0

你在哪裏添加了服務帳戶的電子郵件地址,你從哪裏得到它? – galki 2017-10-29 13:29:18

+1

請查閱https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances和https://www.google.com/webmasters/和https://雲。 google.com/storage/docs/authentication – iamchriswick 2017-10-31 09:12:50