Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Edit Retention GCP Cloud Storage Bucket

I recently completed a data export of my Google Account from the Google Admin Console on August 2, 2024. The archive has been uploaded to  the GCP temp storage. I updated my IAM to Storage Admin and I started a subscription with GCP platform. I am unable to edit the retention policy. I ultimately would like to permanently store the archive in this bucket. Any assistance or direction is greatly appreciated. 

0 2 499
2 REPLIES 2

Hi @ahargett,

Welcome to Google Cloud Community!

Seems you’ve got your data export and permissions set up, but editing the retention policy is giving you trouble. Here are a few quick tips that might help:

  1. Permissions Check: Ensure your Storage Admin role includes the storage.buckets.update permission.
  2. Retention Policy Lock: In the GCP Console, under Storage > Browser, check if the bucket has a retention policy lock; if it's locked, changes can't be made until it expires.
  3. Organization Policies: Look for any organization-wide policies that might restrict bucket modifications.
  4. Try the CLI: Run gsutil retention set <retention_period> gs://<bucket_name>.. remove the retention policy via command line.
  5. Billing Status: Confirm that your billing account is active and in good standing, as billing issues can affect permissions.

If these steps don't solve the issue, it might be best to reach out to Google Cloud Support for further assistance. Kindly provide them with detailed information about your configuration, request parameters, and error messages for more targeted assistance.

Hope this helps!

Thanks for your help. I have added the storage buckets update role but this did not allow me to make any permissions changes to my bucket or my retention policy. I am actually not sure if the role is actually being added to the proper project since I am still unable to edit the permission.  I have never used CLI and the learning curve might present a challenge without having to dig into documentation. My billing account is active and I do have a standard support package which does not allow me to pose questions like this. Any help would be appreciated. Ultimately i want to take this temp bucket that houses the export of all of Google workspace and make it a permanent storage resource or archive without having to manually download each item or move each item to a new bucket.