Redis/src/V1beta1/Instance.php
public function setTier($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Redis\V1beta1\Instance_Tier::class);
        $this->tier = $var;

        return $this;
    }
public function setTier($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Redis\V1beta1\Instance_Tier::class);
        $this->tier = $var;

        return $this;
    }
public function setTier ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Redis \ V1beta1 \ Instance_Tier :: class ) ; $ this -> tier = $ var ; return $ this ; }
Required. The service tier of the instance.

Generated from protobuf field <code>.google.cloud.redis.v1beta1.Instance.Tier tier = 17;</code>
@param int $var
@return $this
Required . The service tier of the instance .