Whenever an action is commenced to declare a building uninhabitable, the plaintiff public agency, at the time of filing the complaint, shall record in the office of the recorder of the county in which the building is situated, a notice of the pendency of the action, containing the names of the parties and a description of the real property upon which the building affected by the action is situated.
Ca. Civ. Proc. Code § 405.7