nodejs-storage icon indicating copy to clipboard operation
nodejs-storage copied to clipboard

Add support for Autoclass

Open cojenco opened this issue 2 years ago • 2 comments

Autoclass feature at the bucket level, allows for the automatic selection of the best storage class based on object metadata and access patterns. Currently, Autoclass supports new buckets only - a bucket can be enabled for Autoclass only at creation, once disabled it cannot be enabled again

System tests are only required in languages with code changes other than documentation:

  • Autoclass can be enabled via Bucket Create
  • Autoclass can be disabled via Bucket Patch and Update operations
  • Bucket Get operations should return the correct state of Autoclass on the bucket which includes the enabled boolean field and toggleTime timestamp field

Samples demonstrating getting and setting Autoclass feature for a bucket:

  • region tags: storage_get_autoclass and storage_set_autoclass

canonical samples (internal): go/gcs-autoclass-canonical-sample details and coordination (internal): go/gcs-dpe-autoclass python-storage example: https://github.com/googleapis/python-storage/pull/791

Please wait for approval from myself before merging/releasing so we can coordinate around release dates.

cojenco avatar Aug 30 '22 21:08 cojenco

@cojenco what is the timeline for this? when do you need it by?

shaffeeullah avatar Sep 26 '22 15:09 shaffeeullah

@shaffeeullah Autoclass is going straight to GA on Oct 31st. We need client library support ready and a new release cut in the same week of Oct 31st. There's a timelines table in the internal doc. Feel free to let me know if you have any questions.

cojenco avatar Sep 26 '22 16:09 cojenco