code: public CloudSdkConfig getConfig()
        throws CloudSdkNotFoundException, CloudSdkOutOfDateException, CloudSdkVersionFileException,
            IOException, ProcessHandlerException {
      sdk.validateCloudSdk();
  
      List<String> command =
          new ImmutableList.Builder<String>()
              .add("config", "list")
              .addAll(GcloudArgs.get("format", "json"))
              .build();
  
      String configJson = runCommand(command);
      return CloudSdkConfig.fromJson(configJson);
    }
docs: Returns a representation of gcloud config, it makes a synchronous call to gcloud config list to
  do so.