google-cloud-iam - 如何恢复 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)
解决方案
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
推荐阅读
- javascript - Jquery——我该如何改变
- c# - C#使用SQLBulkCopy或等效库高效批量删除50000条记录
- javascript - 如何将回调函数数据显示到 HTML 页面中
- python - 如何在 tkinter 中使用 after 更改窗口几何形状?
- vue.js - 如何修复我的价格以显示在 vue 中的 java 中的“Pris:”上?
- node.js - 如何在 Node.js 中修改其参数是源流的一部分的转换流
- node.js - 无法在键为数字的 MongoDB 文档中引用键/值对
- jquery - 使用 jQuery 选择具有特定类的所有第一个?
- liferay - 如何通过 Liferay API 获取组织和站点角色列表
- javascript - API 获取跨域问题 - 跨域读取阻塞 (CORB)