简体   繁体   English

如何从 Google Cloud Console 中删除项目

[英]How to delete a project from Google Cloud Console

It seems that, from Google Cloud Console there is no way to delete a project.看来,从谷歌云控制台没有办法删除一个项目。

Note: As of 2013-09-19 this is no longer an issue because Google had fixed it.注意:截至 2013 年 9 月 19 日,这不再是问题,因为 Google 已经修复了它。
- Now you can click on the check box and then click delete - 现在您可以单击复选框,然后单击删除

As 2017 approaches, Raptor's answer pretty much nailed it, but here is a screenshot and the basic steps to delete a project from the google cloud platform.随着 2017 年的临近, Raptor 的回答几乎确定了这一点,但这里有一张截图和从谷歌云平台删除项目的基本步骤。

  1. Go to console.cloud.google.com转到console.cloud.google.com
  2. Select your project (from drop-down on top nav-bar)选择您的项目(从顶部导航栏的下拉菜单中)
  3. Select IAM & Admin (from hamburger menu on top-left nav-bar)选择 IAM & Admin(从左上角导航栏的汉堡菜单)
  4. Click Settings in the left-side-bar nav.单击左侧栏导航中的设置。
  5. Click SHUT DOWN (image shows DELETE PROJECT)单击SHUT DOWN (图像显示删除项目)
  6. Enter text per instructions to confirm project shutdown.根据说明输入文本以确认项目关闭。

IAM 设置

UPDATE 11-2020更新 11-2020

After clicking SHUT DOWN , you'll see the final dialog popup with instructions on what to type to confirm.单击SHUT DOWN后,您将看到最终对话框弹出,其中包含有关键入内容的说明以进行确认。

最后的弹出窗口

Try to change back to old console design.. You can find delete button there.尝试改回旧的控制台设计。你可以在那里找到删除按钮。

This is the old url https://code.google.com/apis/console/这是旧网址https://code.google.com/apis/console/

Then you click in the left sidebar on the project name, you'll have a "delete" link :)然后单击项目名称的左侧边栏,您将有一个“删除”链接:)

Deleting your project from old console is no longer available!从旧控制台删除您的项目不再可用!

在此处输入图像描述

So in the new console go to Billing and Settings and delete your project from there.因此,在新控制台中,转到Billing and Settings并从那里删除您的项目。

在此处输入图像描述在此处输入图像描述

And you are done.你完成了。 Project will get deleted after 7 days waiting period!项目将在 7 天等待期后被删除!

You must first disable billing before deleting any project.在删除任何项目之前,您必须先禁用计费。 See link https://developers.google.com/console/help/#deletingaproject请参阅链接https://developers.google.com/console/help/#deletingaproject

Since the console design has changed, many of the given solutions here won't apply anymore.由于控制台设计发生了变化,这里给出的许多解决方案将不再适用。 Here is what Google help says here: https://support.google.com/cloud/answer/6251787?hl=en&ref_topic=6158848这是谷歌帮助在这里所说的: https ://support.google.com/cloud/answer/6251787?hl=en&ref_topic=6158848

To shut down a project:要关闭项目:

  1. Go to the Cloud Platform Console .转到云平台控制台
  2. Open the console menu Gallery Menu on the top left and select IAM & Admin, then select All projects .打开左上角的控制台菜单 Gallery Menu 并选择 IAM & Admin,然后选择 All projects
  3. Find the name or project ID of the project you want to shut down, then click DELETE PROJECT.找到您要关闭的项目的名称或项目 ID,然后单击删除项目。 A confirmation screen describing what will happen appears.将出现一个描述将要发生的情况的确认屏幕。
  4. To confirm, enter your project ID and click Shut down.要确认,请输入您的项目 ID,然后单击关闭。

Shutting down a project stops all billing and traffic serving, shuts down any Google Cloud Platform App Engine applications, and terminates all Compute Engine instances.关闭项目会停止所有计费和流量服务,关闭所有 Google Cloud Platform App Engine 应用程序,并终止所有 Compute Engine 实例。 All project data associated with Google Cloud and Google APIs services becomes inaccessible.与 Google Cloud 和 Google API 服务相关的所有项目数据都变得无法访问。

After a 7-day waiting period, the project and associated data are permanently deleted from the console.在 7 天的等待期后,项目和相关数据将从控制台中永久删除。

As of July 2017 the waiting period has increased:截至 2017 年 7 月,等待期有所增加:

After a 30-day waiting period, the project and associated data are permanently deleted from the console.在 30 天的等待期后,项目和相关数据将从控制台中永久删除。

As of Dec 30, 2017, this appears to be different (yet again).截至 2017 年 12 月 30 日,这似乎有所不同(再次)。 I did the following.我做了以下。

Logon to the Google Cloud Console, Select IAM & Admin then Settings (from hamburger menu on top-left nav-bar).登录到 Google Cloud Console,选择 IAM 和管理,然后选择设置(从左上角导航栏的汉堡菜单)。 This is a cascading menu.这是一个级联菜单。 After choosing that I saw the following.选择之后,我看到了以下内容。

