Skip to content

Storage: Add samples for Autoclass  #1682

Description

@cojenco

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: googleapis/python-storage#791

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api: storageIssues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions