Cal. Gov't Code § 37352
The legislative body may erect and maintain buildings for municipal purposes.