The city attorney shall advise the city officials in all legal matters pertaining to city business.
Ca. Gov. Code § 41801