public static SdkComponentInstaller newComponentInstaller ( OsInfo . Name osName , Path gcloudPath ) { switch ( osName ) { case WINDOWS : return new SdkComponentInstaller ( gcloudPath , CommandRunner . newRunner ( ) , new WindowsBundledPythonCopier ( gcloudPath , CommandCaller . newCaller ( ) ) ) ; default : return new SdkComponentInstaller ( gcloudPath , CommandRunner . newRunner ( ) , null ) ; } }
Configure and create a new Component Installer instance .