-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.
Description
It took me quite a while to figure out how to set lifecycle rules. If you look at the code, it's undocumented:
@lifecycle_rules.setter
def lifecycle_rules(self, rules):
self._patch_property('lifecycle', {'rule': rules})
I found some tests for this, but even those don't seem to use the lifecycle_rules
method. Not having a documented method for doing this is very frustrating since this is supposed to be a library that supports all of the features.
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.