我有几个没有组织的项目想要迁移。我遵循该指南https://cloud.google.com/resource-manager/docs/creating-managing-organization 当我尝试使用 UI 将项目迁移到我的组织时,它说:
您没有执行此操作所需的以下权限:“resourcemanager.projects.update”
我在组织级别的用户角色:
在项目级别,该用户具有:
当我从 CLI 执行
此操作时gcloud beta projects move hidden-project-name --organization MY_ORG_ID
,我得到以下信息:
错误:(gcloud.beta.projects.move)用户 [greg@***] 无权访问项目实例 [hidden-project-name](或者它可能不存在):调用者没有权限
一些细节:
gcloud auth list显示我的用户有权限
gcloud projects list正确显示可用项目
我从 Cloud Shell 运行了所有命令。
有什么想法我必须分配给我的用户哪些角色吗?
I have a function with a simple test code like:
exports.helloPubSub = (event, context) => {
const message = event.data
? Buffer.from(event.data, 'base64').toString()
: 'Hello, World';
console.log(context);
throw new Error("Fail");
};
Run Code Online (Sandbox Code Playgroud)
When I publish a message to Pub/sub the function fails and I expect that it will be called again with the same message after 600 seconds since the pub/sub subscription has Acknowledgement deadline set to 600 Seconds. But it does not work as expected looks like it acks the …
publish-subscribe google-cloud-platform google-cloud-pubsub google-cloud-functions