GCS lifecycle

From wikieduonline
Revision as of 06:43, 2 August 2022 by Thomas (talk | contribs) (Thomas moved page GCP lifecycle to GCS lifecycle)
Jump to navigation Jump to search

https://cloud.google.com/storage/docs/lifecycle


Official examples: https://cloud.google.com/storage/docs/lifecycle-configurations#gsutil_1

{
"lifecycle": {
  "rule": [
  {
    "action": {"type": "Delete"},
    "condition": {
      "numNewerVersions": 2,
      "isLive": false
    }
  },
  {
    "action": {"type": "Delete"},
    "condition": {
      "daysSinceNoncurrentTime": 7
    }
  }
]
}
}

Related

See also

Advertising: