首页 > 解决方案 > 如何恢复 Google api 帐户上已删除的文件?

问题描述

我们在产品上应用了 Google drive 的 api。

当系统接收到信息时,相同的信息将同时记录在谷歌电子表格中。

我们现在遇到客户不小心删除文件的问题。有没有办法恢复 iam.gserviceaccount 中的文件?我们试图清除垃圾,但它不起作用。

文件原网址:https ://docs.google.com/spreadsheets/d/1ZGLawTZvPs4fvGA4cGwfjySdM9olbdVtMRwm89z5Mm4/edit#gid=0 账号:botbonniedev@psychic-etching-177004.iam.gserviceaccount.com 删除日期和时间: 7月12日 12:00(GMT+8)

标签: google-cloud-iam

解决方案


Recover/restore deleted service accounts: After you delete a service account, IAM permanently removes the service account 30 days later. There is no way to restore a deleted service account that has been permanently removed.

Before 30 days you can recover /restore the accounts below article is helpful.

https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts/undelete

(OR) Via Gcloud

https://cloud.google.com/sdk/gcloud/reference/beta/iam/service-accounts/undelete


推荐阅读