Update Google Sheet
- In Intellj IDE,
./gradlew build
- In Intellj IDE,
./gradlew run
-
Credential.json added in gradlew
-
Main: SheetsQuickstart.java
-
调用 SDK 的代码
service.spreadsheets().values()
.update(spreadsheetId, range, body)
.setValueInputOption(valueInputOption)
.execute();
service.spreadsheets().values()
.append(spreadsheetId, range, body2)
.setValueInputOption(valueInputOption)
.execute();