I have a golden rule when I am cleaning or restoring a floor in a customers house.
I mask up from the front door all the way to the work area. No machine, bucket, vac or hose ever touches a floor that I am not working on. It shows the customer that you care
The same would apply if I was cleaning a carpet (which I don't) But nothing would touch that floor SIMPLES!!!