Skip to content

Support customTime metadata and custom timestamp based OLM #196

@jkwlui

Description

@jkwlui

Request to support a new customTime metadata field and associated custom timestamp based OLM conditions:

bucket.add_lifecycle_delete_rule(
    days_since_custom_time=2, 
    custom_time_before=(datetime.now() + datetime.timedelta(days=10)))

# New metadata field:
blob = bucket.get_blob('object-name')
blob.custom_time = "2020-01-01T00:00:00Z"
blob.patch()

Metadata

Metadata

Labels

api: storageIssues related to the googleapis/python-storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions