message: '{"ResourceType":"storage.v1.bucket","ResourceErrorCode":"403","ResourceErrorMessage":{"code":403,"errors":[{"domain":"global","message":"The
bucket you tried to create requires domain ownership verification.","reason":"forbidden"}],"message":"The
bucket you tried to create requires domain ownership verification.","statusMessage":"Forbidden","requestPath":"https://www.googleapis.com/storage/v1/b","httpMethod":"POST","suggestion":"Consider
granting permissions to [email protected]"}}'
以上是我尝试通过Deployment Manager创建storagebuckets时的消息。我已经尝试在Google Search Console上将[email protected]
添加到该域的已验证所有者,但仍然没有运气
要创建包含域名的存储分区,您的帐户应该是域的经过验证的所有者,而不是cloudservices.gserviceaccount.com。更多信息可以在Domain-Named Bucket Verification文档中找到。
您必须使用用于登录Google云端控制台的帐户登录您的域名提供商。然后请求新域名,转到Google Cloud Console App Engine页面。转到“设置”,然后单击Custom domains
,然后单击Add a custom domain
。在那里添加域名并验证后,您将能够使用该域名作为名称创建存储桶名称。但请确保使用与域验证相同的帐户执行此操作。