An Uber executive pleaded with California lawmakers on Tuesday to stop cities from seeking detailed geolocation information about rental scooters and bikes and ride-hailing trips.

Uttara Sivaram, head of privacy and security policy at Uber Technologies Co., told a joint legislative committee hearing in Sacramento that a growing “government appetite” for data to analyze travel patterns has become “an alarming trend,” even after California enacted sweeping privacy restrictions on businesses this year.