public Request setColumnAndRowsCounts(SheetProperties sheetProperties, Integer columnCount, Integer rowCount) { sheetProperties.setGridProperties(new GridProperties() .setColumnCount(columnCount) .setRowCount(rowCount)); return new Request().setUpdateSheetProperties(new UpdateSheetPropertiesRequest().setProperties(sheetProperties).setFields("*")); }