File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -772,6 +772,7 @@ type Autoclass struct {
772772 // TerminalStorageClass: The storage class that objects in the bucket
773773 // eventually transition to if they are not read for a certain length of
774774 // time. Valid values are NEARLINE and ARCHIVE.
775+ // To modify TerminalStorageClass, Enabled must be set to true.
775776 TerminalStorageClass string
776777 // TerminalStorageClassUpdateTime represents the time of the most recent
777778 // update to "TerminalStorageClass".
@@ -1179,6 +1180,9 @@ type BucketAttrsToUpdate struct {
11791180 RPO RPO
11801181
11811182 // If set, updates the autoclass configuration of the bucket.
1183+ // To disable autoclass on the bucket, set to an empty &Autoclass{}.
1184+ // To update the configuration for Autoclass.TerminalStorageClass,
1185+ // Autoclass.Enabled must also be set to true.
11821186 // See https://cloud.google.com/storage/docs/using-autoclass for more information.
11831187 Autoclass * Autoclass
11841188
You can’t perform that action at this time.
0 commit comments