code: def get_directory_list_doc(self, configs):
      
  
      if not isinstance(configs, (tuple, list)):
        configs = [configs]
  
      util.check_list_type(configs, dict, 'configs', allow_none=False)
  
      return self.__directory_list_descriptor(configs)
docs: JSON dict description of a protorpc.remote.Service in list format.
  
      Args:
        configs: Either a single dict or a list of dicts containing the service
          configurations to list.
  
      Returns:
        dict, The directory list document as a JSON dict.