Google Cloud Redis Cluster V1 Client - Class UpdateInfo (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
NameDescription
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
TypeDescription
int

hasTargetShardCount

clearTargetShardCount

setTargetShardCount

Target number of shards for redis cluster

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getTargetReplicaCount

Target number of replica nodes per shard.

Returns
TypeDescription
int

hasTargetReplicaCount

clearTargetReplicaCount

setTargetReplicaCount

Target number of replica nodes per shard.

Parameter
NameDescription
var int
Returns
TypeDescription
$this