public Bigquery getBigQuery ( Configuration config ) throws GeneralSecurityException , IOException { logger . atInfo ( ) . log ( "Creating BigQuery from default credential." ) ; Credential credential = createBigQueryCredential ( config ) ; // Use the credential to create an authorized BigQuery client return getBigQueryFromCredential ( credential , BQC_ID ) ; }
Constructs a BigQuery from the credential constructed from the environment .