查看通知
本文档介绍了如何使用 Google Cloud 控制台为 Advisory Notifications 配置用户并查看通知。
准备工作
确保您拥有所需的角色
如需在 Google Cloud 控制台中查看 Advisory Notifications,必须为每位用户授予包含以下 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(保存)。
- 点击您收到的“Advisory Notifications”电子邮件中的查看通知详情。
- 可选:如果您没有查看相应通知所需的权限,请点击申请访问权限以获取这些权限。点击此按钮会自动联系您组织中具有高级别权限的管理员,并告知他们需要向您授予所需权限。
- 管理员授予您所需的权限后,您就可以查看当前和未来的通知了。当管理员授予您所需的权限时,您会收到一封电子邮件。
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 控制台中的权限协助
用户可能会收到 Advisory Notifications 发送的电子邮件通知,但无法在Google Cloud 控制台中查看这些通知。如果您发现此问题,可能是因为用户没有足够的权限,如上一部分中所述。
为了帮助用户获得访问权限,Advisory Notifications 会向每封通知电子邮件的收件人提供一张为期两周的凭证,以便他们按照以下说明向高权限授予者请求权限:
查看通知
启用“咨询通知”并向所有选定用户授予接收通知的权限后,获得授权的用户可以在Google Cloud 控制台中查看通知。
在 Google Cloud 控制台中,从左侧导航菜单中选择安全性,然后选择建议通知。或者,点击以下链接:
在通知列表中,点击通知标题可查看更多信息。请注意,未读通知会以粗体显示。
在通知详情页面中,您可以查看与通知关联的标题、日期和时间、说明以及可能的一个或多个文件附件。请注意,您无法删除通知或将通知的状态从“已读”更改为“未读”。
根据您在 Google Cloud中设置的语言偏好,您可能会在收到初始电子邮件通知后的几小时或几天内收到另一封电子邮件。此电子邮件会通知您有关通知本地化方面的信息。
清理
无需采取其他步骤即可避免您的账号产生费用。