The power of eminent domain may be exercised to acquire property only for a public use. Where the Legislature provides by statute that a use, purpose, object, or function is one for which the power of eminent domain may be exercised, such action is deemed to be a declaration by the Legislature that such use, purpose, object, or function is a public use.
Source:
Section 1240.010, https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1240.010.
.