# Notebooks V2 API - Class Google::Cloud::Notebooks::V2::UpgradeHistoryEntry (v1.5.0)

1.5.0 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.6.0 0.5.0 0.4.2 0.3.2 0.2.0 0.1.0 Reference documentation and code samples for the Notebooks V2 API class Google::Cloud::Notebooks::V2::UpgradeHistoryEntry.

The entry of VM image upgrade history.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #action

    def action() -> ::Google::Cloud::Notebooks::V2::UpgradeHistoryEntry::Action

**Returns**

- ([::Google::Cloud::Notebooks::V2::UpgradeHistoryEntry::Action](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v2/latest/Google-Cloud-Notebooks-V2-UpgradeHistoryEntry-Action)) --- Optional. Action. Rolloback or Upgrade.

### #action=

    def action=(value) -> ::Google::Cloud::Notebooks::V2::UpgradeHistoryEntry::Action

**Parameter**

- **value** ([::Google::Cloud::Notebooks::V2::UpgradeHistoryEntry::Action](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v2/latest/Google-Cloud-Notebooks-V2-UpgradeHistoryEntry-Action)) --- Optional. Action. Rolloback or Upgrade.
**Returns**

- ([::Google::Cloud::Notebooks::V2::UpgradeHistoryEntry::Action](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v2/latest/Google-Cloud-Notebooks-V2-UpgradeHistoryEntry-Action)) --- Optional. Action. Rolloback or Upgrade.

### #container_image

    def container_image() -> ::String

**Returns**

- (::String) --- Optional. The container image before this instance upgrade.

### #container_image=

    def container_image=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The container image before this instance upgrade.
**Returns**

- (::String) --- Optional. The container image before this instance upgrade.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v2/latest/Google-Protobuf-Timestamp)) --- Immutable. The time that this instance upgrade history entry is created.

### #create_time=

    def create_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v2/latest/Google-Protobuf-Timestamp)) --- Immutable. The time that this instance upgrade history entry is created.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v2/latest/Google-Protobuf-Timestamp)) --- Immutable. The time that this instance upgrade history entry is created.

### #framework

    def framework() -> ::String

**Returns**

- (::String) --- Optional. The framework of this notebook instance.

### #framework=

    def framework=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The framework of this notebook instance.
**Returns**

- (::String) --- Optional. The framework of this notebook instance.

### #snapshot

    def snapshot() -> ::String

**Returns**

- (::String) --- Optional. The snapshot of the boot disk of this notebook instance before upgrade.

### #snapshot=

    def snapshot=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The snapshot of the boot disk of this notebook instance before upgrade.
**Returns**

- (::String) --- Optional. The snapshot of the boot disk of this notebook instance before upgrade.

### #state

    def state() -> ::Google::Cloud::Notebooks::V2::UpgradeHistoryEntry::State

**Returns**

- ([::Google::Cloud::Notebooks::V2::UpgradeHistoryEntry::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v2/latest/Google-Cloud-Notebooks-V2-UpgradeHistoryEntry-State)) --- Output only. The state of this instance upgrade history entry.

### #target_version

    def target_version() -> ::String

**Returns**

- (::String) --- Optional. Target VM Version, like m63.

### #target_version=

    def target_version=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Target VM Version, like m63.
**Returns**

- (::String) --- Optional. Target VM Version, like m63.

### #version

    def version() -> ::String

**Returns**

- (::String) --- Optional. The version of the notebook instance before this upgrade.

### #version=

    def version=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The version of the notebook instance before this upgrade.
**Returns**

- (::String) --- Optional. The version of the notebook instance before this upgrade.

### #vm_image

    def vm_image() -> ::String

**Returns**

- (::String) --- Optional. The VM image before this instance upgrade.

### #vm_image=

    def vm_image=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The VM image before this instance upgrade.
**Returns**

- (::String) --- Optional. The VM image before this instance upgrade.