@ Nullable private static String getLocalAppDataLocation ( ) { String localAppData = System . getenv ( "LOCALAPPDATA" ) ; if ( localAppData != null ) { return localAppData + "\\Google\\Cloud SDK\\google-cloud-sdk" ; } else { return null ; } }
The default location for a single - user install of Cloud SDK on Windows .