php-docs-samples icon indicating copy to clipboard operation
php-docs-samples copied to clipboard

Storage: Add samples for Autoclass

Open cojenco opened this issue 2 years ago • 0 comments

Add samples demonstrating getting and setting Autoclass feature for a bucket.

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

  • 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 22:08 cojenco