Stay organized with collections Save and categorize content based on your preferences.
This page provides information about the soft delete recommender and describes how to enable and use recommendations.
OverviewThe soft delete recommender provides insights on when it's best to enable or disable soft delete on buckets in your project based on your data usage and assessed impact to Cloud Billing and security.
Criteria for receiving soft delete recommendationsThe soft delete recommender provides recommendations for buckets when the following conditions are met:
Recommendations on enabling soft delete:
Buckets whose soft delete costs would increase by less than 10% of your total Cloud Storage costs.
Buckets whose costs total to at least $1.00 USD.
Buckets whose deleted bytes amount to less than 10% of the bucket's total cost per month.
Recommendations on disabling soft delete. Note that disabling soft delete increases the risk of data loss by accidental or malicious deletion.
Buckets whose soft delete costs equate to over 50% of your total Cloud Storage costs per month.
Buckets whose costs total to at least $20.00 USD.
For information on Recommender pricing, see the Recommender pricing page.
ConsiderationsBefore using Active Assist recommendations, complete the following requirements.
Enable the Recommender API Required rolesTo get the permissions that you need to view recommendations in the Active Assist, ask your administrator to grant you the Storage Admin (roles/storage.admin
) IAM role on the project.
This predefined role contains the permissions required to view recommendations in the Active Assist. To see the exact permissions that are required, expand the Required permissions section:
Required permissionsThe following permissions are required to view recommendations in the Active Assist:
recommender.storageBucketSoftDeleteInsights.get
recommender.storageBucketSoftDeleteInsights.list
recommender.storageBucketSoftDeleteInsights.update
recommender.storageBucketSoftDeleteRecommendations.get
recommender.storageBucketSoftDeleteRecommendations.list
recommender.storageBucketSoftDeleteRecommendations.update
You can view soft delete recommendations using the Active Assist. Cloud Storage provides recommendations to enable soft delete for buckets that don't yet have soft delete enabled, as well as recommendations to disable soft delete for buckets that have soft delete enabled.
In the Google Cloud console, go to the Active Assist.
In the All recommendations menu, click All recommendations.
In the All recommendations page, the Active Assist displays the following soft delete recommendations:
Disable Soft delete
Enable Soft delete
Use the instructions in the following sections to disable or enable soft delete on buckets within your project based on Recommender recommendations.
To view the recommendation for disabling soft delete in the Active Assist, use the following instructions.
In the Active Assist, in the All recommendations page, click Disable Soft delete.
In the Insight page, the recommendation displays the following information:
Bucket name: the name of the bucket Recommender recommends disabling soft delete for.
Current retention days: the current soft delete retention duration of the bucket's soft delete policy.
Recommended retention days: the recommended retention duration to set your soft delete policy to. Any buckets that receive the recommendation to disable soft delete show the recommended retention days as 0 days.
Cost savings: the estimated amount of savings per month on your project after disabling soft delete.
To proceed with disabling the soft delete policy based on the Recommender's recommendations, click View soft delete policy.
The Bucket details page displays.
In the Protection tab, under soft delete policy (for data recovery), click Disable to disable soft delete on the bucket.
Cloud Storage disables soft delete policy on the bucket. To learn more about how to edit a bucket's soft delete policy, including re-enabling a soft delete policy, see Edit a bucket's soft delete policy.
To view the Recommender recommendation for enabling soft delete in the Active Assist, use the following instructions:
In the Active Assist, in the All recommendations page, Click Enable Soft delete.
In the Insight page, the recommendation displays the following information:
Bucket name: the name of the bucket in your project Recommender recommends enabling soft delete for.
Current retention days: the current soft delete retention duration on your bucket. For buckets with soft delete already disabled, the Active Assist displays 0 days.
Recommended retention days: the recommended number of days to set your soft delete policy to. For enabling soft delete, Recommender recommends setting your bucket's soft delete policy to the minimum retention duration of 7 days.
Additional cost: the projected cost for enabling soft delete, which is adjusted to increase by no more than 10% of your total monthly Cloud Storage costs.
To proceed with enabling the soft delete policy based on the Recommender's recommendations, click View soft delete policy.
The Bucket details page displays.
In the Protection tab, under soft delete policy (for data recovery), click Edit and enter the recommended soft delete retention duration. Or, if the bucket has never had a soft delete configured before, click Enable soft delete.
The soft delete policy takes effect on the bucket. To learn more about how to edit a bucket's soft delete policy, including disabling a soft delete policy, see Edit a bucket's soft delete policy.
You can opt out of receiving soft delete recommendations if needed. However, opting out of soft delete recommendations impacts all other product-specific recommendations, meaning in addition to no longer receiving soft delete recommendations, you would no longer receive any Cloud Storage-specific recommendations.
To proceed with opting out of soft delete Recommender recommendations, use the Recommender instructions for opting out of data processing and select the Cloud Storage data processing group.
What's nextLearn how to dismiss or restore recommendations.
Read an overview of soft delete.
Learn how to use soft-deleted objects.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-02 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.5