-
Notifications
You must be signed in to change notification settings - Fork 0
samples(storage): Soft deleted Bucket Restore #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
thiyaguk09
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| # @param [Boolean] soft_deleted If this parameter is set to | ||
| # `true` project looks in the list of soft deleted buckets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also not required.
google-cloud-storage/samples/storage_get_soft_deleted_bucket.rb
Outdated
Show resolved
Hide resolved
| # The ID of your GCS bucket | ||
| # bucket_name = "your-unique-bucket-name" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable 'bucket_name' is not required and is not utilized anywhere. Therefore, it can be removed.
| puts "#{bucket_name} Bucket not restored" | ||
| end | ||
| end | ||
| # [END storage_delete_bucket] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # [END storage_delete_bucket] | |
| # [END storage_restore_soft_deleted_bucket] |
209b570 to
59a3f9c
Compare
Add support for restoring soft deleted bucket.
Operation Supported: