Google cloud platform 无法在AI平台中启动/停止AI平台笔记本实例,但可以在计算引擎中启动/停止

Google cloud platform 无法在AI平台中启动/停止AI平台笔记本实例,但可以在计算引擎中启动/停止,google-cloud-platform,google-cloud-iam,gcp-ai-platform-notebook,Google Cloud Platform,Google Cloud Iam,Gcp Ai Platform Notebook,我正在为用户设置使用GCP AI Platform中预先创建的AI Platform VM实例的权限。我已创建了具有权限的自定义角色 compute.acceleratorTypes.list compute.diskTypes.list compute.instances.list compute.instances.start compute.instances.stop compute.machineTypes.list compute.subnetworks.list iam.servi

我正在为用户设置使用GCP AI Platform中预先创建的AI Platform VM实例的权限。我已创建了具有权限的自定义角色

compute.acceleratorTypes.list
compute.diskTypes.list
compute.instances.list
compute.instances.start
compute.instances.stop
compute.machineTypes.list
compute.subnetworks.list
iam.serviceAccounts.actAs
notebooks.environments.get
notebooks.environments.getIamPolicy
notebooks.environments.list
notebooks.instances.get
notebooks.instances.getIamPolicy
notebooks.instances.list
notebooks.locations.get
notebooks.locations.list
notebooks.operations.get
notebooks.operations.list
resourcemanager.projects.get
用户可以从GCP控制台的计算引擎部分启动和停止实例,但不能从AI平台部分启动和停止实例。当我尝试后一种方法时,我得到了错误:

sample-ai-platform-vm: Permission 'notebooks.instances.start' denied on 'projects/test-project/locations/us-east1-b/instances/sample-ai-platform-vm'

知道发生了什么吗?

您需要添加以下权限:

notebooks.instances.start
notebooks.instances.stop
您可以查看笔记本管理员角色以供参考:


您需要添加以下权限:

notebooks.instances.start
notebooks.instances.stop
您可以查看笔记本管理员角色以供参考:


谢谢。我昨天就知道了。没有意识到新的笔记本API导致了权限要求的更改。谢谢。我昨天就知道了。没有意识到新的笔记本API导致了权限要求的变化。