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