Method: projects.locations.instances.upgrade

将笔记本实例升级到最新版本。

HTTP 请求

POST https://notebooks.googleapis.com/v1/{name}:upgrade

路径参数

参数
name

string

必需。格式:projects/{projectId}/locations/{location}/instances/{instanceId}

必须对指定的资源 name 具有以下 IAM 权限才能进行授权:

  • notebooks.instances.upgrade

请求正文

请求正文中包含结构如下的数据:

JSON 表示法
{
  "type": enum (UpgradeType)
}
字段
type

enum (UpgradeType)

可选。可选的 UpgradeType。设置此字段将搜索其他计算映像以升级此实例。

响应正文

如果成功,则响应正文包含一个 Operation 实例。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/cloud-platform

如需了解详情,请参阅 Authentication Overview