Google API access on Arduino by implementing Google's OAuth 2.0 for Limited-Input Device Applications. Limited API scopes are available under this method
See - https://developers.google.com/identity/protocols/OAuth2ForDevices#allowedscopes
Created for Arduino MKR1000 with WiFi.
You will need to set up your application & access scopes by following the steps Google provide below.
https://developers.google.com/identity/protocols/OAuth2ForDevices
The authorization credentials for your app generated by Google, your WiFI SSID and password should be defined in the sketch (these are labelled _SECRET in the code) . Ideally define them in a seperate file to include, Secrets.h. In Arduino Create you can just edit them directly Secrets tab.
Default scope is allowing access to user files on Google Drive - but only files the app creates
https://developers.google.com/drive/v2/reference/#Files
The sketch uses SSH. You may also need to add certificates to your Arduino wifi module for google.com and googleapis.com domains. This can be done using the Firmware Updater tool
https://www.arduino.cc/en/Tutorial/FirmwareUpdater
You could also show on LCD display, etc.
Default scope is allowing access to user files on Google Drive - but only files the app creates