'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 1:[1]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mike Schwartz