Skip to content

Commit

Permalink
feat: add terminal_storage_class fields to Autoclass message
Browse files Browse the repository at this point in the history
The terminal_storage_class field allows users to set the coldest storage class for Autoclass enabled buckets. An object in an Autoclass bucket will eventually cool down to the terminal storage class if there is no access to the object.

PiperOrigin-RevId: 569316060
  • Loading branch information
Google APIs authored and Copybara-Service committed Sep 28, 2023
1 parent a24bc56 commit 6152583
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions google/storage/v2/storage.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1811,6 +1811,15 @@ message Bucket {
// to the bucket creation time.
google.protobuf.Timestamp toggle_time = 2
[(google.api.field_behavior) = OUTPUT_ONLY];

// An object in an Autoclass bucket will eventually cool down to the
// terminal storage class if there is no access to the object.
// The only valid values are NEARLINE and ARCHIVE.
optional string terminal_storage_class = 3;

// Latest instant at which the autoclass terminal storage class was updated.
optional google.protobuf.Timestamp terminal_storage_class_update_time = 4
[(google.api.field_behavior) = OUTPUT_ONLY];
}

// Immutable. The name of the bucket.
Expand Down

0 comments on commit 6152583

Please sign in to comment.