April 2018
Intermediate to advanced
284 pages
6h 43m
English
Many applications require the functionality to delete or archive the older resources after a certain amount of time. The following are some example use cases:
Luckily, Google Cloud Storage provides a functionality called Object Life Cycle Management to handle this type of operations automatically based on the configurations. The configurations are set of rules that apply to bucket where you have enabled this feature.
For example, the following rule specifies that it delete the files older than 365 days:
// lifecycle.json ...