targetNodeType = $targetNodeType; } /** * @return self::TARGET_NODE_TYPE_* */ public function getTargetNodeType() { return $this->targetNodeType; } /** * Target number of replica nodes per shard. * * @param int $targetReplicaCount */ public function setTargetReplicaCount($targetReplicaCount) { $this->targetReplicaCount = $targetReplicaCount; } /** * @return int */ public function getTargetReplicaCount() { return $this->targetReplicaCount; } /** * Target number of shards for redis cluster * * @param int $targetShardCount */ public function setTargetShardCount($targetShardCount) { $this->targetShardCount = $targetShardCount; } /** * @return int */ public function getTargetShardCount() { return $this->targetShardCount; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(UpdateInfo::class, 'Google_Service_CloudRedis_UpdateInfo');