Fork code from google-api-go-client/bigquery