IAM 和管理员设置页面

On the bottom left of the screen is a button/link labeled Manage resources, click on it.在屏幕的左下方是一个标记为管理资源的按钮/链接,单击它。

After clicking on it, I saw the following screen, on which I selected the project name I wanted to delete and clicked the Delete ICON/button.点击它后,我看到了下面的屏幕,在上面我选择了我想要删除的项目名称,然后点击了 Delete ICON/按钮。

点击删除

Then I was asked if I wanted to "SHUTDOWN" the project and to do so I had to enter the project ID number, so I did and then clicked on the SHUTDOWN button/link.然后有人问我是否要“关闭”项目,为此我必须输入项目 ID 号,所以我输入了,然后单击了“关闭”按钮/链接。

在此处输入图像描述

Hope this helps someone.希望这可以帮助某人。 The others answers did help me out but were not the exact steps I had to follow.其他答案确实帮助了我,但不是我必须遵循的确切步骤。

Important Note: The terms "Shutting Down" a project and "Deleteting a Project" seem to mean the same thing, so if you stumble across something that says "Shutdown the project" you have likely come across another way to "delete the project".重要提示:术语“关闭”项目和“删除项目”似乎意味着相同的东西,所以如果你偶然发现“关闭项目”的内容,你可能会遇到另一种“删除项目”的方式.

You may need to visit https://appengine.google.com/ , select an application, then go to Administration -> Application Settings, scroll down half-way and click "Disable Application" under "Disable or Delete".您可能需要访问https://appengine.google.com/ ,选择一个应用程序,然后转到管理 -> 应用程序设置,向下滚动一半并单击“禁用或删除”下的“禁用应用程序”。 One the next page you can also request permanent deletion.下一页您还可以请求永久删除。

在谷歌云中打开cmd(点击右上角你的项目后可以找到)并输入

gcloud projects delete [..your-project-id..]

Just found that Google doesn't allow you to delete project in old console anymore.刚刚发现谷歌不再允许您在旧控制台中删除项目。 For now, you need to click on project, then "Billing & Settings", you will find delete button there.现在,您需要点击项目,然后点击“计费和设置”,您会在那里找到删除按钮。

Deletion of projects is no longer available under the old Google Cloud Platform Console.旧版Google Cloud Platform Console 下不再提供项目删除功能。 To delete a project, open the latest console .要删除项目,请打开最新的控制台 Once done, you should be able to see a list of your projects as well as the delete icon(s) on the right side:完成后,您应该能够看到项目列表以及右侧的删除图标:

C

You must be a project owner to shut down a project.您必须是项目所有者才能关闭项目。

It's July 2018, none of the above works.现在是 2018 年 7 月,上述方法均无效。 Here is what I spotted and successfully deleted un-needed projects.这是我发现并成功删除不需要的项目的内容。

https://cloud.google.com/go/getting-started/delete-tutorial-resources https://cloud.google.com/go/getting-started/delete-tutorial-resources

You need to delete all the unwanted project(s) else will be billed regardless.您需要删除所有不需要的项目,否则无论如何都会收费。

Answering the question after a long time its been asked.过了很久才回答这个问题。 Hopefully it will help someone who is looking for it in 2022.希望它对 2022 年正在寻找它的人有所帮助。

As per the documentation of creating and managing projects in google cloud.根据在谷歌云中创建和管理项目的文档。 its a simple process.这是一个简单的过程。

Search for IAM & Admin in global search.在全局搜索中搜索 IAM & Admin。

Once we click on IAM & Admin we will land up in a page as follows.单击 IAM & Admin 后,我们将进入如下页面。

在此处输入图像描述

Go to settings page from the left menu从左侧菜单转到设置页面

在此处输入图像描述

It will take us to the currently selected project's settings page.它将带我们到当前选择的项目的设置页面。 On top there is a shutdown button.顶部有一个关机按钮。 Press that for deleting the project.按该键删除项目。

在此处输入图像描述

Please note as per the official documentation,请注意根据官方文档,

This method immediately marks a project to be deleted.此方法立即标记要删除的项目。 A notification email will be sent to the user who initiated the delete operation and the Technical category contacts that are listed in Essential Contacts.将向启动删除操作的用户和基本联系人中列出的技术类别联系人发送一封通知电子邮件。 If there's no contact in the Technical category, the fallback contact will not be notified.如果技术类别中没有联系人,则不会通知后备联系人。 A project that is marked for deletion is not usable.标记为删除的项目不可用。 If the project has a billing account associated with it, that association is broken, and isn't reinstated if the project delete operation is canceled.如果项目有与之关联的结算帐户,则该关联将被破坏,并且如果项目删除操作被取消,则不会恢复该关联。 After 30 days, the project is fully deleted. 30 天后,该项目将被完全删除。

