hardgcloud

Apply a lifecycle management policy to a Cloud Storage bucket from a JSON file

command

gcloud storage buckets update gs://BUCKET --lifecycle-file LIFECYCLE_FILE

also accepted

gcloud storage buckets updategcloud storage buckets update gs://BUCKET --lifecycle-file

Test your recall — not just your reading.

Practice with interactive quiz →