# Google Cloud Vm Migration V1 Client - Class ApplianceVersion (1.4.0)

1.4.0 (latest) 1.3.0 1.2.1 1.1.0 1.0.5 0.6.5 0.5.2 0.4.2 0.3.2 0.2.3 Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class ApplianceVersion.

Describes an appliance version.

Generated from protobuf message `google.cloud.vmmigration.v1.ApplianceVersion`

## Namespace

Google \\ Cloud \\ VMMigration \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ version` | `string` The appliance version. |
| `↳ uri` | `string` A link for downloading the version. |
| `↳ critical` | `bool` Determine whether it's critical to upgrade the appliance to this version. |
| `↳ release_notes_uri` | `string` Link to a page that contains the version release notes. |

### getVersion

The appliance version.

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

### setVersion

The appliance version.

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

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

### getUri

A link for downloading the version.

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

### setUri

A link for downloading the version.

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

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

### getCritical

Determine whether it's critical to upgrade the appliance to this version.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setCritical

Determine whether it's critical to upgrade the appliance to this version.

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

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

### getReleaseNotesUri

Link to a page that contains the version release notes.

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

### setReleaseNotesUri

Link to a page that contains the version release notes.

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

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