public class SheetsAPI extends Object
| Constructor and Description |
|---|
SheetsAPI(OAuth2HeaderFactory headerFactory) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.services.sheets.v4.model.Spreadsheet |
getSpreadsheet(String spreadsheetId) |
UpdateResult |
insert(String spreadsheetId,
Map<String,Object> pairs,
Worksheet worksheet)
Insert row into spreadsheet
|
public SheetsAPI(OAuth2HeaderFactory headerFactory)
public com.google.api.services.sheets.v4.model.Spreadsheet getSpreadsheet(String spreadsheetId) throws IOException
IOExceptionpublic UpdateResult insert(String spreadsheetId, Map<String,Object> pairs, Worksheet worksheet)
spreadsheetKey - key that identifies spreadsheetpairs - key that identifies worksheetworksheet - name - value pair that should be inserted into spreadsheetCopyright © 2019. All rights reserved.