hardgsutil
Apply a lifecycle configuration file to a Cloud Storage bucket
command
gsutil lifecycle set lifecycle.json gs://BUCKET_NAMEalso accepted
gsutil lifecycle setgsutil lifecycle set lifecycle.jsoncommand
gsutil lifecycle set lifecycle.json gs://BUCKET_NAMEalso accepted
gsutil lifecycle setgsutil lifecycle set lifecycle.jsonPart of the Cloud Storage CLI (gsutil) — Cloud Storage gsutil category.
Test your recall — not just your reading.
Practice with interactive quiz →