Google cloud storage Google存储:使用修补程序重命名对象不起作用

Google cloud storage Google存储:使用修补程序重命名对象不起作用,google-cloud-storage,Google Cloud Storage,我试图使用patch重命名对象,但出现以下错误: 否则,要使用gstuil重命名,它将执行从源到目标的复制,然后删除每个对象的源 我们可以通过Google API在一次操作中重命名对象而不是两次操作吗?对不起,没有重命名操作。最接近的方法是将对象复制到其新名称,然后删除原始名称 "errors": [{ "domain": "global", "reason": "invalidParameter", "message": "Value 'test rename.qgm'

我试图使用patch重命名对象,但出现以下错误:

否则,要使用gstuil重命名,它将执行从源到目标的复制,然后删除每个对象的源


我们可以通过Google API在一次操作中重命名对象而不是两次操作吗?

对不起,没有重命名操作。最接近的方法是将对象复制到其新名称,然后删除原始名称

"errors": [{
    "domain": "global",
    "reason": "invalidParameter",
    "message": "Value 'test rename.qgm' in content does not agree with value 'arson accelerant headspace lab.qgm'. This can happen when a value set through a parameter is inconsistent with a value set in the request."
}]