I wanted to create a scheduled Jenkins job to export a domain managed by
Cloud DNS to GitHub for both versioning and disaster recovery.

One gotcha with the API is it’s asynchronous – you request an export, then
periodically poll on the status of the export. The API also has rate limiting.
So, the export is a bit more involved than a simple curl call.