The StarThinker project will no longer receive new solution contributions from the Google team.
Please read the full StarThinker Open Source Support Ends At Google article for more details.



All

archive Storage Archive

Wipe old information from a Storage bucket based on last update time.



lock_openGet Access listGit Hub sourcePython menu_bookColab airAirflow thumb_upTest



Instructions

Specify how many days back to retain data and which buckets and paths to purge.
Everything under a path will be moved to archive or deleted depending on your choice.

Details

Open Source YES
Age Aug. 14, 2017 (5 years, 4 months)
Authors kenjora@google.com
Shedule Days Configured by user.
Shedule Hours Configured by user.
[
    {
        "archive": {
            "auth": {
                "field": {
                    "name": "auth_write",
                    "kind": "authentication",
                    "order": 1,
                    "default": "service",
                    "description": "Credentials used for writing data."
                }
            },
            "days": {
                "field": {
                    "name": "archive_days",
                    "kind": "integer",
                    "order": 1,
                    "default": 7
                }
            },
            "storage": {
                "bucket": {
                    "field": {
                        "name": "archive_bucket",
                        "kind": "string",
                        "order": 2,
                        "default": ""
                    }
                },
                "path": {
                    "field": {
                        "name": "archive_path",
                        "kind": "string",
                        "order": 3,
                        "default": ""
                    }
                }
            },
            "delete": {
                "field": {
                    "name": "archive_delete",
                    "kind": "boolean",
                    "order": 4,
                    "default": false
                }
            }
        }
    }
]


Run This Workflow In Minutes On Google Cloud

Everything from a quick Google Cloud UI to reference developer code for your team in one GitHub repository.

Deployment Stepslaunch Developer Guidebuild UI How Tolaptop