# Google Cloud Notebooks V2 Client - Class CheckInstanceUpgradabilityRequest (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.7.5 0.6.2 0.5.0 0.4.1 0.3.6 Reference documentation and code samples for the Google Cloud Notebooks V2 Client class CheckInstanceUpgradabilityRequest.

Request for checking if a notebook instance is upgradeable.

Generated from protobuf message `google.cloud.notebooks.v2.CheckInstanceUpgradabilityRequest`

## Namespace

Google \\ Cloud \\ Notebooks \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ notebook_instance` | `string` Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}` |

### getNotebookInstance

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setNotebookInstance

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |