Currently, gog seems to only support Client Accounts (the ones that require logging in via a web browser and configuring OAuth2 "Client Secrets" Credentials in Google Cloud). The big issue with this type of account is that they require Google to validate the OAuth consent screen, and with the testing mode, the credentials expire after just 7 days.
The other type of Google Accounts is Service Accounts (https://docs.cloud.google.com/iam/docs/service-account-overview), which do not expire and are linked to a given Google Cloud project. Also, if gog supported Service Accounts, you could be able to share specific Google Drive documents or folders so it could access them without granting full access to your account.
Currently,
gogseems to only support Client Accounts (the ones that require logging in via a web browser and configuring OAuth2 "Client Secrets" Credentials in Google Cloud). The big issue with this type of account is that they require Google to validate the OAuth consent screen, and with the testing mode, the credentials expire after just 7 days.The other type of Google Accounts is Service Accounts (https://docs.cloud.google.com/iam/docs/service-account-overview), which do not expire and are linked to a given Google Cloud project. Also, if
gogsupported Service Accounts, you could be able to share specific Google Drive documents or folders so it could access them without granting full access to your account.