0.13.0 (latest) 0.12.0 0.11.0 0.10.3 0.9.0 0.8.0 0.7.0 0.6.4 0.5.1 0.4.1 0.3.2 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class UpdateInfo.

Represents information about an updating cluster.

Generated from protobuf message `google.cloud.redis.cluster.v1.Cluster.StateInfo.UpdateInfo`

## Namespace

Google \\ Cloud \\ Redis \\ Cluster \\ V1 \\ Cluster \\ StateInfo

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ target_shard_count` | `int` Target number of shards for redis cluster |
| `↳ target_replica_count` | `int` Target number of replica nodes per shard. |

### getTargetShardCount

Target number of shards for redis cluster

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasTargetShardCount

### clearTargetShardCount

### setTargetShardCount

Target number of shards for redis cluster

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

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

### getTargetReplicaCount

Target number of replica nodes per shard.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasTargetReplicaCount

### clearTargetReplicaCount

### setTargetReplicaCount

Target number of replica nodes per shard.

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

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