String getDatasets(String projectid) {
String r = null;
try {
Bigquery.Datasets.List datasetrequest = bigquery.datasets().list(projectid);
DatasetList datasetlist = datasetrequest.execute();
String list = datasetlist.toPrettyString();
log.info("DatasetList list: " + list);
List<com.google.api.services.bigquery.model.DatasetList.Datasets> datasets = datasetlist.getDatasets();
if (datasets != null) {
for (com.google.api.services.bigquery.model.DatasetList.Datasets d : datasets) {
String s = d.toPrettyString();
log.info("Dataset: " + s);
String name = d.getFriendlyName(); // null