In this case there is a treaty for help and the kazakh dictator just requested help via this treaty. I guess the russian military will only protect important infrastructure and will try to avoid shooting civilians. Of course there is a lot unknown.
Russia has a long history of dealing with rebellions and uprisings. Protecting civilians has never been a priority as far as I am aware, and actively harming civilians has been a goal at times.
Also, no idea where you got that "long history of dealing with rebellions and uprisings", Russian attitude to riots is very specific and history counts only really a few and only bright moments.
Russians don't even have a culture of riot police, just look at all their protest! Putin forces his servicemen to use use brute force and rubber battons, instead of proper tear gas, rubber bullets and water cannons, such as you would see in any developed first-world country.