Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Autoclass #797

Closed
cojenco opened this issue May 20, 2022 · 0 comments · Fixed by #791 or #838
Closed

Add support for Autoclass #797

cojenco opened this issue May 20, 2022 · 0 comments · Fixed by #791 or #838
Assignees
Labels
api: storage Issues related to the googleapis/python-storage API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@cojenco
Copy link
Contributor

cojenco commented May 20, 2022

This feature adds the following capabilities:

  • 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

client library support (internal): go/gcs-dpe-autoclass
Canonical sample (internal): go/gcs-autoclass-canonical-sample

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

@cojenco cojenco self-assigned this May 20, 2022
@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/python-storage API. label May 20, 2022
@cojenco cojenco added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. priority: p2 Moderately-important priority. Fix may not be included in next release. labels May 20, 2022
gcf-merge-on-green bot pushed a commit that referenced this issue Nov 7, 2022
This adds support and samples for Autoclass

For more info, see Internal:  [go/gcs-dpe-autoclass](http://go/gcs-dpe-autoclass)

Fixes #797
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/python-storage API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
1 participant