SizedIntervals#
- pydantic model nublado.purger.models.v1.policy.SizedIntervals#
Container to hold intervals for purging large and small files.
- Parameters:
data (
Any)
Show JSON schema
{ "title": "SizedIntervals", "description": "Container to hold intervals for purging large and small files.", "type": "object", "properties": { "large": { "$ref": "#/$defs/Intervals", "default": { "accessInterval": null, "creationInterval": null, "modificationInterval": null }, "title": "Intervals before purging large files" }, "small": { "$ref": "#/$defs/Intervals", "default": { "accessInterval": null, "creationInterval": null, "modificationInterval": null }, "title": "Intervals before purging small files" } }, "$defs": { "HumanTimedelta": { "format": "duration", "type": "string" }, "Intervals": { "description": "Intervals specify how long it must have been since a filesystem object\nwas accessed, created, or modified before that object will be considered\nfor purging. A value of None (or a zero TimeDelta) means the object will\nnot be considered for purging on the given grounds.", "properties": { "accessInterval": { "anyOf": [ { "$ref": "#/$defs/HumanTimedelta" }, { "type": "null" } ], "default": null, "title": "Maximum time since last file access" }, "creationInterval": { "anyOf": [ { "$ref": "#/$defs/HumanTimedelta" }, { "type": "null" } ], "default": null, "title": "Maximum time since file creation" }, "modificationInterval": { "anyOf": [ { "$ref": "#/$defs/HumanTimedelta" }, { "type": "null" } ], "default": null, "title": "Maximum time since file modification" } }, "title": "Intervals", "type": "object" } } }
- Fields:
-
field large:
Annotated[Intervals] = Intervals(access_interval=None, creation_interval=None, modification_interval=None)#