无法删除Google Cloud Storage对象更改通知webhook

问题描述 投票:0回答:1

[我在2015年使用命令gsutil notification watchbucket https://my-project.appspot.com/myWebHook gs://my-bucket/创建了一个Webhook来监视存储桶中的更改,>

今天我想删除它,但无法执行。

[gsutil notification list -o gs://my-bucket/显示我当前的网络钩子

它返回类似的内容:

Notification channel 1:
        Channel identifier: someid-905e-905e-905e-1fdca170d689
        Resource identifier: myIdentifierXXXfncnI0SuU-U
        Application URL: url=https://my-project.appspot.com/myWebHook&appEngine=true
        Created by:
        Creation time: 2015-09-08 11:44:26.775000

当我尝试使用命令gsutil notification stopchannel someid-905e-905e-905e-1fdca170d689 myIdentifierXXXfncnI0SuU-U删除它时>

我明白了:NotFoundException: 404 Channel 'someid-905e-905e-905e-1fdca170d689' not found for project '11111111559'

所有这些都是通过我的帐户完成的,该帐户是项目的所有者。顺便说一句,错误消息中的项目ID并非我的项目之一🤔

如果切换到服务帐户,则会收到其他错误:AccessDeniedException: 403 Caller not owner of subscription

您知道我该如何解决吗?

我在2015年使用命令gsutil notification watchbucket https://my-project.appspot.com/myWebHook gs:// my-bucket /创建了一个Webhook来监视存储桶中的更改。今天,我想删除它。 。

google-cloud-storage
1个回答
0
投票

根据官方文档Object change notification

在对象更改中配置授权的三个步骤通知场景:

© www.soinside.com 2019 - 2024. All rights reserved.