def find_all_entities(ids_or_names, parent)
      keys = ids_or_names.map { |id| CloudDatastore.dataset.key name, id }
      keys.map { |key| key.parent = parent } if parent.present?
      retry_on_exception { CloudDatastore.dataset.find_all keys }
    end
def find_all_entities(ids_or_names, parent)
      keys = ids_or_names.map { |id| CloudDatastore.dataset.key name, id }
      keys.map { |key| key.parent = parent } if parent.present?
      retry_on_exception { CloudDatastore.dataset.find_all keys }
    end
Finds entities by keys using the provided array items. Results provided by the
 dataset `find_all` is a Dataset::LookupResults object.

 @param [Array<Integer>, Array<String>] ids_or_names An array of ids or names.