# Google Cloud Data Fusion V1 Client - Class Version (1.1.2)

1.1.2 (latest) 1.1.1 1.0.5 0.6.5 0.5.2 0.4.1 0.3.0 0.2.11 Reference documentation and code samples for the Google Cloud Data Fusion V1 Client class Version.

The Data Fusion version. This proto message stores information about certain
Data Fusion version, which is used for Data Fusion version upgrade.

Generated from protobuf message `google.cloud.datafusion.v1.Version`

## Namespace

Google \\ Cloud \\ DataFusion \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ version_number` | `string` The version number of the Data Fusion instance, such as '6.0.1.0'. |
| `↳ default_version` | `bool` Whether this is currently the default version for Cloud Data Fusion |
| `↳ available_features` | `string[]` Represents a list of available feature names for a given version. |
| `↳ type` | `int` Type represents the release availability of the version |

### getVersionNumber

The version number of the Data Fusion instance, such as '6.0.1.0'.

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

### setVersionNumber

The version number of the Data Fusion instance, such as '6.0.1.0'.

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

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

### getDefaultVersion

Whether this is currently the default version for Cloud Data Fusion

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

### setDefaultVersion

Whether this is currently the default version for Cloud Data Fusion

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

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

### getAvailableFeatures

Represents a list of available feature names for a given version.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setAvailableFeatures

Represents a list of available feature names for a given version.

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

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

### getType

Type represents the release availability of the version

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-data-fusion/latest/V1.Version.Type). |

### setType

Type represents the release availability of the version

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-data-fusion/latest/V1.Version.Type). |

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