'Can you set lifecycle policies at the folder/prefix level for Google Cloud Storage buckets?

https://cloud.google.com/storage/docs/managing-lifecycles#configexamples

I don't see any examples for what I want to do.

I'd like to have a bucket with several folders and have different expirations for each folder. Is this possible or do I just need to use many buckets?



Sources

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

Source: Stack Overflow

Solution Source