autoclass - Configure Autoclass feature
Synopsis
gsutil autoclass set (on|off) gs://<bucket_name>...
gsutil autoclass get gs://<bucket_name>...
Description
The Autoclass
feature automatically selects the best storage class for objects based
on access patterns. This command has two sub-commands, get
and
set
.
Get
The get
sub-command gets the current Autoclass configuration for a
bucket. The returned configuration has the following fields:
enabled
: a boolean field indicating whether the feature is on or off.
toggleTime
: a timestamp indicating when the enabled field was set.
Set
The set
sub-command requires an additional sub-command, either on
or off
, which enables or disables Autoclass for the specified
bucket(s).