# AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::UpgradeInstanceInternalRequest (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::UpgradeInstanceInternalRequest.

Request for upgrading a notebook instance from within the VM

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
**Returns**

- (::String) --- Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`

### #type

    def type() -> ::Google::Cloud::Notebooks::V1::UpgradeType

**Returns**

- ([::Google::Cloud::Notebooks::V1::UpgradeType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-UpgradeType)) --- Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.

### #type=

    def type=(value) -> ::Google::Cloud::Notebooks::V1::UpgradeType

**Parameter**

- **value** ([::Google::Cloud::Notebooks::V1::UpgradeType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-UpgradeType)) --- Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.
**Returns**

- ([::Google::Cloud::Notebooks::V1::UpgradeType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-UpgradeType)) --- Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.

### #vm_id

    def vm_id() -> ::String

**Returns**

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

### #vm_id=

    def vm_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity
**Returns**

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