# Google Anthos Multi Cloud V1 Client - Class AttachedPlatformVersionInfo (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.2 1.0.0 0.6.1 0.5.4 0.4.4 0.3.0 0.2.3 0.1.4 Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AttachedPlatformVersionInfo.

Information about a supported Attached Clusters platform version.

Generated from protobuf message `google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo`

## Namespace

Google \\ Cloud \\ GkeMultiCloud \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ version` | `string` Platform version name. |
| `↳ enabled` | `bool` Optional. True if the version is available for attachedcluster creation. If a version is enabled, it can be used to attach new clusters. |
| `↳ end_of_life` | `bool` Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes. |
| `↳ end_of_life_date` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the `end_of_life` field is true), this is the actual date (in Pacific time) when the version reached its end of life. |
| `↳ release_date` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` Optional. The date (in Pacific Time) when the cluster version was released. |

### getVersion

Platform version name.

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

### setVersion

Platform version name.

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

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

### getEnabled

Optional. True if the version is available for attachedcluster creation. If
a version is enabled, it can be used to attach new clusters.

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

### setEnabled

Optional. True if the version is available for attachedcluster creation. If
a version is enabled, it can be used to attach new clusters.

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

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

### getEndOfLife

Optional. True if this cluster version belongs to a minor version that has
reached its end of life and is no longer in scope to receive security and
bug fixes.

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

### setEndOfLife

Optional. True if this cluster version belongs to a minor version that has
reached its end of life and is no longer in scope to receive security and
bug fixes.

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

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

### getEndOfLifeDate

Optional. The estimated date (in Pacific Time) when this cluster version
will reach its end of life. Or if this version is no longer supported (the
`end_of_life` field is true), this is the actual date (in Pacific time)
when the version reached its end of life.

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

### hasEndOfLifeDate

### clearEndOfLifeDate

### setEndOfLifeDate

Optional. The estimated date (in Pacific Time) when this cluster version
will reach its end of life. Or if this version is no longer supported (the
`end_of_life` field is true), this is the actual date (in Pacific time)
when the version reached its end of life.

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

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

### getReleaseDate

Optional. The date (in Pacific Time) when the cluster version was released.

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

### hasReleaseDate

### clearReleaseDate

### setReleaseDate

Optional. The date (in Pacific Time) when the cluster version was released.

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

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