versioning - Enable or suspend versioning for one or more buckets

versioning - Enable or suspend versioning for one or more buckets

Synopsis

gsutil versioning set <on|off> bucket_url...
gsutil versioning get bucket_url...

Description

The Versioning Configuration feature enables you to configure a Cloud Storage bucket to keep old versions of objects.

The gsutil versioning command has two sub-commands:

Set

The "set" sub-command requires an additional sub-command, either "on" or "off", which, respectively, will enable or disable versioning for the specified bucket(s).

Get

The "get" sub-command gets the versioning configuration for a bucket and displays whether or not it is enabled.

本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
Cloud Storage
需要協助嗎?請前往我們的支援網頁