1
私はこのGoogleの例(https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/update)に従おうとしています。Googleのスプレッドシートに書き込む
ただし、実行するとUnauthorized 401エラーが返されます。上記のリンクでは、それは次のOAuthスコープのいずれかが必要です言う:
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/spreadsheets
誰も私が私のjava/Gradleのプロジェクトでこれらのスコープを含めることができる方法を知っていますか?
ありがとうございます!