By default the Google Drive API should provide a refresh token together with the access token during authentication.
Does the issue also occur with the CloudStorageDemo (included product download)?
Can you please provide a log file so I can further investigate this issue?
Logging can be enabled by setting Logging to true and LogLevel to llDetail. The log file is automatically generated in your machine's documents folder.