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

storage: add samples for Autoclass #2707

Closed
cojenco opened this issue Aug 30, 2022 · 0 comments · Fixed by #2737
Closed

storage: add samples for Autoclass #2707

cojenco opened this issue Aug 30, 2022 · 0 comments · Fixed by #2737
Assignees
Labels
api: storage Issues related to the Cloud Storage API. samples Issues that are directly related to samples. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@cojenco
Copy link
Contributor

cojenco commented Aug 30, 2022

Add samples demonstrating getting and setting Autoclass feature for a bucket. 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: googleapis/python-storage#791

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

@cojenco cojenco added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. api: storage Issues related to the Cloud Storage API. samples Issues that are directly related to samples. labels Aug 30, 2022
@cojenco cojenco assigned cojenco and unassigned tritone Sep 7, 2022
tritone pushed a commit that referenced this issue Nov 7, 2022
Fixes #2707

Requires googleapis/google-cloud-go#6828
Tests pass locally with library feature support
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 Cloud Storage API. samples Issues that are directly related to samples. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants