Search code examples
google-cloud-storage

How to set a GCS object lifecycle for all objects below a path, not bucket-wide?


The docs only mention setting an object lifecycle for an entire bucket. However I want to set lifecycles for several paths within a bucket, but not for the entire bucket.

Is this possible on Google Cloud Storage? If so, how can I do it?


Solution

  • It's not possible to configure lifecycle management for less than an entire bucket.