Once we press the shutdown button, GCP will show a popup as shown below.一旦我们按下关机按钮,GCP 将显示如下所示的弹出窗口。 在此处输入图像描述

As a confirmation GCP is asking for project id to be manually entered in the popup.作为确认,GCP 要求在弹出窗口中手动输入项目 ID。 Enter the project id with caution and press shutdown in the popup.谨慎输入项目 id 并在弹出窗口中按关机。

It will show the success message as show below.它将显示成功消息,如下所示。

在此处输入图像描述

That's it.而已。 Hope it will help someone.希望它会帮助某人。

To delete projects created using Google cloud console, you can use the following method:要删除使用谷歌云控制台创建的项目,可以使用以下方法:
1: Create a dummy gmail account. 1:创建一个虚拟 gmail 帐户。
2: Add the dummy gmail account as an owner of the project. 2:将虚拟 gmail 帐户添加为项目的所有者。
3: Login into the dummy gmail account. 3:登录虚拟 gmail 帐户。
4: Accept your role as owner of the project. 4:接受您作为项目所有者的角色。
5: Visit Cloud console. 5:访问云控制台。
5: Go to Cloud Console -> Permissions and delete the main user from the project. 5:转到 Cloud Console -> 权限并从项目中删除主要用户。

NOTE:笔记:
Other than Step 2, rest all the steps should be performed using dummy gmail account.除了第 2 步之外,其余所有步骤都应使用虚拟 gmail 帐户执行。

Step By Step to disable and request permanent deletion from Google Cloud Console and Google Appengine Project.逐步从 Google Cloud Console 和 Google Appengine 项目中禁用和请求永久删除。

Step 1 - Navigate to appengine project and Click on Application Settings .第 1 步 - 导航到 appengine 项目并点击Application Settings

Step 2 - Scroll/Find the button to Disable Application .第 2 步 - 滚动/找到按钮以禁用应用程序 Click the button.单击按钮。

Step 3 - Click on " Disable Application Now "第 3 步 - 点击“立即禁用应用程序

Step 4 - Click on " Request Permanent Deletion ".第 4 步 - 点击“请求永久删除”。 You will screen update showing the scheduled delete.您将屏幕更新显示预定的删除。

Step 5 - Navigate to Google Cloud Console.第 5 步 - 导航到 Google Cloud Console。 The status corresponding to the disabled/deleted project is shown as " Disabled " in red.已禁用/已删除项目对应的状态以红色显示为“已禁用”。

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

  1. Go to Google Cloud Platform,前往谷歌云平台,
  2. select the project & click "DELETE PROJECT" on top right corner.选择项目并点击右上角的“删除项目”。

https://cloud.google.com/appengine/docs/python/console/?csw=1#delete%5Fapp https://cloud.google.com/appengine/docs/python/console/?csw=1#delete%5Fapp

在此处输入图像描述

  1. Login with your Google Account使用您的 Google 帐户登录
  2. Navigate to this page: https://console.cloud.google.com/cloud-resource-manager?organizationId=0导航到此页面: https ://console.cloud.google.com/cloud-resource-manager?organizationId=0
  3. Select a single project选择单个项目
  4. Click "DELETE" (on top, above projects table)单击“删除”(在顶部,项目表上方)

[https://console.cloud.google.com/cloud-resource-manager?project=mapapp-229211][1] [https://console.cloud.google.com/cloud-resource-manager?project=mapapp-229211][1]

This Will Help For Manage Google cloud projects这将有助于管理谷歌云项目

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 有没有办法删除或保留锁定的 Google Cloud 项目? - Is there a way to delete or leave a locked Google Cloud Project? 如何从项目中完全删除 Cloud Datastore? - How do I completely delete Cloud Datastore from a project? 如何从谷歌云平台删除应用版本 - How to delete an App Version from Google Cloud Platform Google Cloud Console 不显示项目信息 - Google Cloud Console dosen't show project information 无法删除 Google 工作区帐户(“活动的 Cloud 项目”),但无法访问 Google Cloud Console - Can’t delete Google workspace account ("active Cloud projects"), but lost access to Google Cloud Console 如何使用 Google Cloud Console 从 Integrity API 获取解密 JWE 的密钥 - How to obtain keys to decrypt JWE from Integrity API with Google Cloud Console 由于链接到 Dialogflow 代理,无法删除 Google Cloud Platform 项目 - Unable to delete Google Cloud Platform Project due to linked to a Dialogflow agent Google Cloud 项目 ID 是全球公开的吗? 项目名称有多公开? - Are Google Cloud project ids globally public? How public are project names? 如何将 Google Cloud 项目所有权从 MyEmail@mydomain.com 转移到 myemail@mydomain.com? - How to transfer Google Cloud project ownership from MyEmail@mydomain.com to myemail@mydomain.com? Google Cloud Storage + Nodejs:如何删除文件夹及其所有内容 - Google Cloud Storage + Nodejs: How to delete a folder and all its content
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM