複製、修改及移動儲存空間物件
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本頁說明如何在 Google Distributed Cloud (GDC) 氣隙儲存空間值區中複製、修改及移動物件。
事前準備
專案命名空間可管理 Management API 伺服器中的 bucket 資源。您必須擁有專案,才能使用 bucket 和物件。
您也必須具備適當的 bucket 權限,才能執行下列作業。請參閱「授予 bucket 存取權」。
複製、修改及移動物件
複製物件:
gdcloud storage cp FILE [FILE...] s3://BUCKET [/PREFIX ]
修改物件的中繼資料:
gdcloud storage objects update s3://BUCKET1/OBJECT --custom-metadata=Key1=Value1
移動物件:
gdcloud storage mv s3://BUCKET1/OBJECT1 s3://BUCKET2[/OBJECT2]
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-09-12 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-12 (世界標準時間)。"],[],[],null,[]]