# Vertex AI Notebooks v1 API - Class UpgradeInstanceInternalRequest (2.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.UpgradeInstanceInternalRequest)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.5.0/Google.Cloud.Notebooks.V1.UpgradeInstanceInternalRequest)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.4.0/Google.Cloud.Notebooks.V1.UpgradeInstanceInternalRequest)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.3.0/Google.Cloud.Notebooks.V1.UpgradeInstanceInternalRequest)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.2.0/Google.Cloud.Notebooks.V1.UpgradeInstanceInternalRequest)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.1.0/Google.Cloud.Notebooks.V1.UpgradeInstanceInternalRequest)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.0.0/Google.Cloud.Notebooks.V1.UpgradeInstanceInternalRequest)
- [1.0.0-beta04](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/1.0.0-beta04/Google.Cloud.Notebooks.V1.UpgradeInstanceInternalRequest)

    public sealed class UpgradeInstanceInternalRequest : IMessage<UpgradeInstanceInternalRequest>, IEquatable<UpgradeInstanceInternalRequest>, IDeepCloneable<UpgradeInstanceInternalRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI Notebooks v1 API class UpgradeInstanceInternalRequest.

Request for upgrading a notebook instance from within the VM

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> UpgradeInstanceInternalRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpgradeInstanceInternalRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.UpgradeInstanceInternalRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpgradeInstanceInternalRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.UpgradeInstanceInternalRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpgradeInstanceInternalRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.UpgradeInstanceInternalRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Notebooks.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1)

## Assembly

Google.Cloud.Notebooks.V1.dll

## Constructors

### UpgradeInstanceInternalRequest()

    public UpgradeInstanceInternalRequest()

### UpgradeInstanceInternalRequest(UpgradeInstanceInternalRequest)

    public UpgradeInstanceInternalRequest(UpgradeInstanceInternalRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.UpgradeInstanceInternalRequest` |

## Properties

### Name

    public string Name { get; set; }

Required. Format:
`projects/{project_id}/locations/{location}/instances/{instance_id}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Type

    public UpgradeType Type { get; set; }

Optional. The optional UpgradeType. Setting this field will search for additional
compute images to upgrade this instance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.UpgradeType` |   |

### VmId

    public string VmId { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |