將筆記本執行個體升級至最新版本。
HTTP 要求
POST https://notebooks.googleapis.com/v2/{name}:upgrade
路徑參數
| 參數 | |
|---|---|
name |
這是必要旗標,格式: 授權需要指定資源
|
要求主體
要求主體包含下列結構的資料:
| JSON 表示法 |
|---|
{ "imageFamily": string } |
| 欄位 | |
|---|---|
imageFamily |
選用。要升級的 Compute Engine 映像檔系列資源名稱。格式: |
回應主體
如果成功,回應主體會包含 Operation 的執行個體。
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/notebooks
詳情請參閱Authentication Overview。