docs: public static Configuration get() {
      Configuration conf = new Configuration();
      File cloudConfigPath;
      if (isWindows()) {
        cloudConfigPath = new File(getEnvironment().get("APPDATA"), "gcloud");
      } else {
        cloudConfigPath = new File(System.getProperty("user.home"), ".config/gcloud");
      }
      File credentialFilePath = new File(cloudConfigPath, "application_default_credentials.json");
      if (!credentialFilePath.exists()) {
        return conf;
      }
  
      try {
        JsonFactory jsonFactory = Utils.getDefaultJsonFactory();
        InputStream inputStream = new FileInputStream(credentialFilePath);
        JsonObjectParser parser = new JsonObjectParser(jsonFactory);
        GenericJson fileContents = parser.parseAndClose(
            inputStream, Charsets.UTF_8, GenericJson.class);
        String fileType = (String) fileContents.get("type");
        if ("authorized_user".equals(fileType)) {
          String clientId = (String) fileContents.get("client_id");
          String clientSecret = (String) fileContents.get("client_secret");
          if (clientId != null && clientSecret != null) {
            LOG.debug("Using GCP user credential from '{}'", credentialFilePath);
            conf.setIfUnset("fs.gs.impl", GoogleHadoopFileSystem.class.getName());
            conf.setIfUnset("fs.AbstractFileSystem.gs.impl", GoogleHadoopFS.class.getName());
            conf.setIfUnset(GoogleHadoopFileSystemBase.GCS_PROJECT_ID_KEY, defaultProject());
            conf.setIfUnset(GoogleHadoopFileSystemBase.GCS_WORKING_DIRECTORY_KEY, "/hadoop");
  
            conf.setIfUnset(
                HadoopCredentialConfiguration.BASE_KEY_PREFIX +
                HadoopCredentialConfiguration.ENABLE_SERVICE_ACCOUNTS_SUFFIX,
                "false");
            conf.setIfUnset(
                HadoopCredentialConfiguration.BASE_KEY_PREFIX +
                HadoopCredentialConfiguration.CLIENT_ID_SUFFIX,
                clientId);
            conf.setIfUnset(
                HadoopCredentialConfiguration.BASE_KEY_PREFIX +
                HadoopCredentialConfiguration.CLIENT_SECRET_SUFFIX,
                clientSecret);
          }
        }
      } catch (IOException e) {
        LOG.warn("Failed to load GCP user credential from '{}'", credentialFilePath);
      }
      return conf;
    }