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 \ StateInfoMethods
__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 |