# Google Cloud Orchestration Airflow V1 Client - Class ImageVersion (2.2.3)

2.2.3 (latest) 2.2.2 2.1.8 2.0.1 1.6.4 1.5.0 1.4.2 1.3.0 1.2.0 1.1.0 1.0.4 Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class ImageVersion.

ImageVersion information

Generated from protobuf message `google.cloud.orchestration.airflow.service.v1.ImageVersion`

## Namespace

Google \\ Cloud \\ Orchestration \\ Airflow \\ Service \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ image_version_id` | `string` The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c" |
| `↳ is_default` | `bool` Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified. |
| `↳ supported_python_versions` | `string[]` supported python versions |
| `↳ release_date` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` The date of the version release. |
| `↳ creation_disabled` | `bool` Whether it is impossible to create an environment with the image version. |
| `↳ upgrade_disabled` | `bool` Whether it is impossible to upgrade an environment running with the image version. |

### getImageVersionId

The string identifier of the ImageVersion, in the form:
"composer-x.y.z-airflow-a.b.c"

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

### setImageVersionId

The string identifier of the ImageVersion, in the form:
"composer-x.y.z-airflow-a.b.c"

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

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

### getIsDefault

Whether this is the default ImageVersion used by Composer during
environment creation if no input ImageVersion is specified.

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

### setIsDefault

Whether this is the default ImageVersion used by Composer during
environment creation if no input ImageVersion is specified.

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

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

### getSupportedPythonVersions

supported python versions

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

### setSupportedPythonVersions

supported python versions

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

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

### getReleaseDate

The date of the version release.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html|null` |   |

### hasReleaseDate

### clearReleaseDate

### setReleaseDate

The date of the version release.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` |

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

### getCreationDisabled

Whether it is impossible to create an environment with the image version.

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

### setCreationDisabled

Whether it is impossible to create an environment with the image version.

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

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

### getUpgradeDisabled

Whether it is impossible to upgrade an environment running with the image
version.

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

### setUpgradeDisabled

Whether it is impossible to upgrade an environment running with the image
version.

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

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