查看通知
本文档介绍了如何为用户配置建议通知,以及如何使用 Google Cloud 控制台查看通知。
准备工作
确保您拥有所需的角色
如需在 Google Cloud 控制台中查看建议通知,必须向每位用户授予包含以下 Identity and Access Management (IAM) 权限的角色。Advisory Notifications Viewer (roles/advisorynotifications.viewer
) IAM 角色拥有这些权限。
advisorynotifications.notifications.get
advisorynotifications.notifications.list
resourcemanager.organizations.get
,如果您需要查看组织的通知resourcemanager.projects.get
,如果您需要查看项目的通知
组织所需的角色
如果您有组织资源,则会通过组织接收通知。
-
In the Google Cloud console, go to the IAM page.
Go to IAM - Select the organization.
-
In the Principal column, find all rows that identify you or a group that you're included in. To learn which groups you're included in, contact your administrator.
- For all rows that specify or include you, check the Role column to see whether the list of roles includes the required roles.
-
In the Google Cloud console, go to the IAM page.
进入 IAM - 选择组织。
- 点击 授予访问权限。
-
在新的主账号字段中,输入您的用户标识符。 这通常是 Google 账号的电子邮件地址。
- 在选择角色列表中,选择一个角色。
- 如需授予其他角色,请点击 添加其他角色,然后添加其他各个角色。
- 点击 Save(保存)。
-
In the Google Cloud console, go to the IAM page.
Go to IAM - Select the project.
-
In the Principal column, find all rows that identify you or a group that you're included in. To learn which groups you're included in, contact your administrator.
- For all rows that specify or include you, check the Role column to see whether the list of roles includes the required roles.
-
In the Google Cloud console, go to the IAM page.
进入 IAM - 选择项目。
- 点击 授予访问权限。
-
在新的主账号字段中,输入您的用户标识符。 这通常是 Google 账号的电子邮件地址。
- 在选择角色列表中,选择一个角色。
- 如需授予其他角色,请点击 添加其他角色,然后添加其他各个角色。
- 点击 Save(保存)。
- 在您收到的“建议性通知”电子邮件中,点击查看通知详情。
- 可选:如果您没有查看通知所需的权限,请点击请求访问权限以获取这些权限。点击此按钮会自动与您的某位高权限组织管理员联系,告知对方需要向您授予所需权限。
- 管理员向您授予所需权限后,您就可以查看当前和未来的通知。管理员向您授予所需权限后,您会收到一封电子邮件。
Make sure that you have the following role or roles on the organization: Advisory Notifications Viewer
Check for the roles
Grant the roles
没有组织的项目所需的角色
如果您没有组织资源,则会通过项目接收通知。
Make sure that you have the following role or roles on the project: Advisory Notifications Viewer
Check for the roles
Grant the roles
Google Cloud 控制台中的权限帮助
用户可能会收到来自咨询通知的电子邮件通知,但无法在 Google Cloud 控制台中查看这些通知。如果您遇到这种情况,可能是因为用户没有足够的权限,如上一部分所述。
为帮助用户获得访问权限,咨询通知会向每封通知电子邮件的收件人提供一个有效期为两周的代金券,以便他们按照以下说明向具有高特权的授予者请求权限:
查看通知
启用建议通知并向所有所选用户授予接收通知的权限后,获授权的用户便可以在 Google Cloud 控制台中查看通知。
在 Google Cloud 控制台中,从左侧导航菜单中选择安全,然后选择建议通知。或者,点击以下链接:
在通知列表中,点击通知标题可查看更多信息。请注意,未读通知会以粗体显示。
在通知详情页面中,您可以查看与通知关联的标题、日期和时间、说明,以及可能的一个或多个文件附件。请注意,您无法删除通知,也无法将其状态从“已读”更改为“未读”。
根据您在 Google Cloud中设置的语言偏好设置,您可能会在收到初始通知电子邮件后的几小时或几天内收到一封电子邮件。本电子邮件旨在通知您有关通知本地化的信息。
清理
无需采取其他步骤即可避免您的账号产生费用。