/** Create a table for the authenticated user. */ private static String createTable() throws IOException { View.header("Create Sample Table"); // Create a new table Table table = new Table(); table.setName(UUID.randomUUID().toString()); table.setIsExportable(false); table.setDescription("Sample Table"); // Set columns for new table table.setColumns( Arrays.asList( new Column().setName("Text").setType("STRING"), new Column().setName("Number").setType("NUMBER"), new Column().setName("Location").setType("LOCATION"), new Column().setName("Date").setType("DATETIME"))); // Adds a new column to the table. Fusiontables.Table.Insert t = fusiontables.table().insert(table); Table r = t.execute(); View.show(r); return r.getTableId(); }