Allows notebook instances to call this endpoint to upgrade themselves. Do not use this method directly.
HTTP request
POST https://notebooks.googleapis.com/v1/{name}:upgradeInternal
Path parameters
Parameters | |
---|---|
name |
Required. Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"vmId": string,
"type": enum ( |
Fields | |
---|---|
vmId |
Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity |
type |
Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.