google-compute/src/main/java/bio/terra/cloudres/google/compute/CloudComputeCow.java
/** Create a {@link CloudComputeCow} with some default configurations for convenience. */
Create a  CloudComputeCow with some default configurations for convenience.
Create a CloudComputeCow with some default configurations for convenience .
public static CloudComputeCow create(
      ClientConfig clientConfig, GoogleCredentials googleCredentials)
      throws GeneralSecurityException, IOException {
    return new CloudComputeCow(
        clientConfig,
        new Compute.Builder(
                Defaults.httpTransport(),
                Defaults.jsonFactory(),
                new HttpCredentialsAdapter(googleCredentials.createScoped(ComputeScopes.all())))
            .setApplicationName(clientConfig.getClientName()));
  }
public static CloudComputeCow create ( ClientConfig clientConfig , GoogleCredentials googleCredentials ) throws GeneralSecurityException , IOException { return new CloudComputeCow ( clientConfig , new Compute . Builder ( Defaults . httpTransport ( ) , Defaults . jsonFactory ( ) , new HttpCredentialsAdapter ( googleCredentials . createScoped ( ComputeScopes . all ( ) ) ) ) . setApplicationName ( clientConfig . getClientName ( ) ) ) ; }
Create a {@link CloudComputeCow} with some default configurations for convenience.
Create a { @link CloudComputeCow } with some default configurations for convenience .