1.8.4 (latest) 1.7.1 1.6.3 1.5.0 1.4.1 1.3.0 1.2.0 1.1.3 1.0.0 0.10.3 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.3 Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class UpgradeClusterResponse.

UpgradeClusterResponse contains the response for upgrade cluster operation.

Generated from protobuf message `google.cloud.alloydb.v1.UpgradeClusterResponse`

## Namespace

Google \\ Cloud \\ AlloyDb \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ status` | `int` Status of upgrade operation. |
| `↳ message` | `string` A user friendly message summarising the upgrade operation details and the next steps for the user if there is any. |
| `↳ cluster_upgrade_details` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-alloydb/latest/V1.UpgradeClusterResponse.ClusterUpgradeDetails>` Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster. |

### getStatus

Status of upgrade operation.

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

### setStatus

Status of upgrade operation.

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

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

### getMessage

A user friendly message summarising the upgrade operation details and the
next steps for the user if there is any.

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

### setMessage

A user friendly message summarising the upgrade operation details and the
next steps for the user if there is any.

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

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

### getClusterUpgradeDetails

Array of upgrade details for the current cluster and all the secondary
clusters associated with this cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-alloydb/latest/V1.UpgradeClusterResponse.ClusterUpgradeDetails>` |   |

### setClusterUpgradeDetails

Array of upgrade details for the current cluster and all the secondary
clusters associated with this cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-alloydb/latest/V1.UpgradeClusterResponse.ClusterUpgradeDetails>` |

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