google-bigquery/src/test/java/bio/terra/cloudres/google/bigquery/BigQueryCowTest.java
/** Create a BQ dataset with a random name. */
Create a BQ dataset with a random name.
Create a BQ dataset with a random name .
private Dataset createDataset() throws IOException {
    String datasetId = IntegrationUtils.randomNameWithUnderscore();
    DatasetReference datasetReference =
        new DatasetReference().setProjectId(projectId).setDatasetId(datasetId);
    Dataset datasetToCreate = new Dataset().setDatasetReference(datasetReference);
    return bigQueryCow.datasets().insert(projectId, datasetToCreate).execute();
  }
private Dataset createDataset ( ) throws IOException { String datasetId = IntegrationUtils . randomNameWithUnderscore ( ) ; DatasetReference datasetReference = new DatasetReference ( ) . setProjectId ( projectId ) . setDatasetId ( datasetId ) ; Dataset datasetToCreate = new Dataset ( ) . setDatasetReference ( datasetReference ) ; return bigQueryCow . datasets ( ) . insert ( projectId , datasetToCreate ) . execute ( ) ; }
Create a BQ dataset with a random name.
Create a BQ dataset with a random name .