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