# Google Cloud Game Servers V1 Client - Class DeployedClusterState (1.2.6)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.2.6 (latest)](https://docs.cloud.google.com/php/docs/reference/cloud-game-servers/latest/V1.FetchDeploymentStateResponse.DeployedClusterState)
- [1.2.5](https://docs.cloud.google.com/php/docs/reference/cloud-game-servers/1.2.5/V1.FetchDeploymentStateResponse.DeployedClusterState)
- [1.1.1](https://docs.cloud.google.com/php/docs/reference/cloud-game-servers/1.1.1/V1.FetchDeploymentStateResponse.DeployedClusterState)
- [1.0.5](https://docs.cloud.google.com/php/docs/reference/cloud-game-servers/1.0.5/V1.FetchDeploymentStateResponse.DeployedClusterState)
Reference documentation and code samples for the Google Cloud Game Servers V1 Client class DeployedClusterState.

The game server cluster changes made by the game server deployment.

Generated from protobuf message `google.cloud.gaming.v1.FetchDeploymentStateResponse.DeployedClusterState`

## Namespace

Google \\ Cloud \\ Gaming \\ V1 \\ FetchDeploymentStateResponse

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cluster` | `string` The name of the cluster. |
| `↳ fleet_details` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-game-servers/latest/V1.DeployedFleetDetails>` The details about the Agones fleets and autoscalers created in the game server cluster. |

### getCluster

The name of the cluster.

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

### setCluster

The name of the cluster.

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

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

### getFleetDetails

The details about the Agones fleets and autoscalers created in the
game server cluster.

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

### setFleetDetails

The details about the Agones fleets and autoscalers created in the
game server cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-game-servers/latest/V1.DeployedFleetDetails>` |

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