In this forum, it is mentioned as access token can be passed either as part of authorization headers or URL parameters as below:
You can test these commands with the curl
command-line application. Here's an example that uses the HTTP header option (preferred):
curl -H "Authorization: Bearer<access_token>
" https://www.googleapis.com/drive/v2/files
Or, alternatively, the query string parameter option:
curl https://www.googleapis.com/drive/v2/files?access_token=<access_token>
gcloud auth application-default login
gcloud auth application-default print-access-token