# Vertex AI Notebooks v2 API - Class UpgradeHistoryEntry (1.3.0)

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

- [1.3.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeHistoryEntry)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.2.0/Google.Cloud.Notebooks.V2.UpgradeHistoryEntry)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.1.0/Google.Cloud.Notebooks.V2.UpgradeHistoryEntry)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.0.0/Google.Cloud.Notebooks.V2.UpgradeHistoryEntry)

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

Reference documentation and code samples for the Vertex AI Notebooks v2 API class UpgradeHistoryEntry.

The entry of VM image upgrade history.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpgradeHistoryEntry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeHistoryEntry), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpgradeHistoryEntry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeHistoryEntry), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpgradeHistoryEntry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeHistoryEntry), [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.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2)

## Assembly

Google.Cloud.Notebooks.V2.dll

## Constructors

### UpgradeHistoryEntry()

    public UpgradeHistoryEntry()

### UpgradeHistoryEntry(UpgradeHistoryEntry)

    public UpgradeHistoryEntry(UpgradeHistoryEntry other)

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

## Properties

### Action

    public UpgradeHistoryEntry.Types.Action Action { get; set; }

Optional. Action. Rolloback or Upgrade.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeHistoryEntryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeHistoryEntry.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeHistoryEntry.Types.Action` |   |

### ContainerImage

    public string ContainerImage { get; set; }

Optional. The container image before this instance upgrade.

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

### CreateTime

    public Timestamp CreateTime { get; set; }

Immutable. The time that this instance upgrade history entry is created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### Framework

    public string Framework { get; set; }

Optional. The framework of this notebook instance.

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

### Snapshot

    public string Snapshot { get; set; }

Optional. The snapshot of the boot disk of this notebook instance before
upgrade.

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

### State

    public UpgradeHistoryEntry.Types.State State { get; set; }

Output only. The state of this instance upgrade history entry.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeHistoryEntryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeHistoryEntry.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeHistoryEntry.Types.State` |   |

### TargetVersion

    public string TargetVersion { get; set; }

Optional. Target VM Version, like m63.

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

### Version

    public string Version { get; set; }

Optional. The version of the notebook instance before this upgrade.

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

### VmImage

    public string VmImage { get; set; }

Optional. The VM image before this instance upgrade.

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