Accessing Google APIs with Swift

I would like to access some Google APIs (e.g. the People API) from a service that runs on Linux. I found a few Swift Google-API client libraries but they support iOS only and look abandoned. I am wondering if there is a library compatible with Linux (or if someone is working on such a library and plans to open-source it ). In a perfect world we would have something like this:

i.e. auto-generated clients.

I guess, a linux-compatible, actively-maintained library for OAuth2 could be good enough.