# NOT RUN {
# }
# NOT RUN {
buck <- gcs_get_global_bucket()
gcs_version_bucket(buck, action = "disable")
gcs_version_bucket(buck, action = "status")
# Versioning is NOT ENABLED for "your-bucket"
gcs_version_bucket(buck, action = "enable")
# TRUE
gcs_version_bucket(buck, action = "status")
# Versioning is ENABLED for "your-bucket"
gcs_version_bucket(buck, action = "list")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab