Method: projects.locations.instances.upgradeInternal

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

string

Required. Format: projects/{projectId}/locations/{location}/instances/{instanceId}

Request body

The request body contains data with the following structure:

JSON representation
{
  "vmId": string,
  "type": enum (UpgradeType)
}
Fields
vmId

string

Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

type

enum (UpgradeType)

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.