Answer
Oakland is the county seat of Alameda County, not Pleasanton. While Pleasanton does house some county offices, the official seat of government for the county is located in Oakland. The county seat is the central location where the county government's main offices and facilities are based, including the courthouse, administrative buildings, and other important government functions.