If any reclamation district, levee district, drainage district, municipal corporation, or person within the drainage district, with the consent of the board, provides or leaves any land for a by-pass, waterway, storage basin or sump for the purpose of complying with the plans to be carried out by the board, or for carrying out in whole or in part any of the plans or works adopted by it or erects any levee along the by-pass or waterway, storage basin or sump, the by-pass, waterway, storage basin, sump, and levee shall be considered as a part of the work to be done pursuant to the provisions of this part and proper compensation shall be made for the right of way or easement through, over and upon the by-pass, waterway, storage basin or sump and for the actual reasonable cost of construction of the levees, cuts, canals or gates.
Ca. Water Code § 8999